CN-119668757-B - Information display method, authority processing method and corresponding devices
Abstract
The embodiment of the application discloses an information display method, an authority processing method and a corresponding device. The information display method comprises the steps of responding to an event triggered based on a first interface and used for acquiring first rights, wherein the first rights comprise display rights of target media content, requesting and acquiring a rights result from a first server, wherein the rights result comprises second rights information, generating a second interface by using material information if the second rights information comprises the account endowed with the second rights, and switching to the first interface to display the target media content, wherein the second interface comprises information for prompting the account endowed with the second rights. The application provides a mode for playing a target media file for a user, wherein if the account is determined to be endowed with second authority, information for prompting the account to be endowed with the second authority is generated by utilizing material information, and the mode can be switched to a first interface to display target media content. This approach significantly improves the efficiency and user experience of the user in obtaining media content.
Inventors
- Geng Yuexiang
- CHENG SIHANG
- LI RUMENG
- YU XIMENG
- TIAN NAIYUAN
- NI ZHIHAO
Assignees
- 北京达佳互联信息技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241129
Claims (11)
- 1. An information display method, characterized in that the method comprises: Responding to an event triggered based on a first interface and used for acquiring a first right, wherein the first right comprises a display right of target media content, requesting a first server side and acquiring a right result, the right result comprises second right information and material information, the style of the material information is associated with the target media content, and the second right information is sent to a user side through a second server side in advance and then is transmitted to the first server side through the user side; If the second authority information comprises an account which is given with the second authority, wherein the account is given with the second authority which means that the display authority of the target media content can be obtained without playing the non-target media content, a popup window is generated on the first interface by using the material information to obtain a second interface, the material information comprises popup window background materials, second page elements and graphic mark materials, the popup window takes the popup window background materials as a background, the graphic mark materials and the second page elements are overlapped on the background, the second page elements are used for triggering the popup window to disappear, and the second interface comprises information for prompting the account to be given with the second authority; And after the popup window disappears, the first interface is obtained to display the target media content.
- 2. The method of claim 1, wherein the first interface trigger based event to obtain the first rights comprises: An event that a first page element on the first interface is triggered, the first page element being used to obtain rights to the target media content, or Detecting an event of a preset operation gesture on the first interface, wherein the preset operation gesture is used for acquiring the authority of the target media content, or And detecting a voice instruction triggering the permission for acquiring the target media content based on the first interface.
- 3. The method of claim 1, wherein the popup window disappearing comprises at least one of: responsive to the popup containing a second page element being triggered, the popup disappears; responding to the popup window to display a first preset time period, wherein the popup window disappears; And responding to the popup window to display animation for a preset number of times, wherein the popup window disappears.
- 4. The method according to claim 1, wherein the method further comprises: and displaying the animation of the popup window on the second interface, wherein the animation comprises an animation corresponding to at least one material of the popup window background material, the second page element and the graphic mark material.
- 5. The method according to claim 1 or 2, characterized in that the method further comprises: And if the second authority information comprises that the account is not given with the second authority, requesting and acquiring non-target media content from a third server, and switching to playing the non-target media content on a third interface, wherein the non-target media content is used for exchanging the display authority of the target media content.
- 6. The authority processing method is applied to a first server side and is characterized by comprising the following steps: inquiring second authority information in response to a request of a user side, wherein the second authority information is sent to the user side through a second server side in advance and then is transmitted to the first server side through the user side, the second authority information comprises whether an account is endowed with second authority or not, the request is sent by the user side in response to an event of acquiring first authority triggered based on a first interface, and the first authority comprises the display authority of target media content; and returning a permission result and material information to the user side, wherein the style of the material information is associated with the target media content, the permission result comprises the second permission information, the material information is used for enabling the account to be endowed with the second permission if the second permission information comprises the account, the account is endowed with the second permission to acquire the display permission of the target media content without playing non-target media content, a popup window is generated on a first interface of the user side, the material information comprises a popup window background material, a second page element and a graphic mark material, the popup window takes the popup window background material as a background, the graphic mark material and the second page element are overlapped on the background, and the second page element is used for triggering the popup window to disappear.
- 7. An information presentation apparatus, the apparatus comprising: An event monitoring unit configured to monitor events on an interface; The first service interaction unit is configured to respond to the event which is monitored by the event monitoring unit and is triggered based on a first interface and used for acquiring first rights, the first rights comprise the display rights of target media contents, a right result is requested and acquired from a first server side, the right result comprises second rights information and material information, the style of the material information is associated with the target media contents, and the second rights information is sent to a user side through a second server side in advance and then is transmitted to the first server side through the user side; The interface display unit is configured to generate a popup window on the first interface by using the material information to obtain a second interface if the second authority information comprises an account given with the second authority, wherein the account given with the second authority refers to the display authority capable of acquiring the target media content without playing the non-target media content, the material information comprises popup window background materials, second page elements and graphic mark materials, the popup window takes the popup window background materials as the background, the graphic mark materials and the second page elements are overlapped on the background, the second page elements are used for triggering the popup window to disappear, the second interface comprises information for prompting the account to be given with the second authority, and the popup window disappears to obtain the first interface to display the target media content.
- 8. An authority processing device applied to a first server side, characterized in that the device comprises: The user terminal interaction unit is configured to receive a request of a user terminal; The permission query unit is configured to respond to a request of the user side, query second permission information, wherein the second permission information is sent to the user side through a second server side in advance and then is transmitted to the first server side through the user side, the second permission information comprises whether an account is endowed with second permission, the request is sent by the user side in response to an event triggered based on a first interface to acquire first permission, and the first permission comprises the display permission of target media content; The user side interaction unit is further configured to return a permission result and material information to the user side, wherein the style of the material information is associated with the target media content, the permission result comprises the second permission information, the material information is used for enabling the user side to acquire the display permission of the target media content if the second permission information comprises the account given with the second permission, the account given with the second permission refers to the display permission of the target media content without playing non-target media content, a popup window is generated on a first interface of the user side, the material information comprises popup window background material, a second page element and graphic mark material, the popup window takes the popup window background material as a background, the graphic mark material and the second page element are overlapped on the background, and the second page element is used for triggering the popup window to disappear.
- 9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 5.
- 10. An electronic device, comprising: One or more processors, and A memory associated with the one or more processors for storing program instructions that, when read for execution by the one or more processors, perform the steps of the method of any of claims 1 to 5.
- 11. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 5.
Description
Information display method, authority processing method and corresponding devices Technical Field The present application relates to the field of internet applications, and in particular, to an information display method, an authority processing method and an apparatus. Background With the rapid development of the internet and mobile communication technology, multimedia services provided by terminal devices such as mobile phones and tablet computers are widely used. In some cases, the provider of the multimedia service has rights settings for some media content. When a user obtains these media contents as a content consumer, the user needs to exchange for the corresponding rights by watching other media contents for a certain period of time, which results in inefficiency in obtaining the media contents. Disclosure of Invention In view of the above, the present application provides an information display method, an authority processing method and an apparatus for improving the efficiency of obtaining media content for users. The application provides the following scheme: In a first aspect, there is provided an information display method, the method comprising: Responding to an event triggered based on a first interface and used for acquiring a first right, wherein the first right comprises the display right of target media content, and requesting and acquiring a right result from a first server side, and the right result comprises second right information; If the second authority information comprises that the account is endowed with the second authority, generating a second interface by using the material information, wherein the second interface comprises information for prompting that the account is endowed with the second authority; And switching to the first interface to display the target media content. Optionally, the event triggered based on the first interface to acquire the first right includes: An event that a first page element on the first interface is triggered, the first page element being used to obtain rights to the target media content, or Detecting an event of a preset operation gesture on the first interface, wherein the preset operation gesture is used for acquiring the authority of the target media content, or And detecting a voice instruction triggering the permission for acquiring the target media content based on the first interface. Optionally, generating a second interface by using the material information comprises generating a popup window on the first interface by using the material information to obtain the second interface, wherein the popup window comprises information for prompting that the account is endowed with a second authority; Switching to the first interface to display the target media content comprises the steps that the popup window disappears to obtain the first interface, and displaying the target media content on the first interface. Optionally, the popup window vanishing includes at least one of: responsive to the popup containing a second page element being triggered, the popup disappears; responding to the popup window to display a first preset time period, wherein the popup window disappears; And responding to the popup window to display animation for a preset number of times, wherein the popup window disappears. Optionally, the generating the second interface by using the material information includes: and generating the second interface by using the material information further included in the authority result. Optionally, the material information comprises popup window background materials, second page elements and graphic mark materials; The step of generating the popup window on the first interface by utilizing the material information comprises the step of taking the popup window background material as the background of the popup window, and superposing the graphic mark material and the second page element on the background, wherein the second page element is used for triggering the popup window to disappear. Optionally, the method further comprises: and displaying the animation of the popup window on the second interface, wherein the animation comprises an animation corresponding to at least one material of the popup window background material, the second page element and the graphic mark material. Optionally, a style of the material information is associated with the target media content. Optionally, the method further comprises: And if the second authority information comprises that the account is not given with the second authority, requesting and acquiring non-target media content from a third server, and switching to playing the non-target media content on a third interface, wherein the non-target media content is used for exchanging the display authority of the target media content. In a second aspect, there is provided a rights processing method, the method including: inquiring second authority information in response to a request of a user sid