Data processing method and device, computer equipment and readable storage medium
By displaying the media reference control and subprogram selection list in the media interaction platform and obtaining external credentials, the problem that the subprogram development object cannot reference the media data of the publishing object is solved, and the media data flow capability and security are improved.
Patent Information
- Application Number
- CN202310456084.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-16
- Publication Date
- 2024-10-22
AI Technical Summary
When the subprogram development object and the publishing object are different subject objects, the media data published by the publishing object cannot be obtained, resulting in the media data being unable to be referenced and displayed in the subprogram, which reduces the media data flow capability of the media interaction platform.
By displaying media reference controls and subprogram selection lists in the media interaction platform, and obtaining external credentials in response to user operations, it ensures that subprogram development objects can reference media data and realizes the flow of media data in subprograms.
It improves the flow ability of media data in subprograms, ensures that media data can be referenced by subprogram development objects that do not restrict the subject, and enhances the security of citing media data.
Smart Images

Figure CN118819486A_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] When the subprogram development object and the publishing object of the published media data (e.g., video data) are the same subject object, the subprogram development object can directly obtain the media data it has published 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, and thus cannot reference the media data published by the publishing object in the target subprogram, thereby failing to achieve the effect of displaying the media data in the target subprogram, reducing the ability of the media data in the media interaction platform to circulate in the subprogram. Summary of the invention
[0003] The embodiments of the present application provide a data processing method, apparatus, computer equipment, and readable storage medium, which can improve the flow capability of media data in a subprogram in a media interaction platform.
[0004] On the one hand, an embodiment of the present application provides a data processing method, including:
[0005] When the media data and the subprogram development object for viewing the media data satisfy the media reference condition at the same time, the media reference control is displayed in the media interaction platform for displaying the media data; the media interaction platform is different from the subprogram platform for managing the subprogram;
[0006] In response to a trigger operation on a media reference control, a subprogram selection list associated with the subprogram development object is displayed in the media interaction platform;
[0007] In response to a confirmation operation on the subprogram selection list, external credentials for the media data are obtained; the external credentials are 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 selected by the subprogram development object in the subprogram selection list.
[0008] An embodiment of the present application provides a data processing device, including:
[0009] A control display module, used for displaying a media reference control in a media interaction platform for displaying 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 managing subprograms;
[0010] A list display module, for responding to a trigger operation on a media reference control, and displaying a subprogram selection list associated with a subprogram development object in a media interaction platform;
[0011] The credential acquisition module is used to respond to the confirmation operation on the subprogram selection list and obtain the external credential for the media data; 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; the target subprogram is the subprogram selected by the subprogram development object in the subprogram selection list.
[0012] Among them, the control display module includes:
[0013] A data display unit, used to display media data in a media interaction platform; the media interaction platform includes a media forwarding control;
[0014] The control display unit is used to respond to the 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 meet the media reference condition at the same time.
[0015] Among them, the list display module includes:
[0016] A first subprogram acquisition unit, configured to respond to a trigger operation on a media reference control and acquire a subprogram associated with a subprogram development object;
[0017] A first list display unit is used to determine that the subprogram associated with the subprogram development object is a target subprogram when the number of subprograms associated with the subprogram development object is one, and to display 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;
[0018] The credential acquisition module includes:
[0019] A first credential acquisition unit, configured to display a selection confirmation control for a target subprogram in a media interaction platform;
[0020] The first credential acquisition unit is used to respond to a trigger operation on a selection confirmation control and acquire an external credential for media data.
[0021] Among them, the list display module includes:
[0022] A second subprogram acquisition unit, configured to respond to a trigger operation on a media reference control and acquire a subprogram associated with a subprogram development object;
[0023] A second list display unit is used 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;
[0024] The credential acquisition module includes:
[0025] A second credential acquisition unit is used 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;
[0026] A second credential acquisition unit, used for displaying a selection confirmation control for a target subprogram in a selected state;
[0027] The second credential acquisition unit is used to respond to the trigger operation on the selection confirmation control and acquire the external credential for the media data.
[0028] The device is also specifically used to display the media reference description information and the media reference control control corresponding to the media reference description information in the subprogram platform; the control state of the media reference control control is a closed state;
[0029] The device is also specifically used 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 subprogram development object meets the media reference condition;
[0030] The device is also specifically configured to update and display the media reference control widget from an open state to a closed state when a default time period is reached.
[0031] Among them, 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; 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.
[0032] The control display unit is specifically used to respond to the trigger operation for the media forwarding control, generate a media forwarding request based on the development object identifier of the subprogram 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 the 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;
[0033] The control display unit is specifically used to 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.
[0034] Among them, the first credential acquisition unit is specifically used to respond to the trigger operation for the selection confirmation control, 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 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 the 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;
[0035] The first credential obtaining unit is specifically configured to receive an external credential returned by the media server.
[0036] The credential acquisition module is further specifically used to copy the external credential and display a media reference success notification in the media interaction platform based on the external credential.
[0037] The device further comprises:
[0038] A code generation module, for responding to a paste operation on an external credential and generating a subroutine code including the external credential;
[0039] The code generation module is used to display the subprogram code in the subprogram platform, respond to the publishing operation on the subprogram code, and send the subprogram code to the 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 the publishing object used to publish the media data.
[0040] The subprogram server is used 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 also used to return a program compilation failure notification to the subprogram platform when the condition comparison result indicates that the media data does not meet the media reference condition;
[0041] The device is also specifically used to receive a program compilation failure notification returned by the subprogram server, and display the program compilation failure notification in the subprogram platform.
[0042] The device further comprises:
[0043] A request sending module is used to respond to a viewing operation of 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 a subprogram server; the subprogram viewing request is used to instruct the subprogram server to obtain an 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;
[0044] An information receiving module, used for receiving media information returned by the subprogram server, and displaying the media data in a target subprogram referencing the media data based on the media information;
[0045] The device also includes:
[0046] The platform switching module is used to respond to the trigger operation of the media data in the target subprogram that references the media data, switch the target subprogram that references the media data to the media interaction platform according to the media jump parameters in the media information, and display the media data in the media interaction platform.
[0047] The media information includes a media cover image of the media data;
[0048] The information receiving module 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;
[0049] The information receiving module is specifically used to receive the media content corresponding to the media data sent by the subprogram server when the subprogram development object and the publishing object are the same main object, and display the media content in the target subprogram that quotes the media data.
[0050] On the one hand, an embodiment of the present application provides a data processing method, including:
[0051] 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 managing the subprogram;
[0052] 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;
[0053] 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 a 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.
[0054] An embodiment of the present application provides a data processing device, including:
[0055] A ticket sending module, used for sending a temporary ticket to a media interaction platform for displaying media data when the media data and the subprogram development object for viewing the media data meet the media reference condition at the same time; 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 managing subprograms;
[0056] A list return module, used 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;
[0057] The credential return module is used to receive a security verification request sent by the media interaction platform, and return external credentials for 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 a 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.
[0058] Among them, the bill sending module includes:
[0059] A condition analysis unit, used 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;
[0060] A conditional analysis unit, used for performing conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result;
[0061] A ticket sending unit, used for encrypting 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 subprogram development object simultaneously meet the media reference condition;
[0062] The ticket sending unit is used to send a temporary ticket to the media interaction platform.
[0063] The condition analysis unit is specifically used to obtain the control state of the media reference control control associated with the development object identifier, and obtain 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 interactive management page of the media interactive platform when the publishing object that publishes media data logs in to the media interactive platform;
[0064] The condition analysis unit is specifically used to perform media review on the media data corresponding to the media identifier and generate a media review result corresponding to the media data;
[0065] The conditional analysis unit 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.
[0066] Among them, the credential return module includes:
[0067] A security verification unit, used to receive a security verification request sent by the media interaction platform, and obtain a development object identifier of a subprogram development object, a subprogram identifier of a target subprogram, and a temporary ticket from the security verification request;
[0068] A security verification unit is used to perform security verification on the development object identifier and the temporary ticket to obtain a security verification result;
[0069] The credential returning unit is used to encrypt the subprogram 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;
[0070] The credential returning unit is used to return the external credential to the media interaction platform.
[0071] The security verification unit is specifically used to decode the temporary ticket to obtain the identification of the object to be verified 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;
[0072] A security verification unit, specifically used to obtain the number of media credentials obtained by the subprogram development object corresponding to the development object identifier within a target time period;
[0073] The security verification unit is specifically used to obtain the control state of the subprogram reference control control associated with the media identifier; 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;
[0074] The security verification unit is specifically used to 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, and the control state of the subroutine reference control control is in the open state.
[0075] The device further comprises:
[0076] The credential verification module is used to receive the subprogram identification and external credential of the target subprogram that references the media data sent by the subprogram server; 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 identification 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;
[0077] The voucher verification module is used to verify the subprogram identifier and the external voucher and obtain the voucher verification result;
[0078] The credential verification module 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.
[0079] The voucher verification module is specifically used to decode the external voucher to obtain the program identifier to be verified in the external voucher; the external voucher is obtained by encrypting the program identifier to be verified and the temporary ticket;
[0080] The credential verification module is specifically used to obtain the control state of the subprogram reference control control associated with the media identifier; 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;
[0081] The credential verification module is specifically used to 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 and the control state of the subprogram reference control control is in the open state.
[0082] An embodiment of the present application provides a computer device, including: a processor and a memory;
[0083] The processor is connected to the 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.
[0084] 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.
[0085] In one aspect, an embodiment of the present application provides a computer program product, which includes 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 the processor executes the computer program, so that the computer device executes the method provided in the embodiment of the present application.
[0086] In an embodiment of the present application, when the media data and the subprogram development object for viewing the media data meet the media reference condition at the same time, the computer device can display the 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, and display the subprogram selection list associated with the subprogram development object in the media interaction platform. Further, the computer device can respond to the confirmation operation for the subprogram selection list to obtain the external credentials for the media data. It can be understood that the external credentials are used to indicate that the subprogram development object references the media data in the 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 selected by the subprogram development object in the subprogram selection list. It can be seen from this that the embodiment of the present application can display the media reference control and the subprogram selection list in the media interaction platform in sequence when the media data and the subprogram development object meet the media reference condition at the same time, and then obtain the external credentials for the media data and the target subprogram based on the subprogram selection list, so as to improve the efficiency of obtaining the external credentials when obtaining the external credentials through the media reference control and the subprogram list. At this time, regardless of whether the subprogram development object and the publishing object that publishes the media data are the same subject object, as long as the media data and the subprogram development object simultaneously meet the media reference condition, the subprogram development object can obtain the external credential for referencing the media data in the target subprogram based on the media reference control, thereby displaying the media data in the target subprogram that references the media data (that is, the media data can be referenced by the subprogram development object of the unrestricted subject to its own subprogram), thereby improving the ability of the media data in the media interaction platform to flow in the subprogram. In addition, by determining whether the media data and the subprogram development object simultaneously meet the media reference condition, the security of referencing the media data can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0088] Figure 1 It is a structural diagram of a network architecture provided by an embodiment of the present application;
[0089] Figure 2 This is a schematic diagram of a scenario for data interaction provided by an embodiment of the present application;
[0090] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0091] Figure 4 is a schematic diagram of a scene for displaying a media reference control provided by an embodiment of the present application;
[0092] Figure 5a is a schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application;
[0093] Figure 5b is a schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application;
[0094] Figure 6 It is a schematic diagram of a scenario for triggering a media reference control component provided by an embodiment of the present application;
[0095] Figure 7 It is a schematic diagram of a scenario of triggering a subroutine to reference a control control provided by an embodiment of the present application;
[0096] Figure 8 This is a schematic diagram of a process of citing media data provided by an embodiment of the present application;
[0097] Fig. 9 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0098] Fig.10 This is a schematic diagram of a scenario for pushing a media reference notification provided by an embodiment of the present application;
[0099] Fig.11 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0100] Fig.12a It is a schematic diagram of a scenario for viewing a target subroutine provided in an embodiment of the present application;
[0101] Figure 12b It is a schematic diagram of a scenario for viewing a target subroutine provided in an embodiment of the present application;
[0102] Fig.13 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0103] Fig.14 It is a schematic diagram of a process of copying external credentials provided by an embodiment of the present application;
[0104] Fig.15 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0105] Fig.16 It is a schematic diagram of a process of exchanging external vouchers provided in an embodiment of the present application;
[0106] Fig.17is a structural schematic diagram of a data processing device provided in an embodiment of the present application;
[0107] Fig.18 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;
[0108] Fig.19 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0109] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0110] For details, see Figure 1 , Figure 1 Schematic diagram of a network architecture provided by an embodiment of the present application. Figure 1 As shown, the network architecture may include a subprogram server 1000, a media server 2000 and a terminal device cluster. 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. Figure 1 As shown, the multiple terminal devices may 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 may respectively be directly or indirectly connected to the subprogram server 1000 through a wired or wireless communication, so that each terminal device may exchange data with the subprogram server 1000 through the network connection; terminal device 3000a, terminal device 3000b, terminal device 3000c, ..., terminal device 3000n may respectively be directly or indirectly connected to the media server 2000 through a wired or wireless communication, so that each terminal device may exchange data with the media server 2000 through the network connection.
[0111] 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 (e.g., smart TVs), wearable devices, vehicle terminals, aircraft, and other smart terminals with data processing functions. The vehicle terminal may be a terminal device in smart transportation scenarios and assisted driving scenarios. It should be understood that Figure 1Each terminal device in the terminal device cluster shown can be installed with an application client, which can specifically include a car 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 capabilities.
[0112] For ease of understanding, the embodiments of the present application can be Figure 1 Select one terminal device from the multiple terminal devices shown as the target terminal device. For example, in the embodiment of the present application, Figure 1 The terminal device 3000a shown is used as a target terminal device. An application client may be installed in the target terminal device. The application client in the target terminal device may include a first application client and a second application client.
[0113] Among them, the first application client can be used to integrate subprograms (e.g., target subprograms) and media interaction platforms (e.g., 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 subprograms in the first application client. For ease of understanding, the embodiment of the present application is described as an example in which the subprogram is 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 the application entity that provides an operating environment for the subprogram and the media interaction platform. For example, taking the host application running in the target terminal device as a social client as an example, when the target subprogram and the video interaction platform (e.g., video account) are integrated in the social client, the social client can have the ability to open and display the target subprogram and the video interaction platform.
[0114] Among them, the subprogram in the embodiment of the present application may be a mini-program (for example, a target mini-program) integrated in the first application client. In this case, the mini-program is a subprogram integrated in the first application client, the subprogram server may be a mini-program server corresponding to the mini-program, the subprogram development may be a mini-program development object corresponding to the mini-program, and the subprogram platform may be a 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 in the first application client, for example, a shopping platform or a public account integrated in the first application client.
[0115] The second application client may be a subprogram platform for managing subprograms in the first application client. It is understandable that the second application client may be integrated in 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.
[0116] It should be understood that when the subroutine is running in the target terminal device, it can be used with Figure 1 The target terminal device can interact with the subprogram server 1000 through the subprogram integrated in the first application client; similarly, when the second application client runs in the target terminal device, it can interact with the subprogram server 1000. Figure 1 The subprogram server 1000 shown in the figure performs data interaction (that is, the target terminal device can perform data interaction with the subprogram server 1000 through the second application client). Among them, the subprogram server 1000 can be an independent physical server, or a server cluster or 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.
[0117] It should be understood that when the media interaction platform is running in the target terminal device, it can be Figure 1 The media server 2000 shown in the figure can perform data interaction with each other (that is, the target terminal device can perform data interaction with the media server 2000 through the media interaction platform integrated in the first application client). Among them, the media server 2000 can be an independent physical server, or a server cluster or 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.
[0118] For ease of understanding, the present application embodiment may refer to users as objects, and objects may be users who log in to the first application client and the second application client. Among them, the present application embodiment may refer to objects that log in to the first application client as interactive objects (i.e., objects that log in to the subprogram and the media interaction platform as interactive objects), and interactive objects that publish media data in the media interaction platform as publishing objects; the present application embodiment may refer to objects that log in to the second application client (i.e., the subprogram platform) as subprogram development objects.
[0119] Among them, it can be understood that the media interaction platform can have an administrator (that is, an administrator can manage his 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.
[0120] Among them, the media data in the embodiment of the present application may include but is not limited to video data, graphic data and audio data. At this time, the media interaction platform may include but is not limited to the video interaction platform corresponding to the video data, the graphic interaction platform corresponding to the graphic data and the audio interaction platform corresponding to the audio data. The media server 2000 may be 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 embodiment of the present application is described by taking the media data as video data, the media interaction platform as the video interaction platform and the media server as the video server as an example.
[0121] 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 (Cloud Technology). For ease of understanding, the embodiment of the present application is explained by taking the login subprogram (e.g., target subprogram) and the interactive object of the media interaction platform as the subprogram development object as an example. Therefore, the subprogram development object can view the media data published by the publishing object in the media interaction platform, obtain the external credentials for the media data, write the external credentials into the subprogram code of the target subprogram, and then publish the subprogram code on the subprogram platform to obtain the target subprogram with media data (i.e., the media data is referenced in the target subprogram), and the target subprogram with media data has the authority to display the media data. Further, the subprogram development object can log in to the target subprogram with media data, and display the media data in the target subprogram with media data, thereby expanding the subprogram's reference range and ability to the media interaction platform, increasing the distribution scenario of media data, and also allowing the presentation of the subprogram's media data to have a better carrier.
[0122] For example, the publishing object 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 video blogger can produce media data (for example, video data) 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 cosmetics brand can introduce the video data into the target subroutine based on external credentials, thereby promoting the cooperation between the video blogger and the cosmetics brand. For another example, the publishing object 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 video editing company can shoot video data (i.e., promotional videos) for the sportswear company, and then publish the promotional videos on the video editing company's video account (i.e., video interaction platform). In this way, the sportswear company can introduce the promotional videos into the target subroutine based on external credentials, thereby promoting the cooperation between the video editing company and the sportswear company.
[0123] For further understanding, please refer to Figure 2 , Figure 2 Schematic diagram of a scenario for data interaction provided by an embodiment of the present application. Figure 2 The media server 20a shown may be the above-mentioned Figure 1 The media server 2000 in the corresponding embodiment is as follows: Figure 2 The subprogram server 20c shown may be the above Figure 1 The subprogram server 1000 in the corresponding embodiment is as follows: Figure 2 The terminal device 20b shown may be the above Figure 1 The target terminal device in the corresponding embodiment. Among them, the object corresponding to the terminal device 20b can be the subprogram development object 20d.
[0124] It is understandable that the terminal device 20b may include a media interaction platform for displaying media data and a subprogram platform for managing subprograms, the media interaction platform for displaying media data is different from the subprogram platform for managing subprograms, and the subprogram development object 20d may log in to 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 the media interaction platform and the subprogram platform.
[0125] like Figure 2As shown, the subprogram development object 20d can view media data through the media interaction platform. When the subprogram development object 20d needs to obtain the media credential for the media data, the subprogram development object 20d can perform a trigger operation on the media forwarding control in the media interaction platform. In this way, the terminal device 20b can respond to the trigger operation performed by the subprogram development object 20d on the media forwarding control, and send a media forwarding request to the media server 20a through step S11. Further, after the media server 20a receives the media forwarding request sent by the media interaction platform in the terminal device 20b, it can perform conditional analysis on the development object identifier and the media identifier to obtain the conditional analysis result, and then generate a temporary ticket when the conditional analysis result indicates that the media data and the subprogram development object meet the media reference condition at the same time, and send the temporary ticket to the media interaction platform in the terminal device 20b through step S12.
[0126] like Figure 2 As shown, the terminal device 20d can receive the temporary ticket sent by the media server 20a, and display the media reference control in the media interaction platform based on the temporary ticket. Further, the subprogram development object 20d can perform a trigger operation on the media reference control, so that the terminal device 20d can respond to the trigger operation performed by the subprogram development object 20d on the media reference control, and send a list acquisition request to the media server 20a through step S13. Further, after the media server 20a receives the list acquisition request sent by the media interaction platform in the terminal device 20b, it can obtain the subprogram selection list associated with the subprogram development object from the subprogram server 20c through step S14, and then return the subprogram selection list to the media interaction platform in the terminal device 20b through step S15.
[0127] like Figure 2 As shown, the terminal device 20d can receive the subprogram selection list returned by the media server 20a, and display the subprogram selection list in the media interaction platform. Further, the subprogram development object 20d can perform a confirmation operation on the subprogram selection list, so that the terminal device 20d can respond to the confirmation operation performed by the subprogram development object 20d on the subprogram selection list, and send a security verification request to the media server 20a through step S16. Further, after the media server 20a receives the security verification request sent by the media interaction platform in the terminal device 20b, it can perform a security verification on the development object identifier and the temporary ticket to obtain a security verification result, and then when the security verification result indicates that the security verification has passed, it generates an external credential for the media data, and sends the external credential to the media interaction platform in the terminal device 20b through step S17.
[0128] like Figure 2As shown, the terminal device 20d can receive the external credentials sent by the media server 20a. Further, the subprogram development object 20d can copy and paste the external credentials to 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), so that the terminal device 20b can respond to the publishing operation performed by the subprogram development object 20d on the subprogram code, and send the subprogram code to the subprogram server 20c through step S18. Among them, the target subprogram can be the subprogram selected by the subprogram development object 20d in the subprogram list, that is, the external credentials are generated for the media data and the target subprogram.
[0129] Furthermore, after the subprogram server 20c receives the subprogram code sent by the subprogram platform in the terminal device 20b, the subprogram code can be compiled to obtain a target subprogram that references the media data. Optionally, the subprogram platform in the terminal device 20b can compile the subprogram code to obtain a target subprogram that references the media data; in other words, the external credential can be used to instruct the subprogram development object to reference the media data in the target subprogram to obtain a target subprogram that references the media data, and the target subprogram that references the media data has the authority to display the media data. Among them, the target subprogram that references the media data can also be called a target subprogram.
[0130] Therefore, when an interactive object (for example, a subprogram development object 20d) uses a target subprogram that references media data through a terminal device 20b, the media data can be viewed through the target subprogram 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 subprogram that references the media data, thereby improving the dissemination of the media data.
[0131] It can be seen that the embodiment of the present application can obtain external credentials for media data through the media interaction platform when the media data and the subprogram development object simultaneously meet the media reference condition. Among them, regardless of whether the subprogram development object and the publishing object that publishes the media data are the same subject object, the embodiment of the present application can obtain external credentials for media data, and the external credentials can be used to introduce media data into the target subprogram developed by the subprogram development object, thereby improving the flow ability of media data in the subprogram. In addition, by determining whether the media data and the subprogram development object simultaneously meet the media reference condition, the security of referencing media data can be improved.
[0132] For further information, see Figure 3 , Figure 3The 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 above-mentioned Figure 2 The corresponding embodiment of the media server 20a, the terminal device can be the above Figure 2 The terminal device 20b of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Among them, the data processing method may include the following steps S101-S103:
[0133] Step S101, 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;
[0134] Specifically, the terminal device can display media data in the media interaction platform. The media interaction platform includes a media forwarding control. Further, the terminal device can respond to a trigger operation for the media forwarding control, and when the media data and the subprogram development object for viewing the media data meet the media reference condition at the same time, the media reference control is displayed in the media interaction platform. The media interaction platform is different from the subprogram platform for managing subprograms.
[0135] For easier understanding, see Figure 4 , Figure 4 Schematic diagram of a scene showing a media reference control provided by an embodiment of the present application. Figure 4 The media viewing interface 40a and the media viewing interface 40b shown may be interfaces of the media interaction platform at different times, and the terminal device may display media data (e.g., 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.
[0136] like Figure 4 As shown, the subprogram development object can perform a trigger operation on the media forwarding control 42a, so that the terminal device can respond to the trigger operation performed by the subprogram development object on the media forwarding control 42a, and when the media data and the subprogram development object simultaneously meet the media reference condition, the media viewing interface 40a is switched to the media viewing interface 40b, and the media reference control 42b is displayed in the media viewing interface 40b. Optionally, when the media data and the subprogram development object do not meet the media reference condition, the terminal device does not need to display the media reference control 42b in the media viewing interface 40b.
[0137] Step S102, in response to a trigger operation on a media reference control, a subprogram selection list associated with a subprogram development object is displayed in a media interaction platform;
[0138] Specifically, the terminal device can respond to the trigger operation for the media reference control and obtain the subprogram associated with the subprogram development object (i.e., obtain the 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 the target subprogram, and display the subprogram selection list associated with the subprogram development object in the media interaction platform. The subprogram selection list includes the target subprogram in the default selected state, that is, the subprogram selection list includes the target subprogram in the selected state.
[0139] For easier understanding, see Figure 5a , Figure 5a Schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application. Figure 5a The media viewing interface 50a and the media viewing interface 50b shown in the figure can be interfaces of the media interaction platform at different times. The media viewing interface 50a can be the above Figure 4 The corresponding embodiment of the media viewing interface 40b. The media viewing interface 50a may include a media reference control 51a.
[0140] like Figure 5a As shown, the subprogram development object can perform a trigger operation on the media reference control 51a, so that 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. Among them, 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 (for example, the subprogram "AAAAA") as the target subprogram, and display the target subprogram with a default selected state in the media viewing interface 50b.
[0141] Optionally, the terminal device may respond to a trigger operation on a media reference control to 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 includes multiple subprograms in an unselected state.
[0142] For easier understanding, see Figure 5b , Figure 5b Schematic diagram of a scenario for selecting a target subroutine provided in an embodiment of the present application. Figure 5b The media viewing interface 52a, the media viewing interface 52b, the media viewing interface 52c and the media viewing interface 52d shown in the figure may be interfaces of the media interaction platform at different times. The media viewing interface 52a may be the above-mentioned Figure 4 The corresponding embodiment of the media viewing interface 40b. The media viewing interface 52a may include a media reference control 53a.
[0143] like Figure 5b As shown, the subprogram development object can perform a trigger operation on the media reference control 53a, so that 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 the subprogram selection list 53b associated with the subprogram development object in the media viewing interface 52b. Among them, the subprogram selection list 53b can include subprograms associated with the subprogram development object. When the number of subprograms associated with the subprogram development object is multiple (for example, 2), the terminal device can display multiple subprograms in an unselected state (for example, subprogram "CCCC" and subprogram "BBBB") in the media viewing interface 52b.
[0144] 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 while displaying the media data in the media interaction platform when the media data and the subprogram development object for viewing the media data simultaneously meet the media reference conditions.
[0145] Step S103, in response to a confirmation operation on the subprogram selection list, obtaining external credentials for the media data.
[0146] Specifically, when the number of subprograms associated with the subprogram development object is one, the terminal device may display a selection confirmation control for the target subprogram in the media interaction platform. The target subprogram is the subprogram selected by the subprogram development object in the subprogram selection list. Further, the terminal device may respond to a trigger operation on the selection confirmation control to obtain external credentials for the media data. Further, the terminal device may copy the external credentials and display a media reference success notification in the media interaction platform based on the external credentials. The external credentials are used to indicate that the subprogram development object references the media data in the target subprogram, and the target subprogram that references the media data has the authority to display the media data.
[0147] For easier understanding, please refer to Figure 5a .like Figure 5a As shown, the terminal device can display a selection confirmation control 51c for the target subprogram in the media viewing interface 50b, the control state of the selection confirmation control 51c is an optional state, and the subprogram development object can perform a trigger operation on the selection confirmation control 51c. The specific process of the terminal device responding to the trigger operation performed by the subprogram development object on the selection confirmation control 51c can be seen in Figure 5b The corresponding embodiment responds to the description of the trigger operation performed by the subroutine development object in response to the selection confirmation control 53d.
[0148] Optionally, when there are multiple subprograms associated with the subprogram development object, the terminal device may respond to a selection operation for 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 with an unselectable state to a selection confirmation control with an optional state). Among them, 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 for the selection confirmation control to obtain external credentials for the media data. Further, the terminal device may copy the external credentials and display a media reference success notification in the media interaction platform based on the external credentials. 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.
[0149] For easier understanding, please refer to Figure 5b .like Figure 5bAs shown, the terminal device can display a selection confirmation control 53c in the media viewing interface 52b, and the control state of the selection confirmation control 53c is an unselectable state, and the subprogram development object cannot perform a trigger operation on the selection confirmation control 53c with an unselectable state. Further, the subprogram development object can perform a selection operation on multiple subprograms with an unselected state in the subprogram selection list 53b (for example, the subprogram development object can perform a selection operation on the subprogram "CCCC"). In this way, the terminal device can respond to the selection operation performed by the subprogram development object on the subprogram "CCCC", determine the subprogram "CCCC" selected by the selection operation as the target subprogram, switch the media viewing interface 52b to the media viewing interface 52c, update the target subprogram from an unselected state to a selected state in the media viewing interface 52c, display the selection confirmation control 53d in the media viewing interface 52c, and the control state of the selection confirmation control 53d is an selectable state (that is, the selection confirmation control 53c with an unselectable state is updated to the selection confirmation control 53d with an selectable state).
[0150] like Figure 5b As shown, the subprogram development object can perform a trigger operation on the selection confirmation control 53d, so that the terminal device can respond to the trigger operation performed by the subprogram 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 the media reference success notification 53e in the media viewing interface 52d. For example, the media reference success notification 53e can be "Fill the video information into the subprogram code to reference the video number content."
[0151] 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 subprogram platform. Among them, the control state of the media reference control control is a closed state. Further, the terminal device can respond to the trigger operation on the media reference control control and update the media reference control control from a closed state to an open state (that is, update the media reference control control with a closed state to a media reference control control with an open state). Among them, the media reference control control with an open state is used to indicate that the subprogram 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 (that is, 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.
[0152] The embodiment of the present application does not limit the specific cycle duration of the default time period. For example, the default time period may be 24 hours or 12 hours. For ease of understanding, the embodiment of the present application takes the specific cycle duration of the default time period as 24 hours as an example for explanation.
[0153] 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 subprogram platform. Among them, the control state of the media reference control control is the open state. Further, the terminal device can respond to the trigger operation on the media reference control control and update the media reference control control from the open state to the closed state (that is, update the media reference control control with the open state to the media reference control control with the closed state). Among them, the media reference control control with the closed state is used to indicate that the subprogram development object does not meet the media reference condition.
[0154] For easier understanding, please refer to Figure 6 , Figure 6 Schematic diagram of a scenario for triggering a media reference control control provided by an embodiment of the present application. Figure 6 The subprogram management page 60a and subprogram management page 60b shown may be pages of the subprogram platform at different times. The subprogram management page 60a may include media reference description information and a media reference control widget 61c. The control state of the media reference control widget 61c is closed. Among them, the media reference description information may include media reference description information 61a and media reference description information 61b. The media reference description information 61a may be a description title, and the media reference description information 61b may be a description content. For example, the media reference description information 61b may be "After turning it on, you can copy any video identifier on the mobile terminal within 24 hours.", "After turning it on, you can copy any video number video identifier on the mobile terminal within 24 hours. It is only effective for the current operator.".
[0155] like Figure 6As shown, the subprogram development object can perform a trigger operation on the media reference control control 61c, so that the terminal device can respond to the trigger operation performed by the subprogram development object on the media reference control control 61c, switch the subprogram management page 60a to the subprogram management page 60b, display the media reference description information 62a and the media reference control control 62b in the subprogram management page 60b, and 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 any video identifier cannot be copied into the parameter.", "TTT will automatically close the acquisition permission, and any video number video identifier cannot be copied into the parameter on the mobile terminal." Among them, TTT can represent the moment when the default time period is reached. For example, when the subprogram development object performs a trigger operation on the media reference control control 61c at 11:12 on February 1, 2023, TTT can be 11:12 on February 2, 2023.
[0156] 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.
[0157] 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.
[0158] Similarly, 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 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).
[0159] For easier understanding, please refer to Figure 7 , Figure 7 Schematic diagram of a scenario of triggering a subroutine to reference a control control provided by an embodiment of the present application. Figure 7 The interactive management page 70a and the interactive management page 70b shown may be pages of the media interactive platform at different times. The interactive management page 70a may include subprogram reference description information and a subprogram reference control control 71c. The control state of the subprogram reference control control 71c is closed. Among them, the subprogram reference description information may include subprogram reference description information 71a and subprogram reference description information 71b. The subprogram reference description information 71a may be a description title, and the subprogram reference description information 71b may be a description content. For example, the subprogram reference description information 71b may be "Your video account content can be referenced by the subprogram of the same subject."
[0160] like Figure 7 As shown, the publishing object can perform a trigger operation on the subprogram reference control control 71c, so that the terminal device corresponding to the publishing object can respond to the trigger operation performed by the publishing object on the subprogram reference control control 71c, switch the interactive management page 70a to the interactive management page 70b, and display the subprogram reference description information 72a and the subprogram reference control control 72b in the interactive management page 70b, and the control state of the subprogram reference control control 72b is open (that is, the subprogram reference control control 71c with a closed state is updated to the subprogram reference control control 72b with an open state). For example, the subprogram reference description information 72a can be "Your video account content can be referenced by all subprograms."
[0161] Optionally, the terminal device corresponding to the published object can also display a subprogram reference list associated with the published object in the interactive management page 70b, wherein the subprogram in the subprogram reference list can be a subprogram that references the media data published by the published object. Optionally, the interactive management page 70b can also be used to display a subprogram control corresponding to each subprogram in the subprogram reference list, and the subprogram control can be used to control whether the subprogram in the subprogram reference list can continue to reference the referenced media data. For example, the subprogram reference list can include a target subprogram that references media data and a subprogram control corresponding to the target subprogram that references media data. When the control state of the subprogram control corresponding to the target subprogram that references media data is in a closed state, the media data in the target subprogram that references media data cannot be displayed normally; when the control state of the subprogram control corresponding to the target subprogram that references media data is in an open state, the media data in the target subprogram that references media data can be displayed normally.
[0162] It is understood that the operation flow of subroutine development object referencing media data can be found in Figure 8 , Figure 8 This is a schematic diagram of a process of quoting media data provided by an embodiment of the present application. Figure 8 The steps S81 to S82 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.
[0163] like Figure 8 As shown, 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 the subroutine platform. Further, 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 the external credentials for the media data are obtained based on the media reference control.
[0164] It can be understood that the subprogram development objects of the target subprogram can set the control state of the media reference control control to the open state through the subprogram platform, so that the subprogram development object that turns on the media reference control control can see the media reference control on the media interaction platform, and the subprogram development object that does not turn on the media reference control control 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 the subprogram development object Y1 sets the control state of the media reference control control to the open state and the subprogram development object Y2 does not set the control state of the media reference control control to the open state, the subprogram development object Y1 can see the media reference control in the media interaction platform logged in through its own account, and the subprogram development object Y2 cannot see the media reference control in the media interaction platform logged in through its own account.
[0165] It can be seen from this that the embodiment of the present application can display the media reference control and the subprogram selection list in the media interaction platform in sequence when the media data and the subprogram development object meet the media reference condition at the same time, and then obtain the external credentials for the media data and the target subprogram based on the subprogram selection list, thereby improving the efficiency of obtaining the external credentials when obtaining the external credentials through the media reference control and the subprogram list. At this time, regardless of whether the subprogram development object and the publishing object that publishes the media data are the same subject object, as long as the media data and the subprogram development object meet the media reference condition at the same time, the subprogram development object can obtain the external credentials for citing the media data in the target subprogram based on the media reference control, thereby displaying the media data in the target subprogram that references the media data (that is, the media data can be referenced by the subprogram development object of the unrestricted subject to its own subprogram), thereby improving the flow capacity of the media data in the subprogram in the media interaction platform. In addition, by determining whether the media data and the subprogram development object meet the media reference condition at the same time, the security of citing the media data can be improved.
[0166] For further information, see Fig. 9 , Fig. 9 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 above-mentioned Figure 2 The corresponding embodiment of the media server 20a, the terminal device can be the above Figure 2 The terminal device 20b of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Among them, the data processing method may include the following steps S201-S205:
[0167] Step S201, 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;
[0168] Specifically, the terminal device can display media data in the media interaction platform. The media interaction platform includes a media forwarding control. Further, 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 subprogram 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 subprogram 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. Further, 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.
[0169] The specific process of the media server performing conditional analysis on the development object identifier and the media identifier can be found in the following Fig.13 The description of step S401 in the corresponding embodiment.
[0170] 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 subprogram 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.
[0171] Step S202, in response to a trigger operation on a media reference control, a subprogram selection list associated with the subprogram development object is displayed in the media interaction platform;
[0172] The specific process of the terminal device displaying the subprogram selection list in the media interaction platform can be found in the above Figure 3 The description of step S102 in the corresponding embodiment will not be repeated here.
[0173] Step S203, in response to the confirmation operation on the subprogram selection list, obtaining external credentials for the media data;
[0174] Specifically, when the number of subprograms associated with the subprogram development object is one, a selection confirmation control for the target subprogram is displayed in the media interaction platform. The target subprogram is the subprogram selected by the subprogram development object in the subprogram selection list. Further, the terminal device can respond to the trigger operation for the selection confirmation control, 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 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 the 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, and the temporary ticket is obtained by the media server encrypting the development object identifier and the media identifier of the media data. Further, the terminal device can receive the external credential returned by the media server. The external credential is used to indicate that the subprogram development object references the media data in the target subprogram, and the target subprogram that references the media data has the authority to display the media data.
[0175] The specific process of the media server performing security verification on the development object identifier and the temporary ticket can be found in the following Fig.13 The description of step S403 in the corresponding embodiment.
[0176] Similarly, when there are multiple subprograms associated with the subprogram development object, the specific process of the terminal device responding to the trigger operation of the selection confirmation control can be referred to the above description of responding to the trigger operation of the selection confirmation control when the number of subprograms associated with the subprogram development object is one, and will not be repeated here.
[0177] Optionally, the media server is also used to return a media reference failure notification to the media interaction platform when the security verification result indicates that the security verification fails. Therefore, the terminal device can receive the media reference failure notification returned by the media server and display the media reference failure notification in the media interaction platform. For example, the media reference failure notification can be "Unable to reference the video number dynamics".
[0178] Optionally, the media server may generate a security verification result indicating that the security verification failed when the number of credentials is greater than or equal to the number threshold, that is, the security verification failed because the number of credentials is greater than or equal to the number threshold. At this time, the media reference failure notification displayed by the terminal device in the media interaction platform may be "The number of copies has reached the upper limit, please try again later."
[0179] Step S204, in response to the paste operation on the external credential, generating a subroutine code including the external credential;
[0180] It can be understood 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.
[0181] Step S205 , displaying the subprogram code in the subprogram platform, responding to the publishing operation for the subprogram code, and sending the subprogram code to the subprogram server.
[0182] 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.
[0183] The subprogram server is used to compare the media data and the media reference condition during the process of compiling the subprogram code to obtain the condition comparison result; the subprogram server is also used to determine that the compilation is passed when the condition comparison result indicates that the media data meets the media reference condition, and obtain the target subprogram that references the media data. When the control state of the subprogram reference control control is open, the media data meets the media reference condition; when the control state of the subprogram reference control control is closed, and the subprogram development object and the published object are the same subject object, the media data meets the media reference condition.
[0184] 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."
[0185] For easier understanding, see Fig.10 , Fig.10 Schematic diagram of a scenario for pushing a media reference notification provided by an embodiment of the present application. Fig.10As shown, 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 in the media interaction platform, so that the publishing object can obtain the reference status of the published media data in a timely manner.
[0186] 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, 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 (that is, 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.
[0187] It can be seen that the embodiment of the present application can obtain external credentials for media data when the media data and the subprogram development object simultaneously meet the media reference condition, and then generate a subprogram code including the external credentials, and generate a target subprogram that references the media data according to the subprogram code. Among them, the target subprogram that references the media data can be used to display the media data, thereby improving the flow capacity of the media data in the subprogram in the media interaction platform.
[0188] For further information, see Fig.11 , Fig.11 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 above-mentioned Figure 2 The corresponding embodiment of the media server 20a, the terminal device can be the above Figure 2 The terminal device 20b of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Among them, the data processing method may include the following steps S301-S303:
[0189] Step S301, in response to a viewing operation on media data in a 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 a subprogram server;
[0190] The subprogram viewing request is used to instruct the subprogram server to obtain the external credentials for the media data, and then send the subprogram identifier and the external credentials to the media server; the media server is used to perform credential verification on the subprogram identifier and the external credentials to obtain the credential verification result; the media server is also used to return the 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 the video data), the object name of the publishing object, and the media jump parameter.
[0191] It can be understood that when an interactive object (e.g., a subprogram development object) opens a target subprogram that references media data through a terminal device, the terminal device can respond to a viewing operation on the media data in the target subprogram that references the media data; optionally, when the media data is in a subpage of a target subprogram that references the media data, the terminal device can respond to a viewing operation on the media data in the target subprogram that references the media data when the interactive object (e.g., a subprogram development object) opens a subpage of the target subprogram through the terminal device.
[0192] The specific process of the media server verifying the subprogram identifier and the external certificate can be found in the following Fig.15 The description of step S502 in the corresponding embodiment.
[0193] 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.
[0194] 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;
[0195] Specifically, 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), the terminal device can display a media cover image in the target subprogram that references the media data. Optionally, 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), the terminal device can receive the media content corresponding to the media data sent by the subprogram server and display the media content in the target subprogram that references the media data. 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 the 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).
[0196] Among them, the terminal device can display the media cover image in the target subprogram that references the media data, and at the same time display the media viewing control (for example, a video playback control) in the target subprogram that references the media data. In this way, the subprogram 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 subprogram development object on the media viewing control, receive the media content corresponding to the media data sent by the subprogram server, and display the media content in the target subprogram that references the media data, that is, switch the media cover image to the media content (for example, switch the video cover image to a video frame in the video data, that is, start playing the video data).
[0197] It can be understood that the terminal device can also display the object name of the published object while displaying the media cover image in the target subroutine that references the media data. For example, the object name of the published object can be displayed above the media cover image; optionally, the terminal device can also display the object name of the published object while displaying the media content in the target subroutine that references the media data. For example, the object name of the published object can be displayed above the media content.
[0198] 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 subprogram development object (e.g., the administrator) creates a subprogram in the subprogram platform, it is necessary to select the subject type corresponding to the created subprogram (e.g., the target subprogram) (i.e., subject authentication is required), and then determine the subject object under the subject type. Among them, the subject object can also be referred to as 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.
[0199] For easier understanding, see Fig.12a and Figure 12b , Fig.12a and Figure 12b Schematic diagram of a scene for viewing a target subroutine provided in an embodiment of the present application. Fig.12a As shown, the subprogram interface 120a can be an interface displayed by the target subprogram with media data when the media server determines that the credential verification has passed; optionally, the subprogram interface 120b can be an interface displayed by the target subprogram with media data when the media server determines that the credential verification has not passed.
[0200] like Fig.12a As shown, the terminal device can receive the media information returned by the subprogram server, display the media data (e.g., the media cover image 121a) in the subprogram interface 120a based on the media information, and display the object name (e.g., "DDDDD") on the media cover image 121a; optionally, the terminal device can receive the media viewing failure notification 121b returned by the subprogram server, and display the media viewing failure notification 121b in the subprogram interface 120b.
[0201] like Figure 12b As shown, the subprogram interface 122a can be an interface displayed by the target subprogram with media data when the media server determines that the credential verification is passed; optionally, the subprogram interface 122b can be an interface displayed by the target subprogram with media data when the media server determines that the credential verification is not passed.
[0202] like Figure 12bAs shown, the terminal device can receive the media information returned by the subprogram server, display the media data (e.g., the media cover image 123a) in the subprogram interface 122a based on the media information, and display the object name (e.g., "EEEEE") on the media cover image 123a; optionally, the terminal device can receive the media viewing failure notification 123b returned by the subprogram server, and display the media viewing failure notification 123b in the subprogram interface 122b.
[0203] Step S303, in response to a trigger operation on the media data in the target subprogram referencing the media data, according to the media jump parameter (ie, jump link) in the media information, the target subprogram referencing the media data is switched to a media interaction platform, and the media data is displayed in the media interaction platform.
[0204] 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. 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 interactive information for the media data, a trigger operation can be performed on the media data (e.g., a media cover image) in the target subroutine that references the media data.
[0205] It can be seen that the embodiment of the present application can obtain the media information corresponding to the media data when responding to the viewing operation of the media data in the target subprogram that references 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 capacity of the media data in the media interaction platform in the subprogram. In addition, the embodiment of the present application can also switch the target subprogram that references the media data to the media interaction platform when responding to the trigger operation of the media data in the target subprogram that references the media data, thereby improving the association relationship between the media interaction platform and the target subprogram that references the media data.
[0206] For further information, see Fig.13 , Fig.13 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 above-mentioned Figure 2 The corresponding embodiment of the media server 20a, the terminal device can be the above Figure 2 The terminal device 20b of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the media server as an example for explanation. Among them, the data processing method may include the following steps S401-S403:
[0207] Step S401, when the media data and the subprogram development object for viewing the media data satisfy the media reference condition at the same time, a temporary ticket is sent to the media interaction platform for displaying the media data;
[0208] 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 subprogram development object for viewing the media data and the media identifier of the media data from the media forwarding request. Among them, the media interaction platform is different from the subprogram platform for managing subprograms. Further, the media server can perform conditional analysis on the development object identifier and the media identifier to obtain a conditional analysis result. Further, 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 subprogram development object simultaneously meet the media reference condition. 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 send a temporary ticket to the media interaction platform. Among them, the temporary ticket is used to instruct the media interaction platform to display the media reference control.
[0209] Among them, 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: 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 subprogram reference control control associated with the media identifier. Among them, 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 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 perform media review on the media data corresponding to the media identifier and generate a media review result corresponding to the media data. Further, the media server can generate a conditional analysis result for indicating that the media data and the subprogram 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 subprogram reference control control is open, and the media review result indicates that the media review is 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.
[0210] 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.
[0211] 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 control is closed, the subprogram development object and the published object are the same subject object, the control state of the media reference control control is open, and the media audit result indicates that the media audit is 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 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 control is closed, the subprogram development object and the published object are the same subject object, and the media audit result indicates that the media audit is passed.
[0212] Optionally, the media server may generate a conditional analysis result indicating that the media data and the subprogram development object simultaneously satisfy the media reference condition when the control state of the media reference control control is in the open state and the control state of the subprogram reference control control is in the open state. 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 control is in the open state; 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 control is in the open state.
[0213] 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 control is in the closed state, the subprogram development object and the published object are the same subject object, and the control state of the media reference control control is in the open state. 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 control is in the open state; 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 control is in the closed state, and the subprogram development object and the published object are the same subject object.
[0214] Optionally, the media server may generate a conditional analysis result indicating that the media data and the subprogram development object do not meet the media reference condition when the control state of the media reference control control is in the closed state or the media audit result indicates that the media audit has not passed. In other words, the media server may generate a conditional analysis result indicating that the subprogram development object does not meet the media reference condition when the control state of the media reference control control is in the closed state; 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 not passed.
[0215] 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 control is in the closed state 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 control is in the closed state and the subprogram development object and the published object are different subject objects.
[0216] 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.
[0217] 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;
[0218] Specifically, the media server may receive a list acquisition request sent by the video interaction platform, and acquire a subprogram selection list associated with the subprogram development object from the subprogram server based on the list acquisition request. Further, the media server may return the subprogram selection list to the video interaction platform. The list acquisition 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.
[0219] The subprogram selection list may include subprograms associated with the subprogram development object, and the subprogram associated with the subprogram development object may represent a subprogram developed by the subprogram development object, that is, 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 the embodiment of the present application does not limit the number of subprograms associated with the subprogram development object.
[0220] 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.
[0221] Specifically, the media server can 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. 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, when the security verification result indicates that the security verification has passed, the media server can encrypt the subprogram identifier and the temporary ticket to 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 the 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 on a target subprogram in a subprogram selection list; the external credential is used to indicate that the subprogram development object references the media data in the target subprogram, and the target subprogram that references the media data has the authority to display the media data.
[0222] Among them, 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: the media server can decode the temporary ticket to obtain the object identifier to be verified in the temporary ticket. Among them, the temporary ticket is obtained by encrypting the object identifier to be verified and the media identifier of the media data. Further, the media server can obtain the number of credentials of the media credentials obtained by the subprogram development object corresponding to the development object identifier within the target time period. Further, the media server can obtain the control state of the subprogram reference control control associated with the media identifier. Among them, the subprogram reference control control refers to the control displayed in 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. Further, 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 number threshold, and the control state of the subprogram reference control control is in the open state.
[0223] Among them, the quantity threshold can be used to control the maximum number of external credentials that the subprogram development object can obtain within the target time period, so as to prevent the subprogram 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 cumulative processing (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 cumulative processing).
[0224] 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 a quantity threshold, the control state of the subprogram reference control control is in a closed state, and the subprogram development object and the publishing object are the same subject object.
[0225] 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). Wherein, 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 is 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 subprogram referenced control control is in the closed state, and the subprogram development object and the published object are different subject objects.
[0226] 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 not passed when the development object identifier and the object identifier to be verified are different.
[0227] It should be understood that since the subprogram of a personal subject has the characteristic of low creation cost, in order to prevent the media data in the media interaction platform from being abused by the subprogram of a personal subject, the embodiment of the present application can be applied to the subprogram developer of a non-personal subject to refer to the 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 subprogram is a non-personal subject, and when the subject type corresponding to the target subprogram is a personal subject, a security verification result indicating that the security verification has not passed is generated.
[0228] For easier understanding, see Fig.14 , Fig.14 1 is a flow chart of copying external credentials provided by an embodiment of the present application. Fig.14 As shown, the specific process of copying external credentials may include steps S31 to S36, and steps S31 to S36 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 video interaction platform may include a video browsing entrance 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.
[0229] like Fig.14 As shown, 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, so that 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. Further, the video server can determine whether the media data and the subprogram development object meet the media reference condition at the same time through the video browsing module, and then when the media data and the subprogram development object meet the media reference condition at the same time, the subprogram reference portal (i.e., the media reference control) and the temporary ticket of the video data are sent to the video browsing portal through step S31.
[0230] like Fig.14 As shown, the subprogram development object can click on the reference entry to enter the front end (i.e., perform a trigger operation on the media reference control and enter the front end display component) through step S32. In this way, the terminal device can respond to the trigger operation performed by the subprogram development object on the media reference control and send a media forwarding request to the video server through the front end display component. Further, the video server can obtain a subprogram list associated with the subprogram development object (i.e., a subprogram selection list) through the subprogram selection module, and return the subprogram list to the front end display component through step S33.
[0231] like Fig.14As shown, the subprogram development object can perform a confirmation operation on the subprogram list (i.e., select a determined target subprogram in the subprogram list), so that the terminal device can respond to the confirmation operation performed by the subprogram development object on the subprogram list, and send a security verification request to the video server through step S34. The security verification request may include the selected subprogram name (i.e., the subprogram identifier of the target subprogram), the temporary ticket, and the development object identifier of the subprogram development object. Further, the video server can execute step S35 through the security verification module, parse the temporary ticket and perform a security verification through step S35, and then send the security verification result to the credential distribution module. In this way, the credential distribution module can convert the temporary ticket into a safe and harmless external credential when the security verification result indicates that the security verification has passed, and return the external credential that can be pasted into the subprogram to the front-end display component through step S36.
[0232] It can be seen from this that the embodiments of the present application can obtain temporary tickets for media data and then obtain external credentials for media data when the media data and the subprogram development object meet the media reference condition at the same time. At this time, regardless of whether the subprogram development object and the publishing object that publishes the media data are the same subject object, as long as the media data and the subprogram development object meet the media reference condition at the same time, the embodiments of the present application can obtain external credentials for referencing the media data in the target subprogram, thereby displaying the media data in the target subprogram that references the media data (that is, the media data can be referenced by the subprogram development object of the unrestricted subject to its own subprogram), thereby improving the ability of media data in the media interaction platform to circulate in the subprogram. In addition, by determining whether the media data and the subprogram development object meet the media reference condition at the same time, the security of referencing the media data can be improved.
[0233] For further information, see Fig.15 , Fig.15 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 above-mentioned Figure 2 The corresponding embodiment of the media server 20a, the terminal device can be the above Figure 2 The terminal device 20b of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the media server as an example for explanation. Among them, the data processing method may include the following steps S501-S503:
[0234] Step S501, receiving a subprogram identifier and an external certificate of a target subprogram referencing media data sent by a subprogram server;
[0235] 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.
[0236] Step S502, performing credential verification on the subprogram identifier and the external credential to obtain a credential verification result;
[0237] Specifically, the media server can decode 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 subprogram reference control control associated with the media identifier. The subprogram reference control control refers to the control displayed in 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. Further, the media server can 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 and the control state of the subprogram reference control control is in the open state. The credential verification can ensure that the external credential is indeed derived from the subprogram development object of the target subprogram, thereby ensuring the security and traceability of the external credential.
[0238] 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.
[0239] 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. Wherein, when the subprogram identifier and the program identifier to be verified are different, the media server may determine that the temporary ticket is 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 control is closed and the subprogram development object and the publishing object are different subject objects.
[0240] 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. Optionally, the media server may generate a credential verification result indicating that the credential verification has not passed when the subprogram identifier and the program identifier to be verified are different.
[0241] Optionally, the media server may also obtain the media status of the media data when receiving the subprogram identifier and external credentials sent by the subprogram server. The media status may include a normal status and a delisted status, and the delisted status may indicate that the publishing object 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 that the credential verification has failed, and then return a media viewing failure notification to the subprogram server. For example, the media viewing failure notification may be "the video cannot be played."
[0242] 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.
[0243] 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. The specific process of displaying the media data by the target subprogram that references the media data can be found in the above Fig.11 The description of step S302 in the corresponding embodiment will not be repeated here.
[0244] 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 subject analysis on the subprogram development object and the publishing object to obtain the subject analysis result. In this way, when the subject analysis result indicates that the subprogram development object and the publishing object are different subject objects, there is no need to send the media content corresponding to the media data to the terminal device, but 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 the 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 publishing 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.
[0245] For easier understanding, see Fig.16 , Fig.16 Schematic diagram of a process of exchanging external vouchers provided in an embodiment of the present application. Fig.16As shown, the specific process of exchanging external vouchers may include steps S37 to S42, and steps S37 to S42 may be as described above. Fig.14 The subsequent steps of step S31 to step S36 in the corresponding embodiment, step S37 to step 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 subprogram may include a subprogram page, the video interaction platform may include a video playback component, the subprogram server may also be referred to as a subprogram background, and the video server may include a video verification component (i.e., a video number verification component).
[0246] like Fig.16 As shown, 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.
[0247] like Fig.16 As shown, the interactive object (e.g., the subprogram development object) can open the subprogram page (i.e., open the target subprogram that references the media data), and view the video number video (i.e., video data) through step S38 (i.e., perform a viewing operation on the media data in the target subprogram that references the media data). In this way, the terminal device can respond to the viewing operation performed by the subprogram development object on the media data in the target subprogram that references the media data, and send a subprogram viewing request to the subprogram background. Furthermore, the subprogram background can pass the subprogram identifier and external credentials to the video server through step S39 (i.e., pass the subprogram 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 when the credential verification passes, return the basic video information (i.e., media information) to the subprogram background through step S40.
[0248] like Fig.16 As shown, the subprogram background can return the basic video information to the target subprogram through step S41, so that the target subprogram can display the media data in the subprogram page based on the basic video information. Furthermore, the subprogram development object can perform a trigger operation on the media data in the subprogram 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 subprogram page, and 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).
[0249] 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 when the credential verification passes, obtain media information corresponding to the media data, 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.
[0250] For further information, see Fig.17 , Fig.17 1 is a structural diagram 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;
[0251] A control display module 11, used to display a media reference control in a media interaction platform for displaying 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 managing subprograms;
[0252] The control display module 11 includes: a data display unit 111, a control display unit 112;
[0253] 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;
[0254] The control display unit 112 is used to respond to the 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 meet the media reference condition at the same time.
[0255] The control display unit 112 is specifically used to respond to the trigger operation for the media forwarding control, generate a media forwarding request based on the development object identifier of the subprogram 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 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;
[0256] 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.
[0257] The specific implementation of the data display unit 111 and the control display unit 112 can be found in the above Figure 3 In the corresponding embodiment, step S101 and Fig. 9 The description of step S201 in the corresponding embodiment will not be repeated here.
[0258] A list display module 12, for responding to a trigger operation on a media reference control, and displaying a subprogram selection list associated with a subprogram development object in a media interaction platform;
[0259] 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;
[0260] A first subprogram acquisition unit 121 is used to respond to a trigger operation on a media reference control and acquire a subprogram associated with a subprogram development object;
[0261] The first list display unit 122 is used to determine that the subprogram associated with the subprogram development object is a target subprogram when the number of subprograms associated with the subprogram development object is one, and to display 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;
[0262] The second subprogram acquisition unit 123 is used to respond to the trigger operation on the media reference control and acquire the subprogram associated with the subprogram development object;
[0263] The second list display unit 124 is used 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;
[0264] The specific implementation of the first subprogram acquisition unit 121, the first list display unit 122, the second subprogram acquisition unit 123 and the second list display unit 124 can be found in the above Figure 3 The description of step S102 in the corresponding embodiment will not be repeated here.
[0265] The credential acquisition module 13 is used to respond to the confirmation operation on the subprogram selection list and obtain the external credential for the media data; 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; the target subprogram is the subprogram selected by the subprogram development object in the subprogram selection list.
[0266] The credential acquisition module includes: a first credential acquisition unit 131, a second credential acquisition unit 132;
[0267] A first credential acquisition unit 131, configured to display a selection confirmation control for a target subprogram in the media interaction platform;
[0268] The first credential acquisition unit 131 is configured to acquire an external credential for media data in response to a trigger operation for selecting a confirmation control.
[0269] Among them, the first credential acquisition unit 131 is specifically used to respond to the trigger operation for the selection confirmation control, 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 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 the 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;
[0270] The first credential obtaining unit 131 is specifically configured to receive an external credential returned by the media server.
[0271] The second credential acquisition unit 132 is used 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;
[0272] The second credential acquisition unit 132 is used to display a selection confirmation control for a target subprogram in a selected state;
[0273] The second credential obtaining unit 132 is configured to obtain an external credential for the media data in response to a trigger operation for selecting a confirmation control.
[0274] The specific implementation of the first credential acquisition unit 131 and the second credential acquisition unit 132 can be found in the above Figure 3In the corresponding embodiment, step S103 and Fig. 9 The description of step S203 in the corresponding embodiment will not be repeated here.
[0275] The credential acquisition module 13 is also specifically used to copy the external credential, and display a media reference success notification in the media interaction platform based on the external credential.
[0276] The data processing device 1 is also specifically used to display the media reference description information and the media reference control control corresponding to the media reference description information in the subprogram platform; the control state of the media reference control control is the closed state;
[0277] The data processing device 1 is further specifically used 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 subprogram development object meets the media reference condition;
[0278] The data processing device 1 is further specifically configured to update and display the media reference control widget from an open state to a closed state when a default time period is reached.
[0279] Among them, 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; 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.
[0280] Optionally, a code generation module 14 is used to generate a subroutine code including the external credential in response to a paste operation on the external credential;
[0281] The code generation module 14 is used to display the subprogram code in the subprogram platform, respond to the publishing operation on the subprogram code, and send the subprogram code to the 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 the publishing object used to publish the media data.
[0282] The subprogram server is used 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 also used to return a program compilation failure notification to the subprogram platform when the condition comparison result indicates that the media data does not meet the media reference condition;
[0283] The data processing device 1 is also specifically used to receive a program compilation failure notification returned by the subprogram server, and display the program compilation failure notification in the subprogram platform.
[0284] Optionally, the request sending module 15 is used to respond to the viewing operation of the media data in the target subprogram that references the media data, generate a subprogram viewing request based on the 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 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;
[0285] An information receiving module 16, 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;
[0286] The media information includes a media cover image of the media data;
[0287] 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;
[0288] The information receiving module 16 is specifically used to receive the media content corresponding to the 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.
[0289] The platform switching module 17 is used to respond to the trigger operation on the media data in the target subprogram that references the media data, switch the target subprogram 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.
[0290] The specific implementation 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 above Figure 3 In the corresponding embodiment, steps S101 to S103, Fig. 9 In the corresponding embodiment, steps S201 to S205, and Fig.11 The description of steps S301 to S303 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0291] For further information, see Fig.18 , Fig.18 is a structural diagram 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;
[0292] The ticket sending module 21 is used to send a temporary ticket to a media interaction platform for displaying media data when the media data and the subprogram development object for viewing the media data meet the media reference condition at the same time; 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 managing subprograms;
[0293] The bill sending module 21 includes: a condition analysis unit 211, a bill sending unit 212;
[0294] The condition analysis unit 211 is used 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;
[0295] 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;
[0296] The condition analysis unit 211 is specifically used to obtain the control state of the media reference control control associated with the development object identifier, and obtain 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 interactive management page of the media interactive platform when the publishing object that publishes media data logs in to the media interactive platform;
[0297] The condition analysis unit 211 is specifically used to perform media review on the media data corresponding to the media identifier and generate a media review result corresponding to the media data;
[0298] 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.
[0299] The ticket sending unit 212 is used 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 subprogram development object simultaneously meet the media reference condition;
[0300] The ticket sending unit 212 is used to send a temporary ticket to the media interaction platform.
[0301] The specific implementation of the condition analysis unit 211 and the bill sending unit 212 can be found in the above Fig.13 The description of step S401 in the corresponding embodiment will not be repeated here.
[0302] The list return module 22 is used 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;
[0303] 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 subprogram in a 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.
[0304] The credential return module 23 includes: a security verification unit 231, a credential return unit 232;
[0305] The security verification unit 231 is used 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;
[0306] 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;
[0307] The security verification unit 231 is specifically used to decode the temporary ticket to obtain the identification of the object to be verified 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;
[0308] The security verification unit 231 is specifically used to obtain the number of media credentials obtained by the subprogram development object corresponding to the development object identifier within a target time period;
[0309] 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 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;
[0310] 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 in the open state.
[0311] The certificate returning unit 232 is used to encrypt the subroutine identifier and the temporary ticket to obtain an external certificate for the media data when the security verification result indicates that the security verification has passed;
[0312] The credential returning unit 232 is used to return the external credential to the media interaction platform.
[0313] The specific implementation of the security verification unit 231 and the credential return unit 232 can be found in the above Fig.13 The description of step S403 in the corresponding embodiment will not be repeated here.
[0314] Optionally, the credential verification module 24 is used to receive the subprogram identifier and external credential of the target subprogram that references the media data sent by the subprogram server; 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 a viewing operation on the media data in the target subprogram that references the media data;
[0315] The voucher verification module 24 is used to perform voucher verification on the subprogram identifier and the external voucher to obtain the voucher verification result;
[0316] The voucher verification module 24 is specifically used to decode the external voucher to obtain the identification of the program to be verified in the external voucher; the external voucher is obtained by encrypting the identification of the program to be verified and the temporary ticket;
[0317] The credential verification module 24 is specifically used to obtain the control state of the subprogram reference control control associated with the media identifier; 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;
[0318] The credential verification module 24 is specifically used to 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 and the control state of the subprogram reference control control is in the open state.
[0319] 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.
[0320] The specific implementation of the bill sending module 21, the list returning module 22, the voucher returning module 23 and the voucher verifying module 24 can be found in the above Fig.13 In the corresponding embodiment, steps S401 to S403, and Fig.15 The description of steps S501 to S503 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0321] For further information, see Fig.19 , Fig.19 1 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, and the computer device may be a terminal device or a media server. Fig.19 As shown, 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 it may be 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 Fig.19As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0322] In such Fig.19 In the computer device 4000 shown, the network interface 1004 can provide a network communication function; 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.
[0323] It should be understood that the computer device 4000 described in the embodiment of the present application can execute the above Figure 3 , Fig. 9 , Fig.11 , Fig.13 or Fig.15 The description of the data processing method in the corresponding embodiment can also be performed as described above. Fig.17 In the corresponding embodiment, the data processing device 1 and Fig.18 The description of the data processing device 2 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0324] 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 above-mentioned Figure 3 , Fig. 9 , Fig.11 , Fig.13 or Fig.15 The description of the data processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of 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.
[0325] 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 may execute the computer program, so that the computer device performs the above Figure 3 , Fig. 9 , Fig.11 , Fig.13 or Fig.15The description of the data processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of 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.
[0326] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0327] The above disclosure is only the preferred embodiment of the present application, which 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: include: When the media data and the subprogram development object for viewing the media data simultaneously meet the media reference condition, displaying a media reference control in a media interaction platform for displaying the media data; the media interaction platform is different from the subprogram platform for managing subprograms; 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, obtaining external credentials for the media data; 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; The target subprogram is a subprogram selected by the subprogram development object in 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 claim 3, 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; Receiving the external credential returned by the media server; The method further comprises: The external credential is copied, and a media reference success notification is displayed in the media interaction platform based on the external credential.
7. The method according to claim 1, characterized in that The method further comprises: In response to a pasting operation on the 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: include: 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; 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 manage subprograms; 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: Decoding the temporary ticket to obtain the identification of the object to be verified 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; Acquire the number of media credentials acquired 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: Decoding 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 managing subprograms; 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 selected by the subprogram development object in 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 manage subprograms; 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.
