WO2022052860A1 - Method and device for displaying multimedia resource - Google Patents
Method and device for displaying multimedia resource Download PDFInfo
- Publication number
- WO2022052860A1 WO2022052860A1 PCT/CN2021/116237 CN2021116237W WO2022052860A1 WO 2022052860 A1 WO2022052860 A1 WO 2022052860A1 CN 2021116237 W CN2021116237 W CN 2021116237W WO 2022052860 A1 WO2022052860 A1 WO 2022052860A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- display mode
- terminal
- display
- identifier
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 99
- 230000004044 response Effects 0.000 claims description 43
- 230000015654 memory Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 14
- 230000002776 aggregation Effects 0.000 description 8
- 238000004220 aggregation Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Definitions
- the present disclosure relates to the field of content community applications, and in particular, to a method and device for displaying multimedia resources.
- Each content community application is configured with a default display method for multimedia resources.
- Default multimedia resources may appear differently for different content community applications.
- the display methods of multimedia resources of short video type applications mainly include: immersive display methods or list display methods.
- the present disclosure provides a method and device for displaying multimedia resources.
- the present disclosure provides a method for displaying multimedia resources, which can be applied to a terminal.
- the method can include:
- the terminal In response to receiving the multimedia resource display instruction of the first application, the terminal acquires the first display mode, and then displays the multimedia resource in the first display mode on the display interface of the multimedia resource of the first application.
- the first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application.
- the second application has the same application attributes as the first application.
- the application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
- the present disclosure provides a method for displaying multimedia resources, which can be applied to a server.
- the method may include: receiving first information sent by the terminal.
- the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account.
- the application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application.
- the display mode of the second application is determined according to the first information.
- the display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application.
- the display mode of the second application is sent to the terminal.
- the present disclosure provides an apparatus for displaying multimedia resources, which can be applied to a terminal.
- the apparatus may include: an acquisition unit and a display unit.
- the obtaining unit is configured to obtain the first display mode in response to receiving the multimedia resource display instruction of the first application.
- the first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application.
- the second application has the same application attributes as the first application.
- the application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
- the display unit is used for displaying the multimedia resources in the display interface of the multimedia resources of the first application using the first display mode acquired by the acquiring unit.
- the present disclosure provides a display apparatus for multimedia resources, which can be applied to a server.
- the apparatus may include: a receiving unit, a determining unit and a sending unit.
- the receiving unit is configured to receive the first information sent by the terminal.
- the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account.
- the application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application.
- the determining unit is configured to determine the display mode of the second application program according to the first information received by the receiving unit.
- the display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application.
- the sending unit is configured to send the display mode of the second application determined by the determining unit to the terminal.
- the present disclosure provides a terminal, which may include: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions, so as to implement the application in any of the foregoing embodiments A method for displaying multimedia resources in a terminal.
- the present disclosure provides a server, which may include: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the application in any of the foregoing embodiments Display method of multimedia resources on the server.
- the present disclosure provides a system for displaying multimedia resources, including the terminal described in any of the above embodiments, and the server described in any of the above embodiments; the terminal and the server are communicatively connected.
- the present disclosure provides a computer-readable storage medium on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a terminal, cause the terminal to
- the method for displaying multimedia resources applied to a terminal in any of the foregoing embodiments can be implemented.
- the present disclosure provides a computer-readable storage medium having instructions stored thereon that, when executed by a processor of a server, cause the server to The method for displaying multimedia resources applied to the server in any of the foregoing embodiments can be implemented.
- the present disclosure provides a computer program product comprising instructions that, when run on a computer, cause the computer to execute the method for displaying multimedia resources applied to a terminal in any of the above-described embodiments.
- the present disclosure provides a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the method for displaying multimedia resources applied to a server in any of the above-described embodiments.
- the terminal acquires the first display mode in response to receiving the multimedia resource display instruction of the first application, and then displays the first display mode on the display interface of the multimedia resources of the first application.
- multimedia resources Since the first display mode is the display mode determined in response to the user's trigger operation, or the display mode of the second application, the second application has the same application attributes as the first application, and the application attributes include the application type or the application The geographic location information of the corresponding terminal. Therefore, when the terminal displays the multimedia resources on the display interface of the multimedia resources of the first application, the terminal can determine the display mode adapted to the target account according to different user requirements, so as to correspond to the target account.
- the terminal can watch multimedia resources on the display interface of the multimedia resources of the first application according to their own habits, which enriches the user experience; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habits, which can avoid the user's unfamiliarity. resulting in additional operations, thereby improving the processing efficiency of the terminal.
- FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure
- FIG. 2 shows a schematic flowchart of a method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 3 shows a schematic diagram of displaying a video in an immersive display manner provided by an embodiment of the present disclosure
- FIG. 4 shows a schematic diagram of displaying a video in a list display manner provided by an embodiment of the present disclosure
- FIG. 5 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- Fig. 6a shows a schematic diagram of a display mode selection interface of a terminal provided by an embodiment of the present disclosure
- FIG. 6b shows a schematic diagram of another display mode selection interface of a terminal provided by an embodiment of the present disclosure
- FIG. 7 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 8a shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 8b shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 8c shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 9a shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure.
- FIG. 9b shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure.
- FIG. 9c shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure.
- FIG. 10 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 11 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 12a shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 12b shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 13 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 14 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 15 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 16 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 17 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 18 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 19 shows a schematic structural diagram of a display device for multimedia resources provided by an embodiment of the present disclosure
- FIG. 20 shows a schematic structural diagram of another apparatus for displaying multimedia resources provided by an embodiment of the present disclosure
- FIG. 21 shows a schematic structural diagram of a terminal provided by an embodiment of the present disclosure.
- FIG. 22 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure.
- the display mode of the multimedia resources of the second application is a list If the display mode is used, it may cause the user to be unaccustomed to use and reduce the user experience.
- an embodiment of the present disclosure provides a method for displaying multimedia resources, which can determine a display mode adapted to an account when a terminal displays a multimedia resource display interface of an application, and use the method on the multimedia resource display interface of an application.
- the display mode displays multimedia resources, so that the user can use the application program according to his own habit, which enriches the user experience, and at the same time avoids additional operations caused by the user's unaccustomedness, thereby improving the processing efficiency of the terminal.
- FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure.
- the application scenario may include: a server 110 and a terminal 120, and the server 110 may establish a connection with the terminal 120 through a wired network or a wireless network .
- the server 110 may be a data server of some multimedia resource service platforms, and may be used for storing and processing multimedia resources.
- the multimedia resource service platform may be a short video application service platform, a news service platform, a live broadcast service platform, a shopping service platform, a takeaway service platform, a sharing service platform, a functional website, and the like.
- the multimedia resources provided by the short video application service platform can be some short video works
- the multimedia resources provided by the news service platform can be some news information
- the multimedia resources provided by the live broadcast service platform can be live broadcast works, etc. The rest will not be repeated one by one.
- the present disclosure does not limit the specific type of the multimedia resource service platform.
- the server 110 may include multiple short video application service platforms, and each short video application service platform uniquely corresponds to one application.
- the application program is installed on the terminal, and displays the multimedia resources on the display interface of the multimedia resources of the terminal.
- the terminal 120 may be a personal smart device such as a mobile phone and a tablet computer, or may also be a device such as a notebook computer, a desktop computer, and a television.
- the server 110 may be connected to at least one terminal 120 .
- the present disclosure does not limit the number and type of the terminals 120 .
- the terminal 120 Take the terminal 120 as a mobile phone and the multimedia resource service platform as a short video application service platform as an example:
- the mobile phone can respond to the user triggering the operation of displaying the target short video, obtain the target short video from the server of the short video application service platform, and use the short video application service.
- the display interface of the application program of the platform is displayed to the user, so that the user can watch the target short video.
- the operation that the user triggers the display of the target short video may refer to: the user performs touch operations such as clicking, sliding, and the like on the application program interface of the short video application service platform.
- the user account or target account mentioned in the embodiments of the present disclosure refers to a consumer user account (or, it may also be referred to as a viewer user account, and the user accounts in the following embodiments all refer to consumer users who consume multimedia resources). account or viewer user account).
- consumption refers to consumption behaviors such as watching multimedia resources, forwarding multimedia resources, commenting on multimedia resources, sharing multimedia resources, and liking multimedia resources.
- the server 110 may be a single server, or may also be a server cluster composed of multiple servers. In some embodiments, the server cluster may also be a distributed cluster. The present disclosure also does not limit the specific implementation of the server 110 .
- the server 110 may further include or be connected to a database, and the multimedia resources of the multimedia resource service platform may be stored in the database.
- the terminal 120 can access the multimedia resources in the database through the server 110 .
- the method for displaying multimedia resources provided by the embodiments of the present disclosure can be applied to the terminal in the application scenario shown in FIG. 1 .
- the method for displaying multimedia resources may include:
- the first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application.
- the second application has the same application attributes as the first application.
- the application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
- the terminal after installing the first application, opens the first application in response to a user's startup operation. After the first application program is opened, the terminal acquires the first display mode in response to receiving the multimedia resource display instruction of the first application program.
- the multimedia resource display instruction may be a user's operation on a display control in the first application, and the operation may be: the user performs a touch operation such as clicking, sliding, or the like on the display control of the first application.
- the display control is a control for displaying multimedia resources of the first application.
- the terminal when the terminal receives the multimedia resource display instruction of the first application, it may be when the user uses the target account for the first time and performs an operation on the display controls in the first application after the first application is installed on the terminal.
- Corresponding instruction it can also be an instruction corresponding to when the user uses the target account for the first time after the terminal deletes the first application program and re-installs the first application program and performs an operation on the display controls in the first application program; it can also be a user using This is not limited in this embodiment of the present disclosure as to the corresponding instructions when other terminals use the target account for the first time and perform operations on the display controls in the first application program.
- the terminal After acquiring the first display mode, the terminal uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application.
- the first display mode may be an immersive display mode, a list display mode, or other display modes, which are not limited in this disclosure.
- the immersive display mode means that when the terminal responds to the user's startup operation to open the short video application, the short video application can directly play the video in full screen on the video display interface, without entering the video list and then selecting the video to be played.
- the terminal displays the video of the short video application in an immersive display manner
- the user when the user needs to switch the video, the user can switch the video by sliding up and down.
- an application A is installed in the terminal, and a video display interface of the application A displays a video in an immersive display manner.
- the user clicks the icon of application A (as shown in (1) in Figure 3)
- the terminal responds to the user's click operation and directly plays the video on the video display interface of application A (as shown in Figure 3).
- (2) in 3 When the user needs to switch the video, the user can switch the video by sliding up and down on the video display interface of application A (as shown in (3) in Figure 3), and the terminal responds to the user's switching operation and displays the The video display interface of A plays the switched video (as shown in (4) in FIG. 3 ).
- the list display mode means: when the terminal responds to the user's startup operation to open the short video application, the short video application can display multiple videos in a list mode (for example, single list or double list) on the video display interface. video cover. Subsequently, the user can select the video corresponding to the interested video cover in the list to watch by clicking.
- a list mode for example, single list or double list
- the terminal displays the video of the short video application in a list display mode
- the user can switch the video by sliding left and right/up and down, or click to exit the current playback.
- Video controls re-click the video corresponding to the cover of the video you are interested in from the selection list to watch it.
- an application program A is installed in the terminal, and the video display interface of the application program A displays videos in a list display manner.
- the user clicks the icon of the application A (as shown in (1) in FIG. 4 ).
- the terminal responds to the user's click operation, and plays the video corresponding to the video cover selected by the user on the video display interface (as shown in (4) in FIG. 4 ).
- the user can click the return control (as shown in (5) in Figure 4) to exit the currently playing video on the video display interface of application A, and the terminal responds to the user's operation of clicking the return control , and re-display the video covers of multiple videos in the form of a double-column list on the video cover display interface.
- the user can re-click the video corresponding to the interested video cover from the selection list to watch it (as shown in (6) in FIG. 4 ).
- the terminal plays a video corresponding to the video cover selected by the user from the selection list again on the video display interface (as shown in (7) in FIG. 4 ).
- the terminal obtains the first display mode in response to receiving the multimedia resource display instruction of the first application, and then uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application. Since the first display mode is the display mode determined in response to the user's trigger operation, or the display mode of the second application, and the second application has the same application attributes as the first application, the application attributes include the application type or application The geographic location information of the terminal corresponding to the program.
- the terminal when the terminal displays the multimedia resources on the display interface of the multimedia resources of the first application program, the terminal can determine the display mode adapted to the user according to different user requirements, so that the user can habit, viewing multimedia resources on the display interface of the multimedia resources of the first application, which enriches the user experience; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habit, which can avoid additional operations caused by the user's unaccustomedness.
- the processing efficiency of the terminal is improved.
- the first display mode is a display mode determined in response to a trigger operation of the user, and the terminal acquiring the first display mode includes S501-S502.
- the first control and the second control are displayed on the display mode selection interface of the first application to prompt the user to select a customary display mode.
- the first control and the second control respectively correspond to different display modes.
- a prompt box may also be displayed on the display mode selection interface of the first application to prompt the user to select a custom display mode .
- the prompt box includes a first control and a second control. The first control and the second control respectively correspond to different display modes.
- dynamic pictures, still pictures or video animations may be attached to illustrate specific operation methods of each display mode.
- the display prompt box 600 of the display mode selection interface of the first application includes: a control 601 and a control 602 .
- the control 601 corresponds to the immersive display mode
- the control 602 corresponds to the list display mode.
- the display prompt box 600 of the display mode selection interface of the first application may further include: a first display area 603 and a second display area 604 .
- the first display area 603 corresponds to the control 601
- the second display area 604 corresponds to the control 602 .
- the display mode and specific usage steps of the immersive display mode may be displayed in the form of dynamic pictures.
- the dynamic pictures in the first display area 603 may be dynamic pictures composed of (1)-(4) in FIG. 3 to illustrate the display mode and specific use steps of the immersive display mode.
- the second display area 604 can also display the display mode of the list display mode and the specific usage steps in the form of dynamic pictures.
- the dynamic pictures in the second display area 604 may be dynamic pictures composed of (1)-(7) in FIG. 4 to illustrate the display mode and specific usage steps of the list display mode.
- the user can select the control 601 or the control 602 by clicking to determine the first display mode. For example, as shown in FIG. 6a, the user can click the control 601 to determine the immersive display mode as the first display mode.
- the display prompt box 600 of the display mode selection interface of the first application may only include: the first display area 603 and the second display area 604 (in this In this case, the first display area 603 is the first control, and the second display area 604 is the second control).
- the display mode and specific usage steps of the immersive display mode can be displayed in the form of dynamic pictures.
- the dynamic pictures in the first display area 603 may be dynamic pictures composed of (1)-(4) in FIG. 3 to illustrate the display mode and specific use steps of the immersive display mode.
- the second display area 604 can also display the display mode of the list display mode and the specific usage steps in the form of dynamic pictures.
- the dynamic pictures in the second display area 604 may be dynamic pictures composed of (1)-(7) in FIG. 4 to illustrate the display mode and specific usage steps of the list display mode.
- the user can directly click on the first display area 603 or the second display area 604 by clicking to determine the first display mode.
- the user may click on the first display area 603 to determine the immersive display mode as the first display mode.
- the prompt box may further include other numbers of controls, and each control corresponds to a different display manner, and the present disclosure does not limit the number of controls in the prompt box.
- the user selects the display mode in the prompt box.
- the terminal determines that the display mode corresponding to the first control is the first display mode in response to the user's click operation on the first control.
- the terminal may first display the first control on the display mode selection interface of the first application. and the second control, and the first control and the second control respectively correspond to different display modes. In this way, the terminal displays multiple display modes on the display mode selection interface of the first application to meet the needs of different users for the display mode of the first application.
- the user can click the first control or For the operation of the second control, choose the display mode you are used to.
- the terminal determines that the display mode corresponding to the first control is the first display mode, and displays the multimedia resources on the display interface of the multimedia resources of the first application according to the display mode selected by the user, and enriches the display mode.
- the user experience is improved; at the same time, the terminal provides multimedia resource services according to the display mode selected by the user, which can avoid additional operations caused by the user's unaccustomedness, thereby improving the processing efficiency of the terminal.
- the first display mode is the display mode of the second application
- the application attribute is the application type
- the second application is installed on the terminal and is the same as the first application. application of the same type.
- acquiring the first display mode by the terminal includes S701-S703.
- the terminal may also determine whether a second application of the same application type as the first application is installed in the terminal. If the second application program is installed in the terminal, the identifier of the second application program can be acquired.
- the identifier of the second application is the package name of the second application. If the second application is an application in Apple's mobile operating system (iphone operation system, IOS), the identifier of the second application is a page jump protocol (scheme) of the second application.
- IOS iPhone operation system
- the identifier of the second application program may also be other identifiers used to identify the second application program, which is not limited in the present disclosure.
- S702 Acquire a display mode of the second application indicated by the identifier of the second application.
- the terminal After acquiring the identifier of the second application, the terminal acquires the display mode of the second application indicated by the identifier of the second application.
- the terminal After acquiring the display mode of the second application, the terminal determines the acquired display mode of the second application as the first display mode.
- the terminal when the first display mode is the display mode of the second application, when the terminal obtains the first display mode, it can first obtain the identifier of the second application, and then send the identifier of the second application to the server. , to request the first display mode. Subsequently, the terminal receives the first display mode determined according to the identifier of the second application and sent by the server. Since the second application is an application installed on the terminal, and the second application is of the same application type as the first application, the user is accustomed to using the display mode of the second application.
- the terminal determines the display mode of the second application as the first display mode, which ensures that the user can display the multimedia resources on the display interface of the multimedia resources of the first application through the display mode that the user is accustomed to.
- User habits are ensured and user experience is enriched; at the same time, the terminal provides multimedia resource services in a display mode that matches user habits, which can avoid additional operations caused by users' unaccustomedness, thereby improving the processing efficiency of the terminal.
- S701 may be replaced by S801-S803.
- the terminal When the terminal acquires the identifier of the second application, since the second application is an application installed by the terminal and the application type of the second application is the same as that of the first application, the terminal can first acquire the application installed in the terminal.
- the identifier of the program, and the identifier of the second application program is determined by the identifier of the installed application program in the terminal.
- S802 Read the pre-stored correspondence between application identifiers and application types to determine the identifiers of applications belonging to the same application type as the identifiers of the first application among the identifiers of the installed applications.
- the corresponding relationship between the application identifier and the application type is pre-stored in the terminal, and after acquiring the identifier of the installed application in the terminal, the terminal can read the pre-stored corresponding relationship between the application identifier and the application type, It is determined that among the identifiers of the installed application programs, the identifiers of the application programs belonging to the same application type as the identifier of the first application program.
- the terminal may store the correspondence between application identifiers and application types in a table, or may store the correspondence between application identifiers and application types in other storage methods, which is not limited in the present disclosure.
- the terminal stores in the form of a table: the application type corresponding to the identifier of application A is short video, the application type corresponding to the identifier of application B is shopping, and the application type corresponding to the identifier of application C is social networking.
- the application type corresponding to the class, the identifier of the application D is a game class, and the like. Table 1 shows the correspondence between the above-mentioned applications and display modes.
- Application ID App types Application A's identity short video Application B's identity shopping Identity of application C social class Identification of Application D games ... ...
- the terminal When the application type corresponding to the identifier of the first application is an application of the short video category, the terminal reads the pre-stored Table 1, and determines that among the identifiers of the installed applications, the identifier of the application A of the short video category is the same. logo.
- the terminal After determining the identifier of the installed application, the identifier of the application belonging to the same application type as the identifier of the first application, the terminal determines the determined identifier of the application as the identifier of the second application.
- the terminal when acquiring the identifier of the second application, since the second is an application that has been installed by the terminal, and the second application is of the same application type as the first application, the terminal can read the pre-stored application.
- the corresponding relationship between the application identifier and the application type is determined to determine the identifier of the installed application program, the identifier of the application program belonging to the same application type as the identifier of the first application program, and the determined identifier of the application program is determined as The identity of the second application. In this way, the terminal can quickly and accurately determine the identity of the second application.
- the terminal After acquiring the identifier of the second application, when the terminal acquires the display mode of the second application indicated by the identifier of the second application, the terminal may acquire the display mode of the second application from the server. In this case, the terminal sends the identifier of the second application to the server to request to obtain the display mode of the second application.
- the display mode of the second application is determined by the server according to the identifier of the second application.
- the terminal when obtaining the display mode of the second application, can send the identifier of the second application to the server to request to obtain the display mode of the second application, and receive the information of the second application sent by the server. Display method.
- S806 Read the pre-stored correspondence between the application identifier and the display mode to determine the display mode corresponding to the identifier of the second application among the identifiers of the installed application.
- the terminal After acquiring the identifier of the second application, when the terminal acquires the display mode of the second application indicated by the identifier of the second application, the terminal may also determine the correspondence between the application identifier and the display mode pre-stored by the terminal to determine In the identification of the installed application, the display mode corresponding to the identification of the second application is displayed.
- the terminal when acquiring the display mode of the second application, the terminal can read the pre-stored correspondence between the application identifier and the display mode, so as to determine whether the identifier of the installed application is the same as that of the second application.
- the display mode corresponding to the identifier of the , and the determined display mode is determined as the display mode of the second application.
- the first display mode is the display mode of the second application
- the application attribute is the geographic location information of the terminal corresponding to the application
- the second application is the location to which the terminal belongs area, applications that meet preset conditions.
- acquiring the first display mode by the terminal may include S901-S903.
- the terminal may further determine the display mode of the second application as the first display mode.
- the second application program is an application program in the location area to which the terminal belongs and which satisfies the preset condition.
- the preset condition may be an application program used by a user meeting the threshold in the location area to which the terminal belongs. In this case, the user in the location area to which the terminal belongs has a similar habit of using an application of the same application type as the first application. Therefore, the terminal can determine the display mode of the second application as the first display Way.
- the terminal may determine the display mode of the application A as the first display mode.
- the terminal may acquire the geographic location information of the terminal according to a global positioning system (global positioning system, GPS), and may also acquire the geographic location information of the terminal in other ways, which is not limited in the present disclosure.
- a global positioning system global positioning system, GPS
- the terminal After acquiring the geographic location information of the terminal, the terminal acquires the display mode of the second application indicated by the geographic location information of the terminal.
- the terminal After acquiring the display mode of the second application indicated by the geographic location information of the terminal, the terminal determines the acquired display mode of the second application as the first display mode.
- the terminal may first acquire the geographic location information of the terminal, then acquire the display mode of the second application indicated by the geographic location information of the terminal, and display the acquired second application The display mode is determined as the first display mode. Since the second application is an application that meets the preset condition in the location area to which the terminal belongs, the user is accustomed to using the display mode of the second application in the location area to which the terminal belongs.
- the terminal determines the display mode of the second application as the first display mode, which ensures that the user can display the multimedia resources on the display interface of the multimedia resources of the first application through the display mode that the user is accustomed to.
- User habits are guaranteed and user experience is enriched; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habits, which can avoid additional operations caused by the user's unaccustomedness, thereby improving the processing efficiency of the terminal.
- the terminal may send the geographical location information of the terminal to the server to request to acquire the display mode of the second application.
- the display mode of the second application is determined by the server according to the geographic location information of the terminal.
- the terminal After sending the geographic location information of the terminal to the server to request to acquire the display mode of the second application, the terminal receives the display mode of the second application sent by the server.
- the terminal when obtaining the display mode of the second application, can send the geographical location information of the terminal to the server to request to obtain the display mode of the second application, and receive the display of the second application sent by the server. Way.
- S906 Read the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the geographic location information of the terminal in the stored geographic location information.
- the terminal After acquiring the proxy location information of the terminal, the terminal can read the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the terminal's geographic location information in the stored geographic location information.
- the terminal After reading the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the terminal's geographic location information in the stored geographic location information, the terminal determines the determined display mode as the second display mode. How the application is displayed.
- the terminal when acquiring the display mode of the second application, the terminal can read the correspondence between the pre-stored geographical position information and the display mode, so as to determine whether the stored geographical position information is related to the terminal's geographical position.
- the display mode corresponding to the information is determined, and the determined display mode is determined as the display mode of the second application.
- the application attribute further includes a user account.
- the first display mode is the display mode of the second application and the application attribute is the user account
- the second application is the application after logging in the target account in the first application of the other terminal.
- the terminal acquires the first display mode, including S1001-S1002.
- the terminal may also determine the first display mode according to the identifier of the target account.
- each user has a unique account, and each user may have different habits of using the first application.
- the server may store the first application. The corresponding relationship between the display method and the target account.
- the server when the user logs in to the target account in the first application for the first time and determines that the first display mode is the immersive display mode, the server stores the display mode of the first application using the target account as the immersive display mode. Subsequently, when the user logs in to the target account again on the terminal, or logs in to the target account on another terminal, the terminal sends the identifier of the target account to the server to request to obtain the first display mode corresponding to the target account stored in the server.
- the identifier of the target account may be the login name of the target account, or may be other identifiers of the target account, which are not limited in the present disclosure.
- the first display mode is determined by the server according to the identifier of the target account.
- the terminal when the first display mode is the multimedia resource display mode after logging in to the target account in the first application of the other terminal, when the terminal obtains the first display mode, it can first send the identification of the target account to the server. . Subsequently, the terminal receives the first display mode determined according to the identifier of the target account and sent by the server. Since the target account is the account when the user logs in to the first application program, the first display mode corresponding to the identifier of the target account is the display mode that the user is accustomed to.
- the terminal determines the display mode of multimedia resources after logging in to the target account in the first application program of other terminals as the first display mode, which ensures that the user can display the multimedia resources in the first application program through the display mode that he is used to.
- the multimedia resources are displayed on the display interface of the multimedia resources, which ensures the user's habit and enriches the user experience; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habit, which can avoid additional operations caused by the user's unfamiliarity. The processing efficiency of the terminal is improved.
- the terminal when the terminal uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application, the terminal may also display the multimedia resources according to the The target type information, on the display interface of the multimedia resource of the first application, displays the multimedia resource of the target type in a first display manner, for example, including S1101-S1102.
- the target type information is used to indicate the multimedia resources of the recommended target type.
- the terminal may also acquire the multimedia resources of the same type of application that are used to indicate the recommended target type.
- the application A in the short video category installed in the terminal recommends short videos to the user, it usually recommends videos of genres such as trendy music, dance, and performance.
- videos of trendy music, dance, performance, etc. are displayed in the first display mode on the video display interface of the first application, which enriches the user experience.
- the terminal when the terminal adopts the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application, the terminal can also display the multimedia resources in the first application according to the target type information used to indicate the multimedia resources of the recommended target type.
- the display interface of the multimedia resources of the program adopts the first display mode to display the multimedia resources of the target type.
- the multimedia resources displayed on the display interface of the multimedia resources of the first application are different from the multimedia resources that the user is accustomed to watching.
- the large contrast ensures user habits and enriches the user experience; at the same time, the terminal provides multimedia resource services that match the user's habits, which can avoid additional operations caused by the unaccustomed users, thereby improving the processing efficiency of the terminal.
- the above S1101 may be replaced by S1201-S1202.
- the terminal can infer the target type that the user likes to watch. In this case, the terminal acquires the multimedia resources of the target type corresponding to the first display mode, which further increases user retention.
- S1202. Determine the acquired multimedia resource of the target type as target type information.
- the terminal After acquiring the multimedia resource of the target type corresponding to the first display mode, the terminal determines the acquired multimedia resource of the target type as the target type information.
- the terminal when acquiring the multimedia resource of the target type corresponding to the first display mode, the terminal can receive the multimedia resource of the target type corresponding to the first display mode sent by the server.
- the method for displaying multimedia resources provided by the embodiments of the present disclosure can also be applied to the server in the application scenario shown in FIG. 1 .
- the method for displaying multimedia resources may include S1301-S1303.
- the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account.
- the application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application.
- the display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application.
- the server After determining the display mode of the second application, the server sends the display mode of the second application to the terminal.
- the server can determine and send the display mode of the second application to the terminal according to the first information sent by the terminal.
- the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account.
- the application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application. Therefore, the display mode of the second application is the display mode that the user is accustomed to.
- the server can also determine, according to the geographic location information of the terminal, the display mode of the third application that meets the preset conditions in the location area to which the terminal belongs.
- the display mode of the second application determined by the server according to the geographical location information of the terminal is also the display mode that the user is used to.
- the server can also determine the display mode of the second application according to the identification of the target account. Since the display mode corresponding to the identification of the target account is the display mode previously determined by the user, the server determines the second application according to the identification of the target account.
- the display method is also the display method that the user is accustomed to. To sum up, it can be seen that the display mode of the second application program determined by the server according to the first information and sent to the terminal is the display mode that the user is used to.
- the server ensures that the user can Displaying the multimedia resources on the display interface of the multimedia resources of the first application through the accustomed display mode ensures the user's habit and enriches the user experience; at the same time, the server enables the terminal to provide the multimedia resources in a display mode that matches the user's habit.
- the service can avoid the extra operation caused by the unaccustomed user and the frequent response of the server, thereby improving the processing efficiency of the terminal and the server.
- the server determines the display mode of the second application according to the first information, including S1401-S1402.
- the server may store the corresponding relationship between the application program and the display mode of the application program in the form of a table, and may also store the corresponding relationship between the application program and the display mode of the application program in other storage methods, which is not limited in this disclosure. .
- the server when storing the display mode corresponding to each application program, may store the corresponding relationship between the identifier of each application program and the display mode of each application program.
- the server stores in a table: the display mode corresponding to the logo of application B is an immersive display mode; the display mode corresponding to the logo of application A is a list display mode, and so on.
- Table 2 shows the correspondence between the above-mentioned applications and display modes.
- the server reads the pre-stored correspondence between the identifier of the application program and the display mode to determine the display mode corresponding to the identifier of the second application program.
- S1402. Determine the determined display mode as the display mode of the second application.
- the server when the server reads the pre-stored correspondence between the identifier of the application program and the display mode, and determines that the display mode corresponding to the identifier of the second application program is the immersive display mode, the immersive display mode is determined as the first display mode. 2. The way the application is displayed.
- the server when determining the display mode of the second application, can read the pre-stored correspondence between the identifier of the application and the display mode, so as to determine the display mode corresponding to the identifier of the second application, and The determined display mode is determined as the display mode of the second application. Since the identifier of the second application is an application installed on the terminal, and the application type of the second application is the same as that of the first application, the display mode of the second application is a display mode that the user is accustomed to.
- the server when the user watches the multimedia resource on the display interface of the multimedia resource of the first application for the first time, the server ensures that the user can display the multimedia resource on the display interface of the multimedia resource of the first application through the display mode that the user is used to Multimedia resources ensure user habit and enrich user experience; at the same time, the server enables the terminal to provide multimedia resource services in a display mode that matches the user's habit, which can avoid additional operations caused by the user's unfamiliarity and the resulting server failure. Frequent responses, thereby improving the processing efficiency of terminals and servers.
- the server determines the display mode of the second application according to the first information, including S1501-S1502.
- the server may store the corresponding relationship between the geographic location information and the display mode of the application program in a table, and may also store the corresponding relationship between the geographic location information and the display mode of the application program through other storage methods. Not limited.
- the server stores: the display mode corresponding to the first area is the display mode of application B, that is, the immersive display mode; the display mode corresponding to the second area is the display mode of application A, that is, the list display mode Way.
- Table 3 shows the correspondence between the geographic location information and the display mode.
- the server reads the pre-stored correspondence between the geographic location information and the display manner, to determine the display manner corresponding to the geographic location information of the terminal.
- S1502. Determine the determined display mode as the display mode of the second application.
- the server when the server reads the pre-stored correspondence between the geographic location information and the display mode, and determines that the display mode corresponding to the geographic location information of the terminal is the immersive display mode, the immersive display mode is determined as the second application. How the program is displayed.
- the server when determining the display mode of the second application, can read the correspondence between the pre-stored geographical location information and the display mode, so as to determine the display mode corresponding to the terminal's geographical location information, and determine the corresponding relationship between the geographical location information and the display mode.
- the displayed display mode is determined as the display mode of the second application. Since most of the users in the area to which the geographic location information of the terminal belongs, most of the users have the same habits when using the same type of application.
- the server determines the display mode of the second application according to the geographic location information of the terminal , which ensures user habits and enriches user experience; at the same time, the server enables the terminal to provide multimedia resource services in a display mode that matches the user's habits, which can avoid additional operations caused by the user's unaccustomedness and the resulting frequent server response. , thereby improving the processing efficiency of the terminal and the server.
- the server determines the display mode of the second application according to the first information, including S1601-S1602.
- the server when the server includes the display modes of multiple application programs, the server may further determine the display mode of the application program determined when each user account uses the application program for the first time among the multiple user accounts, and store each user account in the display mode of the application program. The correspondence between each user account and how the application is displayed. It should be noted that the target account is any one of the multiple user accounts.
- the server may store the corresponding relationship between the user account and the display mode of the application program in a table, and may also store the corresponding relationship between the user account and the display mode of the application program in other storage methods, which is not limited in this disclosure. .
- the display mode of application A is determined as a list display mode; when account B uses application A for the first time, the display mode of application A is determined as an immersive display mode.
- the server stores: the display mode corresponding to account A is a list display mode; the display mode corresponding to account B is an immersive display mode.
- Table 4 shows the correspondence between the geographic location information and the display mode.
- the server reads the pre-stored correspondence between the account identifier and the display mode to determine the display mode corresponding to the identifier of the target account.
- S1602. Determine the determined display mode as the display mode of the second application.
- the server when the server reads the pre-stored correspondence between the account identifier and the display mode, and determines that the display mode corresponding to the identifier of the target account is the immersive display mode, the immersive display mode is determined as the second application. How the program is displayed.
- the server when determining the display mode of the second application, can read the pre-stored correspondence between the account identifier and the display mode, so as to determine the display mode corresponding to the identifier of the target account, and determine the corresponding display mode of the target account.
- the displayed display mode is determined as the display mode of the second application. Since the target account of the terminal is the account when the user logs in to the first application before, the display mode of the second application corresponding to the identifier of the target account is the display mode that the user is accustomed to.
- the server determines the display mode of the second application according to the identifier of the target account, the user's habit is guaranteed and the user experience is enriched; at the same time, the server enables the terminal to provide multimedia resources in a display mode that matches the user's habit.
- the service can avoid the extra operation caused by the unaccustomed user and the frequent response of the server, thereby improving the processing efficiency of the terminal and the server.
- the server may also read the pre-stored correspondence between the application program and the target type information, so as to determine and send the target type information corresponding to the second application program to the terminal, for example, including S1701-S1702.
- the target type information is used to indicate the multimedia resources of the recommended target type.
- the server when the server includes multiple application programs, the server may further store the correspondence between the application programs and the target type information in advance.
- the server may store the corresponding relationship between the application program and the target type information in a table, or may store the corresponding relationship between the application program and the target type information in other storage methods, which is not limited in the present disclosure.
- the target type information of application A is: trendy music, dance, performance, etc.
- the target type information of application B is: recording and sharing real life types.
- Table 5 shows the correspondence between the above-mentioned applications and target type information.
- application target type information application A Trend music, dance, performance, etc.
- application B Document and share real life types ... ...
- the server reads the pre-stored correspondence between the application program and the target type information to determine the target type information corresponding to the second application program.
- the target type information is sent to the terminal. .
- the server can also read the pre-stored correspondence between the application program and the target type information to determine and send the target type information corresponding to the second application program to the terminal, ensuring that the terminal is in the multimedia of the first application program.
- the resource display interface when using the display mode of the second application program to display the multimedia resources, can also use the display interface of the second application program on the display interface of the multimedia resources of the first application program according to the target type information corresponding to the second application program. way to display multimedia resources of the target type.
- the multimedia resources displayed on the display interface of the multimedia resources of the first application program and the multimedia resources that the user is accustomed to watch can be avoided from appearing.
- the large contrast ensures user habits and enriches the user experience; at the same time, the server enables the terminal to provide multimedia resource services that match the user's habits, which can avoid additional operations caused by the user's unaccustomedness and the resulting frequent server response. , thereby improving the processing efficiency of the terminal and the server.
- FIG. 18 shows another schematic flowchart of a method for displaying multimedia resources provided by an embodiment of the present disclosure.
- the display method of the multimedia resource may include: S1801-S1804.
- the terminal sends first information to the server.
- the terminal in response to receiving the multimedia resource display instruction of the first application, the terminal sends first information to the server to request acquisition of the first display mode.
- the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account.
- the first display mode is the display mode of the second application program.
- the second application has the same application attributes as the first application.
- the application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
- the server determines a first display mode according to the first information.
- the terminal uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application.
- the terminal/server described in the embodiments of the present disclosure may include one or more hardware structures and/or software modules for implementing the foregoing method for displaying corresponding multimedia resources. These implement the hardware structures and/or software modules. Or software modules can constitute an electronic device.
- the present disclosure can be implemented in hardware or a combination of hardware and computer software in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this disclosure.
- FIG. 19 shows a schematic structural diagram of an apparatus for displaying multimedia resources provided by an embodiment of the present disclosure.
- the display apparatus of the multimedia resource may include: an acquisition unit 1901 and a display unit 1902 .
- the obtaining unit 1901 is configured to obtain the first display mode in response to receiving the multimedia resource display instruction of the first application.
- the first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application.
- the second application has the same application attributes as the first application.
- the application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
- the display unit 1902 is configured to display the multimedia resources in the first display mode obtained by the obtaining unit 1901 on the display interface of the multimedia resources of the first application.
- the first display mode is a display mode determined in response to a user's trigger operation
- the acquiring unit 1901 is configured to: display the first control and the second control on the display mode selection interface of the first application, the first control The control and the second control respectively correspond to different display modes.
- the display mode corresponding to the first control is the first display mode.
- the first display mode is a display mode of a second application
- the application attribute is an application type
- the second application is an application installed on the terminal and of the same application type as the first application.
- the obtaining unit 1901 is configured to: obtain the identifier of the second application.
- the display mode of the second application indicated by the identifier of the second application is obtained.
- the acquired display mode of the second application is determined as the first display mode.
- the obtaining unit 1901 is configured to: obtain the identifier of the installed application in the terminal.
- the pre-stored correspondence between the application identifier and the application type is read to determine the identifier of the application belonging to the same application type as the identifier of the first application among the identifiers of the installed application.
- the determined identification of the application is determined as the identification of the second application.
- the obtaining unit 1901 is configured to: send the identifier of the second application to the server, so as to request to obtain the display mode of the second application. Receive the display mode of the second application sent by the server. The display mode of the second application is determined by the server according to the identifier of the second application.
- the obtaining unit 1901 is configured to: read the pre-stored correspondence between the application identifier and the display mode, so as to determine the display mode corresponding to the identifier of the second application among the identifiers of the installed application.
- the determined display mode is determined as the display mode of the second application.
- the second application when the first display mode is the display mode of the second application, and the application attribute is the geographic location information of the terminal corresponding to the application, the second application is in the location area to which the terminal belongs, and the preset value is satisfied. conditional application.
- the acquiring unit 1901 is configured to: acquire geographic location information of the terminal. The display mode of the second application indicated by the geographic location information of the terminal is acquired. The acquired display mode of the second application is determined as the first display mode.
- the obtaining unit 1901 is configured to: send the geographic location information of the terminal to the server, so as to request to obtain the display mode of the second application. Receive the display mode of the second application sent by the server. The display mode of the second application program is determined by the server according to the geographic location information of the terminal.
- the obtaining unit 1901 is configured to read the correspondence between the pre-stored geographic location information and the display mode, so as to determine the display mode corresponding to the terminal's geographic location information in the stored geographic location information.
- the determined display mode is determined as the display mode of the second application.
- the application attributes also include user accounts.
- the second application is the application after logging in the target account in the first application of the other terminal.
- the obtaining unit 1901 is configured to: send the identifier of the target account to the server to request to obtain the first display mode.
- the first display mode sent by the server is received.
- the first display mode is determined by the server according to the identifier of the target account.
- the obtaining unit 1901 is further configured to obtain target type information, where the target type information is used to indicate a multimedia resource of a recommended target type.
- the display unit 1902 is configured to display the multimedia resources of the target type in the first display mode on the display interface of the multimedia resources of the first application.
- the obtaining unit 1901 is configured to: after determining the first display mode, obtain the multimedia resources of the target type corresponding to the first display mode.
- the acquired multimedia resource of the target type is determined as the target type information.
- the obtaining unit 1901 is configured to: receive the multimedia resource of the target type corresponding to the first display mode sent by the server.
- FIG. 20 shows another schematic structural diagram of a display apparatus for multimedia resources provided by an embodiment of the present disclosure.
- the apparatus for displaying multimedia resources may include: a receiving unit 2001 , a determining unit 2002 and a sending unit 2003 .
- the receiving unit 2001 is configured to receive the first information sent by the terminal.
- the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account.
- the application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application.
- the determining unit 2002 is configured to determine the display mode of the second application program according to the first information received by the receiving unit 2001 .
- the display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application.
- the sending unit 2003 is configured to send the display mode of the second application determined by the determining unit 2002 to the terminal.
- the first information is the identification of the second application
- the determining unit 2002 is configured to: read the pre-stored correspondence between the identification of the application and the display mode, so as to determine the identification corresponding to the identification of the second application. Display method. The determined display mode is determined as the display mode of the second application.
- the first information is the geographic location information of the terminal
- the determining unit 2002 is configured to: read the pre-stored correspondence between the geographic location information and the display mode, so as to determine the display mode corresponding to the geographic location information of the terminal.
- the determined display mode is determined as the display mode of the second application.
- the first information is the identifier of the target account
- the determining unit 2002 is configured to: read the pre-stored correspondence between the account identifier and the display mode, so as to determine the display mode corresponding to the identifier of the target account.
- the determined display mode is determined as the display mode of the second application.
- the determining unit 2002 is further configured to read the pre-stored correspondence between the application program and the target type information, so as to determine the target type information corresponding to the second application program.
- the target type information is used to indicate the multimedia resources of the recommended target type.
- the sending unit 2003 is further configured to send the target type information determined by the determining unit 2002 to the terminal.
- the server/terminal can be divided into functional modules according to the above method examples.
- the above-mentioned integrated modules may be implemented in the form of hardware, or may be implemented in the form of software function modules.
- the division of modules in the embodiments of the present disclosure is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
- each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- An embodiment of the present disclosure further provides a terminal, where the terminal may be a user terminal such as a mobile phone and a computer.
- FIG. 21 shows a schematic structural diagram of a terminal provided by an embodiment of the present disclosure.
- the terminal may be a display device for multimedia resources and may include at least one processor 61 , a communication bus 62 , a memory 63 and at least one communication interface 64 .
- the processor 61 may be a central processing unit (CPU), a microprocessor unit, an ASIC, or one or more integrated circuits for controlling the execution of the programs of the present disclosure.
- CPU central processing unit
- ASIC application specific integrated circuit
- Communication bus 62 may include a path to communicate information between the above-described components.
- Communication interface 64 using any transceiver-like device, for communicating with other devices or communication networks, such as servers, Ethernet, radio access networks (RAN), wireless local area networks (WLAN) )Wait.
- devices or communication networks such as servers, Ethernet, radio access networks (RAN), wireless local area networks (WLAN) )Wait.
- RAN radio access networks
- WLAN wireless local area networks
- Memory 63 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, CD-ROM storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being executed by a computer Access any other medium without limitation.
- the memory may exist independently and be connected to the processing unit through a bus. The memory can also be integrated with the processing unit.
- the memory 63 is used for storing the application program code for executing the solution of the present disclosure, and the execution is controlled by the processor 61 .
- the processor 61 is used to execute the application program code stored in the memory 63, so as to realize the functions in the method of the present disclosure.
- the processor 61 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 21 .
- the apparatus for displaying multimedia resources may include multiple processors, for example, the processor 61 and the processor 65 in FIG. 21 .
- Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
- a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
- the apparatus for displaying multimedia resources may further include an input device 66 and an output device 67 .
- Input device 66 is in communication with processor 67 and can accept user input in a variety of ways.
- the input device 66 may be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
- the output device 67 is in communication with the processor 61 and can display information in a variety of ways.
- the output device 61 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, or the like.
- FIG. 21 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
- FIG. 22 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure.
- the server may be a display device for multimedia resources.
- the server may vary greatly due to different configurations or performances, and may include one or more processors 71 and one or more memories 72 . Wherein, at least one instruction is stored in the memory 72, and at least one instruction is loaded and executed by the processor 71 to implement the message display method provided by each of the above method embodiments.
- the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output, and the server may also include other components for implementing device functions, which will not be described here.
- the present disclosure also provides a message display system, which includes a terminal and a server;
- the terminal is configured to send an aggregation request to the server in response to a message aggregation instruction, where the aggregation request is used to request aggregation of target session messages of a target session of an instant messaging application, where the target session message includes a set of or Multiple groups of messages to be aggregated, a group of messages to be aggregated includes N consecutive messages of an account, and N is a positive integer;
- the server is configured to receive the aggregation request sent by the terminal, and according to the aggregation request, aggregate the target session messages to obtain one or more aggregation messages; an aggregation message includes a corresponding set of pending messages. message content included in the aggregated message; sending the one or more aggregated messages to the terminal;
- the terminal is further configured to receive the one or more aggregated messages sent by the server, and display a conversation page including the one or more aggregated messages.
- the present disclosure also provides a computer-readable storage medium including instructions, the computer-readable storage medium having instructions stored thereon, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, cause a computer
- the message display method provided by the above-described embodiment can be executed.
- the computer-readable storage medium may be the memory 63 including instructions that can be executed by the processor 61 of the terminal to accomplish the above-mentioned method.
- the computer-readable storage medium may be the memory 72 including instructions, and the instructions may be executed by the processor 71 of the server to accomplish the above method.
- the computer-readable storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage devices Wait.
- the present disclosure also provides a computer program product containing instructions, which, when run on a computer, cause the computer device to execute the message display method provided by the above-described embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure relates to a method and device for displaying a multimedia resource and relates to the field of content communication applications. In the present disclosure, a terminal, when responding to a multimedia resource display instruction of a first application received, acquires a first display scheme, and then employs, in a display interface for a multimedia resource of the first application, the first display scheme to display the multimedia resource, thus allowing a user corresponding to a target account to view, on the basis of habits of self, the multimedia resource in the display interface for the multimedia resource of the first application. (FIG. 2)
Description
本申请基于申请日为2020年9月14日、申请号为202010961810.9的中国专利申请,并要求该中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application is based on a Chinese patent application with an application date of September 14, 2020 and an application number of 202010961810.9, and claims the priority of the Chinese patent application, the entire contents of which are incorporated herein by reference.
本公开涉及内容社区应用领域,尤其涉及一种多媒体资源的显示方法及装置。The present disclosure relates to the field of content community applications, and in particular, to a method and device for displaying multimedia resources.
每一内容社区应用程序都配置有一种默认多媒体资源的显示方式。不同内容社区应用程序的默认多媒体资源的显示方式可能不同。例如:实际应用中,短视频类型的应用程序的多媒体资源的显示方式主要包括:沉浸式显示方式或列表式显示方式等。Each content community application is configured with a default display method for multimedia resources. Default multimedia resources may appear differently for different content community applications. For example, in practical applications, the display methods of multimedia resources of short video type applications mainly include: immersive display methods or list display methods.
发明内容SUMMARY OF THE INVENTION
本公开提供一种多媒体资源的显示方法及装置。The present disclosure provides a method and device for displaying multimedia resources.
在一些实施例中,本公开提供一种多媒体资源的显示方法,该方法可以应用于终端。该方法可以包括:In some embodiments, the present disclosure provides a method for displaying multimedia resources, which can be applied to a terminal. The method can include:
终端在响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式,然后在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源。其中,第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式。第二应用程序与第一应用程序的应用属性相同。该应用属性包括应用类型或者应用程序对应的终端的地理位置信息。In response to receiving the multimedia resource display instruction of the first application, the terminal acquires the first display mode, and then displays the multimedia resource in the first display mode on the display interface of the multimedia resource of the first application. The first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application. The second application has the same application attributes as the first application. The application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
在一些实施例中,本公开提供一种多媒体资源的显示方法,可以应用于服务器。该方法可以包括:接收终端发送的第一信息。第一信息为第二应用程序的标识、终端的地理位置信息或者目标账户的标识中的任意一项。第二应用程序与第一应用程序的应用属性相同;应用属性包括应用类型或者应用程序对应的终端的地理位置信息。根据第一信息,确定第二应用程序的显示方式。第二应用程序的显示方式用于在第一应用程序的多媒体资源的显示界面上显示多媒体资源。向终端发送第二应用程序的显示方式。In some embodiments, the present disclosure provides a method for displaying multimedia resources, which can be applied to a server. The method may include: receiving first information sent by the terminal. The first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account. The application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application. The display mode of the second application is determined according to the first information. The display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application. The display mode of the second application is sent to the terminal.
在一些实施例中,本公开提供一种多媒体资源的显示装置,可以应用于终端。该装置可以包括:获取单元和显示单元。In some embodiments, the present disclosure provides an apparatus for displaying multimedia resources, which can be applied to a terminal. The apparatus may include: an acquisition unit and a display unit.
获取单元,用于响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式。第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式。第二应用程序与第一应用程序的应用属性相同。应用属性包括应用类型或者应用程序对应的终端的地理位置信息。显示单元,用于在第一应用程序的多媒体资源的显示界面,采用获取单元获取的第一显示方式显示多媒体资源。The obtaining unit is configured to obtain the first display mode in response to receiving the multimedia resource display instruction of the first application. The first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application. The second application has the same application attributes as the first application. The application attribute includes the application type or the geographic location information of the terminal corresponding to the application program. The display unit is used for displaying the multimedia resources in the display interface of the multimedia resources of the first application using the first display mode acquired by the acquiring unit.
在一些实施例中,本公开提供一种多媒体资源的显示装置,可以应用于服务器。该装置可以包括:接收单元、确定单元和发送单元。In some embodiments, the present disclosure provides a display apparatus for multimedia resources, which can be applied to a server. The apparatus may include: a receiving unit, a determining unit and a sending unit.
接收单元,用于接收终端发送的第一信息。第一信息为第二应用程序的标识、终端的地理位置信息或者目标账户的标识中的任意一项。第二应用程序与第一应用程序的应用属性相同;应用属性包括应用类型或者应用程序对应的终端的地理位置信息。确定单元,用于根据接收单元接收的第一信息,确定第二应用程序的显示方式。第二应用程序的显示方式用于在第一应用程序的多媒体资源的显示界面上显示多媒体资源。发送单元,用于向终端发送确定单元确定的第二应用程序的显示方式。The receiving unit is configured to receive the first information sent by the terminal. The first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account. The application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application. The determining unit is configured to determine the display mode of the second application program according to the first information received by the receiving unit. The display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application. The sending unit is configured to send the display mode of the second application determined by the determining unit to the terminal.
在一些实施例中,本公开提供一种终端,可以包括:处理器和用于存储处理器可执行指令的存储器;其中,处理器被配置为执行所述指令,以实现上述任意实施例中应用于终端的多媒体资源的显示方法。In some embodiments, the present disclosure provides a terminal, which may include: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions, so as to implement the application in any of the foregoing embodiments A method for displaying multimedia resources in a terminal.
在一些实施例中,本公开提供一种服务器,可以包括:处理器和用于存储处理器可执行指令的存储器;其中,处理器被配置为执行所述指令,以实现上述任意实施例中应用于服务器的多媒体资源的显示方法。In some embodiments, the present disclosure provides a server, which may include: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the application in any of the foregoing embodiments Display method of multimedia resources on the server.
在一些实施例中,本公开提供一种多媒体资源的显示系统,包括如上任意实施例所述的终端、以及如上任意实施例所述的服务器;终端和服务器通信连接。In some embodiments, the present disclosure provides a system for displaying multimedia resources, including the terminal described in any of the above embodiments, and the server described in any of the above embodiments; the terminal and the server are communicatively connected.
在一些实施例中,本公开提供一种计算机可读存储介质,计算机可读存储介质上存储有指令,当所述计算机可读存储介质中的指令由终端的处理器执行时,使得所述终端能够执行上述任意实施例中应 用于终端的多媒体资源的显示方法。In some embodiments, the present disclosure provides a computer-readable storage medium on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a terminal, cause the terminal to The method for displaying multimedia resources applied to a terminal in any of the foregoing embodiments can be implemented.
在一些实施例中,本公开提供一种计算机可读存储介质,计算机可读存储介质上存储有指令,当所述计算机可读存储介质中的指令由服务器的处理器执行时,使得所述服务器能够执行上述任意实施例中应用于服务器的多媒体资源的显示方法。In some embodiments, the present disclosure provides a computer-readable storage medium having instructions stored thereon that, when executed by a processor of a server, cause the server to The method for displaying multimedia resources applied to the server in any of the foregoing embodiments can be implemented.
在一些实施例中,本公开提供一种计算机程序产品,包含指令,当其在计算机上运行时,使得计算机执行上述任意实施例中应用于终端的多媒体资源的显示方法。In some embodiments, the present disclosure provides a computer program product comprising instructions that, when run on a computer, cause the computer to execute the method for displaying multimedia resources applied to a terminal in any of the above-described embodiments.
在一些实施例中,本公开提供一种计算机程序产品,包含指令,当其在计算机上运行时,使得计算机执行上述任意实施例中应用于服务器的多媒体资源的显示方法。In some embodiments, the present disclosure provides a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the method for displaying multimedia resources applied to a server in any of the above-described embodiments.
基于上述实施例,本公开中,终端在响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式,然后在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源。由于第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式,第二应用程序与第一应用程序的应用属性相同,应用属性包括应用类型或者应用程序对应的终端的地理位置信息,因此,终端在第一应用程序的多媒体资源的显示界面显示多媒体资源时,可以根据不同的用户需求,确定与目标账户适配的显示方式,以使得与目标账户对应的用户可以根据自身习惯,在第一应用程序的多媒体资源的显示界面观看多媒体资源,丰富了用户体验;同时,终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。Based on the above embodiments, in the present disclosure, the terminal acquires the first display mode in response to receiving the multimedia resource display instruction of the first application, and then displays the first display mode on the display interface of the multimedia resources of the first application. multimedia resources. Since the first display mode is the display mode determined in response to the user's trigger operation, or the display mode of the second application, the second application has the same application attributes as the first application, and the application attributes include the application type or the application The geographic location information of the corresponding terminal. Therefore, when the terminal displays the multimedia resources on the display interface of the multimedia resources of the first application, the terminal can determine the display mode adapted to the target account according to different user requirements, so as to correspond to the target account. Users can watch multimedia resources on the display interface of the multimedia resources of the first application according to their own habits, which enriches the user experience; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habits, which can avoid the user's unfamiliarity. resulting in additional operations, thereby improving the processing efficiency of the terminal.
图1为本公开实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;
图2示出了本公开实施例提供的一种多媒体资源的显示方法的流程示意图;2 shows a schematic flowchart of a method for displaying multimedia resources provided by an embodiment of the present disclosure;
图3示出了本公开实施例提供的一种沉浸式显示方式显示视频的示意图;FIG. 3 shows a schematic diagram of displaying a video in an immersive display manner provided by an embodiment of the present disclosure;
图4示出了本公开实施例提供的一种列表式显示方式显示视频的示意图;FIG. 4 shows a schematic diagram of displaying a video in a list display manner provided by an embodiment of the present disclosure;
图5示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;5 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图6a示出了本公开实施例提供的一种终端的显示方式选择界面的示意图;Fig. 6a shows a schematic diagram of a display mode selection interface of a terminal provided by an embodiment of the present disclosure;
图6b示出了本公开实施例提供的又一种终端的显示方式选择界面的示意图;FIG. 6b shows a schematic diagram of another display mode selection interface of a terminal provided by an embodiment of the present disclosure;
图7示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 7 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图8a示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 8a shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图8b示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 8b shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图8c示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 8c shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图9a示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 9a shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图9b示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 9b shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图9c示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 9c shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图10示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 10 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图11示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 11 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图12a示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 12a shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图12b示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 12b shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图13示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 13 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图14示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 14 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图15示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 15 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图16示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 16 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图17示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 17 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图18示出了本公开实施例提供的又一种多媒体资源的显示方法的流程示意图;FIG. 18 shows a schematic flowchart of another method for displaying multimedia resources provided by an embodiment of the present disclosure;
图19示出了本公开实施例提供的一种多媒体资源的显示装置的结构示意图;FIG. 19 shows a schematic structural diagram of a display device for multimedia resources provided by an embodiment of the present disclosure;
图20示出了本公开实施例提供的又一种多媒体资源的显示装置的结构示意图;FIG. 20 shows a schematic structural diagram of another apparatus for displaying multimedia resources provided by an embodiment of the present disclosure;
图21示出了本公开实施例提供的一种终端的结构示意图;FIG. 21 shows a schematic structural diagram of a terminal provided by an embodiment of the present disclosure;
图22示出了本公开实施例提供的一种服务器的结构示意图。FIG. 22 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure.
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art 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 with reference to the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于 区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。It should be noted that the terms "first", "second", etc. in the description 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 sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
还应当理解的是,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其他特征、整体、步骤、操作、元素和/或组件的存在或添加。It should also be understood that the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and/or components, but does not exclude one or more other features, integers, steps, operations, elements and/or The presence or addition of components.
在用户习惯了以沉浸式显示方式使用第一应用程序的情况下,当用户使用与第一应用程序的应用类型相同的第二应用程序时,若第二应用程序的多媒体资源的显示方式为列表式显示方式,则可能导致用户使用不习惯,降低了用户体验。When the user is accustomed to using the first application in the immersive display mode, when the user uses the second application of the same application type as the first application, if the display mode of the multimedia resources of the second application is a list If the display mode is used, it may cause the user to be unaccustomed to use and reduce the user experience.
基于此,本公开实施例提供一种多媒体资源的显示方法,可以在终端显示应用程序的多媒体资源显示界面时,确定与账户适配的显示方式,并在应用程序的多媒体资源显示界面,采用该显示方式显示多媒体资源,以使得用户可以根据自身习惯使用应用程序,丰富了用户体验,同时避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。Based on this, an embodiment of the present disclosure provides a method for displaying multimedia resources, which can determine a display mode adapted to an account when a terminal displays a multimedia resource display interface of an application, and use the method on the multimedia resource display interface of an application. The display mode displays multimedia resources, so that the user can use the application program according to his own habit, which enriches the user experience, and at the same time avoids additional operations caused by the user's unaccustomedness, thereby improving the processing efficiency of the terminal.
以下结合附图对本公开实施例提供的多媒体资源的显示方法进行示例性说明。The method for displaying multimedia resources provided by the embodiments of the present disclosure will be exemplarily described below with reference to the accompanying drawings.
首先,对本公开实施例的应用场景进行说明。First, the application scenarios of the embodiments of the present disclosure are described.
图1为本公开实施例提供的一种应用场景示意图,如图1所示,该应用场景中可以包括:服务器110和终端120,服务器110可以通过有线网络或无限网络与终端120之间建立连接。FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure. As shown in FIG. 1 , the application scenario may include: a server 110 and a terminal 120, and the server 110 may establish a connection with the terminal 120 through a wired network or a wireless network .
其中,服务器110可以是一些多媒体资源服务平台的数据服务器,可以用于存储和处理多媒体资源。例如,多媒体资源服务平台可以是短视频应用服务平台、新闻服务平台、直播服务平台、购物服务平台、外卖服务平台、共享服务平台、功能性网站等。其中,短视频应用服务平台提供的多媒体资源可以为一些短视频作品,新闻服务平台提供的多媒体资源可以为一些新闻信息,直播服务平台提供的多媒体资源可以为直播作品等,其余不再一一赘述。本公开对多媒体资源服务平台的具体类型并不作限制。The server 110 may be a data server of some multimedia resource service platforms, and may be used for storing and processing multimedia resources. For example, the multimedia resource service platform may be a short video application service platform, a news service platform, a live broadcast service platform, a shopping service platform, a takeaway service platform, a sharing service platform, a functional website, and the like. Among them, the multimedia resources provided by the short video application service platform can be some short video works, the multimedia resources provided by the news service platform can be some news information, and the multimedia resources provided by the live broadcast service platform can be live broadcast works, etc. The rest will not be repeated one by one. . The present disclosure does not limit the specific type of the multimedia resource service platform.
本公开中,服务器110可以包括多个短视频应用服务平台,每个短视频应用服务平台唯一对应一个应用程序。该应用程序安装于终端上,并通过终端的多媒体资源的显示界面上显示多媒体资源。In the present disclosure, the server 110 may include multiple short video application service platforms, and each short video application service platform uniquely corresponds to one application. The application program is installed on the terminal, and displays the multimedia resources on the display interface of the multimedia resources of the terminal.
终端120可以是手机、平板电脑等个人智能设备,或者,也可以是笔记本电脑、台式计算机、电视等设备。在一些实施例中,上述图1所示的应用场景中,服务器110可以与至少一个终端120连接。本公开对终端120的数量及类型均不作限制。The terminal 120 may be a personal smart device such as a mobile phone and a tablet computer, or may also be a device such as a notebook computer, a desktop computer, and a television. In some embodiments, in the above application scenario shown in FIG. 1 , the server 110 may be connected to at least one terminal 120 . The present disclosure does not limit the number and type of the terminals 120 .
以终端120为手机、多媒体资源服务平台为短视频应用服务平台为例:Take the terminal 120 as a mobile phone and the multimedia resource service platform as a short video application service platform as an example:
当用户打开手机上安装的短视频应用服务平台的应用程序后,手机可以响应于用户触发显示目标短视频的操作,从短视频应用服务平台的服务器中获取目标短视频,并通过短视频应用服务平台的应用程序的显示界面显示给用户,以使得用户可以观看该目标短视频。When the user opens the application of the short video application service platform installed on the mobile phone, the mobile phone can respond to the user triggering the operation of displaying the target short video, obtain the target short video from the server of the short video application service platform, and use the short video application service. The display interface of the application program of the platform is displayed to the user, so that the user can watch the target short video.
在一些实施例中,用户触发显示目标短视频的操作可以是指:用户在短视频应用服务平台的应用程序界面进行点击、滑动、等触控操作。In some embodiments, the operation that the user triggers the display of the target short video may refer to: the user performs touch operations such as clicking, sliding, and the like on the application program interface of the short video application service platform.
需要说明的,本公开实施例中所提到的用户账户或目标账户是指消费多媒体资源的消费用户账户(或者,也可以称为观众用户账户,下述实施例中用户账户均指代消费用户账户或观众用户账户)。其中,消费是指观看多媒体资源、转发多媒体资源、评论多媒体资源、分享多媒体资源、对多媒体资源进行点赞等消费行为。It should be noted that the user account or target account mentioned in the embodiments of the present disclosure refers to a consumer user account (or, it may also be referred to as a viewer user account, and the user accounts in the following embodiments all refer to consumer users who consume multimedia resources). account or viewer user account). Among them, consumption refers to consumption behaviors such as watching multimedia resources, forwarding multimedia resources, commenting on multimedia resources, sharing multimedia resources, and liking multimedia resources.
一些实施例中,服务器110可以是单独的一个服务器,或者,也可以是由多个服务器构成的服务器集群。部分实施方式中,服务器集群还可以是分布式集群。本公开对服务器110的具体实现方式也不作限制。In some embodiments, the server 110 may be a single server, or may also be a server cluster composed of multiple servers. In some embodiments, the server cluster may also be a distributed cluster. The present disclosure also does not limit the specific implementation of the server 110 .
还有一些实施例中,服务器110还可以包含有数据库或与数据库连接,多媒体资源服务平台的多媒体资源可以存储于数据库中。终端120可以通过服务器110实现对数据库中多媒体资源的访问操作。In still other embodiments, the server 110 may further include or be connected to a database, and the multimedia resources of the multimedia resource service platform may be stored in the database. The terminal 120 can access the multimedia resources in the database through the server 110 .
本公开实施例提供的多媒体资源的显示方法可以应用于前述图1所示的应用场景中的终端。The method for displaying multimedia resources provided by the embodiments of the present disclosure can be applied to the terminal in the application scenario shown in FIG. 1 .
如图2所示,当多媒体资源的显示方法应用于终端时,该多媒体资源的显示方法可以包括:As shown in FIG. 2 , when the method for displaying multimedia resources is applied to a terminal, the method for displaying multimedia resources may include:
S201、响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式。S201. Acquire a first display mode in response to receiving a multimedia resource display instruction of a first application.
其中,第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式。第二应用程序与第一应用程序的应用属性相同。应用属性包括应用类型或者应用程序对应的终端的地理位置信息。The first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application. The second application has the same application attributes as the first application. The application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
在一些实施例中,终端在安装第一应用程序后,响应于用户的启动操作,以打开第一应用程序。在打开第一应用程序后,终端响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式。In some embodiments, after installing the first application, the terminal opens the first application in response to a user's startup operation. After the first application program is opened, the terminal acquires the first display mode in response to receiving the multimedia resource display instruction of the first application program.
在一些实施例中,多媒体资源显示指令可以是用户对第一应用程序中的显示控件的操作,该操作可以是:用户在第一应用程序的显示控件上进行点击、滑动、等触控操作。其中,显示控件为用于显示第一应用程序的多媒体资源的控件。In some embodiments, the multimedia resource display instruction may be a user's operation on a display control in the first application, and the operation may be: the user performs a touch operation such as clicking, sliding, or the like on the display control of the first application. The display control is a control for displaying multimedia resources of the first application.
在一些实施例中,终端接收到第一应用程序的多媒体资源显示指令,可以是在终端首次安装第一应用程序后,用户首次使用目标账户、并对第一应用程序中的显示控件执行操作时对应的指令;也可以是终端删除第一应用程序、再次安装第一应用程序后,用户首次使用目标账户、并对第一应用程序中的显示控件执行操作时对应的指令;还可以是用户使用其他终端、且首次使用目标账户、且对第一应用程序中的显示控件执行操作时对应的指令,本公开实施例对此不作限定。In some embodiments, when the terminal receives the multimedia resource display instruction of the first application, it may be when the user uses the target account for the first time and performs an operation on the display controls in the first application after the first application is installed on the terminal. Corresponding instruction; it can also be an instruction corresponding to when the user uses the target account for the first time after the terminal deletes the first application program and re-installs the first application program and performs an operation on the display controls in the first application program; it can also be a user using This is not limited in this embodiment of the present disclosure as to the corresponding instructions when other terminals use the target account for the first time and perform operations on the display controls in the first application program.
S202、在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源。S202. On the display interface of the multimedia resources of the first application, display the multimedia resources by adopting the first display mode.
在获取第一显示方式之后,终端在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源。After acquiring the first display mode, the terminal uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application.
示例性的,以短视频应用程序为例,第一显示方式可以是沉浸式显示方式,也可以是列表式显示方式,还可以是其他显示方式,本公开对此不作限定。Exemplarily, taking a short video application as an example, the first display mode may be an immersive display mode, a list display mode, or other display modes, which are not limited in this disclosure.
沉浸式显示方式是指:当终端响应于用户的启动操作,以打开短视频应用程序时,短视频应用程序可以在视频显示界面直接全屏播放视频,无需进入视频列表再选择所要播放的视频。The immersive display mode means that when the terminal responds to the user's startup operation to open the short video application, the short video application can directly play the video in full screen on the video display interface, without entering the video list and then selecting the video to be played.
需要说明的是,在终端以沉浸式显示方式显示短视频应用程序的视频的情况下,当用户需要切换视频时,用户可以通过上下滑动的方式切换视频。It should be noted that, when the terminal displays the video of the short video application in an immersive display manner, when the user needs to switch the video, the user can switch the video by sliding up and down.
示例性的,如图3所示,终端中安装有应用程序A,且应用程序A的视频显示界面通过沉浸式显示方式,显示视频。当用户使用应用程序A时,用户点击应用程序A的图标(如图3中的(1)所示),终端响应于用户的点击操作,在应用程序A的视频显示界面直接播放视频(如图3中的(2)所示)。当用户需要切换视频时,用户可以在应用程序A的视频显示界面,通过上下滑动的方式切换视频(如图3中的(3)所示),终端响应于用户的切换操作,并在应用程序A的视频显示界面播放切换后的视频(如图3中的(4)所示)。Exemplarily, as shown in FIG. 3 , an application A is installed in the terminal, and a video display interface of the application A displays a video in an immersive display manner. When the user uses application A, the user clicks the icon of application A (as shown in (1) in Figure 3), and the terminal responds to the user's click operation and directly plays the video on the video display interface of application A (as shown in Figure 3). (2) in 3). When the user needs to switch the video, the user can switch the video by sliding up and down on the video display interface of application A (as shown in (3) in Figure 3), and the terminal responds to the user's switching operation and displays the The video display interface of A plays the switched video (as shown in (4) in FIG. 3 ).
列表式显示方式是指:当终端响应于用户的启动操作,以打开短视频应用程序时,短视频应用程序可以在视频显示界面以列表的方式(例如单列表或者双列表),显示多个视频的视频封面。后续,用户可以通过点击的方式,选择列表中的感兴趣的视频封面对应的视频进行观看。The list display mode means: when the terminal responds to the user's startup operation to open the short video application, the short video application can display multiple videos in a list mode (for example, single list or double list) on the video display interface. video cover. Subsequently, the user can select the video corresponding to the interested video cover in the list to watch by clicking.
需要说明的是,在终端以列表式显示方式显示短视频应用程序的视频的情况下,当用户需要切换视频时,用户可以通过左右/上下滑动的方式切换视频,也可以点击用于退出当前播放视频的控件,重新从选择列表中点击感兴趣的视频封面对应的视频进行观看。It should be noted that when the terminal displays the video of the short video application in a list display mode, when the user needs to switch the video, the user can switch the video by sliding left and right/up and down, or click to exit the current playback. Video controls, re-click the video corresponding to the cover of the video you are interested in from the selection list to watch it.
示例性的,如图4所示,终端中安装有应用程序A,且应用程序A的视频显示界面通过列表式显示方式,显示视频。当用户使用应用程序A时,用户点击应用程序A的图标(如图4中的(1)所示)。终端响应于用户的点击操作,在应用程序A的视频封面显示界面通过双列列表的方式,显示多个视频的视频封面(如图4中的(2)所示)。用户可以从选择列表中点击感兴趣的视频封面对应的视频进行观看(如图4中的(3)所示)。终端响应于用户的点击操作,并视频显示界面播放用户选择的视频封面对应的视频(如图4中的(4)所示)。Exemplarily, as shown in FIG. 4 , an application program A is installed in the terminal, and the video display interface of the application program A displays videos in a list display manner. When the user uses the application A, the user clicks the icon of the application A (as shown in (1) in FIG. 4 ). In response to the user's click operation, the terminal displays the video covers of multiple videos on the video cover display interface of application A in the form of a double-column list (as shown in (2) in FIG. 4 ). The user can click on the video corresponding to the interested video cover from the selection list to watch (as shown in (3) in FIG. 4 ). The terminal responds to the user's click operation, and plays the video corresponding to the video cover selected by the user on the video display interface (as shown in (4) in FIG. 4 ).
当用户需要切换视频时,用户可以在应用程序A的视频显示界面,点击用于退出当前播放视频的返回控件(如图4中的(5)所示),终端响应于用户点击返回控件的操作,重新在视频封面显示界面通过双列列表的方式,显示多个视频的视频封面。用户可以重新从选择列表中点击感兴趣的视频封面对应的视频进行观看(如图4中的(6)所示)。终端响应于用户的重新选择的点击操作,并视频显示界面播放用户重新从选择列表中选择的视频封面对应的视频(如图4中的(7)所示)。When the user needs to switch the video, the user can click the return control (as shown in (5) in Figure 4) to exit the currently playing video on the video display interface of application A, and the terminal responds to the user's operation of clicking the return control , and re-display the video covers of multiple videos in the form of a double-column list on the video cover display interface. The user can re-click the video corresponding to the interested video cover from the selection list to watch it (as shown in (6) in FIG. 4 ). In response to the user's re-selected click operation, the terminal plays a video corresponding to the video cover selected by the user from the selection list again on the video display interface (as shown in (7) in FIG. 4 ).
由S201-S202可知,终端响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式,然后在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源。由于第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式,且第二应用程序与第一应用程序的应用属性相同,应用属性包括应用类型或者应用程序对应的终端的地理位置信息,因此,终端在第一应用程序的多媒体资源的显示界面显示多媒体资源时,可以根据不同的用户需求,确定与用户适配的显示方式,以使得用户可以根据自身习惯,在第一应用程序的多媒体资源的显示界面观看多媒体资源,丰富了用户体验;同时,终端在与用户习惯匹配 的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。It can be known from S201-S202 that the terminal obtains the first display mode in response to receiving the multimedia resource display instruction of the first application, and then uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application. Since the first display mode is the display mode determined in response to the user's trigger operation, or the display mode of the second application, and the second application has the same application attributes as the first application, the application attributes include the application type or application The geographic location information of the terminal corresponding to the program. Therefore, when the terminal displays the multimedia resources on the display interface of the multimedia resources of the first application program, the terminal can determine the display mode adapted to the user according to different user requirements, so that the user can habit, viewing multimedia resources on the display interface of the multimedia resources of the first application, which enriches the user experience; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habit, which can avoid additional operations caused by the user's unaccustomedness. Thus, the processing efficiency of the terminal is improved.
在一种实施例中,如图5所示,第一显示方式为响应于用户的触发操作确定出的显示方式,终端获取第一显示方式包括S501-S502。In an embodiment, as shown in FIG. 5 , the first display mode is a display mode determined in response to a trigger operation of the user, and the terminal acquiring the first display mode includes S501-S502.
S501、在第一应用程序的显示方式选择界面显示第一控件和第二控件。S501. Display a first control and a second control on a display mode selection interface of a first application.
在响应于接收到第一应用程序的多媒体资源显示指令,在第一应用程序的显示方式选择界面显示第一控件和第二控件,以提示用户选择习惯的显示方式。其中,第一控件和第二控件分别对应不同的显示方式。In response to receiving the multimedia resource display instruction of the first application, the first control and the second control are displayed on the display mode selection interface of the first application to prompt the user to select a customary display mode. Wherein, the first control and the second control respectively correspond to different display modes.
在一些实施例中,在第一应用程序的显示方式选择界面显示第一控件和第二控件时,还可以在第一应用程序的显示方式选择界面显示提示框,以提示用户选择习惯的显示方式。其中,提示框包括第一控件和第二控件。第一控件和第二控件分别对应不同的显示方式。In some embodiments, when the first control and the second control are displayed on the display mode selection interface of the first application, a prompt box may also be displayed on the display mode selection interface of the first application to prompt the user to select a custom display mode . Wherein, the prompt box includes a first control and a second control. The first control and the second control respectively correspond to different display modes.
在一些实施例中,在第一应用程序的显示方式选择界面显示不同的显示方式的同时,还可以附带动态图片、静态图片或者视频动画,说明每种显示方式的具体操作方法。In some embodiments, when different display modes are displayed on the display mode selection interface of the first application, dynamic pictures, still pictures or video animations may be attached to illustrate specific operation methods of each display mode.
示例性的,结合图3和图4,如图6a所示,第一应用程序的显示方式选择界面显示提示框600中包括:控件601和控件602。控件601对应了沉浸式显示方式,控件602对应了列表式显示方式。Exemplarily, with reference to FIG. 3 and FIG. 4 , as shown in FIG. 6 a , the display prompt box 600 of the display mode selection interface of the first application includes: a control 601 and a control 602 . The control 601 corresponds to the immersive display mode, and the control 602 corresponds to the list display mode.
可选的,第一应用程序的显示方式选择界面显示提示框600中还可以包括:第一显示区域603和第二显示区域604。第一显示区域603与控件601对应,第二显示区域604与控件602对应。Optionally, the display prompt box 600 of the display mode selection interface of the first application may further include: a first display area 603 and a second display area 604 . The first display area 603 corresponds to the control 601 , and the second display area 604 corresponds to the control 602 .
在一些实施例中,第一显示区域603中,可以以动态图片的方式显示沉浸式显示方式的显示模式及具体使用步骤。例如,结合图3,第一显示区域603中的动态图片可以是图3中的(1)-(4)组成的动态图片,以说明沉浸式显示方式的显示模式及具体使用步骤。In some embodiments, in the first display area 603, the display mode and specific usage steps of the immersive display mode may be displayed in the form of dynamic pictures. For example, referring to FIG. 3 , the dynamic pictures in the first display area 603 may be dynamic pictures composed of (1)-(4) in FIG. 3 to illustrate the display mode and specific use steps of the immersive display mode.
相应的,第二显示区域604,也可以以动态图片的方式显示了列表式显示方式的显示模式及具体使用步骤。例如,结合图4,第二显示区域604中的动态图片可以是图4中的(1)-(7)组成的动态图片,以说明列表式显示方式的显示模式及具体使用步骤。Correspondingly, the second display area 604 can also display the display mode of the list display mode and the specific usage steps in the form of dynamic pictures. For example, with reference to FIG. 4 , the dynamic pictures in the second display area 604 may be dynamic pictures composed of (1)-(7) in FIG. 4 to illustrate the display mode and specific usage steps of the list display mode.
在这种情况下,用户可以通过点击的方式,选择控件601或者控件602,以确定第一显示方式。例如图6a所示,用户可以点击控件601,以确定沉浸式显示方式为第一显示方式。In this case, the user can select the control 601 or the control 602 by clicking to determine the first display mode. For example, as shown in FIG. 6a, the user can click the control 601 to determine the immersive display mode as the first display mode.
可选的,结合图3和图4,如图6b所示,第一应用程序的显示方式选择界面显示提示框600中可以只包括:第一显示区域603和第二显示区域604(在这种情况下,第一显示区域603即为第一控件,第二显示区域604即为第二控件)。Optionally, in conjunction with FIG. 3 and FIG. 4, as shown in FIG. 6b, the display prompt box 600 of the display mode selection interface of the first application may only include: the first display area 603 and the second display area 604 (in this In this case, the first display area 603 is the first control, and the second display area 604 is the second control).
其中,第一显示区域603中,可以以动态图片的方式显示沉浸式显示方式的显示模式及具体使用步骤。例如,结合图3,第一显示区域603中的动态图片可以是图3中的(1)-(4)组成的动态图片,以说明沉浸式显示方式的显示模式及具体使用步骤。Wherein, in the first display area 603, the display mode and specific usage steps of the immersive display mode can be displayed in the form of dynamic pictures. For example, referring to FIG. 3 , the dynamic pictures in the first display area 603 may be dynamic pictures composed of (1)-(4) in FIG. 3 to illustrate the display mode and specific use steps of the immersive display mode.
相应的,第二显示区域604,也可以以动态图片的方式显示了列表式显示方式的显示模式及具体使用步骤。例如,结合图4,第二显示区域604中的动态图片可以是图4中的(1)-(7)组成的动态图片,以说明列表式显示方式的显示模式及具体使用步骤。Correspondingly, the second display area 604 can also display the display mode of the list display mode and the specific usage steps in the form of dynamic pictures. For example, with reference to FIG. 4 , the dynamic pictures in the second display area 604 may be dynamic pictures composed of (1)-(7) in FIG. 4 to illustrate the display mode and specific usage steps of the list display mode.
在这种情况下,用户可以通过点击的方式,直接点击第一显示区域603或者第二显示区域604,以确定第一显示方式。例如图6b所示,用户可以点击第一显示区域603,以确定沉浸式显示方式为第一显示方式。In this case, the user can directly click on the first display area 603 or the second display area 604 by clicking to determine the first display mode. For example, as shown in FIG. 6b, the user may click on the first display area 603 to determine the immersive display mode as the first display mode.
在一些实施例中,提示框中还可以包括其他数量的控件,每个控件对应的显示方式都不同,本公开对提示框中控件的数量不作限制。In some embodiments, the prompt box may further include other numbers of controls, and each control corresponds to a different display manner, and the present disclosure does not limit the number of controls in the prompt box.
S502、响应于用户对第一控件的点击操作,确定第一控件对应的显示方式为第一显示方式。S502. In response to the user's click operation on the first control, determine that the display mode corresponding to the first control is the first display mode.
在第一应用程序的显示方式选择界面显示提示框后,用户对提示框中的显示方式进行选择。当用户在第一应用程序的显示方式选择界面选择第一控件对应的沉浸式显示方式后,终端响应于用户对第一控件的点击操作,确定第一控件对应的显示方式为第一显示方式。After the prompt box is displayed on the display mode selection interface of the first application, the user selects the display mode in the prompt box. After the user selects the immersive display mode corresponding to the first control on the display mode selection interface of the first application, the terminal determines that the display mode corresponding to the first control is the first display mode in response to the user's click operation on the first control.
由S501-S502可知,当第一显示方式为响应于用户的触发操作确定出的显示方式时,终端在获取第一显示方式时,可以首先在第一应用程序的显示方式选择界面显示第一控件和第二控件,且第一控件和第二控件分别对应不同的显示方式。这样一来,终端在第一应用程序的显示方式选择界面显示多个显示方式,以满足不同的用户对于第一应用程序的显示方式的需求,用户可以根据自己的习惯,通过点击第一控件或者第二控件的操作,选择习惯的显示方式。后续,终端响应于用户对第一控件的点击操作,确定第一控件对应的显示方式为第一显示方式,根据用户选择的显示方式在第一应用程序的多媒体资源的显示界面显示多媒体资源,丰富了用户体验;同时,终 端根据用户选择的显示方式提供多媒体资源服务,能够避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。It can be known from S501-S502 that when the first display mode is a display mode determined in response to a user's trigger operation, when the terminal acquires the first display mode, the terminal may first display the first control on the display mode selection interface of the first application. and the second control, and the first control and the second control respectively correspond to different display modes. In this way, the terminal displays multiple display modes on the display mode selection interface of the first application to meet the needs of different users for the display mode of the first application. The user can click the first control or For the operation of the second control, choose the display mode you are used to. Subsequently, in response to the user's click operation on the first control, the terminal determines that the display mode corresponding to the first control is the first display mode, and displays the multimedia resources on the display interface of the multimedia resources of the first application according to the display mode selected by the user, and enriches the display mode. The user experience is improved; at the same time, the terminal provides multimedia resource services according to the display mode selected by the user, which can avoid additional operations caused by the user's unaccustomedness, thereby improving the processing efficiency of the terminal.
在又一种实施例中,如图7所示,第一显示方式为第二应用程序的显示方式、且应用属性为应用类型,第二应用程序为终端已安装的、且与第一应用程序的应用类型相同的应用程序。在这种情况下,终端获取第一显示方式包括S701-S703。In yet another embodiment, as shown in FIG. 7 , the first display mode is the display mode of the second application, and the application attribute is the application type, and the second application is installed on the terminal and is the same as the first application. application of the same type. In this case, acquiring the first display mode by the terminal includes S701-S703.
S701、获取第二应用程序的标识。S701. Acquire an identifier of a second application.
终端在获取第一显示方式时,还可以通过确定终端中是否安装有与第一应用程序的应用类型相同的第二应用程序。若终端中安装有第二应用程序,则可以获取第二应用程序的标识。When acquiring the first display mode, the terminal may also determine whether a second application of the same application type as the first application is installed in the terminal. If the second application program is installed in the terminal, the identifier of the second application program can be acquired.
在一些实施例中,若第二应用程序为安卓(android)系统中的应用程序,则第二应用程序的标识为第二应用程序的包名。若第二应用程序为苹果公司的移动操作系统(iphone operation system,IOS)中的应用程序,则第二应用程序的标识为第二应用程序的页面跳转协议(scheme)。In some embodiments, if the second application is an application in an Android system, the identifier of the second application is the package name of the second application. If the second application is an application in Apple's mobile operating system (iphone operation system, IOS), the identifier of the second application is a page jump protocol (scheme) of the second application.
在一些实施例中,第二应用程序的标识还可以是其他用于标识第二应用程序的标识,本公开对此不作限定。In some embodiments, the identifier of the second application program may also be other identifiers used to identify the second application program, which is not limited in the present disclosure.
S702、获取第二应用程序的标识指示的第二应用程序的显示方式。S702: Acquire a display mode of the second application indicated by the identifier of the second application.
在获取到第二应用程序的标识后,终端获取第二应用程序的标识指示的第二应用程序的显示方式。After acquiring the identifier of the second application, the terminal acquires the display mode of the second application indicated by the identifier of the second application.
S703、将获取到的第二应用程序的显示方式,确定为第一显示方式。S703. Determine the acquired display mode of the second application as the first display mode.
在获取到第二应用程序的显示方式后,终端将获取到的第二应用程序的显示方式,确定为第一显示方式。After acquiring the display mode of the second application, the terminal determines the acquired display mode of the second application as the first display mode.
由S701-S703可知,当第一显示方式为第二应用程序的显示方式时,终端在获取第一显示方式时,可以首先获取第二应用程序的标识,然后向服务器发送第二应用程序的标识,以请求获取第一显示方式。后续,终端接收服务器发送的根据第二应用程序的标识确定的第一显示方式。由于第二应用程序为终端已安装的应用程序、且第二应用程序与第一应用程序的应用类型相同,因此,用户已经习惯了使用第二应用程序的显示方式。在这种情况下,终端将第二应用程序的显示方式,确定为第一显示方式,保证了用户可以通过已经习惯的显示方式,在第一应用程序的多媒体资源的显示界面上显示多媒体资源,保证了用户习惯,丰富了用户体验;同时,终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。It can be known from S701-S703 that when the first display mode is the display mode of the second application, when the terminal obtains the first display mode, it can first obtain the identifier of the second application, and then send the identifier of the second application to the server. , to request the first display mode. Subsequently, the terminal receives the first display mode determined according to the identifier of the second application and sent by the server. Since the second application is an application installed on the terminal, and the second application is of the same application type as the first application, the user is accustomed to using the display mode of the second application. In this case, the terminal determines the display mode of the second application as the first display mode, which ensures that the user can display the multimedia resources on the display interface of the multimedia resources of the first application through the display mode that the user is accustomed to. User habits are ensured and user experience is enriched; at the same time, the terminal provides multimedia resource services in a display mode that matches user habits, which can avoid additional operations caused by users' unaccustomedness, thereby improving the processing efficiency of the terminal.
一种可以实现的方式中,结合图7,如图8a所示,上述S701可以替换为S801-S803。In a possible implementation manner, with reference to FIG. 7, as shown in FIG. 8a, the above S701 may be replaced by S801-S803.
S801、获取终端中已安装应用程序的标识。S801. Acquire an identifier of an installed application in the terminal.
终端在获取第二应用程序的标识时,由于第二应用程序为终端已安装的应用程序、且第二应用程序与第一应用程序的应用类型相同,因此,终端可以先获取终端中已安装应用程序的标识,并通过终端中已安装应用程序的标识,确定第二应用程序的标识。When the terminal acquires the identifier of the second application, since the second application is an application installed by the terminal and the application type of the second application is the same as that of the first application, the terminal can first acquire the application installed in the terminal. The identifier of the program, and the identifier of the second application program is determined by the identifier of the installed application program in the terminal.
S802、读取预先存储的应用程序标识与应用类型的对应关系,以确定出已安装应用程序的标识中,与第一应用程序的标识属于同一应用类型的应用程序的标识。S802: Read the pre-stored correspondence between application identifiers and application types to determine the identifiers of applications belonging to the same application type as the identifiers of the first application among the identifiers of the installed applications.
在一些实施例中,终端中预先存储有应用程序标识与应用类型的对应关系,在获取终端中已安装应用程序的标识之后,终端可以读取预先存储的应用程序标识与应用类型的对应关系,以确定出已安装应用程序的标识中,与第一应用程序的标识属于同一应用类型的应用程序的标识。In some embodiments, the corresponding relationship between the application identifier and the application type is pre-stored in the terminal, and after acquiring the identifier of the installed application in the terminal, the terminal can read the pre-stored corresponding relationship between the application identifier and the application type, It is determined that among the identifiers of the installed application programs, the identifiers of the application programs belonging to the same application type as the identifier of the first application program.
在一些实施例中,终端可以通过表格的方式存储应用程序标识与应用类型的对应关系,也可以通过其他存储方式存储应用程序标识与应用类型的对应关系,本公开对此不作限定。In some embodiments, the terminal may store the correspondence between application identifiers and application types in a table, or may store the correspondence between application identifiers and application types in other storage methods, which is not limited in the present disclosure.
示例性的,终端通过表格的方式存储了:应用程序A的标识对应的应用类型为短视频类、应用程序B的标识对应的应用类型为购物类、应用程序C的标识对应的应用类型为社交类、应用程序D的标识对应的应用类型为游戏类等。表1示出的上述应用程序与显示方式的对应关系。Exemplarily, the terminal stores in the form of a table: the application type corresponding to the identifier of application A is short video, the application type corresponding to the identifier of application B is shopping, and the application type corresponding to the identifier of application C is social networking. The application type corresponding to the class, the identifier of the application D is a game class, and the like. Table 1 shows the correspondence between the above-mentioned applications and display modes.
表1Table 1
应用程序的标识Application ID | 应用类型App types |
应用程序A的标识Application A's identity | 短视频类short video |
应用程序B的标识Application B's identity | 购物类shopping |
应用程序C的标识Identity of application C | 社交类social class |
应用程序D的标识Identification of Application D | 游戏类games |
……... | ……... |
当第一应用程序的标识对应的应用类型为短视频类的应用程序时,终端读取预先存储的表1, 并确定出已安装应用程序的标识中,同为短视频类的应用程序A的标识。When the application type corresponding to the identifier of the first application is an application of the short video category, the terminal reads the pre-stored Table 1, and determines that among the identifiers of the installed applications, the identifier of the application A of the short video category is the same. logo.
S803、将确定出的应用程序的标识确定为第二应用程序的标识。S803. Determine the identified identification of the application as the identification of the second application.
在确定出已安装应用程序的标识中,与第一应用程序的标识属于同一应用类型的应用程序的标识之后,终端将确定出的应用程序的标识确定为第二应用程序的标识。After determining the identifier of the installed application, the identifier of the application belonging to the same application type as the identifier of the first application, the terminal determines the determined identifier of the application as the identifier of the second application.
由S801-S803可知,在获取第二应用程序的标识时,由于第二为终端已安装的应用程序、且第二应用程序与第一应用程序的应用类型相同,因此,终端可以读取预先存储的应用程序标识与应用类型的对应关系,以确定出已安装应用程序的标识中,与第一应用程序的标识属于同一应用类型的应用程序的标识,并将确定出的应用程序的标识确定为第二应用程序的标识。这样一来,终端可以快速、准确的确定出第二应用程序的标识。It can be seen from S801-S803 that when acquiring the identifier of the second application, since the second is an application that has been installed by the terminal, and the second application is of the same application type as the first application, the terminal can read the pre-stored application. The corresponding relationship between the application identifier and the application type is determined to determine the identifier of the installed application program, the identifier of the application program belonging to the same application type as the identifier of the first application program, and the determined identifier of the application program is determined as The identity of the second application. In this way, the terminal can quickly and accurately determine the identity of the second application.
一种可以实现的方式中,结合图7,如图8b所示,上述S702可以替换为S804-S805。In a possible implementation manner, with reference to FIG. 7, as shown in FIG. 8b, the above S702 may be replaced by S804-S805.
S804、向服务器发送第二应用程序的标识,以请求获取第二应用程序的显示方式。S804. Send the identifier of the second application to the server to request to obtain the display mode of the second application.
在获取到第二应用程序的标识后,终端获取第二应用程序的标识指示的第二应用程序的显示方式时,可以从服务器获取第二应用程序的显示方式。在这种情况下,终端向服务器发送第二应用程序的标识,以请求获取第二应用程序的显示方式。After acquiring the identifier of the second application, when the terminal acquires the display mode of the second application indicated by the identifier of the second application, the terminal may acquire the display mode of the second application from the server. In this case, the terminal sends the identifier of the second application to the server to request to obtain the display mode of the second application.
S805、接收服务器发送的第二应用程序的显示方式。S805. Receive the display mode of the second application sent by the server.
其中,第二应用程序的显示方式为服务器根据第二应用程序的标识确定的。The display mode of the second application is determined by the server according to the identifier of the second application.
由S804-S805可知,在获取第二应用程序的显示方式时,终端可以向服务器发送第二应用程序的标识,以请求获取第二应用程序的显示方式,并接收服务器发送的第二应用程序的显示方式。It can be seen from S804-S805 that when obtaining the display mode of the second application, the terminal can send the identifier of the second application to the server to request to obtain the display mode of the second application, and receive the information of the second application sent by the server. Display method.
一种可以实现的方式中,结合图7,如图8c所示,上述S702还可以替换为S806-S807。In a possible implementation manner, with reference to FIG. 7 , as shown in FIG. 8 c , the above S702 can also be replaced by S806-S807.
S806、读取预先存储的应用程序标识与显示方式的对应关系,以确定出已安装应用程序的标识中,与第二应用程序的标识对应的显示方式。S806: Read the pre-stored correspondence between the application identifier and the display mode to determine the display mode corresponding to the identifier of the second application among the identifiers of the installed application.
在获取到第二应用程序的标识后,终端获取第二应用程序的标识指示的第二应用程序的显示方式时,终端还可以从终端预先存储的应用程序标识与显示方式的对应关系,以确定出已安装应用程序的标识中,与第二应用程序的标识对应的显示方式。After acquiring the identifier of the second application, when the terminal acquires the display mode of the second application indicated by the identifier of the second application, the terminal may also determine the correspondence between the application identifier and the display mode pre-stored by the terminal to determine In the identification of the installed application, the display mode corresponding to the identification of the second application is displayed.
S807、将确定出的显示方式确定为第二应用程序的显示方式。S807. Determine the determined display mode as the display mode of the second application.
由S806-S807可知,在获取第二应用程序的显示方式时,终端可以读取预先存储的应用程序标识与显示方式的对应关系,以确定出已安装应用程序的标识中,与第二应用程序的标识对应的显示方式,并将确定出的显示方式确定为第二应用程序的显示方式。It can be seen from S806-S807 that when acquiring the display mode of the second application, the terminal can read the pre-stored correspondence between the application identifier and the display mode, so as to determine whether the identifier of the installed application is the same as that of the second application. The display mode corresponding to the identifier of the , and the determined display mode is determined as the display mode of the second application.
在又一种实施例中,如图9a所示,第一显示方式为第二应用程序的显示方式、且应用属性为应用程序对应的终端的地理位置信息,第二应用程序为终端所属的位置区域中,满足预设条件的应用程序。在这种情况下,终端获取第一显示方式可以包括S901-S903。In yet another embodiment, as shown in FIG. 9a, the first display mode is the display mode of the second application, and the application attribute is the geographic location information of the terminal corresponding to the application, and the second application is the location to which the terminal belongs area, applications that meet preset conditions. In this case, acquiring the first display mode by the terminal may include S901-S903.
S901、获取终端的地理位置信息。S901. Obtain geographic location information of a terminal.
终端在获取第一显示方式时,还可以将第二应用程序的显示方式,确定为第一显示方式。其中,第二应用程序为终端所属的位置区域中,满足预设条件的应用程序。预设条件可以是终端所属的位置区域中,满足阈值的用户使用的应用程序。在这种情况下,终端所属的位置区域中的用户,使用与第一应用程序的应用类型相同的应用程序的习惯接近,因此,终端可以将第二应用程序的显示方式,确定为第一显示方式。When acquiring the first display mode, the terminal may further determine the display mode of the second application as the first display mode. Wherein, the second application program is an application program in the location area to which the terminal belongs and which satisfies the preset condition. The preset condition may be an application program used by a user meeting the threshold in the location area to which the terminal belongs. In this case, the user in the location area to which the terminal belongs has a similar habit of using an application of the same application type as the first application. Therefore, the terminal can determine the display mode of the second application as the first display Way.
例如,终端所属的位置区域中,用户在选择短视频类的应用程序时,80%以上的用户通常选择应用程序A观看短视频。在这种情况下,终端所属的位置区域中的用户使用短视频应用程序的习惯接近,因此,终端可以将应用程序A的显示方式,确定为第一显示方式。For example, in the location area to which the terminal belongs, when a user selects a short video application, more than 80% of the users usually select application A to watch the short video. In this case, the user in the location area to which the terminal belongs is close to the habit of using the short video application. Therefore, the terminal may determine the display mode of the application A as the first display mode.
在确定第二应用程序的显示方式时,首先获取终端的地理位置信息。When determining the display mode of the second application, first obtain the geographic location information of the terminal.
在一些实施例中,终端可以根据全球定位系统(global positioning system,GPS)获取终端的地理位置信息,还可以通过其他方式获取终端的地理位置信息,本公开对此不作限定。In some embodiments, the terminal may acquire the geographic location information of the terminal according to a global positioning system (global positioning system, GPS), and may also acquire the geographic location information of the terminal in other ways, which is not limited in the present disclosure.
S902、获取终端的地理位置信息指示的第二应用程序的显示方式。S902. Acquire the display mode of the second application indicated by the geographic location information of the terminal.
在获取到终端的地理位置信息后,终端获取终端的地理位置信息指示的第二应用程序的显示方式。After acquiring the geographic location information of the terminal, the terminal acquires the display mode of the second application indicated by the geographic location information of the terminal.
S903、将获取到的第二应用程序的显示方式,确定为第一显示方式。S903. Determine the acquired display mode of the second application as the first display mode.
在获取终端的地理位置信息指示的第二应用程序的显示方式后,终端将获取到的第二应用程序的显示方式,确定为第一显示方式。After acquiring the display mode of the second application indicated by the geographic location information of the terminal, the terminal determines the acquired display mode of the second application as the first display mode.
由S901-S903可知,当第一显示方式为第二应用程序的显示方式、且应用属性为应用程序对应的终端的地理位置信息时,第二应用程序为终端所属的位置区域中,满足预设条件的应用程序。 在这种情况下,终端在获取第一显示方式时,可以首先获取终端的地理位置信息,然后获取终端的地理位置信息指示的第二应用程序的显示方式,并将获取到的第二应用程序的显示方式,确定为第一显示方式。由于第二应用程序为终端所属的位置区域中,满足预设条件的应用程序,因此,在终端所属的位置区域中,用户已经习惯了使用第二应用程序的显示方式。在这种情况下,终端将第二应用程序的显示方式,确定为第一显示方式,保证了用户可以通过已经习惯的显示方式,在第一应用程序的多媒体资源的显示界面上显示多媒体资源,保证了用户习惯,丰富了用户体验;同时,终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。It can be known from S901-S903 that when the first display mode is the display mode of the second application program and the application attribute is the geographic location information of the terminal corresponding to the application program, the second application program is in the location area to which the terminal belongs, and the preset value is satisfied. conditional application. In this case, when acquiring the first display mode, the terminal may first acquire the geographic location information of the terminal, then acquire the display mode of the second application indicated by the geographic location information of the terminal, and display the acquired second application The display mode is determined as the first display mode. Since the second application is an application that meets the preset condition in the location area to which the terminal belongs, the user is accustomed to using the display mode of the second application in the location area to which the terminal belongs. In this case, the terminal determines the display mode of the second application as the first display mode, which ensures that the user can display the multimedia resources on the display interface of the multimedia resources of the first application through the display mode that the user is accustomed to. User habits are guaranteed and user experience is enriched; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habits, which can avoid additional operations caused by the user's unaccustomedness, thereby improving the processing efficiency of the terminal.
一种可以实现的方式中,结合图9a,如图9b所示,上述S902可以替换为S904-S905。In a possible implementation manner, with reference to FIG. 9a, as shown in FIG. 9b, the above S902 may be replaced by S904-S905.
S904、向服务器发送终端的地理位置信息,以请求获取第二应用程序的显示方式。S904. Send the geographical location information of the terminal to the server to request to obtain the display mode of the second application.
在获取到终端的代理位置信息后,终端可以向服务器发送终端的地理位置信息,以请求获取第二应用程序的显示方式。After acquiring the proxy location information of the terminal, the terminal may send the geographical location information of the terminal to the server to request to acquire the display mode of the second application.
S905、接收服务器发送的第二应用程序的显示方式。S905. Receive the display mode of the second application sent by the server.
其中,第二应用程序的显示方式为服务器根据终端的地理位置信息确定的。The display mode of the second application is determined by the server according to the geographic location information of the terminal.
在向服务器发送终端的地理位置信息,以请求获取第二应用程序的显示方式后,终端接收服务器发送的第二应用程序的显示方式。After sending the geographic location information of the terminal to the server to request to acquire the display mode of the second application, the terminal receives the display mode of the second application sent by the server.
由S904-S905可知,在获取第二应用程序的显示方式时,终端可以向服务器发送终端的地理位置信息,以请求获取第二应用程序的显示方式,并接收服务器发送的第二应用程序的显示方式。It can be seen from S904-S905 that when obtaining the display mode of the second application, the terminal can send the geographical location information of the terminal to the server to request to obtain the display mode of the second application, and receive the display of the second application sent by the server. Way.
一种可以实现的方式中,结合图9a,如图9c所示,上述S902还可以替换为S906-S907。In an achievable manner, with reference to FIG. 9a, as shown in FIG. 9c, the above S902 may also be replaced by S906-S907.
S906、读取预先存储的地理位置信息与显示方式的对应关系,以确定出已存储的地理位置信息中,与终端的地理位置信息对应的显示方式。S906: Read the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the geographic location information of the terminal in the stored geographic location information.
在获取到终端的代理位置信息后,终端可以读取预先存储的地理位置信息与显示方式的对应关系,以确定出已存储的地理位置信息中,与终端的地理位置信息对应的显示方式。After acquiring the proxy location information of the terminal, the terminal can read the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the terminal's geographic location information in the stored geographic location information.
S907、将确定出的显示方式确定为第二应用程序的显示方式。S907. Determine the determined display mode as the display mode of the second application.
在读取预先存储的地理位置信息与显示方式的对应关系,以确定出已存储的地理位置信息中,与终端的地理位置信息对应的显示方式后,终端将确定出的显示方式确定为第二应用程序的显示方式。After reading the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the terminal's geographic location information in the stored geographic location information, the terminal determines the determined display mode as the second display mode. How the application is displayed.
由S906-S907可知,在获取第二应用程序的显示方式时,终端可以读取预先存储的地理位置信息与显示方式的对应关系,以确定出已存储的地理位置信息中,与终端的地理位置信息对应的显示方式,并将确定出的显示方式确定为第二应用程序的显示方式。It can be seen from S906-S907 that, when acquiring the display mode of the second application, the terminal can read the correspondence between the pre-stored geographical position information and the display mode, so as to determine whether the stored geographical position information is related to the terminal's geographical position. The display mode corresponding to the information is determined, and the determined display mode is determined as the display mode of the second application.
在又一种实施例中,如图10所示,应用属性还包括用户账户。当第一显示方式为第二应用程序的显示方式、且应用属性为用户账户时,第二应用程序为在其他终端的第一应用程序中登录目标账户后的应用程序。在这种情况下,终端获取第一显示方式,包括S1001-S1002。In yet another embodiment, as shown in FIG. 10 , the application attribute further includes a user account. When the first display mode is the display mode of the second application and the application attribute is the user account, the second application is the application after logging in the target account in the first application of the other terminal. In this case, the terminal acquires the first display mode, including S1001-S1002.
S1001、向服务器发送目标账户的标识,以请求获取第一显示方式。S1001. Send the identifier of the target account to the server to request to obtain the first display mode.
终端在获取第一显示方式时,还可以根据目标账户的标识确定第一显示方式。When acquiring the first display mode, the terminal may also determine the first display mode according to the identifier of the target account.
在一些实施例中,每个用户都有唯一的账户,每个用户使用第一应用程序的习惯可能不同,当用户使用与用户对应的账户登录第一应用程序后,服务器可以存储第一应用程序的显示方式与目标账户的对应关系。In some embodiments, each user has a unique account, and each user may have different habits of using the first application. After the user logs in to the first application using the account corresponding to the user, the server may store the first application. The corresponding relationship between the display method and the target account.
示例性的,当用户首次在第一应用程序登录目标账户,并确定第一显示方式为沉浸式显示方式后,服务器存储目标账户使用第一应用程序的显示方式为沉浸式显示方式。后续,当用户在终端上重新登录目标账户,或者在其他终端上登录目标账户时,终端向服务器发送目标账户的标识,以请求获取服务器中存储的目标账户对应的第一显示方式。Exemplarily, when the user logs in to the target account in the first application for the first time and determines that the first display mode is the immersive display mode, the server stores the display mode of the first application using the target account as the immersive display mode. Subsequently, when the user logs in to the target account again on the terminal, or logs in to the target account on another terminal, the terminal sends the identifier of the target account to the server to request to obtain the first display mode corresponding to the target account stored in the server.
在一些实施例中,目标账户的标识可以是目标账户的登录名,也可以是目标账户的其他标识,本公开对此不作限定。In some embodiments, the identifier of the target account may be the login name of the target account, or may be other identifiers of the target account, which are not limited in the present disclosure.
S1002、接收服务器发送的第一显示方式。S1002. Receive the first display mode sent by the server.
其中,第一显示方式为服务器根据目标账户的标识确定的。The first display mode is determined by the server according to the identifier of the target account.
由S1001-S1002可知,当第一显示方式为在其他终端的第一应用程序中登录目标账户后的多媒体资源显示方式时,终端在获取第一显示方式时,可以首先向服务器发送目标账户的标识。后续,终端接收服务器发送的根据目标账户的标识确定的第一显示方式。由于目标账户为用户之前登录第一应用程序时的账户,因此,目标账户的标识对应的第一显示方式为用户习惯的显示方式。在这种情况下,终端将在其他终端的第一应用程序中登录目标账户后的多媒体资源显示方式,确 定为第一显示方式,保证了用户可以通过已经习惯的显示方式,在第一应用程序的多媒体资源的显示界面上显示多媒体资源,保证了用户习惯,丰富了用户体验;同时,终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。It can be known from S1001-S1002 that when the first display mode is the multimedia resource display mode after logging in to the target account in the first application of the other terminal, when the terminal obtains the first display mode, it can first send the identification of the target account to the server. . Subsequently, the terminal receives the first display mode determined according to the identifier of the target account and sent by the server. Since the target account is the account when the user logs in to the first application program, the first display mode corresponding to the identifier of the target account is the display mode that the user is accustomed to. In this case, the terminal determines the display mode of multimedia resources after logging in to the target account in the first application program of other terminals as the first display mode, which ensures that the user can display the multimedia resources in the first application program through the display mode that he is used to. The multimedia resources are displayed on the display interface of the multimedia resources, which ensures the user's habit and enriches the user experience; at the same time, the terminal provides multimedia resource services in a display mode that matches the user's habit, which can avoid additional operations caused by the user's unfamiliarity. The processing efficiency of the terminal is improved.
在又一种实施例中,如图11所示,终端在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源时,还可以根据用于指示推荐目标类型的多媒体资源的目标类型信息,在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示目标类型的多媒体资源,例如包括S1101-S1102。In another embodiment, as shown in FIG. 11 , when the terminal uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application, the terminal may also display the multimedia resources according to the The target type information, on the display interface of the multimedia resource of the first application, displays the multimedia resource of the target type in a first display manner, for example, including S1101-S1102.
S1101、获取目标类型信息。S1101. Obtain target type information.
其中,目标类型信息用于指示推荐目标类型的多媒体资源。The target type information is used to indicate the multimedia resources of the recommended target type.
终端在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源时,还可以获取同类型的应用程序中,用于指示推荐目标类型的多媒体资源。When displaying the multimedia resources in the first display mode on the display interface of the multimedia resources of the first application, the terminal may also acquire the multimedia resources of the same type of application that are used to indicate the recommended target type.
S1102、在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示目标类型的多媒体资源。S1102. On the display interface of the multimedia resource of the first application, display the multimedia resource of the target type in a first display manner.
示例性的,终端中已安装的短视频类中的应用程序A在向用户推荐短视频时,通常推荐潮流音乐、舞蹈、表演等类型的视频。当终端安装第一应用程序后,在第一应用程序的视频显示界面,采用第一显示方式显示潮流音乐、舞蹈、表演等类型的视频,丰富了用户体验。Exemplarily, when the application A in the short video category installed in the terminal recommends short videos to the user, it usually recommends videos of genres such as trendy music, dance, and performance. After the terminal installs the first application, videos of trendy music, dance, performance, etc. are displayed in the first display mode on the video display interface of the first application, which enriches the user experience.
由S1101-S1102可知,终端在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源时,还可以根据用于指示推荐目标类型的多媒体资源的目标类型信息,在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示目标类型的多媒体资源。在这种情况下,当用户首次在第一应用程序的多媒体资源的显示界面观看多媒体资源,可以避免在第一应用程序的多媒体资源的显示界面显示的多媒体资源与用户习惯观看的多媒体资源出现较大的反差,保证了用户习惯,丰富了用户体验;同时,终端提供与用户习惯匹配的多媒体资源服务,能够避免因用户不习惯导致的额外操作,从而提高了终端的处理效率。It can be known from S1101-S1102 that when the terminal adopts the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application, the terminal can also display the multimedia resources in the first application according to the target type information used to indicate the multimedia resources of the recommended target type. The display interface of the multimedia resources of the program adopts the first display mode to display the multimedia resources of the target type. In this case, when the user watches the multimedia resources on the display interface of the multimedia resources of the first application for the first time, it can be avoided that the multimedia resources displayed on the display interface of the multimedia resources of the first application are different from the multimedia resources that the user is accustomed to watching. The large contrast ensures user habits and enriches the user experience; at the same time, the terminal provides multimedia resource services that match the user's habits, which can avoid additional operations caused by the unaccustomed users, thereby improving the processing efficiency of the terminal.
一种可以实现的方式中,结合图11,如图12a所示,上述S1101可以替换为S1201-S1202。In a possible implementation manner, with reference to FIG. 11 , as shown in FIG. 12 a , the above S1101 may be replaced by S1201-S1202.
S1201、在确定第一显示方式之后,获取第一显示方式对应的目标类型的多媒体资源。S1201. After the first display mode is determined, acquire a multimedia resource of a target type corresponding to the first display mode.
在确定第一应用程序使用第一显示方式时,终端可以推测出用户喜欢观看的目标类型。在这种情况下,终端获取第一显示方式对应的目标类型的多媒体资源,进一步增加了用户留存。When it is determined that the first application program uses the first display mode, the terminal can infer the target type that the user likes to watch. In this case, the terminal acquires the multimedia resources of the target type corresponding to the first display mode, which further increases user retention.
S1202、将获取到的目标类型的多媒体资源,确定为目标类型信息。S1202. Determine the acquired multimedia resource of the target type as target type information.
在获取第一显示方式对应的目标类型的多媒体资源后,终端将获取到的目标类型的多媒体资源,确定为目标类型信息。After acquiring the multimedia resource of the target type corresponding to the first display mode, the terminal determines the acquired multimedia resource of the target type as the target type information.
由S1201-S1202可知,终端在获取目标类型信息时,可以在确定第一显示方式之后,获取第一显示方式对应的目标类型的多媒体资源,并将获取到的目标类型的多媒体资源,确定为目标类型信息。It can be known from S1201-S1202 that when the terminal obtains the target type information, after determining the first display mode, it can obtain the multimedia resources of the target type corresponding to the first display mode, and determine the obtained multimedia resources of the target type as the target. type information.
一种可以实现的方式中,结合图12a,如图12b所示,上述S1201可以替换为S1203。In a possible implementation manner, with reference to Fig. 12a, as shown in Fig. 12b, the above S1201 may be replaced by S1203.
S1203、接收服务器发送的第一显示方式对应的目标类型的多媒体资源。S1203. Receive the multimedia resource of the target type corresponding to the first display mode sent by the server.
由S1203可知,终端获取第一显示方式对应的目标类型的多媒体资源时,可以接收服务器发送的第一显示方式对应的目标类型的多媒体资源。It can be known from S1203 that when acquiring the multimedia resource of the target type corresponding to the first display mode, the terminal can receive the multimedia resource of the target type corresponding to the first display mode sent by the server.
本公开实施例提供的多媒体资源的显示方法还可以应用于前述图1所示的应用场景中的服务器。The method for displaying multimedia resources provided by the embodiments of the present disclosure can also be applied to the server in the application scenario shown in FIG. 1 .
如图13所示,当多媒体资源的显示方法应用于服务器时,该多媒体资源的显示方法可以包括S1301-S1303。As shown in FIG. 13 , when the method for displaying multimedia resources is applied to the server, the method for displaying multimedia resources may include S1301-S1303.
S1301、接收终端发送的第一信息。S1301. Receive first information sent by a terminal.
其中,第一信息为第二应用程序的标识、终端的地理位置信息或者目标账户的标识中的任意一项。第二应用程序与第一应用程序的应用属性相同;应用属性包括应用类型或者应用程序对应的终端的地理位置信息。The first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account. The application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application.
S1302、根据第一信息,确定第二应用程序的显示方式。S1302. Determine a display mode of the second application program according to the first information.
其中,第二应用程序的显示方式用于在第一应用程序的多媒体资源的显示界面上显示多媒体资源。The display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application.
S1303、向终端发送第二应用程序的显示方式。S1303. Send the display mode of the second application to the terminal.
在确定第二应用程序的显示方式之后,服务器向终端发送第二应用程序的显示方式。After determining the display mode of the second application, the server sends the display mode of the second application to the terminal.
由S1301-S1303可知,服务器可以根据终端发送的第一信息,确定并向终端发送第二应用程序的显示方式。其中,第一信息为第二应用程序的标识、终端的地理位置信息或者目标账户的标识中的任意一项。而第二应用程序与第一应用程序的应用属性相同;应用属性包括应用类型或者应用程序对应的终端的地理位置信息,因此,第二应用程序的显示方式为用户习惯的显示方式。其次,服务器还可以根据终端的地理位置信息,确定终端所属的位置区域中,满足预设条件的第三应用程序的显示方式,由于终端所属的位置区域中,用户已经习惯了使用第三应用程序的显示方式,因此,服务器根据终端的地理位置信息确定的第二应用程序的显示方式也是用户习惯的显示方式。再次,服务器还可以根据目标账户的标识确定第二应用程序的显示方式,由于目标账户的标识对应的显示方式为用户之前确定的显示方式,因此,服务器根据目标账户的标识确定的第二应用程序的显示方式也是用户习惯的显示方式。综上可知,服务器根据第一信息确定并向终端发送第二应用程序的显示方式均为用户习惯的显示方式,在这种情况下,当用户首次使用第一应用程序时,服务器保证了用户可以通过已经习惯的显示方式,在第一应用程序的多媒体资源的显示界面上显示多媒体资源,保证了用户习惯,丰富了用户体验;同时,服务器使得终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作以及由此带来的服务器的频繁响应,从而提高了终端和服务器的处理效率。It can be known from S1301-S1303 that the server can determine and send the display mode of the second application to the terminal according to the first information sent by the terminal. The first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account. The application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application. Therefore, the display mode of the second application is the display mode that the user is accustomed to. Secondly, the server can also determine, according to the geographic location information of the terminal, the display mode of the third application that meets the preset conditions in the location area to which the terminal belongs. Since the user is accustomed to using the third application in the location area to which the terminal belongs Therefore, the display mode of the second application determined by the server according to the geographical location information of the terminal is also the display mode that the user is used to. Again, the server can also determine the display mode of the second application according to the identification of the target account. Since the display mode corresponding to the identification of the target account is the display mode previously determined by the user, the server determines the second application according to the identification of the target account. The display method is also the display method that the user is accustomed to. To sum up, it can be seen that the display mode of the second application program determined by the server according to the first information and sent to the terminal is the display mode that the user is used to. In this case, when the user uses the first application program for the first time, the server ensures that the user can Displaying the multimedia resources on the display interface of the multimedia resources of the first application through the accustomed display mode ensures the user's habit and enriches the user experience; at the same time, the server enables the terminal to provide the multimedia resources in a display mode that matches the user's habit. The service can avoid the extra operation caused by the unaccustomed user and the frequent response of the server, thereby improving the processing efficiency of the terminal and the server.
在又一种实施例中,如图14所示,当第一信息为第二应用程序的标识时,服务器根据第一信息,确定第二应用程序的显示方式,包括S1401-S1402。In yet another embodiment, as shown in FIG. 14 , when the first information is the identifier of the second application, the server determines the display mode of the second application according to the first information, including S1401-S1402.
S1401、读取预先存储的应用程序的标识与显示方式的对应关系,以确定出第二应用程序的标识对应的显示方式。S1401. Read the pre-stored correspondence between the identifier of the application program and the display mode to determine the display mode corresponding to the identifier of the second application program.
在一些实施例中,服务器可以通过表格的方式存储应用程序与应用程序的显示方式的对应关系,也可以通过其他存储方式存储应用程序与应用程序的显示方式的对应关系,本公开对此不作限定。In some embodiments, the server may store the corresponding relationship between the application program and the display mode of the application program in the form of a table, and may also store the corresponding relationship between the application program and the display mode of the application program in other storage methods, which is not limited in this disclosure. .
在一些实施例中,服务器在存储每个应用程序对应的显示方式时,可以存储每个应用程序的标识与每个应用程序的显示方式的对应关系。In some embodiments, when storing the display mode corresponding to each application program, the server may store the corresponding relationship between the identifier of each application program and the display mode of each application program.
示例性的,服务器通过表格的方式存储了:应用程序B的标识对应的显示方式为沉浸式显示方式;应用程序A的标识对应的显示方式为列表式显示方式等。表2示出的上述应用程序与显示方式的对应关系。Exemplarily, the server stores in a table: the display mode corresponding to the logo of application B is an immersive display mode; the display mode corresponding to the logo of application A is a list display mode, and so on. Table 2 shows the correspondence between the above-mentioned applications and display modes.
表2Table 2
应用程序的标识Application ID | 显示方式Display method |
应用程序B的标识Application B's identity | 沉浸式显示方式Immersive display |
应用程序A的标识Application A's identity | 列表式显示方式list display |
……... | ……... |
服务器读取预先存储的应用程序的标识与显示方式的对应关系,以确定出第二应用程序的标识对应的显示方式。The server reads the pre-stored correspondence between the identifier of the application program and the display mode to determine the display mode corresponding to the identifier of the second application program.
S1402、将确定出的显示方式确定为第二应用程序的显示方式。S1402. Determine the determined display mode as the display mode of the second application.
示例性的,当服务器读取预先存储的应用程序的标识与显示方式的对应关系,以确定出第二应用程序的标识对应的显示方式为沉浸式显示方式时,将沉浸式显示方式确定为第二应用程序的显示方式。Exemplarily, when the server reads the pre-stored correspondence between the identifier of the application program and the display mode, and determines that the display mode corresponding to the identifier of the second application program is the immersive display mode, the immersive display mode is determined as the first display mode. 2. The way the application is displayed.
由S1401-S1402可知,服务器在确定第二应用程序的显示方式时,可以读取预先存储的应用程序的标识与显示方式的对应关系,以确定出第二应用程序的标识对应的显示方式,并将确定出的显示方式确定为第二应用程序的显示方式。由于第二应用程序的标识为终端已安装的应用程序、且第二应用程序与第一应用程序的应用类型相同,因此,第二应用程序的显示方式为用户习惯的显示方式。在这种情况下,当用户首次在第一应用程序的多媒体资源的显示界面观看多媒体资源时,服务器保证了用户可以通过已经习惯的显示方式,在第一应用程序的多媒体资源的显示界面上显示多媒体资源,保证了用户习惯,丰富了用户体验;同时,服务器使得终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作以及由此带来的服务器的频繁响应,从而提高了终端和服务器的处理效率。It can be known from S1401-S1402 that when determining the display mode of the second application, the server can read the pre-stored correspondence between the identifier of the application and the display mode, so as to determine the display mode corresponding to the identifier of the second application, and The determined display mode is determined as the display mode of the second application. Since the identifier of the second application is an application installed on the terminal, and the application type of the second application is the same as that of the first application, the display mode of the second application is a display mode that the user is accustomed to. In this case, when the user watches the multimedia resource on the display interface of the multimedia resource of the first application for the first time, the server ensures that the user can display the multimedia resource on the display interface of the multimedia resource of the first application through the display mode that the user is used to Multimedia resources ensure user habit and enrich user experience; at the same time, the server enables the terminal to provide multimedia resource services in a display mode that matches the user's habit, which can avoid additional operations caused by the user's unfamiliarity and the resulting server failure. Frequent responses, thereby improving the processing efficiency of terminals and servers.
在又一种实施例中,如图15所示,当第一信息为终端的地理位置信息时,服务器根据第一信息,确定第二应用程序的显示方式,包括S1501-S1502。In yet another embodiment, as shown in FIG. 15 , when the first information is the geographic location information of the terminal, the server determines the display mode of the second application according to the first information, including S1501-S1502.
S1501、读取预先存储的地理位置信息与显示方式的对应关系,以确定出终端的地理位置信息对应的显示方式。S1501. Read the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the geographic location information of the terminal.
在一些实施例中,服务器可以通过表格的方式存储地理位置信息与应用程序的显示方式的对应关系,也可以通过其他存储方式存储地理位置信息与应用程序的显示方式的对应关系,本公开对此不作限定。In some embodiments, the server may store the corresponding relationship between the geographic location information and the display mode of the application program in a table, and may also store the corresponding relationship between the geographic location information and the display mode of the application program through other storage methods. Not limited.
示例性的,在第一地区,大部分的用户在使用短视频应用程序时,通常使用应用程序B,而在与第一地区不同的第二地区,大部分的用户在使用短视频应用程序时,通常使用应用程序A。在这种情况下,服务器存储了:第一地区对应的显示方式为应用程序B的显示方式,即沉浸式显示方式;第二地区对应的显示方式为应用程序A的显示方式,即列表式显示方式。表3示出的上述地理位置信息与显示方式的对应关系。Exemplarily, in the first area, most users usually use application B when using short video applications, and in the second area different from the first area, most users use short video applications when using short video applications. , usually using Application A. In this case, the server stores: the display mode corresponding to the first area is the display mode of application B, that is, the immersive display mode; the display mode corresponding to the second area is the display mode of application A, that is, the list display mode Way. Table 3 shows the correspondence between the geographic location information and the display mode.
表3table 3
地理位置信息geolocation information | 显示方式Display method |
第一地区first region | 沉浸式显示方式Immersive display |
第二地区second region | 列表式显示方式list display |
……... | ……... |
服务器读取预先存储的地理位置信息与显示方式的对应关系,以确定出终端的地理位置信息对应的显示方式。The server reads the pre-stored correspondence between the geographic location information and the display manner, to determine the display manner corresponding to the geographic location information of the terminal.
S1502、将确定出的显示方式确定为第二应用程序的显示方式。S1502. Determine the determined display mode as the display mode of the second application.
示例性的,当服务器读取预先存储的地理位置信息与显示方式的对应关系,以确定出终端的地理位置信息对应的显示方式为沉浸式显示方式时,将沉浸式显示方式确定为第二应用程序的显示方式。Exemplarily, when the server reads the pre-stored correspondence between the geographic location information and the display mode, and determines that the display mode corresponding to the geographic location information of the terminal is the immersive display mode, the immersive display mode is determined as the second application. How the program is displayed.
由S1501-S1502可知,服务器在确定第二应用程序的显示方式时,可以读取预先存储的地理位置信息与显示方式的对应关系,以确定出终端的地理位置信息对应的显示方式,并将确定出的显示方式确定为第二应用程序的显示方式。由于在终端的地理位置信息所属的区域内的全部用户中,大部分的用户使用同类型的应用程序时,习惯相同,因此,当服务器根据终端的地理位置信息确定第二应用程序的显示方式时,保证了用户习惯,丰富了用户体验;同时,服务器使得终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作以及由此带来的服务器的频繁响应,从而提高了终端和服务器的处理效率。It can be seen from S1501-S1502 that, when determining the display mode of the second application, the server can read the correspondence between the pre-stored geographical location information and the display mode, so as to determine the display mode corresponding to the terminal's geographical location information, and determine the corresponding relationship between the geographical location information and the display mode. The displayed display mode is determined as the display mode of the second application. Since most of the users in the area to which the geographic location information of the terminal belongs, most of the users have the same habits when using the same type of application. Therefore, when the server determines the display mode of the second application according to the geographic location information of the terminal , which ensures user habits and enriches user experience; at the same time, the server enables the terminal to provide multimedia resource services in a display mode that matches the user's habits, which can avoid additional operations caused by the user's unaccustomedness and the resulting frequent server response. , thereby improving the processing efficiency of the terminal and the server.
在又一种实施例中,如图16所示,当第一信息为目标账户的标识时,服务器根据第一信息,确定第二应用程序的显示方式,包括S1601-S1602。In yet another embodiment, as shown in FIG. 16 , when the first information is the identifier of the target account, the server determines the display mode of the second application according to the first information, including S1601-S1602.
S1601、读取预先存储的账户标识与显示方式的对应关系,以确定出所述目标账户的标识对应的显示方式。S1601. Read the pre-stored correspondence between the account identifier and the display mode to determine the display mode corresponding to the identifier of the target account.
在一些实施例中,当服务器包括多个应用程序的显示方式时,服务器还可以确定多个用户账户中,每个用户账户在首次使用应用程序时,确定的应用程序的显示方式,并存储每个用户账户与应用程序的显示方式的对应关系。需要说明的是,目标账户为多个用户账户中的任意一个账户。In some embodiments, when the server includes the display modes of multiple application programs, the server may further determine the display mode of the application program determined when each user account uses the application program for the first time among the multiple user accounts, and store each user account in the display mode of the application program. The correspondence between each user account and how the application is displayed. It should be noted that the target account is any one of the multiple user accounts.
在一些实施例中,服务器可以通过表格的方式存储用户账户与应用程序的显示方式的对应关系,也可以通过其他存储方式存储用户账户与应用程序的显示方式的对应关系,本公开对此不作限定。In some embodiments, the server may store the corresponding relationship between the user account and the display mode of the application program in a table, and may also store the corresponding relationship between the user account and the display mode of the application program in other storage methods, which is not limited in this disclosure. .
示例性的,账户A在首次使用应用程序A时,将应用程序A的显示方式确定为列表式显示方式;账户B在首次使用应用程序A时,将应用程序A的显示方式确定为沉浸式显示方式。在这种情况下,服务器存储了:账户A对应的显示方式为列表式显示方式;账户B对应的显示方式为沉浸式显示方式。表4示出的上述地理位置信息与显示方式的对应关系。Exemplarily, when account A uses application A for the first time, the display mode of application A is determined as a list display mode; when account B uses application A for the first time, the display mode of application A is determined as an immersive display mode. Way. In this case, the server stores: the display mode corresponding to account A is a list display mode; the display mode corresponding to account B is an immersive display mode. Table 4 shows the correspondence between the geographic location information and the display mode.
表4Table 4
目标账户target account | 显示方式Display method |
账户AAccount A | 列表式显示方式list display |
账户BAccount B | 列表式显示方式list display |
……... | ……... |
服务器读取预先存储的账户标识与显示方式的对应关系,以确定出所述目标账户的标识对应的显示方式。The server reads the pre-stored correspondence between the account identifier and the display mode to determine the display mode corresponding to the identifier of the target account.
S1602、将确定出的显示方式确定为所述第二应用程序的显示方式。S1602. Determine the determined display mode as the display mode of the second application.
示例性的,当服务器读取预先存储的账户标识与显示方式的对应关系,以确定出所述目标账 户的标识对应的显示方式为沉浸式显示方式时,将沉浸式显示方式确定为第二应用程序的显示方式。Exemplarily, when the server reads the pre-stored correspondence between the account identifier and the display mode, and determines that the display mode corresponding to the identifier of the target account is the immersive display mode, the immersive display mode is determined as the second application. How the program is displayed.
由S1601-S1602可知,服务器在确定第二应用程序的显示方式时,可以读取预先存储的账户标识与显示方式的对应关系,以确定出所述目标账户的标识对应的显示方式,并将确定出的显示方式确定为第二应用程序的显示方式。由于在终端的目标账户为用户之前登录第一应用程序时的账户,因此,目标账户的标识对应的第二应用程序的显示方式为用户习惯的显示方式。在这种情况下,当服务器根据目标账户的标识确定第二应用程序的显示方式时,保证了用户习惯,丰富了用户体验;同时,服务器使得终端在与用户习惯匹配的显示方式下提供多媒体资源服务,能够避免因用户不习惯导致的额外操作以及由此带来的服务器的频繁响应,从而提高了终端和服务器的处理效率。It can be known from S1601-S1602 that when determining the display mode of the second application, the server can read the pre-stored correspondence between the account identifier and the display mode, so as to determine the display mode corresponding to the identifier of the target account, and determine the corresponding display mode of the target account. The displayed display mode is determined as the display mode of the second application. Since the target account of the terminal is the account when the user logs in to the first application before, the display mode of the second application corresponding to the identifier of the target account is the display mode that the user is accustomed to. In this case, when the server determines the display mode of the second application according to the identifier of the target account, the user's habit is guaranteed and the user experience is enriched; at the same time, the server enables the terminal to provide multimedia resources in a display mode that matches the user's habit. The service can avoid the extra operation caused by the unaccustomed user and the frequent response of the server, thereby improving the processing efficiency of the terminal and the server.
在又一种实施例中,如图17所示,服务器还可以读取预先存储的应用程序与目标类型信息的对应关系,以确定并向终端发送第二应用程序对应的目标类型信息,例如包括S1701-S1702。In yet another embodiment, as shown in FIG. 17 , the server may also read the pre-stored correspondence between the application program and the target type information, so as to determine and send the target type information corresponding to the second application program to the terminal, for example, including S1701-S1702.
S1701、读取预先存储的应用程序与目标类型信息的对应关系,以确定第二应用程序对应的目标类型信息。S1701. Read the pre-stored correspondence between the application program and the target type information to determine the target type information corresponding to the second application program.
其中,目标类型信息用于指示推荐目标类型的多媒体资源。The target type information is used to indicate the multimedia resources of the recommended target type.
在一些实施例中,当服务器包括多个应用程序时,服务器还可以预先存储应用程序与目标类型信息的对应关系。In some embodiments, when the server includes multiple application programs, the server may further store the correspondence between the application programs and the target type information in advance.
在一些实施例中,服务器可以通过表格的方式存储应用程序与目标类型信息的对应关系,也可以通过其他存储方式存储应用程序与目标类型信息的对应关系,本公开对此不作限定。In some embodiments, the server may store the corresponding relationship between the application program and the target type information in a table, or may store the corresponding relationship between the application program and the target type information in other storage methods, which is not limited in the present disclosure.
示例性的,应用程序A的目标类型信息为:潮流音乐、舞蹈、表演等类型,应用程序B的目标类型信息为:记录和分享真实生活类型。表5示出的上述应用程序与目标类型信息的对应关系。Exemplarily, the target type information of application A is: trendy music, dance, performance, etc., and the target type information of application B is: recording and sharing real life types. Table 5 shows the correspondence between the above-mentioned applications and target type information.
表5table 5
应用程序application | 目标类型信息target type information |
应用程序Aapplication A | 潮流音乐、舞蹈、表演等类型Trend music, dance, performance, etc. |
应用程序Bapplication B | 记录和分享真实生活类型Document and share real life types |
……... | ……... |
服务器读取预先存储的应用程序与目标类型信息的对应关系,以确定第二应用程序对应的目标类型信息。The server reads the pre-stored correspondence between the application program and the target type information to determine the target type information corresponding to the second application program.
S1702、向终端发送目标类型信息。S1702. Send target type information to the terminal.
示例性的,当读取预先存储的应用程序与目标类型信息的对应关系,以确定第二应用程序对应的目标类型信息为潮流音乐、舞蹈、表演等类型时,向终端发送为该目标类型信息。Exemplarily, when the pre-stored correspondence between the application program and the target type information is read to determine that the target type information corresponding to the second application program is trend music, dance, performance, etc., the target type information is sent to the terminal. .
由S1701-S1702可知,服务器还可以读取预先存储的应用程序与目标类型信息的对应关系,以确定并向终端发送第二应用程序对应的目标类型信息,保证了终端在第一应用程序的多媒体资源的显示界面,采用第二应用程序的显示方式显示多媒体资源时,还可以根据第二应用程序对应的目标类型信息,在第一应用程序的多媒体资源的显示界面,采用第二应用程序的显示方式显示目标类型的多媒体资源。在这种情况下,当用户首次在第一应用程序的多媒体资源的显示界面观看多媒体资源时,可以避免在第一应用程序的多媒体资源的显示界面显示的多媒体资源与用户习惯观看的多媒体资源出现较大的反差,保证了用户习惯,丰富了用户体验;同时,服务器使得终端提供与用户习惯匹配的多媒体资源服务,能够避免因用户不习惯导致的额外操作以及由此带来的服务器的频繁响应,从而提高了终端和服务器的处理效率。It can be seen from S1701-S1702 that the server can also read the pre-stored correspondence between the application program and the target type information to determine and send the target type information corresponding to the second application program to the terminal, ensuring that the terminal is in the multimedia of the first application program. The resource display interface, when using the display mode of the second application program to display the multimedia resources, can also use the display interface of the second application program on the display interface of the multimedia resources of the first application program according to the target type information corresponding to the second application program. way to display multimedia resources of the target type. In this case, when the user watches the multimedia resources on the display interface of the multimedia resources of the first application program for the first time, the multimedia resources displayed on the display interface of the multimedia resources of the first application program and the multimedia resources that the user is accustomed to watch can be avoided from appearing. The large contrast ensures user habits and enriches the user experience; at the same time, the server enables the terminal to provide multimedia resource services that match the user's habits, which can avoid additional operations caused by the user's unaccustomedness and the resulting frequent server response. , thereby improving the processing efficiency of the terminal and the server.
下面结合图18,以服务器和终端之间进行交互的具体过程,对本公开的实施例进行说明。The embodiments of the present disclosure will be described below with reference to FIG. 18 with a specific process of interaction between a server and a terminal.
图18示出了本公开实施例提供的多媒体资源的显示方法的又一流程示意图。如图18所示,该多媒体资源的显示方法可以包括:S1801-S1804。FIG. 18 shows another schematic flowchart of a method for displaying multimedia resources provided by an embodiment of the present disclosure. As shown in FIG. 18 , the display method of the multimedia resource may include: S1801-S1804.
S1801、终端向服务器发送第一信息。S1801. The terminal sends first information to the server.
在一些实施例中,终端响应于接收到第一应用程序的多媒体资源显示指令,向服务器发送第一信息,以请求获取第一显示方式。In some embodiments, in response to receiving the multimedia resource display instruction of the first application, the terminal sends first information to the server to request acquisition of the first display mode.
其中,第一信息为第二应用程序的标识、终端的地理位置信息或者目标账户的标识中的任意一项。第一显示方式为第二应用程序的显示方式。第二应用程序与第一应用程序的应用属性相同。应用属性包括应用类型或者应用程序对应的终端的地理位置信息。The first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account. The first display mode is the display mode of the second application program. The second application has the same application attributes as the first application. The application attribute includes the application type or the geographic location information of the terminal corresponding to the application program.
S1802、服务器根据第一信息,确定第一显示方式。S1802. The server determines a first display mode according to the first information.
S1803、向终端发送第一显示方式。S1803. Send the first display mode to the terminal.
S1804、终端在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示多媒体资源。S1804. The terminal uses the first display mode to display the multimedia resources on the display interface of the multimedia resources of the first application.
可以理解的,在实际实施时,本公开实施例所述的终端/服务器可以包含有用于实现前述对应多媒体资源的显示方法的一个或多个硬件结构和/或软件模块,这些执行硬件结构和/或软件模块可以构成一个电子设备。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本公开能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。It can be understood that, in actual implementation, the terminal/server described in the embodiments of the present disclosure may include one or more hardware structures and/or software modules for implementing the foregoing method for displaying corresponding multimedia resources. These implement the hardware structures and/or software modules. Or software modules can constitute an electronic device. Those skilled in the art should readily appreciate that the present disclosure can be implemented in hardware or a combination of hardware and computer software in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this disclosure.
基于这样的理解,本公开实施例还对应提供一种多媒体资源的显示装置,可以应用于终端。图19示出了本公开实施例提供的多媒体资源的显示装置的结构示意图。如图19所示,该多媒体资源的显示装置可以包括:获取单元1901和显示单元1902。Based on this understanding, the embodiments of the present disclosure also provide a display device for multimedia resources, which can be applied to a terminal. FIG. 19 shows a schematic structural diagram of an apparatus for displaying multimedia resources provided by an embodiment of the present disclosure. As shown in FIG. 19 , the display apparatus of the multimedia resource may include: an acquisition unit 1901 and a display unit 1902 .
获取单元1901,用于响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式。第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式。第二应用程序与第一应用程序的应用属性相同。应用属性包括应用类型或者应用程序对应的终端的地理位置信息。显示单元1902,用于在第一应用程序的多媒体资源的显示界面,采用获取单元1901获取的第一显示方式显示多媒体资源。The obtaining unit 1901 is configured to obtain the first display mode in response to receiving the multimedia resource display instruction of the first application. The first display mode is a display mode determined in response to a user's trigger operation, or a display mode of the second application. The second application has the same application attributes as the first application. The application attribute includes the application type or the geographic location information of the terminal corresponding to the application program. The display unit 1902 is configured to display the multimedia resources in the first display mode obtained by the obtaining unit 1901 on the display interface of the multimedia resources of the first application.
在一些实施例中,第一显示方式为响应于用户的触发操作确定出的显示方式,获取单元1901用于:在第一应用程序的显示方式选择界面显示第一控件和第二控件,第一控件和第二控件分别对应不同的显示方式。响应于用户对第一控件的点击操作,确定第一控件对应的显示方式为第一显示方式。In some embodiments, the first display mode is a display mode determined in response to a user's trigger operation, and the acquiring unit 1901 is configured to: display the first control and the second control on the display mode selection interface of the first application, the first control The control and the second control respectively correspond to different display modes. In response to the user's click operation on the first control, it is determined that the display mode corresponding to the first control is the first display mode.
在一些实施例中,第一显示方式为第二应用程序的显示方式、且应用属性为应用类型,第二应用程序为终端已安装的、且与第一应用程序的应用类型相同的应用程序。获取单元1901用于:获取第二应用程序的标识。获取第二应用程序的标识指示的第二应用程序的显示方式。将获取到的第二应用程序的显示方式,确定为第一显示方式。In some embodiments, the first display mode is a display mode of a second application, and the application attribute is an application type, and the second application is an application installed on the terminal and of the same application type as the first application. The obtaining unit 1901 is configured to: obtain the identifier of the second application. The display mode of the second application indicated by the identifier of the second application is obtained. The acquired display mode of the second application is determined as the first display mode.
在一些实施例中,获取单元1901用于:获取终端中已安装应用程序的标识。读取预先存储的应用程序标识与应用类型的对应关系,以确定出已安装应用程序的标识中,与第一应用程序的标识属于同一应用类型的应用程序的标识。将确定出的应用程序的标识确定为第二应用程序的标识。In some embodiments, the obtaining unit 1901 is configured to: obtain the identifier of the installed application in the terminal. The pre-stored correspondence between the application identifier and the application type is read to determine the identifier of the application belonging to the same application type as the identifier of the first application among the identifiers of the installed application. The determined identification of the application is determined as the identification of the second application.
在一些实施例中,获取单元1901用于:向服务器发送第二应用程序的标识,以请求获取第二应用程序的显示方式。接收服务器发送的第二应用程序的显示方式。第二应用程序的显示方式为服务器根据第二应用程序的标识确定的。In some embodiments, the obtaining unit 1901 is configured to: send the identifier of the second application to the server, so as to request to obtain the display mode of the second application. Receive the display mode of the second application sent by the server. The display mode of the second application is determined by the server according to the identifier of the second application.
在一些实施例中,获取单元1901用于:读取预先存储的应用程序标识与显示方式的对应关系,以确定出已安装应用程序的标识中,与第二应用程序的标识对应的显示方式。将确定出的显示方式确定为第二应用程序的显示方式。In some embodiments, the obtaining unit 1901 is configured to: read the pre-stored correspondence between the application identifier and the display mode, so as to determine the display mode corresponding to the identifier of the second application among the identifiers of the installed application. The determined display mode is determined as the display mode of the second application.
在一些实施例中,当第一显示方式为第二应用程序的显示方式、且应用属性为应用程序对应的终端的地理位置信息时,第二应用程序为终端所属的位置区域中,满足预设条件的应用程序。获取单元1901用于:获取终端的地理位置信息。获取终端的地理位置信息指示的第二应用程序的显示方式。将获取到的第二应用程序的显示方式,确定为第一显示方式。In some embodiments, when the first display mode is the display mode of the second application, and the application attribute is the geographic location information of the terminal corresponding to the application, the second application is in the location area to which the terminal belongs, and the preset value is satisfied. conditional application. The acquiring unit 1901 is configured to: acquire geographic location information of the terminal. The display mode of the second application indicated by the geographic location information of the terminal is acquired. The acquired display mode of the second application is determined as the first display mode.
在一些实施例中,获取单元1901用于:向服务器发送终端的地理位置信息,以请求获取第二应用程序的显示方式。接收服务器发送的第二应用程序的显示方式。第二应用程序的显示方式为服务器根据终端的地理位置信息确定的。In some embodiments, the obtaining unit 1901 is configured to: send the geographic location information of the terminal to the server, so as to request to obtain the display mode of the second application. Receive the display mode of the second application sent by the server. The display mode of the second application program is determined by the server according to the geographic location information of the terminal.
在一些实施例中,获取单元1901用于:读取预先存储的地理位置信息与显示方式的对应关系,以确定出已存储的地理位置信息中,与终端的地理位置信息对应的显示方式。将确定出的显示方式确定为第二应用程序的显示方式。In some embodiments, the obtaining unit 1901 is configured to read the correspondence between the pre-stored geographic location information and the display mode, so as to determine the display mode corresponding to the terminal's geographic location information in the stored geographic location information. The determined display mode is determined as the display mode of the second application.
在一些实施例中,应用属性还包括用户账户。当第一显示方式为第二应用程序的显示方式、且应用属性为用户账户时,第二应用程序为在其他终端的第一应用程序中登录目标账户后的应用程序。获取单元1901用于:向服务器发送目标账户的标识,以请求获取第一显示方式。接收服务器发送的第一显示方式。第一显示方式为服务器根据目标账户的标识确定的。In some embodiments, the application attributes also include user accounts. When the first display mode is the display mode of the second application and the application attribute is the user account, the second application is the application after logging in the target account in the first application of the other terminal. The obtaining unit 1901 is configured to: send the identifier of the target account to the server to request to obtain the first display mode. The first display mode sent by the server is received. The first display mode is determined by the server according to the identifier of the target account.
在一些实施例中,获取单元1901,还用于获取目标类型信息,目标类型信息用于指示推荐目标类型的多媒体资源。显示单元1902用于:在第一应用程序的多媒体资源的显示界面,采用第一显示方式显示目标类型的多媒体资源。In some embodiments, the obtaining unit 1901 is further configured to obtain target type information, where the target type information is used to indicate a multimedia resource of a recommended target type. The display unit 1902 is configured to display the multimedia resources of the target type in the first display mode on the display interface of the multimedia resources of the first application.
在一些实施例中,获取单元1901用于:在确定第一显示方式之后,获取第一显示方式对应的 目标类型的多媒体资源。将获取到的目标类型的多媒体资源,确定为目标类型信息。In some embodiments, the obtaining unit 1901 is configured to: after determining the first display mode, obtain the multimedia resources of the target type corresponding to the first display mode. The acquired multimedia resource of the target type is determined as the target type information.
在一些实施例中,获取单元1901用于:接收服务器发送的第一显示方式对应的目标类型的多媒体资源。In some embodiments, the obtaining unit 1901 is configured to: receive the multimedia resource of the target type corresponding to the first display mode sent by the server.
另外,本公开实施例还提供一种多媒体资源的显示装置,可以应用于服务器。图20示出了本公开实施例提供的多媒体资源的显示装置的又一结构示意图。如图20所示,该多媒体资源的显示装置可以包括:接收单元2001、确定单元2002和发送单元2003。In addition, an embodiment of the present disclosure further provides a display apparatus for multimedia resources, which can be applied to a server. FIG. 20 shows another schematic structural diagram of a display apparatus for multimedia resources provided by an embodiment of the present disclosure. As shown in FIG. 20 , the apparatus for displaying multimedia resources may include: a receiving unit 2001 , a determining unit 2002 and a sending unit 2003 .
接收单元2001,用于接收终端发送的第一信息。第一信息为第二应用程序的标识、终端的地理位置信息或者目标账户的标识中的任意一项。第二应用程序与第一应用程序的应用属性相同;应用属性包括应用类型或者应用程序对应的终端的地理位置信息。确定单元2002,用于根据接收单元2001接收的第一信息,确定第二应用程序的显示方式。第二应用程序的显示方式用于在第一应用程序的多媒体资源的显示界面上显示多媒体资源。发送单元2003,用于向终端发送确定单元2002确定的第二应用程序的显示方式。The receiving unit 2001 is configured to receive the first information sent by the terminal. The first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account. The application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application. The determining unit 2002 is configured to determine the display mode of the second application program according to the first information received by the receiving unit 2001 . The display mode of the second application is used to display the multimedia resources on the display interface of the multimedia resources of the first application. The sending unit 2003 is configured to send the display mode of the second application determined by the determining unit 2002 to the terminal.
在一些实施例中,第一信息为第二应用程序的标识,确定单元2002用于:读取预先存储的应用程序的标识与显示方式的对应关系,以确定出第二应用程序的标识对应的显示方式。将确定出的显示方式确定为第二应用程序的显示方式。In some embodiments, the first information is the identification of the second application, and the determining unit 2002 is configured to: read the pre-stored correspondence between the identification of the application and the display mode, so as to determine the identification corresponding to the identification of the second application. Display method. The determined display mode is determined as the display mode of the second application.
在一些实施例中,第一信息为终端的地理位置信息,确定单元2002用于:读取预先存储的地理位置信息与显示方式的对应关系,以确定出终端的地理位置信息对应的显示方式。将确定出的显示方式确定为第二应用程序的显示方式。In some embodiments, the first information is the geographic location information of the terminal, and the determining unit 2002 is configured to: read the pre-stored correspondence between the geographic location information and the display mode, so as to determine the display mode corresponding to the geographic location information of the terminal. The determined display mode is determined as the display mode of the second application.
在一些实施例中,第一信息为目标账户的标识,确定单元2002用于:读取预先存储的账户标识与显示方式的对应关系,以确定出目标账户的标识对应的显示方式。将确定出的显示方式确定为第二应用程序的显示方式。In some embodiments, the first information is the identifier of the target account, and the determining unit 2002 is configured to: read the pre-stored correspondence between the account identifier and the display mode, so as to determine the display mode corresponding to the identifier of the target account. The determined display mode is determined as the display mode of the second application.
在一些实施例中,确定单元2002还用于读取预先存储的应用程序与目标类型信息的对应关系,以确定第二应用程序对应的目标类型信息。目标类型信息用于指示推荐目标类型的多媒体资源。发送单元2003还用于向终端发送确定单元2002确定的目标类型信息。In some embodiments, the determining unit 2002 is further configured to read the pre-stored correspondence between the application program and the target type information, so as to determine the target type information corresponding to the second application program. The target type information is used to indicate the multimedia resources of the recommended target type. The sending unit 2003 is further configured to send the target type information determined by the determining unit 2002 to the terminal.
如上所述,本公开实施例可以根据上述方法示例对服务器/终端进行功能模块的划分。其中,上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。另外,还需要说明的是,本公开实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。As described above, in this embodiment of the present disclosure, the server/terminal can be divided into functional modules according to the above method examples. Wherein, the above-mentioned integrated modules may be implemented in the form of hardware, or may be implemented in the form of software function modules. In addition, it should also be noted that the division of modules in the embodiments of the present disclosure is schematic, and is only a logical function division, and there may be other division manners in actual implementation. For example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
关于上述实施例中的多媒体资源的显示装置,其中各个模块执行操作的具体方式、以及具备的有益效果,均已经在前述方法实施例中进行了详细描述,此处不再赘述。Regarding the display device for multimedia resources in the foregoing embodiments, the specific manner in which each module performs operations and the beneficial effects have been described in detail in the foregoing method embodiments, and will not be repeated here.
本公开实施例还提供一种终端,终端可以是手机、电脑等用户终端。图21示出了本公开实施例提供的终端的结构示意图。该终端可以是多媒体资源的显示装置可以包括至少一个处理器61,通信总线62,存储器63以及至少一个通信接口64。An embodiment of the present disclosure further provides a terminal, where the terminal may be a user terminal such as a mobile phone and a computer. FIG. 21 shows a schematic structural diagram of a terminal provided by an embodiment of the present disclosure. The terminal may be a display device for multimedia resources and may include at least one processor 61 , a communication bus 62 , a memory 63 and at least one communication interface 64 .
处理器61可以是一个处理器(central processing units,CPU),微处理单元,ASIC,或一个或多个用于控制本公开方案程序执行的集成电路。The processor 61 may be a central processing unit (CPU), a microprocessor unit, an ASIC, or one or more integrated circuits for controlling the execution of the programs of the present disclosure.
通信总线62可包括一通路,在上述组件之间传送信息。Communication bus 62 may include a path to communicate information between the above-described components.
通信接口64,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如服务器、以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。 Communication interface 64, using any transceiver-like device, for communicating with other devices or communication networks, such as servers, Ethernet, radio access networks (RAN), wireless local area networks (WLAN) )Wait.
存储器63可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理单元相连接。存储器也可以和处理单元集成在一起。 Memory 63 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, CD-ROM storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being executed by a computer Access any other medium without limitation. The memory may exist independently and be connected to the processing unit through a bus. The memory can also be integrated with the processing unit.
其中,存储器63用于存储执行本公开方案的应用程序代码,并由处理器61来控制执行。处理器61用于执行存储器63中存储的应用程序代码,从而实现本公开方法中的功能。Among them, the memory 63 is used for storing the application program code for executing the solution of the present disclosure, and the execution is controlled by the processor 61 . The processor 61 is used to execute the application program code stored in the memory 63, so as to realize the functions in the method of the present disclosure.
在具体实现中,作为一种实施例,处理器61可以包括一个或多个CPU,例如图21中的CPU0 和CPU1。In a specific implementation, as an embodiment, the processor 61 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 21 .
在具体实现中,作为一种实施例,多媒体资源的显示装置可以包括多个处理器,例如图21中的处理器61和处理器65。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the apparatus for displaying multimedia resources may include multiple processors, for example, the processor 61 and the processor 65 in FIG. 21 . Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
在具体实现中,作为一种实施例,多媒体资源的显示装置还可以包括输入设备66和输出设备67。输入设备66和处理器67通信,可以以多种方式接受用户的输入。例如,输入设备66可以是鼠标、键盘、触摸屏设备或传感设备等。输出设备67和处理器61通信,可以以多种方式来显示信息。例如,输出设备61可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备等。In a specific implementation, as an embodiment, the apparatus for displaying multimedia resources may further include an input device 66 and an output device 67 . Input device 66 is in communication with processor 67 and can accept user input in a variety of ways. For example, the input device 66 may be a mouse, a keyboard, a touch screen device, a sensor device, or the like. The output device 67 is in communication with the processor 61 and can display information in a variety of ways. For example, the output device 61 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, or the like.
本领域技术人员可以理解,图21中示出的结构并不构成对终端的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 21 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
本公开实施例还提供一种服务器。图22示出了本公开实施例提供的服务器的结构示意图。该服务器可以是多媒体资源的显示装置。该服务器可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器71和一个或一个以上的存储器72。其中,存储器72中存储有至少一条指令,至少一条指令由处理器71加载并执行以实现上述各个方法实施例提供的消息显示方法。当然,该服务器还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器还可以包括其他用于实现设备功能的部件,在此不做赘述。Embodiments of the present disclosure also provide a server. FIG. 22 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure. The server may be a display device for multimedia resources. The server may vary greatly due to different configurations or performances, and may include one or more processors 71 and one or more memories 72 . Wherein, at least one instruction is stored in the memory 72, and at least one instruction is loaded and executed by the processor 71 to implement the message display method provided by each of the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output, and the server may also include other components for implementing device functions, which will not be described here.
本公开还提供了一种消息显示系统,该消息显示系统包括终端和服务器;The present disclosure also provides a message display system, which includes a terminal and a server;
所述终端,用于响应于消息聚合指令,向所述服务器发送聚合请求,所述聚合请求用于请求对即时通信应用的目标会话的目标会话消息进行聚合,所述目标会话消息包括一组或多组待聚合消息,一组待聚合消息包括一个账户的连续N条消息,N为正整数;The terminal is configured to send an aggregation request to the server in response to a message aggregation instruction, where the aggregation request is used to request aggregation of target session messages of a target session of an instant messaging application, where the target session message includes a set of or Multiple groups of messages to be aggregated, a group of messages to be aggregated includes N consecutive messages of an account, and N is a positive integer;
所述服务器,用于接收所述终端发送的所述聚合请求,并根据所述聚合请求,对所述目标会话消息进行聚合,得到一个或多个聚合消息;一个聚合消息包括相应的一组待聚合消息包括的消息内容;向所述终端发送所述一个或多个聚合消息;The server is configured to receive the aggregation request sent by the terminal, and according to the aggregation request, aggregate the target session messages to obtain one or more aggregation messages; an aggregation message includes a corresponding set of pending messages. message content included in the aggregated message; sending the one or more aggregated messages to the terminal;
所述终端,还用于接收所述服务器发送的所述一个或多个聚合消息,并显示包括有所述一个或多个聚合消息的会话页面。The terminal is further configured to receive the one or more aggregated messages sent by the server, and display a conversation page including the one or more aggregated messages.
本公开还提供了一种包括指令的计算机可读存储介质,所述计算机可读存储介质上存储有指令,当所述计算机可读存储介质中的指令由计算机设备的处理器执行时,使得计算机能够执行上述所示实施例提供的消息显示方法。例如,计算机可读存储介质可以为包括指令的存储器63,上述指令可由终端的处理器61执行以完成上述方法。又例如,计算机可读存储介质可以为包括指令的存储器72,上述指令可由服务器的处理器71执行以完成上述方法。在一些实施例中,计算机可读存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、RAM、CD-ROM、磁带、软盘和光数据存储设备等。The present disclosure also provides a computer-readable storage medium including instructions, the computer-readable storage medium having instructions stored thereon, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, cause a computer The message display method provided by the above-described embodiment can be executed. For example, the computer-readable storage medium may be the memory 63 including instructions that can be executed by the processor 61 of the terminal to accomplish the above-mentioned method. For another example, the computer-readable storage medium may be the memory 72 including instructions, and the instructions may be executed by the processor 71 of the server to accomplish the above method. In some embodiments, the computer-readable storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage devices Wait.
本公开还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机设备执行上述所示实施例提供的消息显示方法。The present disclosure also provides a computer program product containing instructions, which, when run on a computer, cause the computer device to execute the message display method provided by the above-described embodiments.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the protection scope required by the present disclosure.
Claims (41)
- 一种多媒体资源的显示方法,应用于终端,包括:A method for displaying multimedia resources, applied to a terminal, includes:响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式;所述第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式;所述第二应用程序与所述第一应用程序的应用属性相同;所述应用属性包括应用类型或者应用程序对应的终端的地理位置信息;In response to receiving the multimedia resource display instruction of the first application, the first display mode is obtained; the first display mode is the display mode determined in response to the user's trigger operation, or the display mode of the second application; The application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application;在所述第一应用程序的多媒体资源的显示界面,采用所述第一显示方式显示所述多媒体资源。On the display interface of the multimedia resource of the first application, the multimedia resource is displayed in the first display manner.
- 根据权利要求1所述的多媒体资源的显示方法,其中,所述第一显示方式为响应于用户的触发操作确定出的显示方式,所述获取第一显示方式,包括:The method for displaying multimedia resources according to claim 1, wherein the first display mode is a display mode determined in response to a user's triggering operation, and the acquiring the first display mode comprises:在所述第一应用程序的显示方式选择界面显示第一控件和第二控件;所述第一控件和所述第二控件分别对应不同的显示方式;A first control and a second control are displayed on the display mode selection interface of the first application; the first control and the second control respectively correspond to different display modes;响应于用户对第一控件的点击操作,确定所述第一控件对应的显示方式为所述第一显示方式。In response to the user's click operation on the first control, it is determined that the display mode corresponding to the first control is the first display mode.
- 根据权利要求1所述的多媒体资源的显示方法,其中,所述第一显示方式为所述第二应用程序的显示方式、且所述应用属性为所述应用类型,所述第二应用程序为所述终端已安装的、且与所述第一应用程序的应用类型相同的应用程序;The method for displaying multimedia resources according to claim 1, wherein the first display mode is a display mode of the second application, and the application attribute is the application type, and the second application is an application that has been installed by the terminal and that is of the same application type as the first application;所述获取第一显示方式,包括:The obtaining of the first display mode includes:获取所述第二应用程序的标识;obtaining the identifier of the second application;获取所述第二应用程序的标识指示的所述第二应用程序的显示方式;obtaining the display mode of the second application indicated by the identifier of the second application;将获取到的所述第二应用程序的显示方式,确定为所述第一显示方式。The acquired display mode of the second application is determined as the first display mode.
- 根据权利要求3所述的多媒体资源的显示方法,其中,所述获取所述第二应用程序的标识,包括:The method for displaying multimedia resources according to claim 3, wherein the acquiring the identifier of the second application comprises:获取所述终端中已安装应用程序的标识;Obtain the identifier of the installed application in the terminal;读取预先存储的应用程序标识与应用类型的对应关系,以确定出所述已安装应用程序的标识中,与所述第一应用程序的标识属于同一应用类型的应用程序的标识;Reading the pre-stored correspondence between the application identifier and the application type, to determine the identifier of the application that belongs to the same application type as the identifier of the first application among the identifiers of the installed application;将确定出的应用程序的标识确定为所述第二应用程序的标识。The determined identification of the application is determined as the identification of the second application.
- 根据权利要求3所述的多媒体资源的显示方法,其中,所述获取所述第二应用程序的标识指示的所述第二应用程序的显示方式,包括:The method for displaying multimedia resources according to claim 3, wherein the acquiring the display mode of the second application indicated by the identifier of the second application comprises:向服务器发送所述第二应用程序的标识,以请求获取所述第二应用程序的显示方式;sending the identifier of the second application to the server to request the display mode of the second application;接收所述服务器发送的所述第二应用程序的显示方式;所述第二应用程序的显示方式为所述服务器根据所述第二应用程序的标识确定的。The display mode of the second application program sent by the server is received; the display mode of the second application program is determined by the server according to the identifier of the second application program.
- 根据权利要求3所述的多媒体资源的显示方法,其中,所述获取所述第二应用程序的标识指示的所述第二应用程序的显示方式,包括:The method for displaying multimedia resources according to claim 3, wherein the acquiring the display mode of the second application indicated by the identifier of the second application comprises:读取预先存储的应用程序标识与显示方式的对应关系,以确定出所述已安装应用程序的标识中,与所述第二应用程序的标识对应的显示方式;Reading the pre-stored correspondence between the application identifier and the display mode, to determine the display mode corresponding to the identifier of the second application in the identifier of the installed application;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求1所述的多媒体资源的显示方法,其中,所述第一显示方式为所述第二应用程序的显示方式、且所述应用属性为所述应用程序对应的终端的地理位置信息,所述第二应用程序为所述终端所属的位置区域中,满足预设条件的应用程序;The method for displaying multimedia resources according to claim 1, wherein the first display mode is a display mode of the second application, and the application attribute is geographic location information of the terminal corresponding to the application, The second application is an application that satisfies a preset condition in the location area to which the terminal belongs;所述获取第一显示方式,包括:The obtaining of the first display mode includes:获取所述终端的地理位置信息;obtaining the geographic location information of the terminal;获取所述终端的地理位置信息指示的所述第二应用程序的显示方式;obtaining the display mode of the second application indicated by the geographic location information of the terminal;将获取到的所述第二应用程序的显示方式,确定为所述第一显示方式。The acquired display mode of the second application is determined as the first display mode.
- 根据权利要求7所述的多媒体资源的显示方法,其中,所述获取所述终端的地理位置信息指示的所述第二应用程序的显示方式,包括:The method for displaying multimedia resources according to claim 7, wherein the acquiring the display mode of the second application indicated by the geographic location information of the terminal comprises:向服务器发送所述终端的地理位置信息,以请求获取所述第二应用程序的显示方式;sending the geographic location information of the terminal to the server to request the display mode of the second application;接收所述服务器发送的所述第二应用程序的显示方式;所述第二应用程序的显示方式为所述服务器根据所述终端的地理位置信息确定的。The display mode of the second application program sent by the server is received; the display mode of the second application program is determined by the server according to the geographical location information of the terminal.
- 根据权利要求8所述的多媒体资源的显示方法,其中,所述获取所述终端的地理位置信息指示的所述第二应用程序的显示方式,包括:The method for displaying multimedia resources according to claim 8, wherein the acquiring the display mode of the second application indicated by the geographic location information of the terminal comprises:读取预先存储的地理位置信息与显示方式的对应关系,以确定出已存储的地理位置信息中,与所述终端的地理位置信息对应的显示方式;reading the correspondence between the pre-stored geographical position information and the display mode, to determine the display mode corresponding to the geographical position information of the terminal in the stored geographical position information;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求1所述的多媒体资源的显示方法,其中,所述应用属性还包括用户账户;所述第 一显示方式为所述第二应用程序的显示方式、且所述应用属性为所述用户账户,所述第二应用程序为在其他终端的所述第一应用程序中登录目标账户后的应用程序;The method for displaying multimedia resources according to claim 1, wherein the application attribute further comprises a user account; the first display mode is a display mode of the second application program, and the application attribute is the user account account, the second application is the application after logging in the target account in the first application of other terminals;所述获取第一显示方式,包括:The obtaining of the first display mode includes:向服务器发送目标账户的标识,以请求获取所述第一显示方式;接收所述服务器发送的所述第一显示方式;所述第一显示方式为所述服务器根据所述目标账户的标识确定的。Send the identification of the target account to the server to request to obtain the first display mode; receive the first display mode sent by the server; the first display mode is determined by the server according to the identification of the target account .
- 根据权利要求1-10中任意一项所述的多媒体资源的显示方法,其中,所述多媒体资源的显示方法还包括:The method for displaying multimedia resources according to any one of claims 1-10, wherein the method for displaying multimedia resources further comprises:获取目标类型信息,所述目标类型信息用于指示推荐目标类型的多媒体资源;acquiring target type information, where the target type information is used to indicate a multimedia resource of a recommended target type;所述在所述第一应用程序的多媒体资源的显示界面,采用所述第一显示方式显示所述多媒体资源,包括:The display interface of the multimedia resources of the first application, using the first display mode to display the multimedia resources, includes:在所述第一应用程序的多媒体资源的显示界面,采用所述第一显示方式显示所述目标类型的多媒体资源。On the display interface of the multimedia resources of the first application program, the multimedia resources of the target type are displayed in the first display manner.
- 根据权利要求11所述的多媒体资源的显示方法,其中,所述获取目标类型信息,包括:The method for displaying multimedia resources according to claim 11, wherein the acquiring target type information comprises:基于确定的所述第一显示方式,获取所述第一显示方式对应的目标类型的多媒体资源;obtaining, based on the determined first display mode, a multimedia resource of a target type corresponding to the first display mode;将获取到的所述目标类型的多媒体资源,确定为所述目标类型信息。Determine the acquired multimedia resource of the target type as the target type information.
- 根据权利要求11所述的多媒体资源的显示方法,其中,所述获取所述第一显示方式对应的目标类型的多媒体资源,包括:The method for displaying multimedia resources according to claim 11, wherein the acquiring the multimedia resources of the target type corresponding to the first display mode comprises:接收服务器发送的所述第一显示方式对应的目标类型的多媒体资源。The multimedia resource of the target type corresponding to the first display mode sent by the server is received.
- 一种多媒体资源的显示方法,应用于服务器,包括:A method for displaying multimedia resources, applied to a server, includes:接收终端发送的第一信息;所述第一信息为第二应用程序的标识、所述终端的地理位置信息或者目标账户的标识中的任意一项;所述第二应用程序与第一应用程序的应用属性相同;所述应用属性包括应用类型或者应用程序对应的终端的地理位置信息;Receive the first information sent by the terminal; the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account; the second application and the first application The application attributes are the same; the application attributes include the application type or the geographic location information of the terminal corresponding to the application;根据所述第一信息,确定所述第二应用程序的显示方式;所述第二应用程序的显示方式用于在第一应用程序的多媒体资源的显示界面上显示所述多媒体资源;determining the display mode of the second application according to the first information; the display mode of the second application is used to display the multimedia resource on the display interface of the multimedia resource of the first application;向所述终端发送所述第二应用程序的显示方式。The display mode of the second application is sent to the terminal.
- 根据权利要求14所述的多媒体资源的显示方法,其中,所述第一信息为所述第二应用程序的标识,所述根据所述第一信息,确定所述第二应用程序的显示方式,包括:The method for displaying multimedia resources according to claim 14, wherein the first information is an identifier of the second application, and the display mode of the second application is determined according to the first information, include:读取预先存储的应用程序的标识与显示方式的对应关系,以确定出所述第二应用程序的标识对应的显示方式;Reading the pre-stored correspondence between the identifier of the application program and the display mode to determine the display mode corresponding to the identifier of the second application program;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求14所述的多媒体资源的显示方法,其中,所述第一信息为所述终端的地理位置信息,所述根据所述第一信息,确定所述第二应用程序的显示方式,包括:The method for displaying multimedia resources according to claim 14, wherein the first information is geographic location information of the terminal, and the determining of the display mode of the second application according to the first information comprises: :读取预先存储的地理位置信息与显示方式的对应关系,以确定出所述终端的地理位置信息对应的显示方式;Reading the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the geographic location information of the terminal;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求14所述的多媒体资源的显示方法,其中,所述第一信息为所述目标账户的标识,所述根据所述第一信息,确定所述第二应用程序的显示方式,包括:The method for displaying multimedia resources according to claim 14, wherein the first information is an identifier of the target account, and determining a display mode of the second application according to the first information comprises:读取预先存储的账户标识与显示方式的对应关系,以确定出所述目标账户的标识对应的显示方式;Read the correspondence between the pre-stored account identification and the display mode to determine the display mode corresponding to the identification of the target account;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求14-17中任意一项所述的多媒体资源的显示方法,其中,所述多媒体资源的显示方法还包括:The method for displaying multimedia resources according to any one of claims 14-17, wherein the method for displaying multimedia resources further comprises:读取预先存储的应用程序与目标类型信息的对应关系,以确定所述第二应用程序对应的目标类型信息;所述目标类型信息用于指示推荐目标类型的多媒体资源;Reading the correspondence between the pre-stored application program and the target type information to determine the target type information corresponding to the second application program; the target type information is used to indicate the multimedia resource of the recommended target type;向所述终端发送所述目标类型信息。The target type information is sent to the terminal.
- 一种多媒体资源的显示装置,应用于终端,其中,包括:获取单元和显示单元;A display device for multimedia resources, applied to a terminal, comprising: an acquisition unit and a display unit;所述获取单元,用于响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式;所述第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式;所述第二应用程序与所述第一应用程序的应用属性相同;所述应用属性包括应用类型或者所述终端的地理位置信息;The obtaining unit is configured to obtain the first display mode in response to receiving the multimedia resource display instruction of the first application; the first display mode is the display mode determined in response to the user's trigger operation, or the second display mode. The display mode of the application; the application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal;所述显示单元,用于在所述第一应用程序的多媒体资源的显示界面,采用所述获取单元获取的所述第一显示方式显示所述多媒体资源。The display unit is configured to display the multimedia resource in the display interface of the multimedia resource of the first application using the first display mode obtained by the obtaining unit.
- 根据权利要求19所述的多媒体资源的显示装置,其中,所述第一显示方式为响应于用户的触发操作确定出的显示方式,所述获取单元用于:The display device for multimedia resources according to claim 19, wherein the first display mode is a display mode determined in response to a user's triggering operation, and the acquiring unit is configured to:在所述第一应用程序的显示方式选择界面显示第一控件和第二控件,所述第一控件和所述第二控件分别对应不同的显示方式;A first control and a second control are displayed on the display mode selection interface of the first application, and the first control and the second control respectively correspond to different display modes;响应于用户对第一控件的点击操作,确定所述第一控件对应的显示方式为所述第一显示方式。In response to the user's click operation on the first control, it is determined that the display mode corresponding to the first control is the first display mode.
- 根据权利要求19所述的多媒体资源的显示装置,其中,所述第一显示方式为所述第二应用程序的显示方式、且所述应用属性为所述应用类型,所述第二应用程序为所述终端已安装的、且与所述第一应用程序的应用类型相同的应用程序;所述获取单元用于:The display device for multimedia resources according to claim 19, wherein the first display mode is a display mode of the second application, and the application attribute is the application type, and the second application is An application program that has been installed by the terminal and has the same application type as the first application program; the acquiring unit is used for:获取所述第二应用程序的标识;obtaining the identifier of the second application;获取所述第二应用程序的标识指示的所述第二应用程序的显示方式;obtaining the display mode of the second application indicated by the identifier of the second application;将获取到的所述第二应用程序的显示方式,确定为所述第一显示方式。The acquired display mode of the second application is determined as the first display mode.
- 根据权利要求21所述的多媒体资源的显示装置,其中,所述获取单元用于:The display device for multimedia resources according to claim 21, wherein the obtaining unit is used for:获取所述终端中已安装应用程序的标识;Obtain the identifier of the installed application in the terminal;读取预先存储的应用程序标识与应用类型的对应关系,以确定出所述已安装应用程序的标识中,与所述第一应用程序的标识属于同一应用类型的应用程序的标识;Reading the pre-stored correspondence between the application identifier and the application type, to determine the identifier of the application that belongs to the same application type as the identifier of the first application among the identifiers of the installed application;将确定出的应用程序的标识确定为所述第二应用程序的标识。The determined identification of the application is determined as the identification of the second application.
- 根据权利要求21所述的多媒体资源的显示装置,其中,所述获取单元用于:The display device for multimedia resources according to claim 21, wherein the obtaining unit is used for:向服务器发送所述第二应用程序的标识,以请求获取所述第二应用程序的显示方式;sending the identifier of the second application to the server to request the display mode of the second application;接收所述服务器发送的所述第二应用程序的显示方式;所述第二应用程序的显示方式为所述服务器根据所述第二应用程序的标识确定的。The display mode of the second application program sent by the server is received; the display mode of the second application program is determined by the server according to the identifier of the second application program.
- 根据权利要求21所述的多媒体资源的显示装置,其中,所述获取单元用于:The display device for multimedia resources according to claim 21, wherein the obtaining unit is used for:读取预先存储的应用程序标识与显示方式的对应关系,以确定出所述已安装应用程序的标识中,与所述第二应用程序的标识对应的显示方式;Reading the pre-stored correspondence between the application identifier and the display mode to determine the display mode corresponding to the identifier of the second application in the identifier of the installed application;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求19所述的多媒体资源的显示装置,其中,所述第一显示方式为所述第二应用程序的显示方式、且所述应用属性为所述应用程序对应的终端的地理位置信息,所述第二应用程序为所述终端所属的位置区域中,满足预设条件的应用程序;所述获取单元用于:The display device for multimedia resources according to claim 19, wherein the first display mode is a display mode of the second application, and the application attribute is geographic location information of the terminal corresponding to the application, The second application is an application that satisfies a preset condition in the location area to which the terminal belongs; the acquiring unit is used for:获取所述终端的地理位置信息;obtaining the geographic location information of the terminal;获取所述终端的地理位置信息指示的所述第二应用程序的显示方式;obtaining the display mode of the second application indicated by the geographic location information of the terminal;将获取到的所述第二应用程序的显示方式,确定为所述第一显示方式。The acquired display mode of the second application is determined as the first display mode.
- 根据权利要求25所述的多媒体资源的显示装置,其中,所述获取单元用于:The display device for multimedia resources according to claim 25, wherein the acquisition unit is used for:向服务器发送所述终端的地理位置信息,以请求获取所述第二应用程序的显示方式;sending the geographic location information of the terminal to the server to request the display mode of the second application;接收所述服务器发送的所述第二应用程序的显示方式;所述第二应用程序的显示方式为所述服务器根据所述终端的地理位置信息确定的。The display mode of the second application program sent by the server is received; the display mode of the second application program is determined by the server according to the geographic location information of the terminal.
- 根据权利要求25所述的多媒体资源的显示装置,其中,所述获取单元用于:The display device for multimedia resources according to claim 25, wherein the acquisition unit is used for:读取预先存储的地理位置信息与显示方式的对应关系,以确定出已存储的地理位置信息中,与所述终端的地理位置信息对应的显示方式;Reading the correspondence between the pre-stored geographical position information and the display mode, to determine the display mode corresponding to the geographical position information of the terminal in the stored geographical position information;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求19所述的多媒体资源的显示装置,其中,所述应用属性还包括用户账户;所述第一显示方式为所述第二应用程序的显示方式、且所述应用属性为所述用户账户,所述第二应用程序为在其他终端的所述第一应用程序中登录目标账户后的应用程序;所述获取单元用于:The device for displaying multimedia resources according to claim 19, wherein the application attribute further comprises a user account; the first display mode is a display mode of the second application program, and the application attribute is the user account account, the second application is the application after logging in the target account in the first application of other terminals; the obtaining unit is used for:向服务器发送目标账户的标识,以请求获取所述第一显示方式;接收所述服务器发送的所述第一显示方式;所述第一显示方式为所述服务器根据所述目标账户的标识确定的。Send the identifier of the target account to the server to request to obtain the first display mode; receive the first display mode sent by the server; the first display mode is determined by the server according to the identifier of the target account .
- 根据权利要求19-28中任意一项所述的多媒体资源的显示装置,其中,The display device for multimedia resources according to any one of claims 19-28, wherein,所述获取单元,还用于获取目标类型信息,所述目标类型信息用于指示推荐目标类型的多媒体资源;The obtaining unit is further configured to obtain target type information, where the target type information is used to indicate a multimedia resource of a recommended target type;所述显示单元用于:在所述第一应用程序的多媒体资源的显示界面,采用所述第一显示方式显示所述目标类型的多媒体资源。The display unit is configured to display the multimedia resources of the target type in the first display mode on the display interface of the multimedia resources of the first application.
- 根据权利要求29所述的多媒体资源的显示装置,其中,所述获取单元,用于:The display device for multimedia resources according to claim 29, wherein the acquisition unit is used for:基于确定的所述第一显示方式,获取所述第一显示方式对应的目标类型的多媒体资源;obtaining, based on the determined first display mode, a multimedia resource of a target type corresponding to the first display mode;将获取到的所述目标类型的多媒体资源,确定为所述目标类型信息。Determine the acquired multimedia resource of the target type as the target type information.
- 根据权利要求30所述的多媒体资源的显示装置,其中,所述获取单元用于:The display device for multimedia resources according to claim 30, wherein the obtaining unit is used for:接收服务器发送的所述第一显示方式对应的目标类型的多媒体资源。The multimedia resource of the target type corresponding to the first display mode sent by the server is received.
- 一种多媒体资源的显示装置,应用于服务器,包括:接收单元、确定单元和发送单元;A display device for multimedia resources, applied to a server, includes: a receiving unit, a determining unit and a sending unit;所述接收单元,用于接收终端发送的第一信息;所述第一信息为第二应用程序的标识、所述终端的地理位置信息或者目标账户的标识中的任意一项;所述第二应用程序与第一应用程序的应用属性相同;所述应用属性包括应用类型或者所述终端的地理位置信息;The receiving unit is configured to receive the first information sent by the terminal; the first information is any one of the identifier of the second application, the geographic location information of the terminal or the identifier of the target account; the second The application has the same application attribute as the first application; the application attribute includes the application type or the geographic location information of the terminal;所述确定单元,用于根据所述接收单元接收的所述第一信息,确定所述第二应用程序的显示方式;所述第二应用程序的显示方式用于在第一应用程序的多媒体资源的显示界面上显示所述多媒体资源;The determining unit is configured to determine the display mode of the second application program according to the first information received by the receiving unit; the display mode of the second application program is used for multimedia resources of the first application program The multimedia resource is displayed on the display interface;所述发送单元,用于向所述终端发送所述确定单元确定的所述第二应用程序的显示方式。The sending unit is configured to send the display mode of the second application determined by the determining unit to the terminal.
- 根据权利要求32所述的多媒体资源的显示装置,其中,所述第一信息为所述第二应用程序的标识,所述确定单元用于:The apparatus for displaying multimedia resources according to claim 32, wherein the first information is an identifier of the second application, and the determining unit is used for:读取预先存储的应用程序的标识与显示方式的对应关系,以确定出所述第二应用程序的标识对应的显示方式;Reading the pre-stored correspondence between the identifier of the application program and the display mode to determine the display mode corresponding to the identifier of the second application program;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求32所述的多媒体资源的显示装置,其中,所述第一信息为所述终端的地理位置信息,所述确定单元用于:The apparatus for displaying multimedia resources according to claim 32, wherein the first information is geographic location information of the terminal, and the determining unit is configured to:读取预先存储的地理位置信息与显示方式的对应关系,以确定出所述终端的地理位置信息对应的显示方式;Reading the correspondence between the pre-stored geographic location information and the display mode to determine the display mode corresponding to the geographic location information of the terminal;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求32所述的多媒体资源的显示装置,其中,所述第一信息为所述目标账户的标识,所述确定单元用于:The apparatus for displaying multimedia resources according to claim 32, wherein the first information is an identifier of the target account, and the determining unit is used for:读取预先存储的账户标识与显示方式的对应关系,以确定出所述目标账户的标识对应的显示方式;Read the correspondence between the pre-stored account identification and the display mode to determine the display mode corresponding to the identification of the target account;将确定出的显示方式确定为所述第二应用程序的显示方式。The determined display mode is determined as the display mode of the second application.
- 根据权利要求32-35中任意一项所述的多媒体资源的显示装置,其中,The display device for multimedia resources according to any one of claims 32-35, wherein,所述确定单元,还用于读取预先存储的应用程序与目标类型信息的对应关系,以确定所述第二应用程序对应的目标类型信息;所述目标类型信息用于指示推荐目标类型的多媒体资源;The determining unit is further configured to read the pre-stored correspondence between the application program and the target type information to determine the target type information corresponding to the second application program; the target type information is used to indicate the multimedia recommended target type resource;所述发送单元,还用于向所述终端发送所述确定单元确定的所述目标类型信息。The sending unit is further configured to send the target type information determined by the determining unit to the terminal.
- 一种多媒体资源的显示系统,其中,所述多媒体资源的显示系统包括:终端和服务器;A display system for multimedia resources, wherein the display system for multimedia resources includes: a terminal and a server;所述终端,用于响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式;所述第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式;所述第二应用程序与所述第一应用程序的应用属性相同;所述应用属性包括应用类型或者应用程序对应的终端的地理位置信息;在所述第一应用程序的多媒体资源的显示界面,采用所述第一显示方式显示所述多媒体资源;The terminal is configured to obtain a first display mode in response to receiving a multimedia resource display instruction of the first application; the first display mode is a display mode determined in response to a user's trigger operation, or is a second application The display mode of the program; the application attributes of the second application and the first application are the same; the application attributes include the application type or the geographic location information of the terminal corresponding to the application; the multimedia information in the first application a resource display interface, using the first display mode to display the multimedia resource;所述服务器,用于接收所述终端发送的第一信息;所述第一信息为所述第二应用程序的标识、所述终端的地理位置信息或者目标账户的标识中的任意一项;所述第二应用程序为所述终端已安装的应用程序;根据所述第一信息,确定所述第二应用程序的显示方式;所述第二应用程序的显示方式用于在所述第一应用程序的多媒体资源的显示界面上显示所述多媒体资源;向所述终端发送所述第二应用程序的显示方式。The server is configured to receive the first information sent by the terminal; the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account; the the second application is an application installed by the terminal; according to the first information, the display mode of the second application is determined; the display mode of the second application is used in the first application The multimedia resources are displayed on the display interface of the multimedia resources of the program; the display mode of the second application program is sent to the terminal.
- 一种终端,包括:A terminal that includes:处理器;processor;用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:响应于接收到第一应用程序的多媒体资源显示指令,获取第一显示方式;所述第一显示方式为响应于用户的触发操作确定出的显示方式,或者为第二应用程序的显示方式;所述第二应用程序与所述第一应用程序的应用属性相同;所述应用属性包括应用类型或者应用程序对应的终端的地理位置信息;In response to receiving the multimedia resource display instruction of the first application, the first display mode is obtained; the first display mode is the display mode determined in response to the user's trigger operation, or the display mode of the second application; The application attribute of the second application is the same as that of the first application; the application attribute includes the application type or the geographic location information of the terminal corresponding to the application;在所述第一应用程序的多媒体资源的显示界面,采用所述第一显示方式显示所述多媒体资源。On the display interface of the multimedia resource of the first application, the multimedia resource is displayed in the first display manner.
- 一种服务器,包括:A server that includes:处理器;processor;用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:接收终端发送的第一信息;所述第一信息为第二应用程序的标识、所述终端的地理位置信息或者目标账户的标识中的任意一项;所述第二应用程序与第一应用程序的应用属性相同;所述应用属性包括应 用类型或者应用程序对应的终端的地理位置信息;Receive the first information sent by the terminal; the first information is any one of the identifier of the second application, the geographic location information of the terminal, or the identifier of the target account; the second application and the first application The application attributes are the same; the application attributes include the application type or the geographic location information of the terminal corresponding to the application;根据所述第一信息,确定所述第二应用程序的显示方式;所述第二应用程序的显示方式用于在第一应用程序的多媒体资源的显示界面上显示所述多媒体资源;determining the display mode of the second application according to the first information; the display mode of the second application is used to display the multimedia resource on the display interface of the multimedia resource of the first application;向所述终端发送所述第二应用程序的显示方式。The display mode of the second application is sent to the terminal.
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,其中,当所述计算机可读存储介质中的指令由终端的处理器执行时,使得所述终端能够执行如权利要求1-13中任一项所述的多媒体资源的显示方法。A computer-readable storage medium on which instructions are stored, wherein, when the instructions in the computer-readable storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method as claimed in the claims The method for displaying multimedia resources according to any one of 1-13.
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,其中,当所述计算机可读存储介质中的指令由服务器的处理器执行时,使得所述服务器能够执行如权利要求14-18中任一项所述的多媒体资源的显示方法。A computer-readable storage medium on which instructions are stored, wherein, when the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to perform the operations as claimed in the claims The method for displaying multimedia resources according to any one of 14-18.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010961810.9A CN112114920A (en) | 2020-09-14 | 2020-09-14 | Multimedia resource display method and device |
CN202010961810.9 | 2020-09-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022052860A1 true WO2022052860A1 (en) | 2022-03-17 |
Family
ID=73802001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/116237 WO2022052860A1 (en) | 2020-09-14 | 2021-09-02 | Method and device for displaying multimedia resource |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112114920A (en) |
WO (1) | WO2022052860A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112114920A (en) * | 2020-09-14 | 2020-12-22 | 北京达佳互联信息技术有限公司 | Multimedia resource display method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102446096A (en) * | 2011-09-20 | 2012-05-09 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and position-based display method |
US20150007044A1 (en) * | 2013-06-27 | 2015-01-01 | Samsung Electronics Co., Ltd. | Display mode of electronic device |
CN106101764A (en) * | 2016-07-20 | 2016-11-09 | 广州华多网络科技有限公司 | A kind of methods, devices and systems showing video data |
CN106331178A (en) * | 2016-10-28 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Information sharing method and mobile terminal |
CN106454482A (en) * | 2016-10-10 | 2017-02-22 | 广州酷狗计算机科技有限公司 | Method and device for displaying chatting information |
CN109918156A (en) * | 2017-12-13 | 2019-06-21 | 飞狐信息技术(天津)有限公司 | A kind of video clip processing method and system |
CN112114920A (en) * | 2020-09-14 | 2020-12-22 | 北京达佳互联信息技术有限公司 | Multimedia resource display method and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004240750A (en) * | 2003-02-06 | 2004-08-26 | Canon Inc | Picture retrieval device |
CN104111770B (en) * | 2013-04-22 | 2017-05-24 | 联想(北京)有限公司 | Information processing method and electronic device |
CN109814952A (en) * | 2019-01-30 | 2019-05-28 | 维沃移动通信有限公司 | A kind of application interface quickly starting control processing method, device and mobile terminal |
CN110830468B (en) * | 2019-11-05 | 2021-04-13 | 腾讯科技(深圳)有限公司 | Cross-application-based authority management method and device and computer readable storage medium |
CN111125562B (en) * | 2019-11-18 | 2024-02-09 | 上海连尚网络科技有限公司 | Method and equipment for switching display tag pages |
-
2020
- 2020-09-14 CN CN202010961810.9A patent/CN112114920A/en active Pending
-
2021
- 2021-09-02 WO PCT/CN2021/116237 patent/WO2022052860A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102446096A (en) * | 2011-09-20 | 2012-05-09 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and position-based display method |
US20150007044A1 (en) * | 2013-06-27 | 2015-01-01 | Samsung Electronics Co., Ltd. | Display mode of electronic device |
CN106101764A (en) * | 2016-07-20 | 2016-11-09 | 广州华多网络科技有限公司 | A kind of methods, devices and systems showing video data |
CN106454482A (en) * | 2016-10-10 | 2017-02-22 | 广州酷狗计算机科技有限公司 | Method and device for displaying chatting information |
CN106331178A (en) * | 2016-10-28 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Information sharing method and mobile terminal |
CN109918156A (en) * | 2017-12-13 | 2019-06-21 | 飞狐信息技术(天津)有限公司 | A kind of video clip processing method and system |
CN112114920A (en) * | 2020-09-14 | 2020-12-22 | 北京达佳互联信息技术有限公司 | Multimedia resource display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112114920A (en) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11870859B2 (en) | Relevant secondary-device content generation based on associated internet protocol addressing | |
US11871063B2 (en) | Intelligent multi-device content distribution based on internet protocol addressing | |
JP7375186B2 (en) | Barrage processing method, device, electronic equipment and program | |
US9787487B2 (en) | Facilitating media streaming with social interaction | |
US20140344057A1 (en) | Interactive advertising | |
US9665074B2 (en) | System and method for providing playlists for social television | |
US8892648B1 (en) | Media player social network integration | |
US9729596B2 (en) | Content pods for streaming media services | |
US20110283185A1 (en) | Adaptable layouts for social feeds | |
US20160323654A1 (en) | Rendering advertisements in a client device for uninterrupted media content | |
CN113225572B (en) | Page element display method, device and system of live broadcasting room | |
WO2023005197A1 (en) | Content display method and terminal | |
JP2016225995A (en) | Rights and capability-inclusive content selection and delivery | |
WO2023174218A1 (en) | Game data processing method and apparatus, and electronic device and storage medium | |
WO2022052860A1 (en) | Method and device for displaying multimedia resource | |
JP7179194B2 (en) | Variable endpoint user interface rendering | |
US10614075B2 (en) | Systems and methods for scoring and using popularity of entities in a media-content-based social network to provide a media service | |
JP2019125889A (en) | Information processing apparatus, information processing method, and information processing program | |
US12061834B2 (en) | Methods and systems for facilitating user participation in content engagement activities | |
US20230421838A1 (en) | Dynamic content stream generation | |
CN115834698A (en) | Account switching method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21865914 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED D27/06/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21865914 Country of ref document: EP Kind code of ref document: A1 |