Data display method and device, electronic equipment, storage medium and program product
By displaying the streaming data and preset indicator data of multiple streaming addresses of the target media stream on the first page, the problem of poor media stream playback is solved, and the address with better test results is selected among different streaming addresses, thereby improving the playback effect of the media stream.
Patent Information
- Application Number
- CN202510096268.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-04-25
AI Technical Summary
The media stream playback effect is poor, and the prior art may lead to poor playback effect when adjusting stream pull parameters.
By obtaining the stream pulling instruction for the target media stream, a first page is displayed, which displays the stream pulling data corresponding to at least two stream pulling addresses of the target media stream and the preset index data. The stream pulling address is generated based on different stream pulling parameters, and the preset index data is used to characterize the playback effect.
In the first page, the streaming data of different streaming addresses are compared at the same time. Through the preset index data, the test effects under different streaming addresses are intuitively viewed, and the streaming address with better test results is selected to improve the playback effect of the media stream.
Smart Images

Figure CN119893198A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a data display method, device, electronic device, storage medium, and program product. Background Art
[0002] Currently, the media stream is mainly pushed to the media stream distribution platform through the streaming tool for content distribution, and then the client pulls the media stream from the media stream distribution platform for playback. However, in actual applications, the playback effect of the media stream is often poor. Summary of the invention
[0003] In view of this, the present disclosure provides a data display method, device, electronic device, storage medium and program product to solve the problem of playing media streams.
[0004] In a first aspect, the present disclosure provides a data display method, the method comprising:
[0005] Obtaining a stream pulling instruction for a target media stream, wherein the stream pulling instruction is used to trigger display of a first page;
[0006] The first page is displayed, wherein the first page displays the streaming data corresponding to at least two streaming addresses of the target media stream and preset indicator data, wherein the streaming addresses are generated based on different streaming parameters, and the preset indicator data is used to characterize the playback effect of the target media stream.
[0007] In a second aspect, the present disclosure provides a data display device, the device comprising:
[0008] A first acquisition module, used to acquire a stream pulling instruction for a target media stream, wherein the stream pulling instruction is used to trigger display of a first page;
[0009] The first display module is used to display the first page, in which the streaming data corresponding to at least two streaming addresses of the target media stream and preset indicator data are displayed, the streaming addresses are generated based on different streaming parameters, and the preset indicator data are used to characterize the playback effect of the target media stream.
[0010] In a third aspect, the present disclosure provides an electronic device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the data display method of the first aspect by executing the computer instructions.
[0011] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the data display method of the first aspect.
[0012] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, and the computer instructions are used to enable a computer to execute the data display method of the first aspect.
[0013] The data display method provided by the embodiment of the present disclosure displays the streaming data corresponding to at least two streaming addresses of the target media stream and preset indicator data on the first page; wherein at least two streaming addresses are generated based on different streaming parameters. Therefore, the streaming data of different streaming addresses of the target media stream can be compared on the first page at the same time, and the test effects of the streaming data under different streaming addresses can be intuitively viewed through the preset indicator data, so as to select the streaming address with better test effect from the different streaming addresses, thereby using the streaming address to pull the data of the target media stream and improve the playback effect of the target media stream. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0015] Figure 1 is a flow chart of a data display method according to an embodiment of the present disclosure;
[0016] Figure 2 is a schematic diagram of an initial page according to an embodiment of the present disclosure;
[0017] Figure 3 is a schematic diagram of another initial page according to an embodiment of the present disclosure;
[0018] Figure 4 is a schematic diagram of displaying a first page according to an embodiment of the present disclosure;
[0019] Figure 5 is a schematic diagram of a time point linkage display according to an embodiment of the present disclosure;
[0020] Figure 6 is a schematic diagram of displaying an amplified image according to an embodiment of the present disclosure;
[0021] Figure 7 It is a display schematic diagram of preset indicator data and related indicator data that meet indicator requirements according to an embodiment of the present disclosure;
[0022] Figure 8 is a schematic diagram of displaying a second page according to an embodiment of the present disclosure;
[0023] Fig. 9 A schematic diagram of displaying a third page according to an embodiment of the present disclosure
[0024] Fig.10 is a structural block diagram of a data display device according to an embodiment of the present disclosure;
[0025] Fig.11 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0027] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0028] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0029] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0030] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0031] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0032] In order to solve the problem of poor playback effect of media streams, related technologies propose to use a playback tool to perform a playback test on a single-channel streaming address of the media stream before actually playing the media stream, and adjust the streaming parameters according to the playback test results. However, this method of adjusting the streaming parameters may still cause poor playback effect of the media stream due to improper adjustment of the streaming parameters.
[0033] In view of this, according to an embodiment of the present disclosure, a data display method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0034] In this embodiment, a data display method is provided, which can be used in a server of a media application. Figure 1 is a flow chart of a data display method according to an embodiment of the present disclosure, such as Figure 1 As shown, the process includes the following steps:
[0035] Step S101: obtaining a stream pulling instruction for a target media stream, where the stream pulling instruction is used to trigger display of a first page.
[0036] Optionally, the target media stream is a live stream. In addition, the target media stream may also be a video stream in a video session, etc., which is not limited here.
[0037] Specifically, an address generation tool is used to generate multiple stream pull addresses of the target media stream. A stream pull instruction is generated based on at least two of the multiple stream pull addresses. Alternatively, a media stream page is displayed, and the media stream page displays a stream pull tool. In response to an interactive operation on the stream pull tool, an initial page is displayed. The initial page displays stream pull data, preset indicator data, and a second control corresponding to a first stream pull address; wherein the first stream pull address is one of the multiple stream pull addresses, and the second control is used to add stream pull data and preset indicator data corresponding to other stream pull addresses of the target media stream. In response to an interactive operation on the second control, a stream pull instruction is generated.
[0038] Step S102, displaying a first page, wherein the first page displays streaming data corresponding to at least two streaming addresses of the target media stream and preset indicator data, wherein the streaming addresses are generated based on different streaming parameters, and the preset indicator data are used to characterize the playback effect of the target media stream.
[0039] Optionally, if the stream pulling instruction is triggered based on the second control, the at least two stream pulling addresses include the first stream pulling address and the added second stream pulling address.
[0040] Specifically, before obtaining the stream pulling instruction for the target media stream, use the address generation tool to generate multiple stream pushing addresses of the target media stream. Filter out the target stream pushing address from the multiple stream pushing addresses. Use the stream pushing tool and the target stream pushing address to push the target media stream to the media stream distribution platform for content distribution. The server pulls the corresponding stream pulling data from the media stream distribution platform according to at least two stream pulling addresses.
[0041] Optionally, the preset indicator data includes at least one of a picture quality score, a media stream type, a resolution, a frame rate, a bit rate, a picture group (Group of Pictures, GOP), a buffer size, and a delay. The picture quality score is obtained based on the quality platform scoring the picture quality of the stream data. It should be noted that the above preset indicator data is only an optional example, and in actual operation, it can be adjusted according to actual conditions.
[0042] It should be noted that the preset indicator data displayed on the first page are data measured in real time.
[0043] The data display method provided in this embodiment displays the streaming data and preset indicator data corresponding to at least two streaming addresses of the target media stream on the first page; wherein at least two streaming addresses are generated based on different streaming parameters. Therefore, the streaming data of different streaming addresses of the target media stream can be compared on the first page at the same time, and the test effects of the streaming data under different streaming addresses can be intuitively viewed through the preset indicator data, so as to select the streaming address with better test effect from the different streaming addresses, thereby using the streaming address to pull the data of the target media stream and improve the playback effect of the target media stream.
[0044] As one of the specific embodiments, take the example of generating a stream pulling instruction through the second control. Figure 2 As shown, in response to the interactive operation on the streaming tool, the initial page is displayed. The initial page displays the first streaming address (such as streaming address 1), the streaming data corresponding to the first streaming address, and preset indicator data, for example, the media stream type is the streaming media format (FlashVideo, FLV), the resolution is 1280*720, the image quality score is 80, the frame rate is 12fps, the bit rate is 10Mbps, the picture group is 120, the buffer size is 12ms (that is, the processing time of the target media stream in the buffer is 12ms), and the delay is 12s. A second control is also displayed on the first page. In response to the interactive operation on the second control, the target container is displayed on the initial page (see Figure 3 In response to the stream pull address input in the target container, a second stream pull address is determined, and the at least two stream pull addresses in the above step S102 include the first stream pull address and the second stream pull address. In response to the determined second stream pull address, a stream pull instruction is generated.
[0045] The target container also displays a start control and a cancel control. The generating of the stream pulling instruction in response to the determined second stream pulling address includes: generating the stream pulling instruction in response to the interactive operation on the start control. After pulling the stream pulling data and the preset indicator data corresponding to the second stream pulling address, the stream pulling data and the preset indicator data corresponding to the second stream pulling address are displayed in the target container to obtain the first page.
[0046] Furthermore, in response to an interactive operation on a cancel control, the stream pulling data and the preset indicator data corresponding to the second stream pulling address may be canceled.
[0047] It should be noted that the first page can use data processing technology, artificial intelligence technology, large model technology, large language model technology and other technologies to adaptively layout according to the number of corresponding streaming addresses / streaming data. At the same time, the data displayed on the first page is automatically increased or decreased with the update of the streaming address (such as modification, deletion, addition, etc.).
[0048] It is worth noting that in the data display method disclosed in the present invention, the streaming data and preset indicator data corresponding to a single streaming address can be displayed, and the streaming data and preset indicator data corresponding to multiple streaming addresses can also be displayed simultaneously.
[0049] In some optional embodiments, such as Figure 4 As shown, the first page also displays a data comparison chart of preset indicator data of at least one indicator type, and the data displays between the data comparison charts have a linkage relationship.
[0050] Optionally, at least one indicator type includes at least one of an average frame rate, an average bit rate, and a picture quality score. In practical applications, the indicator type may be adjusted according to actual conditions, and is not limited here.
[0051] In actual applications, the time points of data comparison charts of different indicator types are supported to be linked and viewed. When a data point of any data comparison chart is selected, the preset data indicators of the same time point of the data comparison chart are automatically displayed in other data comparison charts according to the time point corresponding to the data point.
[0052] The data display method provided in this embodiment displays a data comparison chart of preset indicator data of at least one indicator type on the first page, so that the data comparison chart can be used to intuitively display the difference between preset indicator data of the same indicator type for different streaming addresses. At the same time, the data display between each data comparison chart has a linkage relationship, so it is convenient to view the relationship between multiple indicator types at the same time, so as to better analyze the playback effect of the target media stream under different streaming addresses.
[0053] In some optional implementations, the data comparison graph is used to characterize the changing trend of the corresponding preset indicator data over time. The data display method disclosed herein also includes: if the current interaction point is located on any data comparison graph, obtaining the target time point corresponding to the current interaction point in the data comparison graph; and displaying the preset indicator data corresponding to the target time point in each data comparison graph.
[0054] For example, Figure 5 As shown, taking the data point "01:00" in the data comparison chart of average frame rate as an example, the target time point "01:00" and the average frame rate "12fps" corresponding to the streaming address 1 are displayed in the data comparison chart of average frame rate. At the same time, the target time point "01:00" and the average bit rate 15Mbps corresponding to the streaming address 1 are displayed in the data comparison chart of average bit rate. And, the target time point "01:00" and the picture quality score 82 corresponding to the streaming address 1 are displayed in the data comparison chart of picture quality score.
[0055] The data display method provided in this embodiment supports viewing data at linked time points between data comparison charts. Therefore, it is possible to intuitively view the mutual relationship and change trend of preset indicator data of different indicator types at the same time point, which is helpful for in-depth analysis of the preset indicator data of each pull address.
[0056] In some optional implementations, in the data comparison diagram, the display style of the preset indicator data of each stream pulling address corresponds to the display style of the identifier corresponding to the stream pulling address.
[0057] Specifically, different display styles of logos are configured for different stream pulling addresses, and the logos corresponding to the respective stream pulling addresses run through the entire chart in the first page, thereby strengthening the data identification system of different stream pulling addresses.
[0058] Optionally, the identifiers of different stream pulling addresses have different colors, for example, the identifier of stream pulling address 1 is blue, and the identifier of stream pulling address 2 is green.
[0059] The streaming data and / or data comparison diagram show the information of the streaming data corresponding to each streaming address, such as the stream name. When the target media stream includes a video stream, the stream name can be the video title. At the same time, the streaming data and / or data comparison diagram also show the identifiers corresponding to each streaming address, such as Figure 5 The “camera” logo is shown.
[0060] Optionally, in the data comparison diagram, the color of the preset indicator data of each stream pulling address corresponds to the color of the identifier corresponding to the stream pulling address, so as to distinguish the preset indicator data of different stream pulling addresses.
[0061] The data display method provided in this embodiment is such that, in the data comparison diagram, the display style of the preset indicator data of each stream pulling address corresponds to the display style of the identifier corresponding to the stream pulling address. Therefore, it is easy to distinguish the preset indicator data corresponding to different stream pulling addresses in the data comparison diagram, thereby improving data readability.
[0062] In some optional implementations, the streaming data includes a video stream; the first page also displays a first control, which is used to enlarge image frames in the same playback time and position area in the streaming data of at least two streaming addresses.
[0063] Specifically, the first control includes sub-controls with different magnifications. For example, Figure 5 As shown, there are sub-controls with 2x magnification, sub-controls with 4x magnification, and so on.
[0064] It should be noted that, in practical applications, in order to avoid a large difference in delay between the stream data to be magnified and compared, which results in the comparison and analysis of image frames at different times, therefore, before selecting the first control for magnification and comparison analysis, the stream addresses with large delay differences can be modified according to the delays of the respective stream addresses, so as to reduce the delay difference of the stream data of the two stream addresses to be magnified and compared, thereby improving the accuracy of data analysis of the stream data of different stream addresses.
[0065] The data display method provided in this embodiment displays a first control on a first page for amplifying image frames in the same playback time and position area in the streaming data of at least two streaming addresses. Therefore, it is convenient to intuitively view the image quality details of the streaming data of different streaming addresses.
[0066] In some optional embodiments, the data display method of the present disclosure also includes: in response to a selection operation on the first control, if the current interaction point is located on an image frame of any stream data, determining a target position area based on the current interaction point; on the first page, displaying an enlarged image of the image frame in each stream data that is at the same playback time and located in the target position area.
[0067] Specifically, an area within a preset range with the current interaction point as the center is determined as the target location area. Alternatively, the current interaction point is used as a corner point on one side, and the target location area is determined based on the corner point and the corresponding preset range.
[0068] The corresponding stream pulling address identifier is displayed in the enlarged image corresponding to each stream pulling data, so as to distinguish the enlarged images of different stream pulling addresses.
[0069] For example, Figure 6As shown, assuming that the sub-control with a 2x magnification in the first control is selected, and the current interaction point is located on the streaming data of streaming address 1, the target position area corresponding to the current interaction point is determined, and a 2x magnified image of the image frame at the same playback time in streaming address 1 and streaming address 2 and located in the target position area is displayed, for example, magnified image 1 and magnified image 2, so as to observe the image quality details of the target position area using magnified image 1 and magnified image 2.
[0070] The data display method provided in this embodiment, when the zoom control is selected, displays the zoomed-in images of the image frames in the same playback time and located in the target position area corresponding to the current interaction point in each stream data on the first page. Therefore, it is convenient to observe the details of the stream data of each stream address.
[0071] In some optional embodiments, when the preset indicator data meets the corresponding indicator requirements, the preset indicator data is displayed in a first display style; when the preset indicator data does not meet the corresponding indicator requirements, the preset indicator data is displayed in a second display style, and the first display style is different from the second display style.
[0072] Specifically, statistical analysis is performed on the preset indicator data within the preset time period to determine the statistical analysis characteristics of the preset indicator data, such as the average value, mode, etc. If the statistical analysis characteristics are within the preset indicator range of the preset indicator data, it is determined that the preset indicator data meets the corresponding indicator requirements. If the statistical analysis characteristics are not within the preset indicator range of the preset indicator data, it is determined that the preset indicator data does not meet the corresponding indicator requirements. It should be noted that the indicator requirements and preset indicator ranges of each preset indicator data can be adjusted according to actual conditions, and are not limited here.
[0073] Optionally, the first display style is highlighted display, and the second display style is regular display (ie, non-highlighted display).
[0074] For example, Figure 7 As shown, assuming that the image quality score of the streaming address 1 meets the corresponding indicator requirements, the image quality score of the streaming address 1 is highlighted.
[0075] The data display method provided in this embodiment is that the preset indicator data will change frequently with the change of time. During this period, the preset indicator data may fluctuate due to reasons such as unstable transmission network, and the displayed preset indicator data is unstable. Therefore, the first display style is used to display the preset indicator data that meets the corresponding indicator requirements, which can facilitate the rapid analysis of the test results of different streaming addresses, so as to quickly determine the streaming address with better playback effect of the target media stream.
[0076] In some optional implementations, a second control is further displayed on the first page, and the second control is used to add stream pulling data corresponding to other stream pulling addresses of the target media stream and preset indicator data.
[0077] The data display method provided in this embodiment displays a second control for adding the streaming data of other streaming addresses and preset indicator data on the first page, so that the streaming data of the streaming address to be compared can be adaptively selected.
[0078] In some optional implementations, a third control is also displayed on the first page, and the third control is used to refresh the stream pulling data and preset indicator data displayed on the first page.
[0079] Alternatively, if Figure 7 As shown, the third control includes a stream pull control and a pause control. The stream pull control is used to re-pull the stream pull data of each stream pull address, and the pause control is used to pause the playback of the stream pull data in the first page.
[0080] The data display method provided in this embodiment has a large difference in the delay of the streaming data of different streaming addresses displayed on the first page when a new streaming address is added. Therefore, it is necessary to use a third control to refresh the streaming data and preset indicator data displayed on the first page, so as to ensure the accuracy of the test results corresponding to different streaming addresses.
[0081] In some optional implementations, a fourth control is displayed in a corresponding area of the stream data, and the fourth control is used to trigger the display of relevant indicator data of the stream data, where the relevant indicator data includes preset indicator data and other indicator data.
[0082] Specifically, the data display method of the present disclosure further includes: in response to an interactive operation on a fourth control, displaying relevant indicator data of the stream data in the form of a drop-down list.
[0083] The relevant indicator data include at least one of resolution, frame rate, bit rate, picture group, and buffer size. In addition, other indicator data may also be included, which is not limited here.
[0084] The data display method provided in this embodiment displays a fourth control in the corresponding area of the stream data to trigger the display of the relevant indicator data of the stream data. Therefore, the fourth control can be used to view the indicator data details of each stream data.
[0085] In some optional implementations, an edit control is displayed in the area corresponding to the stream pulling address, and the edit control is used to edit the stream pulling address to update the stream pulling address.
[0086] In some optional embodiments, the data display method of the present disclosure further includes:
[0087] Step a1: obtaining an address generation instruction for a target media stream, where the address generation instruction is used to trigger display of a second page.
[0088] Specifically, the media stream page also displays an address generation tool. In response to an interactive operation on the address generation tool, an address generation instruction is generated.
[0089] Step a2: displaying a second page, wherein the second page displays configuration items of at least one configuration parameter of the target media stream, wherein the at least one configuration parameter includes at least one of a domain name, application information of the application to which it belongs, and identification information.
[0090] Optionally, the application information of the application includes an application name, and the identification information includes a media stream name of the target media stream.
[0091] Optionally, the at least one configuration parameter further includes an expiration time of a stream pull address corresponding to the target media stream. In practical applications, the at least one configuration parameter may be adjusted according to actual conditions.
[0092] Step a3: In response to the configuration operation on the configuration item, determine the target configuration parameters of the target media stream.
[0093] Exemplarily, assuming that the application information is the application name and the identification information is the media stream name, the domain name of the target media stream, the application name of the application to which it belongs, and the media stream name can be configured on the second page. In addition, the second page also displays the address type, such as the push stream address and the pull stream address. If the pull stream address is selected, one or more pull stream addresses of the target media stream can be generated according to the configured configuration parameters. If the push stream address is selected, one or more push stream addresses of the target media stream can be generated according to the configured configuration parameters.
[0094] Step a4: in response to the determined target configuration parameters, at least two stream pulling addresses of the target media stream are displayed on the second page, wherein the at least two stream pulling addresses are generated based on the target configuration parameters and preset parameter configurations, and the preset parameter configurations include different stream pulling parameters.
[0095] Specifically, Figure 8As shown, the second page displays an address generation control. After configuring the various configuration parameters, if the selected address type is a stream pull address, at least two stream pull addresses of the target media stream are generated in response to the interactive operation on the address generation control. Among them. The at least two stream pull addresses include at least one of the source stream address, the transcoding stream address, and the adaptive bit rate (Adaptive Bit Rate, ABR) address. The transcoding stream address also includes at least one of the Real-Time Messaging Protocol Address (Real-Time Messaging Protocol Address, RTMP), the Flash Video File Address (Flash Video File Address, FLV) address, the Real-Time Messaging (Real-Time Messaging, RTM) address, the HTTP Live Streaming Address (HTTP Live Streaming Address, HLS) and the Dynamic Adaptive Streaming over HTTP Address (Dynamic Adaptive Streaming over HTTP Address, DASH). It should be noted that in actual applications, the above-mentioned stream pull address and transcoding stream address can be adjusted according to actual conditions, and are not limited here.
[0096] The data display method provided in this embodiment displays the configuration item of at least one configuration parameter of the target media stream on the second page to configure the target configuration parameter of the target media stream. Therefore, different pull stream addresses of the target media stream can be generated according to the target configuration parameter and the preset parameter configuration, thereby improving the configuration efficiency of the pull stream address. At the same time, the above data display method can also be used to compare the pull stream conditions of different pull stream addresses, so as to select the pull stream address with better test results as the playback address of the target media stream, so that the client can pull and display the data of the target media stream through the playback address.
[0097] In some optional implementations, the address type can be switched through interactive operations of the address type. If a streaming address is selected, one or more streaming addresses of the target media stream are displayed on the second page in response to the determined target configuration parameters. The preset parameter configuration also includes different streaming parameters, and the streaming address is generated based on the target configuration parameters and different streaming parameters in the preset parameter configuration.
[0098] The one or more push stream addresses include at least one of a push stream address, an OBS push stream address, a TS stream address transmitted via SRT, an RTMP stream address transmitted via SRT, a real-time message transmission address (RTM address), and a WebTransport push stream address. The second page also displays an OBS push stream key (OBS stream key) of the OBS push stream address. It should be noted that in actual applications, the above-mentioned push stream address can be adjusted according to actual conditions and is not limited here.
[0099] In some optional implementations, the preset parameter configuration includes different streaming parameters for at least one application, and at least two streaming addresses are generated based on the target configuration parameters and the streaming parameters in the preset parameter configuration that match the application.
[0100] The data display method provided in this embodiment generates a streaming address of a target media stream based on the target configuration parameters and the streaming parameters that match the application to which the target media stream belongs in the preset parameter configuration. Therefore, in actual applications, only the configuration parameters of the target multimedia need to be configured, and the streaming addresses with different streaming parameters can be generated by using the preset parameter configuration, thereby improving the generation efficiency of the streaming address.
[0101] In some optional implementations, the preset parameter configuration includes different streaming parameters of at least one application, and one or more streaming addresses are generated based on the target configuration parameters and the streaming parameters in the preset parameter configuration that match the application.
[0102] The data display method disclosed in the present invention can support the one-click generation of functional addresses such as HTTP real-time streaming adaptive bit rate (HLS-ABR), dynamic adaptive streaming adaptive bit rate over HTTP (DASH-ABR), and digital rights management (DRM) through the above-mentioned generation method of the pull stream address and the push stream address, so as to obtain different push stream addresses and pull stream addresses of the target media stream. Furthermore, the functional configuration of the corresponding adaptive bit rate address is clearly displayed.
[0103] In some optional embodiments, such as Fig. 9As shown, after the push stream address of the target media stream is generated by using the address generation tool, a push stream address can be selected as the target push stream address. The media stream page also displays a push stream tool. In response to the interactive operation on the push stream tool, a push stream instruction is generated, and the push stream instruction is used to trigger the display of the third page. The third page is displayed, and the third page displays an input control and at least one configuration item of a push parameter. In response to the push stream address entered in the input control, the target push stream address is determined. In response to the configuration operation of the configuration item of at least one push parameter, the target push stream parameter is determined. Based on the target push stream address and the target push stream parameter, the target media stream is pushed to the media stream distribution platform. Among them, the push stream parameter includes at least one of the first push stream parameter, the second push stream parameter, and the third push stream parameter. The first push stream parameter includes at least one of the camera parameter, the shared screen parameter, and the video source. The second push stream parameter includes at least one of the microphone parameter and the audio source. The third push parameter includes at least one of the push stream protocol, the push stream option, the video setting, and the audio quality. It should be noted that in actual applications, the above push stream parameters can be adjusted according to actual conditions.
[0104] In addition, the third page also displays a callback notification corresponding to the target streaming address.
[0105] As a specific application example, taking the media application as a live broadcast application as an example, a target software is installed on the server side of the media application, and the target software is used to execute the data display method disclosed in the present invention, so as to use the address generation tool to generate one or more push stream addresses and pull stream addresses of the live stream (i.e., the above-mentioned target media stream). The push stream address is used to push the live stream to the media stream distribution platform (such as the live broadcast center) for content distribution. In addition, the pull stream tool is used to display the pull stream data and preset indicator data of at least two pull stream addresses on the first page, so as to support the picture quality comparison of single or multiple live streams on the first page. It also supports the simultaneous comparison of the live stream picture and the preset indicator data, and the test results are more intuitive. The user can select a pull stream address with better test results as the playback address through the data of each pull stream address displayed on the first page. The client of the media application pulls the corresponding live stream from the live broadcast center through the playback address to watch the live broadcast.
[0106] In the present embodiment, a data display device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0107] This embodiment provides a data display device, such as Fig.10 As shown, including:
[0108] A first acquisition module 1001 is used to acquire a stream pulling instruction for a target media stream, where the stream pulling instruction is used to trigger display of a first page;
[0109] The first display module 1002 is used to display a first page, which displays streaming data corresponding to at least two streaming addresses of the target media stream and preset indicator data. The streaming addresses are generated based on different streaming parameters, and the preset indicator data is used to characterize the playback effect of the target media stream.
[0110] In some optional implementations, the first page also displays a data comparison chart of preset indicator data of at least one indicator type, and the data displays between the data comparison charts have a linkage relationship.
[0111] In some optional implementations, the data comparison chart is used to characterize the changing trend of the corresponding preset indicator data over time. The data display device of the present disclosure also includes:
[0112] A second acquisition module is used to acquire a target time point corresponding to the current interaction point in any data comparison graph if the current interaction point is located on any data comparison graph;
[0113] The second display module is used to display the preset indicator data corresponding to the target time point in each data comparison chart.
[0114] In some optional implementations, in the data comparison diagram, the display style of the preset indicator data of each stream pulling address corresponds to the display style of the identifier corresponding to the stream pulling address.
[0115] In some optional implementations, the streaming data includes a video stream; the first page also displays a first control, which is used to enlarge image frames in the same playback time and position area in the streaming data of at least two streaming addresses.
[0116] In some optional embodiments, the data display device of the present disclosure further includes:
[0117] An area determination module, configured to, in response to a selection operation on the first control, determine a target location area based on the current interaction point if the current interaction point is located on any image frame of the stream data;
[0118] The third display module is used to display, on the first page, enlarged images of image frames in each stream data that are at the same play time and located in the target position area.
[0119] In some optional embodiments, when the preset indicator data meets the corresponding indicator requirements, the preset indicator data is displayed in a first display style; when the preset indicator data does not meet the corresponding indicator requirements, the preset indicator data is displayed in a second display style, and the first display style is different from the second display style.
[0120] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0121] The data display device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0122] The present disclosure also provides an electronic device having the above Fig.10 The data display device shown.
[0123] See also Fig.11 , Fig.11 is a structural block diagram of an electronic device provided by an optional embodiment of the present disclosure, such as Fig.11 As shown, the electronic device includes: one or more processors 1101, memory 1102, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.11 A processor 1101 is taken as an example.
[0124] The processor 1101 may be a central processing unit, a network processor or a combination thereof. The processor 1101 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.
[0125] The memory 1102 stores instructions executable by at least one processor 1101, so that the at least one processor 1101 executes the method shown in the above embodiment.
[0126] The memory 1102 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 1102 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 1102 may optionally include a memory remotely arranged relative to the processor 1101, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0127] The memory 1102 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 1102 may also include a combination of the above types of memory.
[0128] The electronic device also includes an input device 1103 and an output device 1104. The processor 1101, the memory 1102, the input device 1103 and the output device 1104 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.
[0129] The input device 1103 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 1104 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0130] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0131] A part of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0132] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A data display method, characterized in that: The method comprises: Obtaining a stream pulling instruction for a target media stream, wherein the stream pulling instruction is used to trigger display of a first page; The first page is displayed, wherein the first page displays the streaming data corresponding to at least two streaming addresses of the target media stream and preset indicator data, wherein the streaming addresses are generated based on different streaming parameters, and the preset indicator data is used to characterize the playback effect of the target media stream.
2. The data display method according to claim 1, characterized in that: The first page also displays a data comparison chart of preset indicator data of at least one indicator type, and the data displays between the data comparison charts have a linkage relationship.
3. The data display method according to claim 2, characterized in that: The data comparison chart is used to characterize the changing trend of the corresponding preset indicator data over time; the method also includes: If the current interaction point is located on any of the data comparison graphs, obtaining the target time point corresponding to the current interaction point in the data comparison graph; The preset indicator data corresponding to the target time point is displayed in each of the data comparison graphs.
4. The data display method according to claim 2, characterized in that: In the data comparison diagram, the display style of the preset indicator data of each of the stream pulling addresses corresponds to the display style of the identifier corresponding to the stream pulling address.
5. The data display method according to claim 1, characterized in that: The streaming data includes a video stream; the first page also displays a first control, which is used to enlarge image frames in the same playback time and position area in the streaming data of the at least two streaming addresses.
6. The data display method according to claim 5, characterized in that: The method further comprises: In response to a selection operation on the first control, if a current interaction point is located on any image frame of the stream data, determining a target location area based on the current interaction point; On the first page, enlarged images of image frames in the same playback time and located in the target position area in each of the pulled stream data are displayed.
7. The data display method according to claim 1, characterized in that: When the preset indicator data meets the corresponding indicator requirements, the preset indicator data is displayed in a first display style; when the preset indicator data does not meet the corresponding indicator requirements, the preset indicator data is displayed in a second display style, and the first display style is different from the second display style.
8. The data display method according to claim 1, characterized in that: The first page also displays a second control, which is used to add streaming data corresponding to other streaming addresses of the target media stream and preset indicator data.
9. The data display method according to claim 1, characterized in that: The first page also displays a third control, and the third control is used to refresh the stream pulling data and preset indicator data displayed on the first page.
10. The data display method according to claim 1, characterized in that: A fourth control is displayed in a corresponding area of the stream pulling data, and the fourth control is used to trigger the display of relevant indicator data of the stream pulling data, and the relevant indicator data includes the preset indicator data and other indicator data.
11. The data display method according to claim 1, characterized in that: The method further comprises: Acquire an address generation instruction for the target media stream, wherein the address generation instruction is used to trigger display of a second page; Displaying the second page, wherein the second page displays a configuration item of at least one configuration parameter of the target media stream, wherein the at least one configuration parameter includes at least one of a domain name, application information of a corresponding application, and identification information; In response to a configuration operation on the configuration item, determining a target configuration parameter of the target media stream; In response to the determined target configuration parameters, at least two stream pulling addresses of the target media stream are displayed in the second page, the at least two stream pulling addresses are generated based on the target configuration parameters and a preset parameter configuration, and the preset parameter configuration includes different stream pulling parameters.
12. The data display method according to claim 11, characterized in that: The preset parameter configuration includes different streaming parameters for at least one application, and the at least two streaming addresses are generated based on the target configuration parameters and the streaming parameters in the preset parameter configuration that match the application.
13. A data display device, characterized in that: The device comprises: A first acquisition module, used to acquire a stream pulling instruction for a target media stream, wherein the stream pulling instruction is used to trigger display of a first page; The first display module is used to display the first page, in which the streaming data corresponding to at least two streaming addresses of the target media stream and preset indicator data are displayed, the streaming addresses are generated based on different streaming parameters, and the preset indicator data are used to characterize the playback effect of the target media stream.
14. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the data display method according to any one of claims 1 to 12 by executing the computer instructions.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the data display method according to any one of claims 1 to 12.
16. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the data display method according to any one of claims 1 to 12.