Data processing method and apparatus, and computer device and readable storage medium
By displaying media reference controls and subroutine selection lists in the media interaction platform, external credentials are obtained, and media data is referenced into the target subroutine. This solves the problem of media data flow between different subjects and enables efficient display and secure dissemination of media data in subroutines.
Patent Information
- Application Number
- PCT/CN2024/080384
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-16
- Filing Date
- 2024-03-06
- Publication Date
- 2024-11-28
AI Technical Summary
When the subroutine development object and the publishing object are different entities, the subroutine development object cannot obtain the media data published by the publishing object on the media interaction platform, resulting in the media data not being displayed in the target subroutine and reducing the media data flow capability of the media interaction platform.
By displaying a media reference control in the media interaction platform, responding to triggered operations to display a subroutine selection list, obtaining external credentials, and referencing media data into the target subroutine, the subroutine development object is ensured to have the permission to display media data.
It improves the ability of media data to flow within subroutines, ensuring that media data can be referenced and displayed in subroutines by any subroutine development object without restrictions on the subject, thereby enhancing the dissemination power and security of media data.
Smart Images

Figure CN2024080384_28112024_PF_FP_ABST
Abstract
Description
Data processing method, device, computer equipment and readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 16, 2023, with application number 2023104560849 and application name “A data processing method, device, computer equipment and readable storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of Internet technology, and in particular to a data processing method, apparatus, computer equipment, and readable storage medium. Background Art
[0003] When the subprogram development object and the publishing object that publishes media data (e.g., video data) are the same subject object, the subprogram development object can directly obtain the media data it has published on the media interaction platform when developing the subprogram (e.g., the target subprogram), and reference (i.e., embed) the media data in the target subprogram through the subprogram platform. However, when the subprogram development object and the publishing object are different subject objects, the subprogram development object cannot obtain the media data published by the publishing object on the media interaction platform, and thus cannot reference the media data published by the publishing object on the media interaction platform in the target subprogram, thereby failing to achieve the effect of displaying the media data in the target subprogram, thereby reducing the ability of the media data in the media interaction platform to flow within the subprogram.
[0004] Summary of the Invention
[0005] Embodiments of the present application provide a data processing method, apparatus, computer device, and readable storage medium, which can improve the flow capability of media data in a subroutine in a media interaction platform.
[0006] On the one hand, an embodiment of the present application provides a data processing method, which is executed by a terminal device and includes:
[0007] When the media data and the subprogram development object for viewing the media data both meet the media reference condition, a media reference control is displayed in a media interaction platform for displaying the media data; the media interaction platform is different from the subprogram platform for maintaining the subprogram; the subprogram development object is an object that logs into the subprogram platform;
[0008] In response to a triggering operation on the media reference control, a subprogram selection list associated with the subprogram development object is displayed in the media interaction platform;
[0009] In response to a confirmation operation on the subprogram selection list, an external credential for the media data is obtained; the external credential is used to instruct the subprogram development object to reference the media data in a target subprogram, and the target subprogram that references the media data has the authority to display the media data; the target subprogram is the subprogram obtained by the subprogram development object performing a confirmation operation on the subprogram selection list.
[0010] In one aspect, an embodiment of the present application provides a data processing device, including:
[0011] A control display module, configured to display a media reference control in a media interaction platform for displaying media data when both the media data and a subroutine development object for viewing the media data satisfy a media reference condition; the media interaction platform is different from the subroutine platform for maintaining the subroutine; the subroutine development object is an object that logs into the subroutine platform;
[0012] A list display module, configured to respond to a trigger operation on a media reference control and display a subprogram selection list associated with the subprogram development object in the media interaction platform;
[0013] The credential acquisition module is used to respond to the confirmation operation on the subroutine selection list and obtain the external credential for the media data; the external credential is used to instruct the subroutine development object to reference the media data in the target subroutine, and the target subroutine that references the media data has the authority to display the media data; the target subroutine is the subroutine obtained by the subroutine development object performing the confirmation operation on the subroutine selection list.
[0014] On the one hand, an embodiment of the present application provides a data processing method, which is executed by a media server and includes:
[0015] When the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition, a temporary ticket is sent to the media interaction platform for displaying the media data; the temporary ticket is used to instruct the media interaction platform to display the media reference control; the media interaction platform is different from the subprogram platform for maintaining the subprogram; the subprogram development object is the object that logs into the subprogram platform;
[0016] Receiving a list acquisition request sent by the media interaction platform, and returning a subprogram selection list associated with the subprogram development object to the media interaction platform based on the list acquisition request; the list acquisition request is sent by the media interaction platform in response to a trigger operation on a media reference control;
[0017] Receive a security verification request sent by the media interaction platform, and return external credentials for the media data to the media interaction platform based on the security verification request; the security verification request is sent by the media interaction platform in response to a confirmation operation on a target subroutine in a subroutine selection list; the external credentials are used to instruct the subroutine development object to reference the media data in the target subroutine, and the target subroutine that references the media data has the authority to display the media data.
[0018] In one aspect, an embodiment of the present application provides a data processing device, including:
[0019] A ticket sending module is configured to send a temporary ticket to a media interaction platform for displaying media data when both the media data and the subprogram development object for viewing the media data satisfy a media reference condition; the temporary ticket is used to instruct the media interaction platform to display a media reference control; the media interaction platform is different from the subprogram platform for maintaining the subprogram; the subprogram development object is an object that logs into the subprogram platform;
[0020] a list return module, configured to receive a list acquisition request sent by the media interaction platform and return a subprogram selection list associated with the subprogram development object to the media interaction platform based on the list acquisition request; the list acquisition request is sent by the media interaction platform in response to a trigger operation on a media reference control;
[0021] The credential return module is used to receive a security verification request sent by the media interaction platform and return external credentials for the media data to the media interaction platform based on the security verification request; the security verification request is sent by the media interaction platform in response to a confirmation operation on a target subroutine in the subroutine selection list; the external credentials are used to instruct the subroutine development object to reference the media data in the target subroutine, and the target subroutine that references the media data has the authority to display the media data.
[0022] In one aspect, an embodiment of the present application provides a computer device, including: a processor and a memory;
[0023] The processor is connected to a memory, wherein the memory is used to store a computer program. When the computer program is executed by the processor, the computer device executes the method provided in the embodiment of the present application.
[0024] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the method provided by the embodiment of the present application.
[0025] In one aspect, an embodiment of the present application provides a computer program product, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the method provided in the embodiment of the present application.
[0026] In an embodiment of the present application, when the media data and the subroutine development object for viewing the media data satisfy the media reference condition at the same time, the computer device can display a media reference control in the media interaction platform for displaying the media data, and then respond to the trigger operation for the media reference control to display the subroutine selection list associated with the subroutine development object in the media interaction platform. The computer device can respond to the confirmation operation for the subroutine selection list to obtain the external credentials for the media data. It can be understood that the external credentials are used to instruct the subroutine development object to reference the media data in the target subroutine, and the target subroutine that references the media data has the authority to display the media data; the target subroutine is the subroutine obtained by the subroutine development object performing the confirmation operation on the subroutine selection list. It can be seen from this that no matter whether the subroutine development object and the publishing object that publishes the media data are the same subject object, as long as the media data and the subroutine development object meet the media reference conditions at the same time, the subroutine development object can obtain the external certificate for referencing the media data in the target subroutine based on the media reference control, and reference the media data in the target subroutine based on the external certificate, thereby displaying the media data in the target subroutine that references the media data (that is, the media data can be referenced by the subroutine development object of no restriction on the subject to its own subroutine), achieving the effect of displaying the media data in the target subroutine, and improving the flow capacity of media data in the subroutine in the media interaction platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
[0028] FIG2 is a schematic diagram of a data interaction scenario provided by an embodiment of the present application;
[0029] FIG3 is a flow chart of a data processing method provided in an embodiment of the present application;
[0030] FIG4 is a schematic diagram of a scenario for displaying a media reference control according to an embodiment of the present application;
[0031] FIG5a is a schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application;
[0032] FIG5 b is a schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application;
[0033] FIG6 is a schematic diagram of a scenario for triggering a media reference control control provided by an embodiment of the present application;
[0034] FIG7 is a schematic diagram of a scenario of triggering a subroutine to reference a control control provided by an embodiment of the present application;
[0035] FIG8 is a schematic diagram of a process of citing media data provided by an embodiment of the present application;
[0036] FIG9 is a flow chart of a data processing method provided in an embodiment of the present application;
[0037] FIG10 is a schematic diagram of a scenario for pushing a media reference notification provided by an embodiment of the present application;
[0038] FIG11 is a flow chart of a data processing method provided in an embodiment of the present application;
[0039] FIG12a is a schematic diagram of a scenario for viewing a target subroutine provided by an embodiment of the present application;
[0040] FIG12b is a schematic diagram of a scenario for viewing a target subroutine provided by an embodiment of the present application;
[0041] FIG13 is a flow chart of a data processing method provided in an embodiment of the present application;
[0042] FIG14 is a schematic diagram of a process for copying external credentials provided in an embodiment of the present application;
[0043] FIG15 is a flow chart of a data processing method provided in an embodiment of the present application;
[0044] FIG16 is a schematic diagram of a process for exchanging external vouchers provided in an embodiment of the present application;
[0045] FIG17 is a schematic structural diagram of a data processing device provided in an embodiment of the present application;
[0046] FIG18 is a schematic structural diagram of a data processing device provided in an embodiment of the present application;
[0047] FIG19 is a schematic structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] Specifically, see Figure 1, which is a schematic diagram of a network architecture provided in an embodiment of the present application. As shown in Figure 1, the network architecture may include a subprogram server 1000, a media server 2000, and a terminal device cluster. Specifically, the terminal device cluster may include one or more terminal devices, and the number of terminal devices in the terminal device cluster is not limited. As shown in Figure 1, multiple terminal devices can specifically include terminal device 3000a, terminal device 3000b, terminal device 3000c,..., terminal device 3000n; terminal device 3000a, terminal device 3000b, terminal device 3000c,..., terminal device 3000n can respectively be directly or indirectly connected to the sub-program server 1000 through wired or wireless communication, so that each terminal device can exchange data with the sub-program server 1000 through the network connection; terminal device 3000a, terminal device 3000b, terminal device 3000c,..., terminal device 3000n can respectively be directly or indirectly connected to the media server 2000 through wired or wireless communication, so that each terminal device can exchange data with the media server 2000 through the network connection.
[0049] Among them, each terminal device in the terminal device cluster may include: smart phones, tablet computers, laptop computers, desktop computers, intelligent voice interaction devices, smart home appliances (for example, smart TVs), wearable devices, vehicle-mounted terminals, aircraft and other smart terminals with data processing functions. Among them, the vehicle-mounted terminal can be a terminal device in a smart transportation scenario and an assisted driving scenario. It should be understood that each terminal device in the terminal device cluster shown in Figure 1 can be installed with an application client, and the application client can specifically include a vehicle-mounted client, a smart home client, an entertainment client (for example, a game client), a multimedia client (for example, a video client), a social client, a management client and an information client (for example, a news client) and other clients with data processing functions.
[0050] For ease of understanding, an embodiment of the present application can select a terminal device from the multiple terminal devices shown in Figure 1 as the target terminal device. For example, an embodiment of the present application can use the terminal device 3000a shown in Figure 1 as the target terminal device. An application client can be installed in the target terminal device, and the application client in the target terminal device can include a first application client and a second application client.
[0051] Among them, the first application client can be used to integrate subprograms (for example, target subprograms) and media interaction platforms (for example, video interaction platforms). At this time, the subprograms and media interaction platforms can be started through the first application client. Optionally, the media interaction platform can also be referred to as a subprogram in the first application client. For ease of understanding, the embodiment of the present application is described as an example of a subprogram other than the media interaction platform in the first application client. It can be understood that the first application client can also be referred to as a host application for integrating subprograms and media interaction platforms. The host application can be used to represent an application entity that provides an operating environment for subprograms and media interaction platforms. For example, taking the host application running in the target terminal device as a social client as an example, when the target subprogram and video interaction platform (for example, video account) are integrated in the social client, the social client can have the ability to open and display the target subprogram and video interaction platform.
[0052] The subprogram in the embodiment of the present application may be a mini-program (e.g., a target mini-program) integrated into the first application client. In this case, the mini-program is a subprogram integrated into the first application client, the subprogram server may be the mini-program server corresponding to the mini-program, the subprogram development object may be the mini-program development object corresponding to the mini-program, and the subprogram platform may be the mini-program platform corresponding to the mini-program. Optionally, the subprogram in the embodiment of the present application may also be a subprogram other than the mini-program integrated into the first application client, for example, a shopping platform or official account integrated into the first application client.
[0053] The second application client may be a subprogram platform for maintaining the subprograms in the first application client. It is understood that the second application client may be integrated into a client (e.g., a social client) or may be an independent client (e.g., a management client). The embodiment of the present application does not limit the type of the second application client.
[0054] It should be understood that when the subprogram is running in the target terminal device, data can be exchanged with the subprogram server 1000 shown in FIG1 (i.e., the target terminal device can exchange data with the subprogram server 1000 through the subprogram integrated in the first application client); similarly, when the second application client is running in the target terminal device, data can be exchanged with the subprogram server 1000 shown in FIG1 (i.e., the target terminal device can exchange data with the subprogram server 1000 through the second application client). The subprogram server 1000 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0055] It should be understood that when the media interaction platform runs in the target terminal device, data can be exchanged with the media server 2000 shown in Figure 1 (that is, the target terminal device can exchange data with the media server 2000 through the media interaction platform integrated in the first application client). The media server 2000 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0056] For ease of understanding, in this embodiment of the application, users may be referred to as objects, and objects may be users who log in to the first application client and the second application client. Specifically, in this embodiment of the application, objects that log in to the first application client may be referred to as interaction objects (i.e., objects that log in to the subprogram and media interaction platform may be referred to as interaction objects), and interaction objects that publish media data in the media interaction platform may be referred to as publishing objects. In this embodiment of the application, objects that log in to the second application client (i.e., the subprogram platform) may be referred to as subprogram development objects.
[0057] Among them, it can be understood that the media interaction platform can have an administrator (that is, an administrator can manage his or her own account through the media interaction platform), and the administrator of the media interaction platform can be called a publishing object; the sub-program platform can have an administrator and multiple developers (that is, an administrator and multiple developers can manage the same sub-program through the sub-program platform, that is, an administrator and multiple developers can log in to the sub-program platform through their respective accounts to manage the same sub-program), and the administrator or developer of the sub-program platform can be called a sub-program development object.
[0058] The media data in the embodiments of the present application may include, but is not limited to, video data, graphic data, and audio data. In this case, the media interaction platform may include, but is not limited to, a video interaction platform corresponding to the video data, a graphic interaction platform corresponding to the graphic data, and an audio interaction platform corresponding to the audio data. The media server 2000 may include, but is not limited to, a video server corresponding to the video interaction platform, a graphic server corresponding to the graphic interaction platform, and an audio server corresponding to the audio interaction platform. For ease of understanding, the embodiments of the present application are described using the example of video data as the media data, a video interaction platform as the media interaction platform, and a video server as the media server.
[0059] It is understandable that the data processing method provided in the embodiment of the present application can be executed by a computer device, and the computer device can obtain external credentials for media data through cloud technology. For ease of understanding, the embodiment of the present application is explained by taking the login subroutine (e.g., target subroutine) and the interactive objects of the media interaction platform as an example. Therefore, the subroutine development object can view the media data published by the publishing object in the media interaction platform, obtain external credentials for the media data, write the external credentials into the subroutine code of the target subroutine, and then publish the subroutine code on the subroutine platform to obtain a target subroutine that references the media data (i.e., the media data is referenced in the target subroutine). The target subroutine that references the media data has the right to display the media data. Further, the subroutine development object can log in to the target subroutine that references the media data and display the media data in the target subroutine that references the media data, thereby expanding the subroutine's reference scope and capabilities to the media interaction platform, increasing the distribution scenario of the media data, and also providing a better carrier for the presentation of the subroutine's media data.
[0060] For example, the publishing target can be a video blogger, and the target subroutine can be a subroutine of a cosmetics brand. When the video blogger and the cosmetics brand reach a cooperation, the terminal device corresponding to the video blogger can obtain the media data (e.g., video data) produced by the video blogger for the cosmetics brand, and then publish the video data on the video blogger's video account (i.e., video interaction platform). In this way, the terminal device corresponding to the cosmetics brand can introduce the video data into the target subroutine based on the external credentials, thereby promoting the cooperation between the video blogger and the cosmetics brand. For another example, the publishing target can be a video editing company, and the target subroutine can be a subroutine of a sportswear company. When the video editing company and the sportswear company reach a cooperation, the terminal device corresponding to the video editing company can obtain the video data (i.e., promotional video) shot by the video editing company for the sportswear company, and then publish the promotional video on the video editing company's video account (i.e., video interaction platform). In this way, the terminal device corresponding to the sportswear company can introduce the promotional video into the target subroutine based on the external credentials, thereby promoting the cooperation between the video editing company and the sportswear company.
[0061] For easier understanding, please refer to FIG. 2 , which is a schematic diagram of a data interaction scenario provided by an embodiment of the present application. The media server 20a shown in FIG. 2 may be the media server 2000 in the embodiment corresponding to FIG. 1 , the subprogram server 20c shown in FIG. 2 may be the subprogram server 1000 in the embodiment corresponding to FIG. 1 , and the terminal device 20b shown in FIG. 2 may be the target terminal device in the embodiment corresponding to FIG. The object corresponding to the terminal device 20b may be the subprogram development object 20d.
[0062] It is understood that the terminal device 20b may include a media interaction platform for displaying media data and a subprogram platform for maintaining subprograms. The media interaction platform for displaying media data is different from the subprogram platform for maintaining subprograms. The subprogram development object 20d can log in to both the media interaction platform and the subprogram platform through the terminal device 20b. The subprogram development object 20d uses the same account to log in to both the media interaction platform and the subprogram platform.
[0063] As shown in Figure 2, subprogram development object 20d can access media data through the media interaction platform. When subprogram development object 20d needs to obtain external credentials for the media data, subprogram development object 20d can trigger a media forwarding control in the media interaction platform. Thus, terminal device 20b can respond to the triggering operation performed by subprogram development object 20d on the media forwarding control and send a media forwarding request to media server 20a in step S11. Furthermore, after media server 20a receives the media forwarding request from the media interaction platform in terminal device 20b, it can perform conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result. If the conditional analysis result indicates that both the media data and the subprogram development object meet the media reference condition, a temporary ticket is generated and sent to the media interaction platform in terminal device 20b in step S12.
[0064] As shown in Figure 2, terminal device 20b can receive a temporary ticket sent by media server 20a and display a media reference control in the media interaction platform based on the temporary ticket. Furthermore, subprogram development object 20d can perform a trigger operation on the media reference control. Thus, terminal device 20b can respond to the trigger operation performed by subprogram development object 20d on the media reference control by sending a list retrieval request to media server 20a in step S13. Furthermore, after media server 20a receives the list retrieval request sent by the media interaction platform in terminal device 20b, it can obtain a subprogram selection list associated with the subprogram development object from subprogram server 20c in step S14, and then return the subprogram selection list to the media interaction platform in terminal device 20b in step S15.
[0065] As shown in Figure 2, terminal device 20b can receive the subroutine selection list returned by media server 20a and display the subroutine selection list on the media interaction platform. Furthermore, subroutine development object 20d can perform a confirmation operation on the subroutine selection list. Thus, terminal device 20b can respond to the confirmation operation performed by subroutine development object 20d on the subroutine selection list by sending a security verification request to media server 20a in step S16. Furthermore, after media server 20a receives the security verification request sent by the media interaction platform in terminal device 20b, it can perform a security verification on the development object identifier and temporary ticket to obtain a security verification result. If the security verification result indicates that the security verification has passed, it can generate an external credential for the media data and send the external credential to the media interaction platform in terminal device 20b in step S17.
[0066] As shown in Figure 2, terminal device 20b can receive the external credentials sent by media server 20a. Furthermore, subprogram development object 20d can copy and paste the external credentials into the subprogram code corresponding to the target subprogram, and then perform a publishing operation on the subprogram code in the subprogram platform (i.e., publish the subprogram code in the subprogram platform). In this way, terminal device 20b can respond to the publishing operation performed on the subprogram code by subprogram development object 20d and send the subprogram code to subprogram server 20c in step S18. The target subprogram can be the subprogram selected by subprogram development object 20d in the subprogram list, i.e., the external credentials are generated for the media data and the target subprogram.
[0067] Furthermore, after receiving the subprogram code sent by the subprogram platform in terminal device 20b, subprogram server 20c can compile the subprogram code to obtain a target subprogram that references the media data. Alternatively, the subprogram platform in terminal device 20b can compile the subprogram code to obtain a target subprogram that references the media data. In other words, the external credentials can be used to instruct the subprogram developer to reference the media data in the target subprogram, thereby obtaining a target subprogram that references the media data. The target subprogram that references the media data has permission to display the media data. The target subprogram that references the media data can also be referred to as a target subprogram.
[0068] Therefore, when an interactive object (for example, a subroutine development object 20d) uses a target subroutine that references media data through a terminal device 20b, the media data can be viewed through the target subroutine that references the media data without having to view the media data through a media interaction platform. This allows the media data in the media interaction platform to be disseminated in the target subroutine that references the media data, thereby improving the dissemination power of the media data.
[0069] Thus, it can be seen that the embodiments of the present application can obtain external credentials for media data through the media interaction platform when the media data and the subroutine development object simultaneously meet the media reference conditions. Specifically, regardless of whether the subroutine development object and the publishing object that publishes the media data are the same subject object, the embodiments of the present application can obtain external credentials for the media data, and the external credentials can be used to introduce the media data into the target subroutine developed by the subroutine development object, thereby improving the flow of media data within the subroutine. In addition, by determining whether the media data and the subroutine development object simultaneously meet the media reference conditions, the security of referencing media data can be improved.
[0070] Further, please refer to Figure 3, which is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a media server, or by a terminal device, or by both a media server and a terminal device. The media server can be the media server 20a in the embodiment corresponding to Figure 2 above, and the terminal device can be the terminal device 20b in the embodiment corresponding to Figure 2 above. For ease of understanding, the embodiment of the present application is described by taking the method executed by a terminal device as an example. Among them, the data processing method can include the following steps S101-S103:
[0071] Step S101: When the media data and the subroutine development object for viewing the media data satisfy the media reference condition at the same time, a media reference control is displayed in the media interaction platform for displaying the media data;
[0072] Specifically, the terminal device can display media data in a media interaction platform. The media interaction platform includes a media forwarding control. Furthermore, the terminal device can respond to a triggering operation on the media forwarding control and display a media reference control in the media interaction platform when both the media data and a subroutine development object for viewing the media data meet media reference conditions. The media interaction platform is distinct from the subroutine platform used to maintain the subroutine.
[0073] For ease of understanding, please refer to Figure 4, which is a schematic diagram of a scenario for displaying a media reference control provided by an embodiment of the present application. The media viewing interface 40a and the media viewing interface 40b shown in Figure 4 can be interfaces of the media interaction platform at different times. The terminal device can display media data (for example, play video data published by the publishing object 41a) in the media viewing interface 40a and the media viewing interface 40b of the media interaction platform. The media viewing interface 40a may include a media forwarding control 42a.
[0074] As shown in FIG4 , the subroutine development object can trigger a media forwarding control 42 a. Thus, the terminal device can respond to the triggering operation performed by the subroutine development object on the media forwarding control 42 a and, when the media data and the subroutine development object simultaneously meet the media reference condition, switch the media viewing interface 40 a to the media viewing interface 40 b and display the media reference control 42 b in the media viewing interface 40 b. Alternatively, when the media data and the subroutine development object do not meet the media reference condition, the terminal device does not need to display the media reference control 42 b in the media viewing interface 40 b.
[0075] Step S102, in response to a triggering operation on the media reference control, displaying a subprogram selection list associated with the subprogram development object in the media interaction platform;
[0076] Specifically, the terminal device can respond to a trigger operation on a media reference control and obtain a subprogram associated with the subprogram development object (i.e., obtain a subprogram developed by the subprogram development object). Furthermore, when the number of subprograms associated with the subprogram development object is one, the terminal device can determine that the subprogram associated with the subprogram development object is a target subprogram, and display a subprogram selection list associated with the subprogram development object in the media interaction platform. The subprogram selection list includes a target subprogram in a default selected state, i.e., the subprogram selection list includes a target subprogram in a selected state.
[0077] For ease of understanding, please refer to Figure 5a, which is a schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application. The media viewing interface 50a and media viewing interface 50b shown in Figure 5a may represent interfaces of the media interaction platform at different times. Media viewing interface 50a may be media viewing interface 40b in the embodiment corresponding to Figure 4 . Media viewing interface 50a may include a media reference control 51a.
[0078] As shown in FIG5a , the subprogram development object can perform a trigger operation on the media reference control 51a. Thus, the terminal device can respond to the trigger operation performed by the subprogram development object on the media reference control 51a, obtain the subprogram associated with the subprogram development object, switch the media viewing interface 50a to the media viewing interface 50b, and display the subprogram selection list 51b associated with the subprogram development object in the media viewing interface 50b. The subprogram selection list 51b can include subprograms associated with the subprogram development object. When the number of subprograms associated with the subprogram development object is one, the terminal device can determine the subprogram associated with the subprogram development object (e.g., subprogram "AAAAA") as the target subprogram, and display the target subprogram in the media viewing interface 50b as a default selected state.
[0079] Optionally, the terminal device may respond to a trigger operation on a media reference control and obtain a subprogram associated with the subprogram development object (i.e., obtain a subprogram developed by the subprogram development object). Furthermore, when there are multiple subprograms associated with the subprogram development object, the terminal device may display a subprogram selection list associated with the subprogram development object in the media interaction platform. The subprogram selection list may include multiple subprograms in an unselected state.
[0080] For easier understanding, please refer to Figure 5b, which is a schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application. The media viewing interfaces 52a, 52b, 52c, and 52d shown in Figure 5b may represent interfaces of the media interaction platform at different times. The media viewing interface 52a may be the media viewing interface 40b in the embodiment corresponding to Figure 4 . The media viewing interface 52a may include a media reference control 53a.
[0081] As shown in FIG5b , the subprogram development object can perform a trigger operation on a media reference control 53a. Thus, the terminal device can respond to the trigger operation performed by the subprogram development object on the media reference control 53a, obtain the subprogram associated with the subprogram development object, switch the media viewing interface 52a to the media viewing interface 52b, and display a subprogram selection list 53b associated with the subprogram development object in the media viewing interface 52b. Subprogram selection list 53b can include subprograms associated with the subprogram development object. When there are multiple subprograms associated with the subprogram development object (e.g., two), the terminal device can display multiple subprograms in an unselected state (e.g., subprogram "CCCC" and subprogram "BBBB") in the media viewing interface 52b.
[0082] Optionally, the terminal device may not need to display the media forwarding control in the media interaction platform, but instead directly display the media reference control in the media interaction platform when the media data and the subroutine development object for viewing the media data meet the media reference conditions at the same time as displaying the media data in the media interaction platform.
[0083] Step S103 : In response to a confirmation operation on the subprogram selection list, obtaining external credentials for the media data.
[0084] Specifically, when the number of subprograms associated with the subprogram development object is one, the terminal device can display a selection confirmation control for the target subprogram in the media interaction platform. The target subprogram is the subprogram obtained by the subprogram development object performing a confirmation operation on the subprogram selection list. Furthermore, the terminal device can respond to the trigger operation on the selection confirmation control to obtain the external credential for the media data. Furthermore, the terminal device can copy the external credential and display the reference prompt information in the media interaction platform based on the external credential. The external credential is used to instruct the subprogram development object to reference the media data in the target subprogram, and the target subprogram that references the media data has the authority to display the media data. That is, the external credential will only be issued to the subprogram development object when the subprogram development object and the media data meet the reference conditions. This can avoid issuing the external credential to the subprogram development object that does not meet the reference conditions, improve the reference security of the media data, and avoid the media data in the media interaction platform from being abused by the target subprogram ecosystem.
[0085] For easier understanding, please refer to Figure 5a again. As shown in Figure 5a, the terminal device can display a selection confirmation control 51c for the target subprogram in the media viewing interface 50b. The control state of selection confirmation control 51c is selectable, and the subprogram development object can perform a trigger operation on selection confirmation control 51c. The specific process of the terminal device responding to the trigger operation performed by the subprogram development object on selection confirmation control 51c can be seen in the description of the embodiment corresponding to Figure 5b, which shows the response of the subprogram development object to the trigger operation performed on selection confirmation control 53d.
[0086] Optionally, when there are multiple subprograms associated with the subprogram development object, the terminal device may respond to a selection operation on multiple subprograms in an unselected state in the subprogram selection list, determine the subprogram selected by the selection operation as the target subprogram (i.e., the target subprogram is the subprogram selected by the subprogram development object in the subprogram selection list), and update the target subprogram in the subprogram selection list from an unselected state to a selected state (i.e., update the target subprogram in an unselected state to a target subprogram in a selected state). Further, the terminal device may display a selection confirmation control for the target subprogram in a selected state, i.e., update the selection confirmation control from an unselectable state to an optional state (i.e., update the selection confirmation control in an unselectable state to a selection confirmation control in an optional state). The unselectable state indicates that the selection confirmation control cannot be triggered, and the optional state indicates that the selection confirmation control can be triggered. Further, the terminal device may respond to the trigger operation on the selection confirmation control to obtain external credentials for the media data. Furthermore, the terminal device can copy the external credentials and display a reference prompt message based on the external credentials in the media interaction platform. The reference prompt message is used to prompt the target subprogram to reference the media data based on the copied external credentials. That is, the copied external credentials can be pasted to reference the media data in the target subprogram. The external credentials are used to instruct the subprogram development object to reference the media data in the target subprogram, and the target subprogram that references the media data has the authority to display the media data.
[0087] For easier understanding, please refer to Figure 5b. As shown in Figure 5b, the terminal device can display a selection confirmation control 53c in the media viewing interface 52b. The control state of the selection confirmation control 53c is unselectable, and the subroutine development object cannot perform a trigger operation on the selection confirmation control 53c in the unselectable state. Furthermore, the subroutine development object can perform a selection operation on multiple subroutine states in the subroutine selection list 53b (for example, the subroutine development object can perform a selection operation on the subroutine "CCCC"). In this way, the terminal device can respond to the selection operation performed by the subroutine development object on the subroutine "CCCC", determine the subroutine "CCCC" selected by the selection operation as the target subroutine, switch the media viewing interface 52b to the media viewing interface 52c, update the target subroutine from an unselected state to a selected state in the media viewing interface 52c, display a selection confirmation control 53d in the media viewing interface 52c, and the control state of the selection confirmation control 53d is an optional state (that is, the selection confirmation control 53c with an unselectable state is updated to a selection confirmation control 53d with an optional state).
[0088] As shown in Figure 5b, the subroutine development object can trigger a selection confirmation control 53d. In this way, the terminal device can respond to the triggering operation performed by the subroutine development object on the selection confirmation control 53d, obtain and copy the external credentials for the media data, switch the media viewing interface 52c to the media viewing interface 52d, and display a reference prompt 53e in the media viewing interface 52d. For example, the reference prompt 53e can be "Enter the video information into the subroutine code to reference the video content." The reference prompt 53e can also include "The video information has been copied to the clipboard," indicating that the copied video information refers to the external credentials of the copied media data.
[0089] It should be understood that the terminal device can display the media reference description information and the media reference control control corresponding to the media reference description information in the subroutine platform. The control state of the media reference control control is a closed state. Further, the terminal device can respond to a trigger operation on the media reference control control and update the media reference control control from a closed state to an open state (i.e., update the media reference control control with a closed state to a media reference control control with an open state). The media reference control control with an open state is used to indicate that the subroutine development object meets the media reference condition. Further, the terminal device can update the media reference control control from an open state to a closed state again when a default time period is reached (i.e., update the media reference control control with an open state to a media reference control control with a closed state). In other words, the open media reference control control can be automatically closed after the default time period.
[0090] The embodiment of the present application does not limit the specific cycle length of the default time period. For example, the default time period can be 24 hours or 12 hours. For ease of understanding, the embodiment of the present application takes the specific cycle length of the default time period as 24 hours as an example for explanation.
[0091] Similarly, the terminal device can display the media reference description information and the media reference control control corresponding to the media reference description information in the subroutine platform. The control state of the media reference control control is open. Furthermore, the terminal device can respond to a trigger operation on the media reference control control by updating the media reference control control from an open state to a closed state (i.e., updating the media reference control control with an open state to a media reference control control with a closed state). The closed state of the media reference control control is used to indicate that the subroutine development object does not meet the media reference condition.
[0092] For ease of understanding, please refer to Figure 6 again. Figure 6 is a schematic diagram of a scenario for triggering a media reference control control provided by an embodiment of the present application. The subroutine management page 60a and the subroutine management page 60b shown in Figure 6 can be pages of the subroutine platform at different times. The subroutine management page 60a can include media reference description information and a media reference control control 61c. The control state of the media reference control 61c is closed. Among them, the media reference description information can include media reference description information 61a and media reference description information 61b. The media reference description information 61a can be a description title, and the media reference description information 61b can be a description content. For example, the media reference description information 61b can be "After turning it on, you can copy any video identifier into the mobile terminal within 24 hours.", "After turning it on, you can copy any video number video identifier into the mobile terminal within 24 hours, and it is only effective for the current operator."
[0093] As shown in Figure 6, the subroutine development object can perform a trigger operation on the media reference control control 61c. In this way, the terminal device can respond to the trigger operation performed by the subroutine development object on the media reference control control 61c, switch the subroutine management page 60a to the subroutine management page 60b, and display the media reference description information 62a and the media reference control control 62b in the subroutine management page 60b. The control state of the media reference control control 62b is open (that is, the media reference control control 61c with a closed state is updated to the media reference control control 62b with an open state). For example, the media reference description information 62a can be "TTT will automatically close the acquisition permission and cannot copy any video identifier input.", "TTT will automatically close the acquisition permission and cannot copy any video number video identifier input on the mobile terminal." Among them, TTT can represent the time when the default time period is reached. For example, when the subroutine development object performs the trigger operation on the media reference control 61c at 11:12 on February 1, 2023, TTT can be 11:12 on February 2, 2023.
[0094] It should be understood that the media interaction platform is also used to provide an interactive management page to the publishing object used to publish media data, and the interactive management page includes subroutine reference description information and a subroutine reference control control corresponding to the subroutine reference description information. Among them, the control state of the subroutine reference control control is a closed state. It can be understood that the subroutine reference control control is used to indicate that when the publishing object performs a trigger operation on the subroutine reference control control, the subroutine reference control control is updated from a closed state to an open state (that is, the subroutine reference control control with a closed state is updated to a subroutine reference control control with an open state). Among them, the subroutine reference control control with an open state is used to indicate that the media data published by the publishing object meets the media reference condition.
[0095] Among them, when the publishing object and the subprogram development object are the same object, the publishing object and the subprogram development object can log in to the media interaction platform through the same account; optionally, when the publishing object and the subprogram development object are different objects, the publishing object and the subprogram development object can log in to the media interaction platform through different accounts, and the media interaction platform logged in by the publishing object and the media interaction platform logged in by the subprogram development object can be collectively referred to as the media interaction platform.
[0096] Similarly, the media interaction platform is also used to provide an interactive management page to the publishing object used to publish media data. The interactive management page includes subroutine reference description information and a subroutine reference control control corresponding to the subroutine reference description information. Among them, the control state of the subroutine reference control control is an open state. It can be understood that the subroutine reference control control is used to indicate that when the publishing object performs a trigger operation on the subroutine reference control control, the subroutine reference control control is updated from an open state to a closed state (i.e., the subroutine reference control control with an open state is updated to a subroutine reference control control with a closed state).
[0097] For ease of understanding, please refer to Figure 7 again. Figure 7 is a schematic diagram of a scenario for triggering a subroutine reference control control provided in an embodiment of the present application. The interactive management page 70a and the interactive management page 70b shown in Figure 7 can be pages of the media interaction platform at different times. The interactive management page 70a may include subroutine reference description information and a subroutine reference control control 71c. The control state of the subroutine reference control control 71c is closed. Among them, the subroutine reference description information may include subroutine reference description information 71a and subroutine reference description information 71b. The subroutine reference description information 71a may be a description title, and the subroutine reference description information 71b may be a description content. For example, the subroutine reference description information 71b may be "Your video number content can be referenced by the subroutine of the same subject."
[0098] As shown in Figure 7, the publishing object can perform a trigger operation on the subroutine reference control control 71c. In this way, the terminal device corresponding to the publishing object can respond to the trigger operation performed by the publishing object on the subroutine reference control control 71c, switch the interactive management page 70a to the interactive management page 70b, and display the subroutine reference description information 72a and the subroutine reference control control 72b in the interactive management page 70b. The control state of the subroutine reference control control 72b is open (that is, the subroutine reference control control 71c with a closed state is updated to the subroutine reference control control 72b with an open state). For example, the subroutine reference description information 72a can be "Your video account content can be referenced by all subroutines."
[0099] Optionally, the terminal device corresponding to the publishing object can also display a subroutine reference list associated with the publishing object in the interactive management page 70b, wherein the subroutine in the subroutine reference list can be a subroutine that references the media data published by the publishing object. Optionally, the interactive management page 70b can also be used to display a subroutine control corresponding to each subroutine in the subroutine reference list, and the subroutine control can be used to control whether the subroutine in the subroutine reference list can continue to reference the referenced media data. For example, the subroutine reference list can include a target subroutine that references media data and a subroutine control corresponding to the target subroutine that references media data. When the control state of the subroutine control corresponding to the target subroutine that references media data is closed, the media data in the target subroutine that references media data cannot be displayed normally; when the control state of the subroutine control corresponding to the target subroutine that references media data is open, the media data in the target subroutine that references media data can be displayed normally.
[0100] It is understood that the operation flow of the subroutine development object referencing media data can be seen in Figure 8, which is a schematic diagram of a process for referencing media data provided in an embodiment of the present application. Steps S81 and S82 shown in Figure 8 are described using the example of a media interaction platform being a video interaction platform, the media data being video data, and the media server being a video server.
[0101] As shown in Figure 8, the terminal device can execute step S81, and through step S81, turn on the switch for obtaining the video identification in the open platform (i.e., the subroutine open platform) (i.e., set the control state of the media reference control control to the open state). Among them, the subroutine open platform is a module in the public platform (Media Platform, MP), and the public platform can also be called a subroutine platform. Furthermore, the terminal device can execute step S82, and through step S82, the copy link option (i.e., the media reference control) can be seen in the video number client (i.e., the video interaction platform), and then obtain external credentials for the media data based on the media reference control.
[0102] It is understood that the subprogram development objects of the target subprogram can all set the control state of the media reference control control to the open state through the subprogram platform. In this way, the subprogram development objects that have the media reference control control turned on can see the media reference control on the media interaction platform, while the subprogram development objects that have not turned the media reference control on cannot see the media reference control on the media interaction platform. For example, the subprogram development objects of the target subprogram may include subprogram development object Y1 and subprogram development object Y2. When subprogram development object Y1 sets the control state of the media reference control control to the open state and subprogram development object Y2 does not set the control state of the media reference control control to the open state, subprogram development object Y1 can see the media reference control on the media interaction platform logged in through its own account, while subprogram development object Y2 cannot see the media reference control on the media interaction platform logged in through its own account.
[0103] Thus, it can be seen that the embodiment of the present application can display the media reference control and the subroutine selection list in sequence in the media interaction platform when the media data and the subroutine development object meet the media reference conditions at the same time, and then obtain the external credentials for the media data and the target subroutine based on the subroutine selection list, thereby improving the efficiency of obtaining the external credentials when obtaining the external credentials through the media reference control and the subroutine list. At this time, regardless of whether the subroutine development object and the publishing object that publishes the media data are the same subject object, as long as the media data and the subroutine development object meet the media reference conditions at the same time, the subroutine development object can obtain the external credentials for referencing the media data in the target subroutine based on the media reference control, thereby displaying the media data in the target subroutine that references the media data (that is, the media data can be referenced by the subroutine development object of the unrestricted subject to its own subroutine), achieving the effect of displaying the media data in the target subroutine, and improving the flow capacity of the media data in the subroutine in the media interaction platform. In addition, by determining whether the media data and the subroutine development object meet the media reference conditions at the same time, the security of referencing the media data can be improved.
[0104] Further, please refer to Figure 9, which is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a media server, or by a terminal device, or by both a media server and a terminal device. The media server can be the media server 20a in the embodiment corresponding to Figure 2 above, and the terminal device can be the terminal device 20b in the embodiment corresponding to Figure 2 above. For ease of understanding, the embodiment of the present application is described using the method executed by a terminal device as an example. The data processing method can include the following steps S201-S205:
[0105] Step S201: When the media data and the subroutine development object for viewing the media data satisfy the media reference condition at the same time, a media reference control is displayed in the media interaction platform for displaying the media data;
[0106] Specifically, the terminal device can display media data in the media interaction platform. The media interaction platform includes a media forwarding control. Furthermore, the terminal device can respond to a trigger operation for the media forwarding control, generate a media forwarding request based on the development object identifier of the subroutine development object and the media identifier of the media data, and send the media forwarding request to the media server. The media forwarding request is used to instruct the media server to perform conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result; the media server is used to return a temporary ticket to the media interaction platform when the conditional analysis result indicates that the media data and the subroutine development object simultaneously meet the media reference condition. The temporary ticket is obtained by encrypting the development object identifier and the media identifier by the media server. Furthermore, the terminal device can receive the temporary ticket returned by the media server, and display the media reference control in the media interaction platform based on the temporary ticket.
[0107] For the specific process of the media server performing conditional analysis on the development object identifier and the media identifier, reference may be made to the description of step S401 in the embodiment corresponding to FIG. 13 below.
[0108] Optionally, the media server is further configured to not return a temporary ticket to the media interaction platform when the condition analysis result indicates that the media data and the subroutine development object do not meet the media reference condition. Therefore, the terminal device does not need to display the media reference control in the media interaction platform.
[0109] Step S202 , in response to a triggering operation on the media reference control, displaying a subroutine selection list associated with the subroutine development object in the media interaction platform;
[0110] The specific process of the terminal device displaying the subprogram selection list in the media interaction platform can be found in the description of step S102 in the embodiment corresponding to FIG. 3 , and will not be described in detail here.
[0111] Step S203, in response to a confirmation operation on the subprogram selection list, obtaining external credentials for the media data;
[0112] Specifically, when the number of subprograms associated with a subprogram development object is one, a selection confirmation control for the target subprogram is displayed on the media interaction platform. The target subprogram is the subprogram selected by the subprogram development object in the subprogram selection list. Furthermore, in response to a triggering operation on the selection confirmation control, the terminal device can generate a security verification request based on the development object identifier of the subprogram development object, the subprogram identifier of the target subprogram, and the temporary ticket, and send the security verification request to the media server. The security verification request instructs the media server to perform a security verification on the development object identifier and the temporary ticket, obtaining a security verification result. If the security verification result indicates that the security verification has passed, the media server returns an external credential for the media data to the media interaction platform. The external credential is obtained by encrypting the subprogram identifier and the temporary ticket, and the temporary ticket is obtained by encrypting the development object identifier and the media identifier of the media data. Furthermore, the terminal device can receive the external credential returned by the media server. The external credential indicates that the subprogram development object references the media data in the target subprogram, and that the target subprogram that references the media data has permission to display the media data.
[0113] For the specific process of the media server performing security verification on the development object identifier and the temporary ticket, please refer to the description of step S403 in the embodiment corresponding to FIG. 13 below.
[0114] Similarly, when there are multiple subroutines associated with the subroutine development object, the specific process of the terminal device responding to the trigger operation for the selection confirmation control can be referred to the above description of responding to the trigger operation for the selection confirmation control when the number of subroutines associated with the subroutine development object is one, and will not be repeated here.
[0115] Optionally, the media server is further configured to return a media reference failure notification to the media interaction platform when the security verification result indicates that the security verification has failed. Therefore, the terminal device can receive the media reference failure notification returned by the media server and display the media reference failure notification on the media interaction platform. For example, the media reference failure notification may read "Unable to reference the video account dynamics."
[0116] Optionally, the media server may generate a security verification result indicating a security verification failure when the number of credentials is greater than or equal to a threshold, i.e., the security verification failure is caused by the number of credentials being greater than or equal to the threshold. In this case, the media reference failure notification displayed on the terminal device in the media interaction platform may be "The maximum number of copies has been reached. Please try again later."
[0117] Step S204, in response to a paste operation on the copied external credential, generating a subroutine code including the external credential;
[0118] It is understandable that the subroutine development object can edit the subroutine code through the subroutine development tool, and use the video number component (for example, the channel-video component) provided by the subroutine platform in the subroutine development tool to paste the external credentials into the subroutine code (for example, paste the external credentials into the token field of the video number component) to generate the subroutine code including the external credentials.
[0119] Step S205 , displaying the subroutine code in the subroutine platform, and sending the subroutine code to the subroutine server in response to a publishing operation on the subroutine code.
[0120] The subprogram server is used to compile the subprogram code to obtain a target subprogram that references the media data; the target subprogram that references the media data is used to instruct the subprogram server to push a media reference notification to a publishing object for publishing the media data.
[0121] The subprogram server is configured to compare the media data with the media reference condition during the process of compiling the subprogram code to obtain a condition comparison result. The subprogram server is further configured to determine that the compilation is successful when the condition comparison result indicates that the media data satisfies the media reference condition, thereby obtaining a target subprogram that references the media data. The media data satisfies the media reference condition when the subprogram reference control is in the open state; the media data satisfies the media reference condition when the subprogram reference control is in the closed state and the subprogram development object and the published object are the same subject object.
[0122] Optionally, the subprogram server is also used to determine that the compilation fails when the condition comparison result indicates that the media data does not meet the media reference condition, and return a program compilation failure notification to the subprogram platform. At this time, the subprogram code is not successfully published. Among them, when the control state of the subprogram reference control control is closed, and the subprogram development object and the publishing object are different subject objects, the media data does not meet the media reference condition. Therefore, the terminal device can receive the program compilation failure notification returned by the subprogram server and display the program compilation failure notification on the subprogram platform. For example, the program compilation failure notification can be "Due to the author's privacy settings, the content of this video account can only be referenced by the subprogram operated by itself."
[0123] For ease of understanding, please refer to Figure 10, which is a schematic diagram of a scenario for pushing a media reference notification provided by an embodiment of the present application. As shown in Figure 10, the terminal device corresponding to the publishing object can receive the media reference notification 100a pushed by the sub-program server and display the media reference notification 100a pushed by the sub-program server in the media interaction platform. Optionally, the terminal device corresponding to the publishing object can also display the media reference notification 100a in the host application integrated with the media interaction platform, so that the publishing object can obtain the reference status of the published media data in a timely manner.
[0124] Among them, the media reference notification 100a may include the subprogram name 100b of the target subprogram that references the media data (for example, the subprogram name 100b may be "OOOO") and the reference viewing control 100c (i.e., the details in Figure 10), and the publishing object may perform a trigger operation on the reference viewing control 100c, so that the terminal device corresponding to the publishing object may respond to the trigger operation performed by the terminal device on the reference viewing control 100c, and open the media data reference page corresponding to the target subprogram that references the media data (i.e., the subpage of the media data in the target subprogram that references the media data) or the homepage of the target subprogram that references the media data. Among them, the media data reference page corresponding to the target subprogram that references the media data and the homepage of the target subprogram that references the media data may be the same or different. Optionally, the media reference notification 100a may also include the page name of the page of the media data in the target subprogram that references the media data, and the time of the reference.
[0125] Thus, the embodiments of the present application can obtain external credentials for the media data when both the media data and the subroutine development object meet the media reference conditions, thereby generating subroutine code including the external credentials, and then generating a target subroutine that references the media data based on the subroutine code. The target subroutine that references the media data can be used to display the media data, thereby improving the ability of media data to flow between subroutines in the media interaction platform.
[0126] Further, please refer to Figure 11, which is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a media server, or by a terminal device, or by both a media server and a terminal device. The media server can be the media server 20a in the embodiment corresponding to Figure 2 above, and the terminal device can be the terminal device 20b in the embodiment corresponding to Figure 2 above. For ease of understanding, the embodiment of the present application is described by taking the method executed by a terminal device as an example. Among them, the data processing method can include the following steps S301-S303:
[0127] Step S301, in response to a viewing operation on media data in a target subprogram that references the media data, generating a subprogram viewing request based on a subprogram identifier of the target subprogram that references the media data, and sending the subprogram viewing request to a subprogram server;
[0128] The subprogram view request is used to instruct the subprogram server to obtain external credentials for the media data and then send the subprogram identifier and external credentials to the media server; the media server is used to perform credential verification on the subprogram identifier and external credentials to obtain a credential verification result; the media server is also used to return media information corresponding to the media data to the subprogram server when the credential verification result indicates that the credential verification has passed; the subprogram server is used to return the media information to the target subprogram that references the media data. The media information includes but is not limited to the media cover image of the media data (for example, the video cover image of video data), the object name of the publishing object, and the media jump parameters.
[0129] It can be understood that when an interactive object (e.g., a subroutine development object) opens a target subroutine that references media data through a terminal device, the terminal device can respond to a viewing operation on the media data in the target subroutine that references the media data; optionally, when the media data is in a subpage of a target subroutine that references the media data, the terminal device can respond to a viewing operation on the media data in the target subroutine that references the media data when the interactive object (e.g., a subroutine development object) opens a subpage of the target subroutine through the terminal device.
[0130] For the specific process of the media server verifying the subroutine identifier and the external certificate, please refer to the description of step S502 in the embodiment corresponding to FIG. 15 below.
[0131] Optionally, the media server is also used to return a media viewing failure notification to the subprogram server when the credential verification result indicates that the credential verification fails; the subprogram server is used to return the media viewing failure notification to the target subprogram that references the media data. Therefore, the terminal device can receive the media viewing failure notification returned by the subprogram server, and display the media viewing failure notification in the target subprogram that references the media data. Among them, the failure of the credential verification can mean that after the target subprogram that references the media data is normally published, the publishing object sets the control state of the subprogram reference control control to the closed state through the media interaction platform (here it is assumed that the subprogram development object and the publishing object are different subject objects). For example, the media viewing failure notification can be "Unable to display the dynamics of this video number". Among them, the terminal device can display the media viewing failure notification in the area that references the media data, and other areas except the area that references the media data are displayed normally.
[0132] Step S302: receiving media information returned by the subprogram server, and displaying the media data in the target subprogram that references the media data based on the media information;
[0133] Specifically, the terminal device can display a media cover image in a target subprogram that references media data when the subprogram development object and the publishing object are different subject objects (i.e., the subject object corresponding to the target subprogram developed by the subprogram development object and the subject object corresponding to the account created by the publishing object are different). Optionally, the terminal device can receive media content corresponding to the media data sent by the subprogram server and display the media content in a target subprogram that references media data when the subprogram development object and the publishing object are the same subject object (i.e., the subject object corresponding to the target subprogram developed by the subprogram development object and the subject object corresponding to the account created by the publishing object are the same). For example, when the media data is video data, the media content can be a video frame of the video data, and the media cover image can be a video cover image of the video data; for another example, when the media data is graphic data, the media content can be the text content of the graphic data, and the media cover image can be a cover image of the graphic data. In other words, when the media data is video data, the terminal device can automatically play the video data when the subprogram development object and the publishing object are the same subject object (i.e., the same subject); the terminal device may not allow automatic playback of video data when the subprogram development object and the publishing object are different subject objects (i.e., different subjects).
[0134] Among them, the terminal device can display the media cover image in the target subroutine that references the media data, and at the same time display the media viewing control (for example, a video playback control) in the target subroutine that references the media data. In this way, the subroutine development object can perform a trigger operation on the media viewing control. In this way, the terminal device can respond to the trigger operation performed by the subroutine development object on the media viewing control, receive the media content corresponding to the media data sent by the subroutine server, and display the media content in the target subroutine that references the media data, that is, switch the media cover image to the media content (for example, switch the video cover image to the video frame in the video data, that is, start playing the video data).
[0135] It is understandable that the terminal device can also display the object name of the publishing object while displaying the media cover image in the target subroutine that references the media data. For example, the object name of the publishing object can be displayed above the media cover image; optionally, the terminal device can also display the object name of the publishing object while displaying the media content in the target subroutine that references the media data. For example, the object name of the publishing object can be displayed above the media content.
[0136] It is understandable that when the publishing object (i.e., the administrator) creates an account in the media interaction platform, it is necessary to select the subject type corresponding to the created account (i.e., subject authentication is required), and then determine the subject object under the subject type; when the subroutine development object (e.g., the administrator) creates a subroutine in the subroutine platform, it is necessary to select the subject type corresponding to the created subroutine (e.g., the target subroutine) (i.e., subject authentication is required), and then determine the subject object under the subject type. Among them, the subject object can also be called the authentication subject, and the subject type can include but is not limited to enterprises, individuals, and media. For example, the scope of individuals can be real-name users over the age of 18, the scope of enterprises can be enterprises, branches, and enterprise-related brands, and the scope of media can include but is not limited to newspapers, magazines, television, radio stations, and news agencies. For example, the subject object under an enterprise can be a cosmetics company, and the subject object under the media can be a magazine.
[0137] For ease of understanding, please refer to Figures 12a and 12b, which are schematic diagrams of a scenario for viewing a target subprogram provided in an embodiment of the present application. As shown in Figure 12a, subprogram interface 120a can be the interface displayed by the target subprogram that references the media data when the media server determines that the credential verification has passed; optionally, subprogram interface 120b can be the interface displayed by the target subprogram that references the media data when the media server determines that the credential verification has failed.
[0138] As shown in Figure 12a, the terminal device can receive media information returned by the subprogram server, display media data (for example, media cover image 121a) in the subprogram interface 120a based on the media information, and display the object name (for example, "DDDDD") on the media cover image 121a; optionally, the terminal device can receive a media viewing failure notification 121b returned by the subprogram server, and display the media viewing failure notification 121b in the subprogram interface 120b.
[0139] As shown in Figure 12b, the subroutine interface 122a can be an interface displayed by the target subroutine that references media data when the media server determines that the credential verification is passed; optionally, the subroutine interface 122b can be an interface displayed by the target subroutine that references media data when the media server determines that the credential verification is not passed.
[0140] As shown in Figure 12b, the terminal device can receive the media information returned by the sub-program server, display the media data (for example, the media cover image 123a) in the sub-program interface 122a based on the media information, and display the object name (for example, "EEEEE") on the media cover image 123a; optionally, the terminal device can receive the media viewing failure notification 123b returned by the sub-program server, and display the media viewing failure notification 123b in the sub-program interface 122b.
[0141] Step S303, in response to the triggering operation on the media data in the target subroutine that references the media data, according to the media jump parameter (i.e., jump link) in the media information, the target subroutine that references the media data is switched to the media interaction platform, and the media data is displayed in the media interaction platform.
[0142] It is understandable that when displaying media data in a media interaction platform, the terminal device can display interactive information for the media data through the media interaction platform, but cannot display interactive information for the media data through a target subroutine that references the media data. This can prevent the interactive information from being collected by subroutine developers of different entities, causing user privacy leaks, and improve the security of media data references. The subroutine developers of different entities here refer to subroutine developers that belong to different entities from the publishing objects of the media data. Among them, the interactive information may include but is not limited to the number of likes, comment information, and barrage information. Therefore, when the subroutine development object needs to view the interactive information for the media data, a trigger operation can be performed on the media data (for example, a media cover image) in the target subroutine that references the media data.
[0143] Thus, it can be seen that, in response to a viewing operation on media data in a target subprogram that references media data, the embodiment of the present application can obtain the media information corresponding to the media data, and display the media data in the target subprogram that references the media data based on the media information, thereby improving the flow of media data in the subprograms of the media interaction platform. In addition, in response to a triggering operation on media data in a target subprogram that references media data, the embodiment of the present application can switch the target subprogram that references the media data to the media interaction platform, thereby improving the association relationship between the media interaction platform and the target subprogram that references the media data.
[0144] Further, please refer to Figure 13, which is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a media server, or by a terminal device, or by both a media server and a terminal device. The media server can be the media server 20a in the embodiment corresponding to Figure 2 above, and the terminal device can be the terminal device 20b in the embodiment corresponding to Figure 2 above. For ease of understanding, the embodiment of the present application is described using the method executed by a media server as an example. Among them, the data processing method can include the following steps S401-S403:
[0145] Step S401: When the media data and the subroutine development object for viewing the media data satisfy the media reference conditions at the same time, a temporary ticket is sent to the media interaction platform for displaying the media data;
[0146] Specifically, the media server can receive a media forwarding request sent by a media interaction platform for displaying media data, and obtain the development object identifier of the subroutine development object for viewing the media data and the media identifier of the media data from the media forwarding request. The media interaction platform is different from the subroutine platform for maintaining the subroutine. Furthermore, the media server can perform conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result. Furthermore, the media server can encrypt the development object identifier and the media identifier to obtain a temporary ticket when the conditional analysis result indicates that the media data and the subroutine development object simultaneously meet the media reference condition. The embodiment of the present application does not limit the specific encryption algorithm used for the encryption process. Further, the media server can send a temporary ticket to the media interaction platform. The temporary ticket is used to instruct the media interaction platform to display the media reference control.
[0147] It can be understood that the specific process of the media server performing conditional analysis on the development object identifier and the media identifier can be described as follows: the media server can obtain the control state of the media reference control control associated with the development object identifier, and obtain the control state of the subroutine reference control control associated with the media identifier. The media reference control control refers to the control displayed on the subroutine platform when the subroutine development object logs in to the subroutine platform; the subroutine reference control control refers to the control displayed on the interactive management page of the media interaction platform when the publishing object that publishes media data logs in to the media interaction platform. Furthermore, the media server can perform media review on the media data corresponding to the media identifier and generate a media review result corresponding to the media data. Furthermore, the media server can generate a conditional analysis result indicating that the media data and the subroutine development object simultaneously meet the media reference condition when the control state of the media reference control control is open, the control state of the subroutine reference control control is open, and the media review result indicates that the media review has passed. In other words, the media server can generate a conditional analysis result indicating that the subroutine development object meets the media reference condition when the control state of the media reference control control is in the open state; the media server can generate a conditional analysis result indicating that the media data meets the media reference condition when the control state of the subroutine reference control control is in the open state and the media review result indicates that the media review is passed.
[0148] Among them, media review can be used to determine whether media data is suitable for dissemination (for example, whether it is a sensitive topic). When the media data is suitable for dissemination, a media review result is generated to indicate that the media review has passed; optionally, when the media data is not suitable for dissemination, a media review result is generated to indicate that the media review has failed.
[0149] Optionally, the media server may generate a conditional analysis result indicating that the media data and the subprogram development object do not satisfy the media reference condition when the control state of the subprogram reference control is closed, the subprogram development object and the published object are the same subject object, the control state of the media reference control is open, and the media review result indicates that the media review has passed. In other words, the media server may generate a conditional analysis result indicating that the subprogram development object satisfies the media reference condition when the control state of the media reference control is open; the media server may generate a conditional analysis result indicating that the media data satisfies the media reference condition when the control state of the subprogram reference control is closed, the subprogram development object and the published object are the same subject object, and the media review result indicates that the media review has passed.
[0150] Optionally, the media server may generate a conditional analysis result indicating that both the media data and the subroutine development object satisfy the media reference condition when the control state of the media reference control is on and the control state of the subroutine reference control is on. In other words, the media server may generate a conditional analysis result indicating that the subroutine development object satisfies the media reference condition when the control state of the media reference control is on; and the media server may generate a conditional analysis result indicating that the media data satisfies the media reference condition when the control state of the subroutine reference control is on.
[0151] Optionally, the media server may generate a conditional analysis result indicating that the media data and the subprogram development object do not satisfy the media reference condition when the control state of the subprogram reference control is closed, the subprogram development object and the published object are the same subject object, and the control state of the media reference control is open. In other words, the media server may generate a conditional analysis result indicating that the subprogram development object satisfies the media reference condition when the control state of the media reference control is open; and the media server may generate a conditional analysis result indicating that the media data satisfies the media reference condition when the control state of the subprogram reference control is closed, and the subprogram development object and the published object are the same subject object.
[0152] Optionally, the media server may generate a conditional analysis result indicating that the media data and the subroutine development object do not meet the media reference condition when the control state of the media reference control is closed or the media audit result indicates that the media audit has failed. In other words, the media server may generate a conditional analysis result indicating that the subroutine development object does not meet the media reference condition when the control state of the media reference control is closed; and the media server may generate a conditional analysis result indicating that the media data does not meet the media reference condition when the media audit result indicates that the media audit has failed.
[0153] Optionally, the media server may generate a conditional analysis result indicating that the media data and the subprogram development object do not satisfy the media reference condition when the control state of the subprogram reference control is closed and the subprogram development object and the published object are different subject objects. In other words, the media server may generate a conditional analysis result indicating that the media data do not satisfy the media reference condition when the control state of the subprogram reference control is closed and the subprogram development object and the published object are different subject objects.
[0154] Therefore, without considering the media review results, when the subprogram development object and the publishing object are the same main object, regardless of whether the control state of the subprogram reference control control is closed or open, the media server can generate a conditional analysis result indicating that the media data meets the media reference condition; without considering the media review results, when the subprogram development object and the publishing object are different main objects, if the control state of the subprogram reference control control is closed, the media server can generate a conditional analysis result indicating that the media data does not meet the media reference condition; if the control state of the subprogram reference control control is open, the media server can generate a conditional analysis result indicating that the media data meets the media reference condition.
[0155] Step S402: receiving a list acquisition request sent by the media interaction platform, and returning a subprogram selection list associated with the subprogram development object to the media interaction platform based on the list acquisition request;
[0156] Specifically, the media server can receive a list retrieval request from the video interaction platform and, based on the list retrieval request, retrieve a subprogram selection list associated with the subprogram development object from the subprogram server. Furthermore, the media server can return the subprogram selection list to the video interaction platform. The list retrieval request is sent by the media interaction platform in response to a trigger operation on a media reference control; the video interaction platform is used to display the subprogram selection list.
[0157] The subprogram selection list may include subprograms associated with a subprogram development object. A subprogram associated with a subprogram development object may represent a subprogram developed by the subprogram development object, i.e., the subprogram development object may serve as an administrator or developer of the subprogram associated with the subprogram development object. It should be understood that embodiments of the present application do not limit the number of subprograms associated with a subprogram development object.
[0158] Step S403: receiving a security verification request sent by the media interaction platform, and returning external credentials for the media data to the media interaction platform based on the security verification request.
[0159] Specifically, the media server can receive a security verification request sent by the media interaction platform, and obtain the development object identifier of the subroutine development object, the subroutine identifier of the target subroutine, and the temporary ticket from the security verification request. Further, the media server can perform a security verification on the development object identifier and the temporary ticket to obtain a security verification result. Further, the media server can encrypt the subroutine identifier and the temporary ticket when the security verification result indicates that the security verification has passed, and obtain an external credential for the media data. Among them, the embodiment of the present application does not limit the specific encryption algorithm used for the encryption process. Further, the media server can return an external credential to the media interaction platform. Among them, the security verification request is sent by the media interaction platform in response to a confirmation operation for a target subroutine in the subroutine selection list; the external credential is used to indicate that the subroutine development object references the media data in the target subroutine, and the target subroutine that references the media data has the authority to display the media data.
[0160] It can be understood that the specific process of the media server performing security verification on the development object identifier and the temporary ticket can be described as follows: the media server can decrypt the temporary ticket to obtain the object identifier to be verified and the media identifier of the media data in the temporary ticket. The temporary ticket is obtained by encrypting the object identifier to be verified and the media identifier of the media data. Furthermore, the media server can obtain the number of external credentials obtained by the subroutine development object corresponding to the development object identifier within the target time period. Furthermore, the media server can obtain the control state of the subroutine reference control control associated with the media identifier. The subroutine reference control control refers to the control displayed on the interactive management page of the media interaction platform when the publishing object that publishes the media data logs in to the media interaction platform. Furthermore, the media server can generate a security verification result indicating that the security verification has passed when the development object identifier and the object identifier to be verified are the same, the number of credentials is less than the quantity threshold, and the control state of the subroutine reference control control is in the open state.
[0161] Among them, the quantity threshold can be used to control the maximum number of external credentials that the subroutine development object can obtain within the target time period, so as to prevent the subroutine development object from abusing the function of obtaining external credentials in the media interaction platform. The embodiment of the present application does not limit the specific period duration of the target time period. For example, the target time period can be 24 hours or 10 minutes; the embodiment of the present application does not limit the specific value of the quantity threshold, for example, the quantity threshold can be 5 or 10. Furthermore, when the security check result indicates that the security check has passed, the media server can accumulate the number of credentials to obtain the number of credentials after the accumulation process (that is, the sum of the default parameter (i.e., 1) and the number of credentials is determined as the number of credentials after the accumulation process).
[0162] Optionally, the media server may generate a security verification result indicating that the security verification has passed when the development object identifier and the object identifier to be verified are the same, the number of credentials is less than the number threshold, the control state of the subroutine reference control control is closed, and the subroutine development object and the publishing object are the same subject object.
[0163] Optionally, the media server may generate a security verification result indicating that the security verification failed when the development object identifier and the object identifier to be verified are different, or the number of credentials is not less than the number threshold (i.e., the number of credentials is greater than or equal to the number threshold). When the development object identifier and the object identifier to be verified are different, the media server may determine that the temporary ticket in the security verification request was not generated for the development object identifier. Optionally, the media server may generate a security verification result indicating that the security verification failed when the control state of the subroutine referenced control is closed, and the subroutine development object and the published object are different subject objects.
[0164] Optionally, the media server may generate a security verification result indicating that the security verification has passed when the development object identifier and the object identifier to be verified are the same. Optionally, the media server may generate a security verification result indicating that the security verification has failed when the development object identifier and the object identifier to be verified are different.
[0165] It should be understood that since subroutines for personal entities have a low creation cost, to prevent media data in the media interaction platform from being misused by subroutines for personal entities, embodiments of the present application can be applied to subroutines developed by non-personal entities to reference media data. Therefore, when generating a security verification result indicating that the security verification has passed, the terminal device can ensure that the subject type corresponding to the target subroutines is a non-personal subject. If the subject type corresponding to the target subroutines is a personal subject, a security verification result indicating that the security verification has failed is generated.
[0166] For ease of understanding, please refer to Figure 14, which is a schematic diagram of a process for copying external credentials provided by an embodiment of the present application. As shown in Figure 14, the specific process of copying external credentials may include steps S31 to S36. Steps S31 to S36 are described as follows: the media interaction platform is a video interaction platform, the media data is video data, and the media server is a video server. Among them, the video interaction platform may include a video browsing portal and a front-end display component, and the video server may include a video browsing module (i.e., a video number browsing module), a subroutine selection module, a security verification module, and a credential distribution module.
[0167] As shown in FIG14 , when the subprogram development object views video data through the video browsing portal, a trigger operation can be performed on the media forwarding control in the video interaction platform. In this way, the terminal device can respond to the trigger operation performed by the subprogram development object on the media forwarding control and send a media forwarding request to the video server. Furthermore, the video server can determine whether the media data and the subprogram development object simultaneously meet the media reference condition through the video browsing module. If the media data and the subprogram development object simultaneously meet the media reference condition, the video data subprogram reference portal (i.e., the media reference control) and a temporary ticket are sent to the video browsing portal in step S31.
[0168] As shown in Figure 14, the subroutine development object can click on the reference entry in step S32 to enter the front-end (i.e., perform a trigger operation on the media reference control to enter the front-end presentation component). In this way, the terminal device can respond to the trigger operation performed by the subroutine development object on the media reference control and send a media forwarding request to the video server through the front-end presentation component. Furthermore, the video server can obtain a list of subroutines associated with the subroutine development object (i.e., a subroutine selection list) through the subroutine selection module and return the subroutine list to the front-end presentation component in step S33.
[0169] As shown in Figure 14, the subroutine development object can perform a confirmation operation on the subroutine list (i.e., select a specific target subroutine in the subroutine list). In this way, the terminal device can respond to the confirmation operation performed by the subroutine development object on the subroutine list by sending a security verification request to the video server through step S34. The security verification request may include the selected subroutine name (i.e., the subroutine identifier of the target subroutine), the temporary ticket, and the development object identifier of the subroutine development object. Furthermore, the video server can execute step S35 through the security verification module, parse the temporary ticket, perform a security verification, and then send the security verification result to the credential distribution module. In this way, when the security verification result indicates that the security verification has passed, the credential distribution module can convert the temporary ticket into a safe and harmless external credential and return the external credential to the front-end presentation component through step S36, which can be pasted into the subroutine.
[0170] It can be seen from this that the embodiment of the present application can obtain a temporary ticket for the media data when the media data and the subroutine development object meet the media reference condition at the same time, and then obtain an external certificate for the media data. At this time, regardless of whether the subroutine development object and the publishing object that publishes the media data are the same subject object, as long as the media data and the subroutine development object meet the media reference condition at the same time, the embodiment of the present application can obtain an external certificate for referencing the media data in the target subroutine, thereby displaying the media data in the target subroutine that references the media data (that is, the media data can be referenced by the subroutine development object of the unrestricted subject to its own subroutine), thereby improving the flow capacity of the media data in the subroutine in the media interaction platform. In addition, by determining whether the media data and the subroutine development object meet the media reference condition at the same time, the security of referencing the media data can be improved.
[0171] Further, please refer to Figure 15, which is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a media server, or by a terminal device, or by both a media server and a terminal device. The media server can be the media server 20a in the embodiment corresponding to Figure 2 above, and the terminal device can be the terminal device 20b in the embodiment corresponding to Figure 2 above. For ease of understanding, the embodiment of the present application is described using the method executed by a media server as an example. Among them, the data processing method can include the following steps S501-S503:
[0172] Step S501, receiving a subprogram identifier and external credentials of a target subprogram referencing media data sent by a subprogram server;
[0173] Among them, the external credential is obtained by the subprogram server after receiving the subprogram viewing request sent by the target subprogram that references the media data; the subprogram identifier is obtained by the subprogram server from the subprogram viewing request; the subprogram viewing request is sent by the target subprogram that references the media data in response to the viewing operation on the media data in the target subprogram that references the media data.
[0174] Step S502: Verify the subroutine identifier and the external certificate to obtain a certificate verification result.
[0175] Specifically, the media server can decrypt the external credential to obtain the identifier of the program to be verified in the external credential. The external credential is obtained by encrypting the identifier of the program to be verified and the temporary ticket. Further, the media server can obtain the control state of the subroutine reference control control associated with the media identifier. The subroutine reference control control refers to the control displayed in the interactive management page of the media interactive platform when the publishing object that publishes media data logs in to the media interactive platform. Further, the media server can generate a credential verification result indicating that the credential verification has passed when the subroutine identifier and the identifier of the program to be verified are the same and the control state of the subroutine reference control control is in the open state. The credential verification can ensure that the external credential is indeed derived from the subroutine development object of the target subroutine, thereby ensuring the security and traceability of the external credential.
[0176] Optionally, the media server may generate a credential verification result indicating that the credential verification has passed when the subprogram identifier and the program identifier to be verified are the same, the control state of the subprogram reference control control is closed, and the subprogram development object and the publishing object are the same subject object.
[0177] Optionally, the media server may generate a credential verification result indicating that the credential verification failed when the subprogram identifier and the program identifier to be verified are different. When the subprogram identifier and the program identifier to be verified are different, the media server may determine that the temporary ticket was not generated for the subprogram identifier. Optionally, the media server may generate a credential verification result indicating that the credential verification failed when the control state of the subprogram reference control is closed and the subprogram development object and the published object are different subject objects.
[0178] Optionally, the media server may generate a credential verification result indicating that the credential verification is passed when the subprogram identifier and the program identifier to be verified are the same. Optionally, the media server may generate a credential verification result indicating that the credential verification is failed when the subprogram identifier and the program identifier to be verified are different.
[0179] Optionally, upon receiving the subprogram identifier and external credentials from the subprogram server, the media server may also obtain the media status of the media data. The media status may include a normal status and a delisted status. The delisted status may indicate that the publisher has deleted the published media data. Furthermore, when the media status is the delisted status, the media server may generate a credential verification result indicating a credential verification failure, and then return a media viewing failure notification to the subprogram server. For example, the media viewing failure notification may include a message stating that the video cannot be played.
[0180] Step S503: When the credential verification result indicates that the credential verification is passed, media information corresponding to the media data is returned to the subprogram server.
[0181] The subprogram server is configured to return the media information to the target subprogram that references the media data; the target subprogram that references the media data is configured to display the media data based on the media information. The specific process of displaying the media data by the target subprogram that references the media data can be found in the description of step S302 in the embodiment corresponding to FIG. 11 above, and will not be further elaborated here.
[0182] It should be understood that the subprogram server can obtain the media content corresponding to the media data from the media server, and then, when receiving the media information returned by the media server, perform a subject analysis on the subprogram development object and the publication object to obtain the subject analysis result. In this way, when the subject analysis result indicates that the subprogram development object and the publication object are different subject objects, there is no need to send the media content corresponding to the media data to the terminal device, but to send the media information to the terminal device. In this way, the terminal device can send a content acquisition request to the subprogram server in response to a trigger operation for the media viewing control. In this way, after receiving the content acquisition request sent by the terminal device, the subprogram server can send the media content corresponding to the media data to the terminal device. Optionally, when the subject analysis result indicates that the subprogram development object and the publication object are the same subject object, the media content and media information corresponding to the media data are sent to the terminal device together. Among them, since the subject analysis result indicates that the subprogram development object and the publishing object are different subject objects, the target subprogram that references the media data does not need to display the media content corresponding to the media data. Before the subprogram server receives the content acquisition request sent by the terminal device, the target subprogram that references the media data does not use the media content corresponding to the media data. Therefore, the subprogram server does not need to send the media content that it does not use to the terminal device, thereby saving network resources.
[0183] For ease of understanding, please refer to Figure 16, which is a flow chart of a method for exchanging external certificates provided in an embodiment of the present application. As shown in Figure 16, the specific process of exchanging external certificates may include steps S37 to S42, and steps S37 to S42 may be subsequent steps of steps S31 to S36 in the embodiment corresponding to Figure 14 above. Steps S37 to S42 are described by taking the media interaction platform as a video interaction platform, the media data as video data, and the media server as a video server as an example. Among them, the target subroutine may include a subroutine page, the video interaction platform may include a video playback component, the subroutine server may also be referred to as a subroutine background, and the video server may include a video verification component (i.e., a video number verification component).
[0184] As shown in Figure 16, the subroutine development object can edit the subroutine code through the subroutine development tool, and then publish the subroutine code through the subroutine platform. The subroutine platform can send the subroutine code to the subroutine background. In this way, the subroutine background can save the external credentials in the subroutine code sent by the subroutine platform through step S37.
[0185] As shown in Figure 16, the interactive object (for example, the subroutine development object) can open the subroutine page (that is, open the target subroutine that references the media data), and view the video number video (that is, video data) through step S38 (that is, perform a viewing operation on the media data in the target subroutine that references the media data). In this way, the terminal device can respond to the viewing operation performed by the subroutine development object on the media data in the target subroutine that references the media data, and send a subroutine viewing request to the subroutine background. Furthermore, the subroutine background can pass the subroutine identifier and external credentials to the video server through step S39 (that is, pass the subroutine identifier and external credentials to the video server through the intranet interface). In this way, the video server can perform credential verification through the video verification component, and then return the video basic information (that is, media information) to the subroutine background through step S40 when the credential verification passes.
[0186] As shown in Figure 16, the subroutine background can return the basic video information to the target subroutine through step S41, so that the target subroutine can display the media data in the subroutine page based on the basic video information. Furthermore, the subroutine development object can perform a trigger operation on the media data in the subroutine page (for example, click on the video data), so that the terminal device can respond to the trigger operation on the media data in the subroutine page, jump to the video number client (i.e., the video interaction platform) through step S42 (i.e., provide the media jump parameter to the video playback component in the video interaction platform), obtain the complete video playback information (i.e., media content) from the video browsing module through the video playback component, and then play the video data (i.e., display the video data in the video interaction platform).
[0187] It can be seen from this that the embodiment of the present application can receive a subprogram viewing request sent by a target subprogram that references media data, perform credential verification based on the subprogram viewing request, and then obtain media information corresponding to the media data when the credential verification passes, and send the media information to the target subprogram that references the media data, so that the target subprogram that references the media data displays the media data based on the media information, thereby improving the flow capacity of media data in the subprogram in the media interaction platform.
[0188] Further, referring to FIG. 17 , FIG. 17 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The data processing device 1 may include: a control display module 11, a list display module 12, and a credential acquisition module 13; further, the data processing device 1 may also include: a code generation module 14, a request sending module 15, an information receiving module 16, and a platform switching module 17;
[0189] A control display module 11 is used to display a media reference control in a media interaction platform for displaying media data when both the media data and the subroutine development object for viewing the media data meet the media reference condition; the media interaction platform is different from the subroutine platform for maintaining the subroutine;
[0190] The control display module 11 includes: a data display unit 111, a control display unit 112;
[0191] The data display unit 111 is used to display media data in the media interaction platform; the media interaction platform includes a media forwarding control;
[0192] The control display unit 112 is configured to respond to a trigger operation on the media forwarding control and display the media reference control in the media interaction platform when the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition.
[0193] The control display unit 112 is specifically configured to respond to a trigger operation for the media forwarding control, generate a media forwarding request based on the development object identifier of the subroutine development object and the media identifier of the media data, and send the media forwarding request to the media server. The media forwarding request is configured to instruct the media server to perform a conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result. The media server is configured to return a temporary ticket to the media interaction platform when the conditional analysis result indicates that the media data and the subroutine development object simultaneously meet the media reference condition. The temporary ticket is obtained by encrypting the development object identifier and the media identifier by the media server.
[0194] The control display unit 112 is specifically configured to receive a temporary ticket returned by the media server, and display a media reference control in the media interaction platform based on the temporary ticket.
[0195] The specific implementation of the data display unit 111 and the control display unit 112 can refer to the description of step S101 in the embodiment corresponding to FIG3 and the description of step S201 in the embodiment corresponding to FIG9 , which will not be repeated here.
[0196] A list display module 12 is configured to respond to a trigger operation on a media reference control and display a subroutine selection list associated with a subroutine development object in the media interaction platform;
[0197] The list display module 12 includes: a first subprogram acquisition unit 121, a first list display unit 122, a second subprogram acquisition unit 123, and a second list display unit 124;
[0198] The first subprogram acquisition unit 121 is configured to respond to a trigger operation on a media reference control and acquire a subprogram associated with a subprogram development object;
[0199] The first list display unit 122 is configured to, when the number of subprograms associated with the subprogram development object is one, determine that the subprogram associated with the subprogram development object is a target subprogram, and display a subprogram selection list associated with the subprogram development object on the media interaction platform; the subprogram selection list includes the target subprogram in a default selected state;
[0200] The second subprogram acquisition unit 123 is configured to respond to a trigger operation on the media reference control and acquire a subprogram associated with the subprogram development object;
[0201] The second list display unit 124 is configured to display a subprogram selection list associated with the subprogram development object in the media interaction platform when the number of subprograms associated with the subprogram development object is multiple; the subprogram selection list includes multiple subprograms in an unselected state;
[0202] Among them, the specific implementation methods of the first subroutine acquisition unit 121, the first list display unit 122, the second subroutine acquisition unit 123 and the second list display unit 124 can be found in the description of step S102 in the embodiment corresponding to Figure 3 above, and will not be repeated here.
[0203] The credential acquisition module 13 is used to respond to the confirmation operation on the subroutine selection list and obtain the external credential for the media data; the external credential is used to instruct the subroutine development object to reference the media data in the target subroutine, and the target subroutine that references the media data has the authority to display the media data; the target subroutine is the subroutine selected by the subroutine development object in the subroutine selection list.
[0204] The credential acquisition module includes: a first credential acquisition unit 131, a second credential acquisition unit 132;
[0205] A first credential acquisition unit 131 is configured to display a selection confirmation control for a target subprogram in the media interaction platform;
[0206] The first credential obtaining unit 131 is configured to obtain an external credential for media data in response to a triggering operation on a selection confirmation control.
[0207] The first credential acquisition unit 131 is specifically configured to generate a security verification request based on the development object identifier of the subprogram development object, the subprogram identifier of the target subprogram, and the temporary ticket in response to a trigger operation for a selection confirmation control, and send the security verification request to the media server. The security verification request is configured to instruct the media server to perform a security verification on the development object identifier and the temporary ticket to obtain a security verification result. The media server is configured to return an external credential for the media data to the media interaction platform when the security verification result indicates that the security verification has passed. The external credential is obtained by encrypting the subprogram identifier and the temporary ticket by the media server. The temporary ticket is obtained by encrypting the development object identifier and the media identifier of the media data by the media server.
[0208] The first credential obtaining unit 131 is specifically configured to receive an external credential returned by the media server.
[0209] The second credential obtaining unit 132 is configured to respond to a selection operation on a plurality of subprograms in an unselected state in the subprogram selection list, determine the subprogram selected by the selection operation as a target subprogram, and update the target subprogram in the subprogram selection list from an unselected state to a selected state;
[0210] The second credential obtaining unit 132 is configured to display a selection confirmation control for a target subroutine in a selected state;
[0211] The second credential obtaining unit 132 is configured to obtain an external credential for the media data in response to a triggering operation on the selection confirmation control.
[0212] Among them, the specific implementation of the first credential acquisition unit 131 and the second credential acquisition unit 132 can refer to the description of step S103 in the embodiment corresponding to Figure 3 and the description of step S203 in the embodiment corresponding to Figure 9, which will not be repeated here.
[0213] The credential acquisition module 13 is further specifically configured to copy the external credential and display reference prompt information in the media interaction platform based on the external credential, wherein the reference prompt information is configured to prompt that the media data is referenced in the target subprogram based on the copied external credential.
[0214] The data processing device 1 is further specifically configured to display the media reference description information and the media reference control control corresponding to the media reference description information in the subroutine platform; the control state of the media reference control control is closed;
[0215] The data processing device 1 is further specifically configured to respond to a trigger operation on a media reference control control and update the media reference control control from a closed state to an open state; the media reference control control in the open state is used to indicate that the subroutine development object meets the media reference condition;
[0216] The data processing device 1 is further specifically configured to update and display the media reference control from an open state to a closed state when a default time period is reached.
[0217] Among them, the media interaction platform is also used to provide an interactive management page to the publishing object used to publish media data, and the interactive management page includes subroutine reference description information and a subroutine reference control control corresponding to the subroutine reference description information; the control state of the subroutine reference control control is a closed state; the subroutine reference control control is used to indicate that when the publishing object performs a trigger operation on the subroutine reference control control, the subroutine reference control control is updated from a closed state to an open state; the subroutine reference control control with an open state is used to indicate that the media data published by the publishing object meets the media reference conditions.
[0218] Optionally, a code generation module 14 is configured to generate a subroutine code including the external credential in response to a paste operation on the copied external credential;
[0219] The code generation module 14 is used to display the subroutine code in the subroutine platform and send the subroutine code to the subroutine server in response to the publishing operation for the subroutine code; the subroutine server is used to compile the subroutine code to obtain a target subroutine that references the media data; the target subroutine that references the media data is used to instruct the subroutine server to push a media reference notification to the publishing object used to publish the media data.
[0220] The subprogram server is configured to compare the media data with the media reference condition during program compilation of the subprogram code to obtain a condition comparison result; the subprogram server is further configured to return a program compilation failure notification to the subprogram platform when the condition comparison result indicates that the media data does not satisfy the media reference condition;
[0221] The data processing device 1 is further specifically configured to receive a program compilation failure notification returned by the subprogram server, and display the program compilation failure notification on the subprogram platform.
[0222] Optionally, the request sending module 15 is configured to respond to a viewing operation on media data in a target subprogram that references the media data, generate a subprogram viewing request based on a subprogram identifier of the target subprogram that references the media data, and send the subprogram viewing request to the subprogram server; the subprogram viewing request is configured to instruct the subprogram server to obtain external credentials for the media data and then send the subprogram identifier and the external credentials to the media server; the media server is configured to perform credential verification on the subprogram identifier and the external credentials to obtain a credential verification result; the media server is further configured to return media information corresponding to the media data to the subprogram server when the credential verification result indicates that the credential verification has passed; and the subprogram server is configured to return the media information to the target subprogram that references the media data.
[0223] An information receiving module 16 is configured to receive media information returned by the subprogram server and display the media data in a target subprogram that references the media data based on the media information;
[0224] The media information includes a media cover image of the media data;
[0225] The information receiving module 16 is specifically used to display the media cover image in the target subprogram that references the media data when the subprogram development object and the publishing object are different subject objects;
[0226] The information receiving module 16 is specifically configured to receive media content corresponding to media data sent by the subprogram server when the subprogram development object and the publishing object are the same subject object, and display the media content in the target subprogram that references the media data.
[0227] The platform switching module 17 is used to respond to the trigger operation of the media data in the target subroutine that references the media data, switch the target subroutine that references the media data to the media interaction platform according to the media jump parameter in the media information, and display the media data in the media interaction platform.
[0228] The specific implementations of the control display module 11, the list display module 12, the credential acquisition module 13, the code generation module 14, the request sending module 15, the information receiving module 16, and the platform switching module 17 can be found in the description of steps S101 to S103 in the embodiment corresponding to FIG3 , steps S201 to S205 in the embodiment corresponding to FIG9 , and steps S301 to S303 in the embodiment corresponding to FIG11 , which will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated here either.
[0229] Further, referring to FIG. 18 , FIG. 18 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The data processing device 2 may include: a bill sending module 21 , a list returning module 22 , and a voucher returning module 23 ; further, the data processing device 2 may also include: a voucher verification module 24 ;
[0230] The ticket sending module 21 is used to send a temporary ticket to the media interaction platform used to display the media data when the media data and the subroutine development object for viewing the media data simultaneously meet the media reference conditions; the temporary ticket is used to instruct the media interaction platform to display the media reference control; the media interaction platform is different from the subroutine platform used to maintain the subroutine;
[0231] The bill sending module 21 includes: a condition analysis unit 211, a bill sending unit 212;
[0232] The condition analysis unit 211 is configured to receive a media forwarding request sent by a media interaction platform for displaying media data, and obtain a development object identifier of a subprogram development object for viewing media data and a media identifier of the media data from the media forwarding request;
[0233] The condition analysis unit 211 is used to perform condition analysis on the development object identifier and the media identifier to obtain a condition analysis result;
[0234] The condition analysis unit 211 is specifically configured to obtain the control state of the media reference control associated with the development object identifier and the control state of the subroutine reference control associated with the media identifier; the media reference control refers to the control displayed on the subroutine platform when the subroutine development object logs into the subroutine platform; the subroutine reference control refers to the control displayed on the interaction management page of the media interaction platform when the publishing object that publishes media data logs into the media interaction platform;
[0235] The condition analysis unit 211 is specifically configured to perform media review on the media data corresponding to the media identifier and generate a media review result corresponding to the media data;
[0236] The conditional analysis unit 211 is specifically used to generate a conditional analysis result indicating that the media data and the subroutine development object simultaneously meet the media reference condition when the control state of the media reference control control is open, the control state of the subroutine reference control control is open, and the media review result indicates that the media review is passed.
[0237] The ticket sending unit 212 is configured to encrypt the development object identifier and the media identifier to obtain a temporary ticket when the condition analysis result indicates that the media data and the subroutine development object simultaneously meet the media reference condition;
[0238] The ticket sending unit 212 is configured to send a temporary ticket to the media interaction platform.
[0239] The specific implementation of the condition analysis unit 211 and the bill sending unit 212 can be found in the description of step S401 in the embodiment corresponding to FIG13 above, and will not be repeated here.
[0240] The list return module 22 is configured to receive a list acquisition request sent by the media interaction platform and return a subroutine selection list associated with the subroutine development object to the media interaction platform based on the list acquisition request; the list acquisition request is sent by the media interaction platform in response to a trigger operation on a media reference control;
[0241] The credential return module 23 is used to receive a security verification request sent by the media interaction platform and return external credentials for the media data to the media interaction platform based on the security verification request; the security verification request is sent by the media interaction platform in response to a confirmation operation on a target subroutine in the subroutine selection list; the external credentials are used to instruct the subroutine development object to reference the media data in the target subroutine, and the target subroutine that references the media data has the authority to display the media data.
[0242] The credential return module 23 includes: a security verification unit 231, a credential return unit 232;
[0243] The security verification unit 231 is configured to receive a security verification request sent by the media interaction platform, and obtain the development object identifier of the subprogram development object, the subprogram identifier of the target subprogram, and the temporary ticket from the security verification request;
[0244] The security verification unit 231 is used to perform security verification on the development object identifier and the temporary ticket to obtain a security verification result;
[0245] The security verification unit 231 is specifically configured to decrypt the temporary ticket to obtain the identification of the object to be verified and the media identification of the media data in the temporary ticket; the temporary ticket is obtained by encrypting the identification of the object to be verified and the media identification of the media data;
[0246] The security verification unit 231 is specifically used to obtain the number of external credentials obtained by the subprogram development object corresponding to the development object identifier within a target time period;
[0247] The security verification unit 231 is specifically used to obtain the control state of the subroutine reference control control associated with the media identifier; the subroutine reference control control refers to the control displayed on the interaction management page of the media interaction platform when the publishing object that publishes media data logs into the media interaction platform;
[0248] The security verification unit 231 is specifically used to generate a security verification result indicating that the security verification has passed when the development object identifier and the to-be-verified object identifier are the same, the number of credentials is less than the number threshold, and the control state of the subroutine reference control control is open.
[0249] The credential return unit 232 is configured to encrypt the subroutine identifier and the temporary ticket to obtain an external credential for the media data when the security verification result indicates that the security verification has passed;
[0250] The credential returning unit 232 is configured to return the external credential to the media interaction platform.
[0251] Among them, the specific implementation of the security verification unit 231 and the credential returning unit 232 can refer to the description of step S403 in the embodiment corresponding to Figure 13 above, and will not be repeated here.
[0252] Optionally, the credential verification module 24 is configured to receive a subprogram identifier and an external credential of a target subprogram that references media data, sent by a subprogram server; the external credential is obtained by the subprogram server after receiving a subprogram viewing request sent by the target subprogram that references media data; the subprogram identifier is obtained by the subprogram server from the subprogram viewing request; and the subprogram viewing request is sent by the target subprogram that references media data in response to a viewing operation on the media data in the target subprogram that references media data.
[0253] The voucher verification module 24 is used to perform voucher verification on the subroutine identifier and the external voucher to obtain a voucher verification result;
[0254] The credential verification module 24 is specifically used to decrypt the external credential to obtain the program identifier to be verified in the external credential; the external credential is obtained by encrypting the program identifier to be verified and the temporary ticket;
[0255] The credential verification module 24 is specifically used to obtain the control status of the subroutine reference control control associated with the media identifier; the subroutine reference control control refers to the control displayed on the interaction management page of the media interaction platform when the publisher of the media data logs in to the media interaction platform;
[0256] The credential verification module 24 is specifically configured to generate a credential verification result indicating that the credential verification has passed when the subprogram identifier is the same as the program identifier to be verified and the control state of the subprogram reference control is in the open state.
[0257] The credential verification module 24 is used to return media information corresponding to the media data to the subprogram server when the credential verification result indicates that the credential verification is passed; the subprogram server is used to return the media information to the target subprogram that references the media data; the target subprogram that references the media data is used to display the media data based on the media information.
[0258] The specific implementations of the bill sending module 21, the list returning module 22, the voucher returning module 23, and the voucher verification module 24 can be found in the description of steps S401 to S403 in the embodiment corresponding to FIG13 and steps S501 to S503 in the embodiment corresponding to FIG15 , and will not be repeated here. Furthermore, the beneficial effects of the same method will not be repeated here.
[0259] Further, please refer to Figure 19, which is a structural diagram of a computer device provided in an embodiment of the present application. The computer device can be a terminal device or a media server. As shown in Figure 19, the computer device 4000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the above-mentioned computer device 4000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, in some embodiments, the user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk storage. Optionally, the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001. As shown in FIG. 19 , the memory 1005 , which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application program.
[0260] In the computer device 4000 shown in Figure 19, the network interface 1004 can provide network communication functions; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005.
[0261] It should be understood that the computer device 4000 described in the embodiments of the present application can execute the data processing methods described in the embodiments corresponding to Figures 3, 9, 11, 13, or 15 above, and can also execute the data processing device 1 described in the embodiment corresponding to Figure 17 above and the data processing device 2 described in the embodiment corresponding to Figure 18 above, and the description thereof will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated here.
[0262] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores the computer program executed by the data processing device 1 and the data processing device 2 mentioned above. When the processor executes the computer program, it can execute the description of the data processing method in the embodiment corresponding to Figures 3, 9, 11, 13 or 15 above. Therefore, it will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0263] In addition, it should be noted that: the embodiment of the present application also provides a computer program product, which may include a computer program, and the computer program may be stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor can execute the computer program, so that the computer device performs the description of the data processing method in the embodiments corresponding to Figures 3, 9, 11, 13 or 15 above, and therefore, will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer program product embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0264] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0265] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A data processing method, characterized in that: The method is executed by a terminal device, and includes: When the media data and the subprogram development object for viewing the media data satisfy the media reference condition at the same time, displaying the media reference control in the media interaction platform for displaying the media data; the media interaction platform is different from the subprogram platform for maintaining the subprogram; the subprogram development object is an object for logging into the subprogram platform; In response to a trigger operation on the media reference control, displaying a subprogram selection list associated with the subprogram development object in the media interaction platform; In response to a confirmation operation on the subprogram selection list, an external credential for the media data is obtained; the external credential is used to instruct the subprogram development object to reference the media data in a target subprogram, and the target subprogram that references the media data has the authority to display the media data; the target subprogram is a subprogram obtained by the subprogram development object performing the confirmation operation on the subprogram selection list.
2. The method according to claim 1, characterized in that When the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition, displaying the media reference control in the media interaction platform for displaying the media data includes: Displaying media data in a media interaction platform; the media interaction platform includes a media forwarding control; In response to a trigger operation on the media forwarding control, when the media data and the subprogram development object for viewing the media data simultaneously meet a media reference condition, a media reference control is displayed in the media interaction platform.
3. The method according to claim 1, characterized in that The step of displaying a subprogram selection list associated with the subprogram development object in the media interaction platform in response to a triggering operation on the media reference control includes: In response to a trigger operation on the media reference control, obtaining a subprogram associated with the subprogram development object; When the number of subprograms associated with the subprogram development object is one, determining the subprogram associated with the subprogram development object as a target subprogram, and displaying a subprogram selection list associated with the subprogram development object in the media interaction platform; the subprogram selection list includes the target subprogram in a default selected state; Then, in response to the confirmation operation on the subprogram selection list, obtaining the external credentials for the media data includes: Displaying a selection confirmation control for the target subprogram in the media interaction platform; In response to a triggering operation on the selection confirmation control, an external credential for the media data is obtained.
4. The method according to claim 1, characterized in that: The step of displaying a subprogram selection list associated with the subprogram development object in the media interaction platform in response to a triggering operation on the media reference control includes: In response to a trigger operation on the media reference control, obtaining a subprogram associated with the subprogram development object; When there are multiple subprograms associated with the subprogram development object, displaying a subprogram selection list associated with the subprogram development object in the media interaction platform; the subprogram selection list includes multiple subprograms in an unselected state; Then, in response to the confirmation operation on the subprogram selection list, obtaining the external credentials for the media data includes: In response to a selection operation on a plurality of subprograms in the subprogram selection list that are in an unselected state, determining the subprogram selected by the selection operation as a target subprogram, and updating and displaying the target subprogram in the subprogram selection list from the unselected state to a selected state; displaying a selection confirmation control for the target subprogram in the selected state; In response to a triggering operation on the selection confirmation control, an external credential for the media data is obtained.
5. The method according to claim 2, characterized in that: The responding to the triggering operation of the media forwarding control, when the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition, displaying the media reference control in the media interaction platform, comprises: In response to a trigger operation on the media forwarding control, a media forwarding request is generated based on the development object identifier of the subprogram development object and the media identifier of the media data, and the media forwarding request is sent to a media server; the media forwarding request is used to instruct the media server to perform conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result; the media server is used to return a temporary ticket to the media interaction platform when the conditional analysis result indicates that the media data and the subprogram development object simultaneously meet the media reference condition; the temporary ticket is obtained by the media server encrypting the development object identifier and the media identifier; The temporary ticket returned by the media server is received, and a media reference control is displayed in the media interaction platform based on the temporary ticket.
6. The method according to any one of claims 1 to 5, characterized in that: The step of obtaining, in response to a triggering operation of the selection confirmation control, an external credential for the media data includes: In response to the triggering operation for the selection confirmation control, a security verification request is generated based on the development object identifier of the subprogram development object, the subprogram identifier of the target subprogram and the temporary ticket, and the security verification request is sent to the media server; the security verification request is used to instruct the media server to perform a security verification on the development object identifier and the temporary ticket to obtain a security verification result; the media server is used to return an external credential for the media data to the media interaction platform when the security verification result indicates that the security verification has passed; the external credential is obtained by the media server encrypting the subprogram identifier and the temporary ticket; the temporary ticket is obtained by the media server encrypting the development object identifier and the media identifier of the media data; Receive the external credential returned by the media server.
7. The method according to claim 1, characterized in that The method further comprises: Copying the external credential, and displaying reference prompt information in the media interaction platform based on the external credential; the reference prompt information is used to prompt that the media data is referenced in the target subprogram based on the copied external credential; in response to a paste operation on the copied external credential, generating a subprogram code including the external credential; The subprogram code is displayed in the subprogram platform, and in response to a publishing operation on the subprogram code, the subprogram code is sent to a subprogram server; the subprogram server is used to compile the subprogram code to obtain a target subprogram that references the media data; the target subprogram that references the media data is used to instruct the subprogram server to push a media reference notification to a publishing object used to publish the media data.
8. The method according to claim 7, characterized in that The method further comprises: In response to a viewing operation on the media data in the target subprogram that references the media data, a subprogram viewing request is generated based on a subprogram identifier of the target subprogram that references the media data, and the subprogram viewing request is sent to the subprogram server; the subprogram viewing request is used to instruct the subprogram server to obtain the external credential for the media data and then send the subprogram identifier and the external credential to the media server; the media server is used to perform credential verification on the subprogram identifier and the external credential to obtain a credential verification result; the media server is also used to return media information corresponding to the media data to the subprogram server when the credential verification result indicates that the credential verification is passed; the subprogram server is used to return the media information to the target subprogram that references the media data; receiving the media information returned by the subprogram server, and displaying the media data in a target subprogram that references the media data based on the media information; The method further comprises: In response to a trigger operation on the media data in a target subprogram that references the media data, the target subprogram that references the media data is switched to the media interaction platform according to a media jump parameter in the media information, and the media data is displayed in the media interaction platform.
9. A data processing method, characterized in that: The method is performed by a media server and includes: When the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition, a temporary ticket is sent to a media interaction platform for displaying the media data; the temporary ticket is used to instruct the media interaction platform to display a media reference control; the media interaction platform is different from the subprogram platform for maintaining the subprogram; the subprogram development object is an object for logging into the subprogram platform; receiving a list acquisition request sent by the media interaction platform, and returning a subprogram selection list associated with the subprogram development object to the media interaction platform based on the list acquisition request; the list acquisition request is sent by the media interaction platform in response to a trigger operation on the media reference control; Receive a security verification request sent by the media interaction platform, and return external credentials for the media data to the media interaction platform based on the security verification request; the security verification request is sent by the media interaction platform in response to a confirmation operation on a target subprogram in the subprogram selection list; the external credentials are used to instruct the subprogram development object to reference the media data in the target subprogram, and the target subprogram that references the media data has the authority to display the media data.
10. The method according to claim 9, characterized in that When the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition, sending a temporary ticket to the media interaction platform for displaying the media data includes: Receiving a media forwarding request sent by a media interaction platform for displaying media data, and acquiring a development object identifier of a subprogram development object for viewing the media data and a media identifier of the media data from the media forwarding request; Performing conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result; When the condition analysis result indicates that the media data and the subprogram development object simultaneously satisfy the media reference condition, encrypting the development object identifier and the media identifier to obtain a temporary ticket; The temporary ticket is sent to the media interaction platform.
11. The method according to claim 10, characterized in that The conditional analysis of the development object identifier and the media identifier is performed to obtain a conditional analysis result, including: Acquire the control state of the media reference control control associated with the development object identifier, and acquire the control state of the subprogram reference control control associated with the media identifier; the media reference control control refers to the control displayed in the subprogram platform when the subprogram development object logs in to the subprogram platform; the subprogram reference control control refers to the control displayed in the interaction management page of the media interaction platform when the publishing object that publishes the media data logs in to the media interaction platform; Performing media review on the media data corresponding to the media identifier, and generating a media review result corresponding to the media data; When the control state of the media reference control control is open, the control state of the subroutine reference control control is open, and the media review result indicates that the media review is passed, a conditional analysis result is generated to indicate that the media data and the subroutine development object simultaneously meet the media reference condition.
12. The method according to claim 9, characterized in that The receiving the security verification request sent by the media interaction platform, and returning the external credentials for the media data to the media interaction platform based on the security verification request, includes: Receiving a security verification request sent by the media interaction platform, and acquiring a development object identifier of the subprogram development object, a subprogram identifier of the target subprogram, and the temporary ticket from the security verification request; Performing security verification on the development object identifier and the temporary ticket to obtain a security verification result; When the security check result indicates that the security check has passed, encrypting the subprogram identifier and the temporary ticket to obtain an external credential for the media data; The external credential is returned to the media interaction platform.
13. The method according to claim 12, characterized in that: The performing of security verification on the development object identifier and the temporary ticket to obtain a security verification result includes: Decrypting the temporary ticket to obtain the identification of the object to be verified and the media identification of the media data in the temporary ticket; the temporary ticket is obtained by encrypting the identification of the object to be verified and the media identification of the media data; Obtaining the number of external credentials obtained by the subprogram development object corresponding to the development object identifier within a target time period; Acquiring a control state of a subprogram reference control control associated with the media identifier; the subprogram reference control control refers to a control displayed in an interaction management page of the media interaction platform when a publishing object that publishes the media data logs into the media interaction platform; When the development object identifier and the to-be-verified object identifier are identical, the number of credentials is less than a quantity threshold, and the control state of the subprogram reference control control is in an open state, a security verification result indicating that the security verification has passed is generated.
14. The method according to claim 9, characterized in that The method further comprises: receiving a subprogram identifier of a target subprogram that references the media data and the external credential sent by a subprogram server; the external credential is obtained by the subprogram server after receiving a subprogram viewing request sent by the target subprogram that references the media data; the subprogram identifier is obtained by the subprogram server from the subprogram viewing request; the subprogram viewing request is sent by the target subprogram that references the media data in response to a viewing operation on the media data in the target subprogram that references the media data; Performing credential verification on the subroutine identifier and the external credential to obtain a credential verification result; When the credential verification result indicates that the credential verification is passed, media information corresponding to the media data is returned to the subprogram server; the subprogram server is used to return the media information to the target subprogram that references the media data; the target subprogram that references the media data is used to display the media data based on the media information.
15. The method according to claim 14, characterized in that The performing credential verification on the subprogram identifier and the external credential to obtain a credential verification result includes: Decrypting the external credential to obtain the identification of the program to be verified in the external credential; the external credential is obtained by encrypting the identification of the program to be verified and the temporary ticket; Acquiring a control state of a subprogram reference control control associated with the media identifier; the subprogram reference control control refers to a control displayed in an interaction management page of the media interaction platform when a publishing object that publishes the media data logs into the media interaction platform; When the subprogram identifier and the to-be-verified program identifier are identical, and the control state of the subprogram reference control control is in an open state, a credential verification result indicating that the credential verification has passed is generated.
16. A data processing device, characterized in that: include: A control display module, used for displaying a media reference control in a media interaction platform for displaying the media data when the media data and the subprogram development object for viewing the media data both meet the media reference condition; the media interaction platform is different from the subprogram platform for maintaining the subprogram; The subprogram development object is an object that logs into the subprogram platform; A list display module, configured to respond to a trigger operation on the media reference control and display a subprogram selection list associated with the subprogram development object in the media interaction platform; a credential acquisition module, configured to respond to a confirmation operation on the subprogram selection list and acquire an external credential for the media data; the external credential is used to instruct the subprogram development object to reference the media data in a target subprogram, and the target subprogram that references the media data has the authority to display the media data; The target subprogram is a subprogram obtained by the subprogram development object performing the confirmation operation on the subprogram selection list.
17. A data processing device, characterized in that: include: A ticket sending module, used for sending a temporary ticket to a media interaction platform for displaying the media data when the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition; The temporary ticket is used to instruct the media interaction platform to display a media reference control; the media interaction platform is different from the subprogram platform used to maintain the subprogram; The subprogram development object is an object that logs into the subprogram platform; A list return module, configured to receive a list acquisition request sent by the media interaction platform, and return a subprogram selection list associated with the subprogram development object to the media interaction platform based on the list acquisition request; the list acquisition request is sent by the media interaction platform in response to a trigger operation on the media reference control; A credential return module is used to receive a security verification request sent by the media interaction platform, and return external credentials for the media data to the media interaction platform based on the security verification request; the security verification request is sent by the media interaction platform in response to a confirmation operation on a target subprogram in the subprogram selection list; the external credential is used to instruct the subprogram development object to reference the media data in the target subprogram, and the target subprogram that references the media data has the authority to display the media data.
18. A computer device, characterized in that: include: Processor and memory; The processor is connected to the memory, wherein the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1 to 15.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 15.
20. A computer program product, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium and is suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 15.
