Information processing method, information processing device, electronic device and storage medium
By converting the supplementary enhancement information data in the video stream into HTTP format and storing it in the cache, and displaying it using packet capture tools, the development difficulties caused by data opacity in existing technologies are solved, and efficient data visualization and problem location are achieved.
Patent Information
- Application Number
- CN202310063597.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-13
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2043-01-13
AI Technical Summary
In existing technologies, the supplementary enhancement information data integrated into the video stream is opaque and difficult to retain permanently, which makes it difficult to troubleshoot problems during development and testing, increases labor costs, and reduces efficiency.
The supplementary enhancement information data is converted into HTTP format data and stored in the cache to execute the HTTP request response process. The supplementary enhancement information data is obtained and displayed through the packet capture tool, and the supplementary enhancement information data is displayed independently.
It achieves clear, persistent, and multi-dimensional visual display of supplementary and enhanced information data, lowers the viewing threshold, and improves the efficiency of development and problem solving.
Smart Images

Figure CN116095351B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of information processing technology. More specifically, the embodiments of the present disclosure relate to an information processing method, an information processing device, an electronic device, and a storage medium. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the present disclosure, and no admission is made that anything herein is prior art by inclusion in this section.
[0003] In the live streaming industry, the most fundamental and crucial aspect is real-time interaction. For example, in e-commerce, when interacting with users, such as removing or removing products from shelves, sending red envelopes, and dynamically adjusting live streaming parameters, the host's spoken instructions must be timed to match the interactive instructions. This requires supplementary enhancement information technology in streaming media. This supplementary enhancement information is inserted into the video bitstream and integrated with the video. During the live video playback, the parsed supplementary enhancement information data is passed to the business process to achieve zero-latency interaction. However, this supplementary enhancement information data integrated into the bitstream is opaque. As live broadcasts are fleeting, it cannot be well preserved. This makes it very difficult to troubleshoot problems during development and testing. Multiple parties must query logs or re-simulate the live broadcast. However, after the live broadcast environment changes, the problem may not be fully reproduced. This undoubtedly increases labor costs and reduces the efficiency of development and problem solving. Summary of the Invention
[0004] In this context, embodiments of the present invention are intended to provide an information processing method, an information processing device, an electronic device, and a storage medium.
[0005] At least one embodiment of the present disclosure provides an information processing method, which includes: obtaining supplemental enhancement information data from a video stream; converting the supplemental enhancement information data into HTTP format data; and storing the HTTP format data in a cache, wherein the HTTP format data includes HTTP request data and corresponding HTTP response data, and the HTTP format data is used to execute an HTTP request response process, wherein the HTTP request response process includes sending HTTP request data and receiving corresponding HTTP response data.
[0006] For example, in the information processing method provided by at least one embodiment of the present disclosure, before converting the supplementary enhancement information data into HTTP format data, the method includes: classifying the supplementary enhancement information data according to business.
[0007] For example, in the information processing method provided by at least one embodiment of the present disclosure, the HTTP request data includes a URL and a message header, the URL includes information parameters of the supplementary enhanced information data, the message header includes environmental data of the supplementary enhanced information data, and the HTTP response data includes the supplementary enhanced information data.
[0008] For example, in the information processing method provided by at least one embodiment of the present disclosure, the URL also includes the URL protocol name and the internal server IP address, the information parameters of the supplementary enhanced information data include the supplementary enhanced information service name and the supplementary enhanced information instructions, and the environmental data of the supplementary enhanced information data includes device information, live broadcast parameters, and user ID.
[0009] For example, in the information processing method provided by at least one embodiment of the present disclosure, HTTP request data and HTTP response data are stored in a cache in pairs, and the HTTP request response process includes: sending HTTP request data to an internal server; and receiving corresponding HTTP response data obtained by the internal server from the cache based on the HTTP request data.
[0010] For example, in the information processing method provided by at least one embodiment of the present disclosure, HTTP response data is stored in the cache in JSON format.
[0011] For example, in the information processing method provided in at least one embodiment of the present disclosure, the information processing method is applied to a video client, and the network proxy of the video client is configured as the IP address and port provided by the packet capture tool, so that the packet capture tool can obtain HTTP format data transmitted in the HTTP request response process.
[0012] For example, in the information processing method provided by at least one embodiment of the present disclosure, the video client and the packet capture tool are located in the same network.
[0013] For example, in the information processing method provided by at least one embodiment of the present disclosure, HTTP format data transmitted in the HTTP request-response process is acquired by a packet capture tool.
[0014] At least one embodiment of the present disclosure provides an information processing method, which includes: sending HTTP request data to an internal server; receiving corresponding HTTP response data obtained by the internal server from a cache based on the HTTP request data, wherein the HTTP request data and HTTP response data in the cache are converted based on supplementary enhancement information data obtained from a video stream, and the HTTP request data and HTTP response data transmitted between the internal server are provided to a packet capture tool for acquisition.
[0015] At least one embodiment of the present disclosure provides an information processing device, which includes: an acquisition module configured to obtain supplemental enhancement information data from a video stream; a conversion module configured to convert the supplemental enhancement information data into HTTP format data; and a storage module configured to store the HTTP format data in a cache, where the HTTP format data includes HTTP request data and corresponding HTTP response data, and the HTTP format data is used to execute an HTTP request-response process, where the HTTP request-response process includes sending HTTP request data and receiving corresponding HTTP response data.
[0016] For example, the information processing device provided by at least one embodiment of the present disclosure further includes a classification module, which is configured to classify the supplementary enhancement information data according to business.
[0017] For example, in the information processing device provided by at least one embodiment of the present disclosure, the HTTP request data includes a URL and a message header, the URL includes information parameters of the supplementary enhancement information data, the message header includes environmental data of the supplementary enhancement information data, and the HTTP response data includes the supplementary enhancement information data.
[0018] For example, in the information processing device provided by at least one embodiment of the present disclosure, the URL also includes the URL protocol name and the internal server IP address, the information parameters of the supplementary enhanced information data include the supplementary enhanced information service name and the supplementary enhanced information instructions, and the environmental data of the supplementary enhanced information data includes device information, live broadcast parameters, and user ID.
[0019] For example, in the information processing device provided by at least one embodiment of the present disclosure, HTTP request data and HTTP response data are stored in a cache in pairs, and the information processing device also includes an HTTP request response module, which is configured to: send HTTP request data to an internal server; and receive corresponding HTTP response data obtained by the internal server from the cache based on the HTTP request data.
[0020] For example, in the information processing device provided by at least one embodiment of the present disclosure, HTTP response data is stored in the cache in JSON format.
[0021] For example, in the information processing device provided in at least one embodiment of the present disclosure, the information processing device is applied to a video client, and the network proxy of the video client is configured as the IP address and port provided by the packet capture tool, so that the packet capture tool can obtain HTTP format data transmitted in the HTTP request response process.
[0022] For example, in the information processing device provided by at least one embodiment of the present disclosure, the video client and the packet capture tool are located in the same network.
[0023] For example, in the information processing device provided by at least one embodiment of the present disclosure, HTTP format data transmitted in the HTTP request-response process is acquired by a packet capture tool.
[0024] At least one embodiment of the present disclosure provides an information processing device, which includes an HTTP request response module, configured to: send HTTP request data to an internal server; and receive corresponding HTTP response data obtained by the internal server from a cache based on the HTTP request data, wherein the HTTP request data and HTTP response data in the cache are obtained based on the conversion of supplementary enhancement information data obtained from a video stream, and the HTTP request data and HTTP response data transmitted between the internal server are provided to a packet capture tool for acquisition.
[0025] At least one embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory storing executable instructions of the processor; and the processor being configured to execute the steps of the information processing method provided by at least one embodiment of the present disclosure by executing the executable instructions.
[0026] At least one embodiment of the present disclosure provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the information processing method provided by at least one embodiment of the present disclosure.
[0027] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
[0028] The information processing method, information processing device, electronic device, and computer-readable storage medium disclosed herein have the following beneficial effects:
[0029] By converting supplementary enhancement information data into HTTP format data for acquisition by packet capture tools, the supplementary enhancement information data can be clearly, persistently, and visually displayed in multiple dimensions, lowering the threshold for viewing the supplementary enhancement information data and improving the efficiency of development and problem solving. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings, in which several embodiments of the present disclosure are shown by way of example and not limitation, wherein:
[0031] Figure 1 Schematically shows an application architecture diagram according to related art;
[0032] Figure 2 Schematically shows one of the flow charts of the information processing method according to an embodiment of the present disclosure;
[0033] Figure 3 Schematically shows one of the information processing system architecture diagrams according to an embodiment of the present disclosure;
[0034] Figure 4 The second flowchart schematically shows the information processing method according to the embodiment of the present disclosure;
[0035] Figure 5 Schematically shows a second information processing system architecture diagram according to an embodiment of the present disclosure;
[0036] Figure 6 Schematically shows one of the module diagrams of an information processing device according to an embodiment of the present disclosure;
[0037] Figure 7 Schematically shows a second module diagram of an information processing device according to an embodiment of the present disclosure;
[0038] Figure 8 A schematic diagram illustrating a storage medium according to an embodiment of the present disclosure; and
[0039] Figure 9 A block diagram of an electronic device according to a disclosed embodiment is schematically shown.
[0040] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts. DETAILED DESCRIPTION
[0041] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided solely to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0042] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, apparatus, device, method, or computer program product. Therefore, the present disclosure may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software.
[0043] According to an embodiment of the present disclosure, an information processing method, an information processing device, an electronic device, and a storage medium are provided.
[0044] In this document, any number of elements in the drawings is for illustration and not for limitation, and any naming is for distinction only and does not have any limiting meaning.
[0045] The principles and spirit of the present disclosure are described in detail below with reference to several representative embodiments of the present disclosure. SUMMARY OF THE INVENTION
[0047] The inventors of this case discovered in practice that the supplemental enhancement information (SEI) integrated into the video bitstream is opaque. As live broadcasts are fleeting, the SEI data cannot be well retained, which is very unfriendly for troubleshooting during development and testing. When problems arise, multiple parties need to check logs or re-simulate live broadcasts. However, after the live broadcast environment changes, the problem may not be completely reproduced, which increases a lot of manpower costs and reduces the efficiency of development and problem solving.
[0048] One technical means provided by the related technology is that during the live broadcast process, the live broadcast software development kit (SDK) exposes the supplementary enhancement information data to a defined interface by parsing the code stream, and the business end implements the callback interface exposed by the parsing of the supplementary enhancement information data, and outputs the supplementary enhancement information data in the form of a string as a supplementary enhancement information data log.
[0049] However, in this related art, the supplementary enhanced information data log is mixed with the system log and application log, such as Figure 1 As shown, the supplementary enhanced information data log is stored in the log system along with the application's non-live logs, system logs, and other application logs. Furthermore, as logs accumulate over time, when the cached logs exceed the set log cache size, older data is automatically cleared. Therefore, this related technology has the following disadvantages:
[0050] 1. The supplementary enhanced information data log is mixed with other logs and needs to be filtered to obtain the required supplementary enhanced information data log.
[0051] 2. Supplementary enhancement information: Data logs cannot be viewed persistently and are at risk of being deleted when the log memory exceeds the set size.
[0052] 3. The supplementary enhancement information data and the operating environment information cannot be aggregated together, making it difficult to restore the operating environment when the supplementary enhancement information data was issued.
[0053] 4. The threshold for viewing supplementary enhanced information data logs is high. Non-developers need to install and configure the development environment and learn the knowledge related to viewing logs.
[0054] Based on the discovery of the above-mentioned technical problems, the inventors of this case proposed an exemplary embodiment of the present disclosure. The inventive idea is to dynamically obtain supplementary enhancement information data, convert the supplementary enhancement information data into HTTP format data, and use the HTTP format data to execute the HTTP request response process. The HTTP request response process includes sending HTTP request data and receiving corresponding HTTP response data. The HTTP format data transmitted in the HTTP request response process is obtained by a packet capture tool, and the packet capture tool displays the supplementary enhancement information data included in the HTTP format data.
[0055] The information processing method proposed in the embodiment of the present disclosure combines the video client with the packet capture tool, separates the supplementary enhancement information data log from the system log, converts the supplementary enhancement information data into HTTP format data, and then displays the supplementary enhancement information data separately in an independent form through the packet capture tool, which can clearly, persistently, and visually display the supplementary enhancement information data in multiple dimensions. Moreover, the information processing method provided by the embodiment of the present disclosure can facilitate non-developers to view the supplementary enhancement information data without the need to configure the development environment and write command lines. In addition, the information processing method provided by the embodiment of the present disclosure can improve the ability to locate and solve problems related to the supplementary enhancement information data, reduce communication costs, and improve the efficiency of development and problem solving.
[0056] After introducing the basic principles of the present invention, various non-limiting embodiments of the present invention are described in detail below.
[0057] Exemplary Methods
[0058] An information processing method according to an exemplary embodiment of the present disclosure will be described below with reference to the accompanying drawings.
[0059] To facilitate understanding, several terms involved in the embodiments of the present disclosure are explained below.
[0060] Bitrate
[0061] Bitrate refers to the number of high and low voltage levels on a communication port during data transmission within one second. The more data transmitted per unit time, the more information it contains. This is the most important aspect of image quality control in video encoding.
[0062] Supplementary enhancement information
[0063] Supplemental enhancement information belongs to the category of bitstream. It provides a method to add additional information to the video bitstream and is one of the features of video compression standards such as H.264 / H.265.
[0064] URL
[0065] That is, Uniform Resource Locator, commonly known as web page address, abbreviated as URL, which is the address of standard resources on the Internet, just like a house number on the Internet.
[0066] Packet capture tool
[0067] Packet capture tools are software that intercepts and examines the contents of network packets. By analyzing captured packets, useful information can be obtained. During application development, it's necessary to monitor and test network behavior to troubleshoot network and security issues.
[0068] HTTP Request
[0069] HTTP requests are sent by clients to named hosts on servers in order to access resources on the server.
[0070] HTTP Response
[0071] The server sends an HTTP response to the client. The purpose of the response is to provide the client with the requested resource, or to inform the client that the requested action has been performed; or to inform the client that an error occurred while processing its request.
[0072] Internal Server
[0073] Specifies the server that is started within the application after the application is opened.
[0074] JSON
[0075] JSON is a lightweight data exchange format. Based on a subset of ECMAScript (the JS specification developed by the European Computer Society), it uses a text format that is completely independent of programming languages to store and represent data. Its simplicity and clear hierarchical structure make JSON an ideal data exchange language. It is easy to read and write, as well as machine-parseable and easy to generate, significantly improving network transmission efficiency.
[0076] User Agent
[0077] User Agent (UA) is a special string header that enables the server to identify the client's operating system and version, CPU type, browser and version, browser rendering engine, browser language, browser plug-ins, etc.
[0078] Figure 2 A schematic flowchart of an information processing method provided for at least one embodiment of the present disclosure.
[0079] like Figure 2 As shown, the information processing method includes the following steps S201 to S203.
[0080] Step S201: Acquire supplementary enhancement information data from a video stream.
[0081] For example, after starting the video client, the supplementary enhancement information data interface is parsed through the software development kit to obtain the supplementary enhancement information data.
[0082] Step S202: Convert the supplementary enhancement information data into HTTP format data.
[0083] For example, HTTP formatted data includes HTTP request data and the corresponding HTTP response data. HTTP request data includes a URL and a message header. The URL is composed according to the standard URL structure and is responsible for requesting the internal server by domain name. The message header provides support for log extension environment data.
[0084] For example, in some embodiments of the present disclosure, the URL includes information parameters of the supplementary enhancement information data, the message header includes environmental data of the supplementary enhancement information data, and the HTTP response data includes the supplementary enhancement information data.
[0085] For example, in some embodiments of the present disclosure, the URL also includes the URL protocol name and the internal server IP address, the information parameters of the supplementary enhanced information data include the supplementary enhanced information service name and the supplementary enhanced information instructions, and the environmental data of the supplementary enhanced information data includes device information, live broadcast parameters, and user ID.
[0086] For example, supplementary enhancement information service names include live (indicating supplementary enhancement information related to live broadcasting), game (indicating supplementary enhancement information related to games), argument (indicating supplementary enhancement information related to dynamic parameter adjustment), etc. The supplementary enhancement information instruction is the instruction number that needs to be executed for the corresponding service. For example, command=100 indicates that a product is put on the shelf, and command=200 indicates that a product is taken off the shelf, etc. The supplementary enhancement information instruction can support multiple parameters, and multiple parameters are separated by the symbol "&".
[0087] Table 1 below illustrates the URL of HTTP request data.
[0088] Table 1
[0089]
[0090]
[0091] Table 2 is used below to illustrate the message header of HTTP request data.
[0092] Table 2
[0093]
[0094] Through the URL and message header in the HTTP request data, the device information, live broadcast parameters, and user information when the supplementary enhancement information is sent are recorded together in the packet capture tool, enriching the supplementary enhancement information data and forming multi-dimensional supplementary enhancement information data.
[0095] Step S203: Store the HTTP format data in the cache.
[0096] For example, in some embodiments of the present disclosure, HTTP request data and HTTP response data are stored in a cache in pairs, that is, corresponding HTTP response data can be obtained in the cache according to the HTTP request data.
[0097] For example, in some embodiments of the present disclosure, HTTP format data is used to execute an HTTP request-response process, which may include steps S1 and S2:
[0098] Step S1: Send HTTP request data to the internal server;
[0099] Step S2: Receive corresponding HTTP response data obtained by the internal server from the cache according to the HTTP request data.
[0100] For example, the HTTP formatted data transmitted during the HTTP request-response process is captured by packet capture tools. Commonly used packet capture tools include wireshark, Charles, fiddler, QPA, snoop, and so on. Converting the supplementary enhanced information data into HTTP formatted data for capture by packet capture tools allows the packet capture tools to reuse their ability to capture HTTP formatted data and their powerful display capabilities, eliminating the need to repeatedly develop data display-related functions. By obtaining HTTP formatted data through packet capture tools, supplementary enhanced information data can be persistently recorded without relying on a logging system, eliminating the risk of data deletion. As long as the packet capture tool is not closed, the obtained supplementary enhanced information data will be saved.
[0101] For example, in some embodiments of the present disclosure, HTTP response data is stored in the cache in JSON format. Since JSON format is easy to read and write, and is also easy for machines to parse and generate, storing HTTP response data in the cache in JSON format can effectively improve network transmission efficiency.
[0102] For example, in some embodiments of the present disclosure, the above-described information processing method is applied to a video client. For example, the video client and the packet capture tool are located on the same network, and the network proxy of the video client is configured to use the IP address and port provided by the packet capture tool, so that the packet capture tool can obtain HTTP formatted data transmitted in the HTTP request and response process.
[0103] Using the packet capture tool, you can easily view the supplementary enhancement information data without configuring the development environment and writing command lines, which lowers the threshold for viewing the supplementary enhancement information data.
[0104] For example, in some embodiments of the present disclosure, before step S202, the information processing method provided by the embodiments of the present disclosure may include classifying the supplementary enhancement information data by business.
[0105] For example, the supplementary enhancement information data related to live broadcast is divided into one category, the supplementary enhancement information data related to game is divided into one category, the supplementary enhancement information data related to dynamic parameter adjustment is divided into one category, and so on.
[0106] Figure 3 An information processing system architecture provided by an exemplary embodiment of the present disclosure is shown. Figure 3 As shown, the HTTP request and response process is executed in the video client application. The HTTP formatted data transmitted during the HTTP request and response process is captured by a packet capture tool. In addition to the supplementary enhanced information data log, application non-live logs, system logs, and other application logs are stored in the logging system.
[0107] The following combination Figure 3 Specific instructions Figure 2 The information processing method shown.
[0108] First, start the video client, parse the supplementary enhancement information data interface, and obtain SEI data from the video stream. Then, the SEI data is classified by business through the SEI processor to obtain classified SEI data. Then, the classified SEI data is converted into HTTP format data. The HTTP format data includes HTTP request data and corresponding HTTP response data. The HTTP request data includes the URL and the message header, and the HTTP response data includes SEI data. Then, the HTTP request data and HTTP response data are stored in the cache ( Figure 3 (not shown), where the HTTP response data is stored in the cache in JSON format. The application then sends the HTTP request data to the internal server and receives the corresponding HTTP response data from the cache based on the HTTP request data, completing the HTTP request-response process. During the HTTP request-response process, the packet capture tool obtains the HTTP formatted data transmitted in the HTTP request-response process, allowing the SEI data to be viewed in the packet capture tool.
[0109] Figure 4 A schematic flowchart of another information processing method provided for at least one embodiment of the present disclosure.
[0110] like Figure 4 As shown, the information processing method includes the following steps S401 to S402.
[0111] Step S401: Send HTTP request data to the internal server.
[0112] Step S402: Receive corresponding HTTP response data obtained by the internal server from the cache according to the HTTP request data.
[0113] For example, the HTTP request data and HTTP response data in the cache are converted based on the supplementary enhancement information data obtained from the video stream, and the HTTP request data and HTTP response data transmitted between the internal server are obtained by the packet capture tool.
[0114] Figure 5 Another information processing system architecture provided by an exemplary embodiment of the present disclosure is shown. Figure 5 As shown, the application sends HTTP request data to the internal server, the internal server obtains corresponding HTTP response data from the cache according to the HTTP request data, and the application receives the obtained HTTP response data from the internal server.
[0115] For the internal server, after the video client is turned on, it is started through the IP address and port provided by the packet capture tool, waiting for the HTTP request data sent by the application. After receiving the HTTP request data, it obtains the corresponding HTTP response data from the cache and returns this HTTP response data to the application, completing an HTTP request response process.
[0116] Exemplary devices
[0117] After introducing the information processing method of the exemplary embodiment of the present disclosure, Figure 6 and Figure 7 An information processing apparatus according to an exemplary embodiment of the present disclosure will be described.
[0118] Figure 6 An information processing device 600 provided by at least one embodiment of the present disclosure is shown. The information processing device 600 can be used to perform Figure 2 The information processing method shown.
[0119] like Figure 6 As shown, the information processing device 600 may include an acquisition module 601 , a conversion module 602 and a storage module 603 .
[0120] The acquisition module 601 is configured to acquire supplementary enhancement information data from the video stream.
[0121] The conversion module 602 is configured to convert the supplemental enhancement information data into HTTP format data.
[0122] The storage module 603 is configured to store the HTTP format data in the cache.
[0123] For example, HTTP format data includes HTTP request data and corresponding HTTP response data. The HTTP format data is used to execute an HTTP request response process. The HTTP request response process includes sending HTTP request data and receiving corresponding HTTP response data.
[0124] For example, in some embodiments of the present disclosure, the information processing apparatus 600 may further include a classification module 604. The classification module 604 is configured to classify the supplemental enhancement information data according to the service. For example, the classification module 604 is the SEI processor mentioned above.
[0125] For example, in some embodiments of the present disclosure, HTTP request data may include a URL and a message header, the URL may include information parameters of the supplementary enhancement information data, the message header may include environmental data of the supplementary enhancement information data, and the HTTP response data may include the supplementary enhancement information data.
[0126] For example, in some embodiments of the present disclosure, the URL may also include the URL protocol name and the internal server IP address, the information parameters of the supplementary enhanced information data may include the supplementary enhanced information service name and the supplementary enhanced information instructions, and the environmental data of the supplementary enhanced information data may include device information, live broadcast parameters, and user ID.
[0127] For example, in some embodiments of the present disclosure, HTTP request data and HTTP response data are stored in a cache in pairs, and the information processing device 600 may further include an HTTP request response module 605. The HTTP request response module 605 is configured to: send HTTP request data to the internal server; and receive corresponding HTTP response data obtained by the internal server from the cache according to the HTTP request data.
[0128] For example, in some embodiments of the present disclosure, HTTP response data is stored in the cache in JSON format.
[0129] For example, in some embodiments of the present disclosure, the information processing device 600 is applied to a video client, and the network proxy of the video client is configured as the IP address and port provided by the packet capture tool, so that the packet capture tool can obtain HTTP format data transmitted in the HTTP request response process.
[0130] For example, in some embodiments of the present disclosure, the video client and the packet capture tool are located in the same network.
[0131] For example, in some embodiments of the present disclosure, HTTP format data transmitted in the HTTP request-response process is acquired by a packet capture tool.
[0132] For example, the information processing device 600 may be implemented using hardware, software, firmware, or any feasible combination thereof, and the present disclosure does not limit this.
[0133] The technical effects of the information processing device 600 are the same as those of the above-mentioned information processing method, and will not be repeated here.
[0134] Figure 7 Another information processing device 700 provided by at least one embodiment of the present disclosure is shown. The information processing device 700 can be used to perform Figure 4 The information processing method shown.
[0135] like Figure 7 As shown, the information processing device 700 may include an HTTP request response module 605.
[0136] The HTTP request response module 605 is configured to send HTTP request data to the internal server; and receive corresponding HTTP response data obtained by the internal server from the cache according to the HTTP request data.
[0137] For example, the HTTP request data and HTTP response data in the cache are converted based on the supplementary enhancement information data obtained from the video stream, and the HTTP request data and HTTP response data transmitted between the internal server are obtained by the packet capture tool.
[0138] For example, the information processing device 700 may be implemented using hardware, software, firmware, or any feasible combination thereof, and the present disclosure does not limit this.
[0139] The technical effects of the information processing device 700 are the same as those of the above-mentioned information processing method, and will not be repeated here.
[0140] Exemplary Storage Media
[0141] After introducing the information processing method and apparatus thereof according to the exemplary embodiment of the present disclosure, Figure 8 A storage medium according to an exemplary embodiment of the present disclosure is described.
[0142] refer to Figure 8As shown, a program product 800 for implementing the above method according to an embodiment of the present disclosure is described. The program product 800 may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a device such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0143] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0144] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0145] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0146] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0147] Exemplary electronic devices
[0148] After introducing the storage medium of the exemplary embodiment of the present disclosure, next, reference is made to Figure 9 An electronic device according to an exemplary embodiment of the present disclosure will be described.
[0149] Figure 9 The electronic device 900 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0150] like Figure 9 As shown, electronic device 900 is implemented as a general-purpose computing device. Components of electronic device 900 may include, but are not limited to, the at least one processing unit 910 described above, the at least one storage unit 920 described above, a bus 930 connecting various system components (including storage unit 920 and processing unit 910), and a display unit 940.
[0151] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section above. For example, the processing unit 910 can perform the following steps: Figure 2 Or the steps shown in 4.
[0152] The storage unit 920 may include a volatile storage unit, such as a random access memory unit (RAM) 921 and / or a cache memory unit 922 , and may further include a read-only memory unit (ROM) 923 .
[0153] The storage unit 920 may also include a program / utility 924 having a set (at least one) of program modules 925, such program modules 925 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0154] The bus 930 may include a data bus, an address bus, and a control bus.
[0155] The electronic device 900 can also communicate with one or more external devices 901 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), and such communication can be performed via an input / output (I / O) interface 950. The electronic device 900 also includes a display unit 940, which is connected to the input / output (I / O) interface 950 for display. In addition, the electronic device 900 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0156] It should be noted that although several modules or submodules of the information processing device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in a single unit / module. Conversely, the features and functions of a single unit / module described above can be further divided and embodied by multiple units / modules.
[0157] Furthermore, although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0158] Although the spirit and principles of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the specific embodiments disclosed, and the division into various aspects does not mean that the features of these aspects cannot be combined to benefit. Such division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. An information processing method, characterized in that: include: Obtaining supplementary enhancement information data from the video stream; Converting the supplementary enhancement information data into HTTP format data; Storing the HTTP format data in a cache so that a packet capture tool can obtain the HTTP format data transmitted in an HTTP request-response process, and visually displaying the supplementary enhancement information data contained in the HTTP format data in an independent form by the packet capture tool; The HTTP format data includes HTTP request data and corresponding HTTP response data. The HTTP format data is used to execute the HTTP request response process. The HTTP request response process includes sending the HTTP request data and receiving the corresponding HTTP response data.
2. The information processing method according to claim 1, wherein: Before converting the supplementary enhancement information data into HTTP format data, the method includes: The supplementary enhancement information data is classified according to services.
3. The information processing method according to claim 1, wherein: The HTTP request data includes a URL and a message header, the URL includes information parameters of the supplementary enhancement information data, the message header includes environmental data of the supplementary enhancement information data, and the HTTP response data includes the supplementary enhancement information data.
4. The information processing method according to claim 3, wherein: The URL also includes the URL protocol name and the internal server IP address, the information parameters of the supplementary enhanced information data include the supplementary enhanced information service name and the supplementary enhanced information instructions, and the environmental data of the supplementary enhanced information data includes device information, live broadcast parameters, and user ID.
5. The information processing method according to claim 1, wherein: The HTTP request data and the HTTP response data are stored in the cache in pairs. The HTTP request response process includes: Sending the HTTP request data to the internal server; Receive corresponding HTTP response data obtained by the internal server from the cache according to the HTTP request data.
6. The information processing method according to claim 1, wherein: The HTTP response data is stored in the cache in JSON format.
7. The information processing method according to claim 1, wherein: The information processing method is applied to a video client, and the network proxy of the video client is configured as the IP address and port provided by a packet capture tool, so that the packet capture tool can obtain HTTP format data transmitted in the HTTP request response process.
8. The information processing method according to claim 7, wherein: The video client and the packet capture tool are located in the same network.
9. An information processing method, characterized in that: include: Send HTTP request data to the internal server; receiving corresponding HTTP response data obtained by the internal server from the cache according to the HTTP request data, The HTTP request data and the HTTP response data in the cache are converted based on the supplementary enhancement information data obtained from the video stream, the HTTP format data includes the HTTP request data and the HTTP response data, the packet capture tool obtains the HTTP format data, and the packet capture tool visually displays the supplementary enhancement information data in the HTTP format data in an independent form.
10. An information processing device, characterized in that: include: An acquisition module configured to acquire supplementary enhancement information data from a video stream; a conversion module configured to convert the supplementary enhancement information data into HTTP format data; a storage module configured to store the HTTP format data in a cache so that a packet capture tool can obtain the HTTP format data transmitted in an HTTP request-response process, and the packet capture tool can visually display the supplementary enhancement information data contained in the HTTP format data in an independent form; The HTTP format data includes HTTP request data and corresponding HTTP response data. The HTTP format data is used to execute the HTTP request response process. The HTTP request response process includes sending the HTTP request data and receiving the corresponding HTTP response data.
11. The information processing device according to claim 10, wherein: The system further includes a classification module configured to classify the supplementary enhancement information data according to services.
12. The information processing device according to claim 10, wherein: The HTTP request data includes a URL and a message header, the URL includes information parameters of the supplementary enhancement information data, the message header includes environmental data of the supplementary enhancement information data, and the HTTP response data includes the supplementary enhancement information data.
13. The information processing device according to claim 12, wherein: The URL also includes the URL protocol name and the internal server IP address, the information parameters of the supplementary enhanced information data include the supplementary enhanced information service name and the supplementary enhanced information instructions, and the environmental data of the supplementary enhanced information data includes device information, live broadcast parameters, and user ID.
14. The information processing device according to claim 10, wherein The HTTP request data and the HTTP response data are stored in the cache in pairs, and the information processing device further includes an HTTP request response module, which is configured to: Sending the HTTP request data to the internal server; Receive corresponding HTTP response data obtained by the internal server from the cache according to the HTTP request data.
15. The information processing device according to claim 10, wherein The HTTP response data is stored in the cache in JSON format.
16. The information processing device according to claim 10, wherein: The information processing device is applied to a video client, and the network proxy of the video client is configured as the IP address and port provided by a packet capture tool, so that the packet capture tool can obtain HTTP format data transmitted in the HTTP request response process.
17. The information processing device according to claim 16, wherein: The video client and the packet capture tool are located in the same network.
18. An information processing device, characterized in that: The system comprises an HTTP request response module configured to: send HTTP request data to an internal server; and receive corresponding HTTP response data obtained by the internal server from a cache according to the HTTP request data. The HTTP request data and the HTTP response data in the cache are converted based on the supplementary enhancement information data obtained from the video stream, the HTTP format data includes the HTTP request data and the HTTP response data, the packet capture tool obtains the HTTP format data, and the packet capture tool visually displays the supplementary enhancement information data in the HTTP format data in an independent form.
19. An electronic device, characterized in that: include: processor; a memory storing executable instructions for the processor; The processor is configured to perform the steps of the information processing method according to any one of claims 1 to 9 by executing the executable instructions.
20. A computer-readable storage medium for storing a program, characterized in that: When the program is executed, the steps of the information processing method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Providing sequence data sets for streaming video data
CN103069828A
Web resource caching
US8332469B1
Streaming media video playback and generation methods, and device
WO2022116770A1