Video stream cache parameter configuration method and device, electronic equipment and storage medium
By acquiring user identifiers and business descriptions, and using artificial intelligence analysis to determine initial cache parameters, the problem of statically defining cache parameters for video stream services in existing technologies is solved, enabling intelligent configuration and visual adjustment, and improving user experience.
Patent Information
- Application Number
- CN202511776416.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-03-17
AI Technical Summary
In existing technologies, local caching parameters for video streaming services are mainly defined statically through configuration files, which relies on developer experience. This results in parameter settings that are not conducive to practical applications and lack intelligent configuration and user interaction.
By acquiring user identifiers and business descriptions, the system uses artificial intelligence to analyze and determine initial cache parameters, generates a request response, and displays it on the front end. Users can confirm or adjust the parameters, and the configuration center will dynamically update the cache parameters thereafter.
It enables intelligent configuration of video stream caching parameters, lowers the barrier to entry, allows users to make visual adjustments, and improves the user experience.
Smart Images

Figure CN121691791A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of Internet, and particularly relates to a video stream cache parameter configuration method and device, electronic equipment and storage medium. BACKGROUND
[0002] With the rapid development of Internet technology and the continuous growth of user demand, video stream service has become a core business scenario of modern Internet application, such as short video, long video and e-commerce live broadcast. In video stream service, local cache as a key technology for performance optimization is widely used in video metadata, user behavior data and hot content. At present, the local cache parameters of video stream service are mainly defined by static configuration files, such as cache capacity, expiration time, refresh interval, etc. The parameter setting depends on the past experience of developers, which is not conducive to practical application. SUMMARY
[0003] The present application provides a video stream cache parameter configuration method, device, electronic equipment and storage medium to solve the technical problem of how to intelligently configure video stream cache parameters.
[0004] In a first aspect, the present application provides a video stream cache parameter configuration method, which comprises: obtaining a parameter configuration request of a video stream to be cached; wherein the parameter configuration request carries a user identifier and service description information; determining initial cache parameters based on the service description information; generating a request response based on the initial cache parameters, and returning the request response to a front end corresponding to the user identifier, so as to display the initial cache parameters on the front end; obtaining target cache parameters determined by a user based on the initial cache parameters; configuring cache parameters of the video stream to be cached according to the target cache parameters.
[0005] Optionally, determining initial cache parameters based on the service description information comprises: extracting keywords carried in the service description information; analyzing the keywords to determine the service type and service characteristics in the service description information; determining initial cache parameters from a preset mapping relationship according to the service type and service characteristics; wherein the mapping relationship is a mapping relationship between service type, service characteristics and preset cache parameters; the initial cache parameters at least include cache capacity, expiration time, concurrency level and refresh interval.
[0006] Optionally, before extracting the keywords carried in the service description information, the method further comprises: The service description information is verified; If the business description information is not empty and the business description information conforms to a preset description format, the step of extracting keywords carried in the business description information is executed.
[0007] Optionally, generating a request response based on the initial cache parameters includes: The initial cache parameters are validated by the configuration validator to obtain the validation result; The request response is constructed based on the verification result and the initial cache parameters.
[0008] Optionally, obtaining the target cache parameters determined by the user based on the initial cache parameters includes: Obtain the user's display response information; If the displayed response information indicates that the user agrees to the initial cache parameters, then the initial cache parameters will be used as the target cache parameters; If the displayed response information indicates that the user has modified the initial cache parameters, then the modified cache parameters are obtained and used as the target cache parameters; If the displayed response information indicates that the user does not agree with the initial cache parameters, then the preset cache parameters are obtained and used as the target cache parameters.
[0009] Optionally, the caching parameters of the video stream to be cached are configured according to the target caching parameters, including: The target cache parameters are converted into a cache configuration object according to a preset format; wherein the preset format includes at least basic configuration, performance configuration, policy configuration and monitoring configuration; Save the cache configuration object to the configuration center; Get the target application instance whose configuration needs to be updated corresponding to the video stream to be cached; Push the cache configuration object to the target application instance; The cache parameters of the target application instance are dynamically updated based on the cache configuration object.
[0010] Optionally, after dynamically updating the cache parameters of the target application instance based on the cache configuration object, the method further includes: Obtain the current cache parameters of the target application instance; The current cache parameters are compared with the cache configuration object to determine whether the cache parameters of the target application instance have been successfully updated.
[0011] Secondly, this application provides a video stream buffer parameter configuration device, the device comprising: The first acquisition module is used to acquire the parameter configuration request of the video stream to be cached; wherein, the parameter configuration request carries user identifier and business description information; The determination module is used to determine the initial cache parameters based on the business description information; A generation module is used to generate a request response based on the initial cache parameters and return the request response to the front end corresponding to the user identifier so as to display the initial cache parameters on the front end; The second acquisition module is used to acquire the target cache parameters determined by the user based on the initial cache parameters; The configuration module is used to configure the caching parameters of the video stream to be cached according to the target caching parameters.
[0012] Thirdly, this application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements the video stream buffer parameter configuration method described in any embodiment of the first aspect.
[0013] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the video stream buffer parameter configuration method as described in any embodiment of the first aspect.
[0014] Compared with the prior art, the technical solution provided in this application has the following advantages: The method provided in this application obtains a parameter configuration request for a video stream to be cached; wherein, the parameter configuration request carries a user identifier and service description information; initial cache parameters are determined based on the service description information; a request response is generated based on the initial cache parameters, and the request response is returned to the front end corresponding to the user identifier to display the initial cache parameters on the front end; a target cache parameter determined by the user based on the initial cache parameters is obtained; and the cache parameters of the video stream to be cached are configured according to the target cache parameters. This method can obtain a user's parameter configuration request for a video stream to be cached, which carries a user identifier and service description information input by the user. Initial cache parameters can be determined based on the service description information, and a request response can be generated and returned to the front end corresponding to the user identifier to display the initial cache parameters to the user on the front end. Then, the target cache parameter determined by the user based on the initial cache parameters is obtained, and the cache parameters of the video stream to be cached are configured according to the target cache parameters. This method can achieve intelligent configuration of the cache parameters of the video stream to be cached, reducing the usage threshold and allowing users to make visual adjustments, thus improving the user experience. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0018] Figure 1 A system architecture diagram of a video stream buffer parameter configuration method provided in one embodiment of this application; Figure 2 A flowchart illustrating a video stream buffer parameter configuration method provided in one embodiment of this application; Figure 3 This is a schematic diagram of a video stream buffer parameter configuration device provided in one embodiment of this application; Figure 4This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0021] To address the technical problem of how to intelligently configure video stream caching parameters in existing technologies, this application provides a video stream caching parameter configuration method, apparatus, electronic device, and storage medium, which can realize intelligent configuration of the caching parameters of the video stream to be cached, reduce the usage threshold, and allow users to make visual adjustments, thereby improving the user experience.
[0022] The first embodiment of this application provides a method for configuring video stream buffer parameters, which can be applied to, for example... Figure 1 The system architecture shown includes at least a front-end 101 and a video stream cache parameter configuration system 102, which establish a communication connection. Specifically, the video stream cache parameter configuration system 102 may include an artificial intelligence agent (AI Agent) and a server (MCP Server). The AI Agent can intelligently analyze the business description information input by the user, automatically identify the business type and characteristics, and generate personalized cache configuration suggestions, i.e., initial cache parameters. The user can confirm or adjust the initial cache parameters on the front-end. Subsequently, the MCP Server can perform unified management, real-time distribution, and dynamic updates of the configuration based on the user-confirmed target cache parameters, and supports hot updates of the configuration. This enables intelligent configuration of the cache parameters of the video stream to be cached, lowers the usage threshold, and allows users to make visual adjustments, thereby improving the user experience.
[0023] Next, based on this system architecture, the method for configuring the video stream buffer parameters will be explained in detail, such as... Figure 2The video stream buffer parameter configuration method includes: Step 201: Obtain the parameter configuration request for the video stream to be cached; wherein, the parameter configuration request carries user identifier and business description information.
[0024] Users can input natural language descriptions to represent business information on the front-end interface. These descriptions can be in the form of a form or other preset formats, without restriction. For example, the form can include business scenarios, optimization goals, and specific requirements, such as "Business: Preview / exclusive video for a micro-drama; Characteristics: More reads than writes; Frequent changes: No; High traffic: Large." The front-end can then construct a parameter configuration request based on the user's input, which can include a user identifier. This request is then sent to the AI Agent's application programming interface (API). The AI Agent can obtain the parameter configuration request for the video stream to be cached through the API.
[0025] Step 202: Determine the initial cache parameters based on the business description information.
[0026] Business description information can be input into the AI Agent, which will intelligently determine the initial cache parameters.
[0027] In one embodiment, determining initial cache parameters based on business description information includes: extracting keywords carried in the business description information; analyzing the keywords to determine the business type and business characteristics in the business description information; and determining initial cache parameters from a preset mapping relationship based on the business type and business characteristics; wherein the mapping relationship is a mapping relationship between business type, business characteristics and preset cache parameters; and the initial cache parameters include at least cache capacity, expiration time, concurrency level and refresh interval.
[0028] In this embodiment, the AI Agent can extract keywords carried in the business description information. For example, the business scenario analyzer in the AI Agent can perform in-depth analysis of user input. Taking the business description information as "Business: Preview and behind-the-scenes videos of micro-dramas; Characteristics: More reads than writes; Frequent changes: No; High access volume: Large", keywords such as "micro-drama", "preview", "behind-the-scenes", "high access volume" and "infrequent changes" can be extracted. By analyzing the keywords, the business type and business characteristics can be determined. For example, if the business type is determined to be the preview and behind-the-scenes video business of micro-dramas, the business characteristics of this business can be determined: high-frequency access, slow updates, etc. Then, the initial cache parameters can be determined from the preset mapping relationship based on the business type and business characteristics. The mapping relationship is the mapping relationship between business type, business characteristics and preset cache parameters. For example, different business types and business characteristics can correspond to different preset cache parameters. Based on the two parameters of business type and business characteristics, the appropriate cache parameters can be determined from the mapping relationship, such as cache capacity, expiration time, concurrency level and refresh interval. The initial cache parameters can also be called configuration suggestions, that is, suggested configuration parameters. For example, the cache capacity can be set to 100M, the local cache expiration time is 24 hours, the concurrency level is medium, and the refresh interval is 20 minutes.
[0029] In one embodiment, before extracting keywords carried in the business description information, the method further includes: verifying the business description information; and if the business description information is not empty and conforms to a preset description format, performing the step of extracting keywords carried in the business description information.
[0030] In this embodiment, before extracting keywords carried in the business description information, the business description information can be verified first to ensure that the user input is not empty and the format is correct, such as conforming to the preset description format. Keywords carried in the business description information are only extracted when the business description information is not empty and conforms to the preset description format.
[0031] Step 203: Generate a request response based on the initial cache parameters and return the request response to the front end corresponding to the user identifier so that the initial cache parameters can be displayed on the front end.
[0032] After obtaining the initial cache parameters, a request response for parameter configuration can be generated based on the initial cache parameters, and the request response can be returned to the front end of the user input parameter configuration request. The front end can be identified by the user identifier, and the initial cache parameters can be visualized on the front end.
[0033] In one embodiment, generating a request response based on initial cache parameters includes: verifying the reasonableness of the initial cache parameters according to a configuration validator to obtain a verification result; and constructing a request response based on the verification result and the initial cache parameters.
[0034] In this embodiment, the rationality of the initial cache parameters can be verified by the configuration validator in the AI Agent. For example, it verifies whether parameters such as cache capacity and expiration time are within a reasonable range, and ensures consistency between related parameters, such as whether the concurrency level matches the executor pool size, and whether the configuration conforms to business rules and constraints. After verification, a verification result is obtained. Whether the specific business rules and constraints conform to are set as needed, and this embodiment does not impose specific restrictions on them. After obtaining the verification result, a request response can be constructed based on the verification result and the initial cache parameters. Furthermore, the request response can also include configuration instructions, expected effects, risk assessments, etc., without limitation.
[0035] Step 204: Obtain the target cache parameters determined by the user based on the initial cache parameters.
[0036] The front end displays the configuration suggestions generated by the AI Agent to the user in a visual way. After viewing the configuration suggestions, the user can decide whether to agree to the initial cache parameters or make minor adjustments. After the user confirms, the target cache parameters are obtained.
[0037] In one embodiment, obtaining the target cache parameter determined by the user based on the initial cache parameter includes: obtaining the user's display response information; if the display response information indicates that the user agrees to the initial cache parameter, then the initial cache parameter is used as the target cache parameter; if the display response information indicates that the user modifies the initial cache parameter, then the modified cache parameter is obtained and used as the target cache parameter; if the display response information indicates that the user does not agree to the initial cache parameter, then a preset cache parameter is obtained and used as the target cache parameter.
[0038] In this embodiment, the user can decide whether to agree to or modify the initial cache parameters based on the visualized initial cache parameters. If the user agrees to the initial cache parameters suggested by the AI Agent, then the initial cache parameters are the target cache parameters. If the user modifies the initial cache parameters, then the modified cache parameters are the target cache parameters. If the user does not agree to the initial cache parameters, then a set of preset cache parameters defaulted to the system can be called as the target cache parameters, thereby providing the user with a personalized modification scheme and improving the user experience.
[0039] Furthermore, when the user confirms the initial cache parameters, the front end can construct a confirmation request object, which may contain information such as user identifier, business key, and target cache parameters, and send it to the AI Agent. After receiving the confirmation request object, the AI Agent can first verify the user's permissions to ensure that the user has the authority to modify the cache configuration.
[0040] Step 205: Configure the cache parameters of the video stream to be cached according to the target cache parameters.
[0041] This method can obtain a user's parameter configuration request for a video stream to be cached. The parameter configuration request carries a user identifier and business description information input by the user. Initial cache parameters can be determined based on the business description information, and a request response can be generated and returned to the front end corresponding to the user identifier. The initial cache parameters are displayed to the user on the front end. Then, the target cache parameters determined by the user based on the initial cache parameters are obtained, and the cache parameters of the video stream to be cached are configured according to the target cache parameters. This method can realize intelligent configuration of the cache parameters of the video stream to be cached, reduce the usage threshold, and allow users to make visual adjustments, thereby improving the user experience.
[0042] In one embodiment, configuring the cache parameters of the video stream to be cached according to the target cache parameters includes: converting the target cache parameters into a cache configuration object according to a preset format; wherein the preset format includes at least basic configuration, performance configuration, policy configuration and monitoring configuration; saving the cache configuration object to the configuration center; obtaining the target application instance corresponding to the configuration to be updated for the video stream to be cached; pushing the cache configuration object to the target application instance; and dynamically updating the cache parameters of the target application instance according to the cache configuration object.
[0043] In this embodiment, the AI Agent can convert the target cache parameters into a cache configuration object according to a preset format, such as a standard cache configuration object containing basic configuration, performance configuration, policy configuration, and monitoring configuration. This standard cache configuration object is then saved to the configuration center of the MCP Server. It should be understood that the standard cache configuration object contains all the parameters of the target cache parameters, only the format has been adjusted according to the preset format. After successfully saving the configuration, the MCP Server can distribute it. The MCP Server first obtains the target application instance corresponding to the video stream to be cached, for example, by identifying the target application instance through a business key. Then, it pushes the target cache parameters to each target application instance that needs to update its configuration via a message queue, thereby dynamically updating the cache parameters in the target application instance based on the target cache parameters.
[0044] In one embodiment, after dynamically updating the cache parameters of the target application instance according to the cache configuration object, the method further includes: obtaining the current cache parameters of the target application instance; comparing the current cache parameters with the cache configuration object to determine whether the cache parameters of the target application instance have been successfully updated.
[0045] In this embodiment, after the configuration change listener of the target application instance receives the target cache parameters pushed by the MCP Server, it begins to process the configuration change. The target application instance can first verify the received configuration, verifying whether the configuration parameters are within the acceptable range of the application and verifying the compatibility of the new configuration with the current system state. After the configuration verification is successful, the target application instance can perform a hot update, such as applying the new configuration to the configuration manager, dynamically adjusting the parameters of the existing cache, such as cache capacity and expiration time, etc. It can also verify whether the target application instance has been successfully updated, for example, by obtaining the current cache parameters of the target application instance and comparing the current cache parameters with the cache configuration object (i.e., the target cache parameters). If they are consistent, it means that the configuration has been successfully applied to the target application instance.
[0046] In the embodiments described above, the configuration process of cache parameters is simplified to natural language interaction. Users only need to describe their business needs and optimization goals using natural language to obtain business description information. The AI Agent can automatically understand the business description information and generate corresponding initial cache parameters. After user confirmation, the target cache parameters are obtained, and the cache parameters are dynamically configured through the MCP Server. This significantly reduces the technical threshold, allowing ordinary users to configure cache parameters that were originally only possible for professionals. Furthermore, the automatic generation of cache configuration parameters based on artificial intelligence analysis reduces configuration errors and avoids subjectivity in manual configuration. In addition, the MCP Server enables unified management and real-time distribution of configurations, allowing for rapid configuration of new services and improving user experience.
[0047] Based on the same technical concept, the second embodiment of this application provides a video stream buffer parameter configuration device, such as... Figure 3 The device includes: The first acquisition module 301 is used to acquire a parameter configuration request for the video stream to be cached; wherein, the parameter configuration request carries user identifier and service description information; The determining module 302 is used to determine the initial cache parameters based on the service description information; The generation module 303 is used to generate a request response based on the initial cache parameters and return the request response to the front end corresponding to the user identifier so as to display the initial cache parameters on the front end; The second acquisition module 304 is used to acquire the target cache parameters determined by the user based on the initial cache parameters; The configuration module 305 is used to configure the cache parameters of the video stream to be cached according to the target cache parameters.
[0048] This device can obtain a user's parameter configuration request for a video stream to be cached. The parameter configuration request carries a user identifier and business description information input by the user. It can determine the initial cache parameters based on the business description information, generate a request response based on the initial cache parameters, and return it to the front end corresponding to the user identifier. The front end displays the initial cache parameters to the user. Then, it obtains the target cache parameters determined by the user based on the initial cache parameters, and configures the cache parameters of the video stream to be cached based on the target cache parameters. This device can realize intelligent configuration of the cache parameters of the video stream to be cached, reduce the threshold for use, and allow users to make visual adjustments, thereby improving the user experience.
[0049] like Figure 4 As shown in the figure, this application provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114. Memory 113 is used to store computer programs; In one embodiment of this application, the processor 111, when executing the program stored in the memory 113, implements the video stream buffer parameter configuration method provided in any of the foregoing method embodiments.
[0050] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0051] The communication interface is used for communication between the aforementioned terminal and other devices.
[0052] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0053] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0054] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the video stream buffer parameter configuration method provided in any of the foregoing method embodiments.
[0055] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0056] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0057] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0058] It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. In the description, suffixes such as "module," "part," or "unit" used to denote elements are used solely for illustrative purposes and have no specific meaning in themselves. Therefore, "module," "part," or "unit" may be used interchangeably.
[0059] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for configuring video stream buffer parameters, characterized in that, The method comprises: Obtaining a parameter configuration request of a video stream to be cached; wherein the parameter configuration request carries a user identifier and service description information; Determining initial caching parameters based on the service description information; Generating a request response based on the initial caching parameters and returning the request response to a front end corresponding to the user identifier to display the initial caching parameters at the front end; Obtaining target caching parameters determined by a user based on the initial caching parameters; Configuring caching parameters of the video stream to be cached according to the target caching parameters.
2. The method of claim 1, wherein, Determining initial caching parameters based on the service description information comprises: Extracting keywords carried in the service description information; Analyzing the keywords to determine a service type and service characteristics in the service description information; Determining initial caching parameters from a preset mapping relationship according to the service type and service characteristics; wherein the mapping relationship is a mapping relationship of service type, service characteristics and preset caching parameters; the initial caching parameters at least include caching capacity, expiration time, concurrency level and refresh interval.
3. The method of claim 2, wherein, Before extracting the keywords carried in the service description information, the method further comprises: Verifying the service description information; In the case that the service description information is not empty and the service description information conforms to a preset description format, performing the step of extracting the keywords carried in the service description information.
4. The method of claim 2, wherein, Generating a request response based on the initial caching parameters comprises: Verifying the rationality of the initial caching parameters according to a configuration verifier to obtain a verification result; Constructing the request response according to the verification result and the initial caching parameters.
5. The method of claim 1, wherein, Obtaining target caching parameters determined by a user based on the initial caching parameters comprises: Obtaining display response information of the user; If the display response information represents that the user agrees to the initial caching parameters, taking the initial caching parameters as the target caching parameters; If the display response information represents that the user modifies the initial caching parameters, obtaining modified caching parameters and taking the modified caching parameters as the target caching parameters; If the display response information represents that the user does not agree to the initial caching parameters, obtaining preset caching parameters and taking the preset caching parameters as the target caching parameters.
6. The method of claim 1, wherein, Configuring caching parameters of the video stream to be cached according to the target caching parameters comprises: Converting the target caching parameters into a caching configuration object according to a preset format; wherein the preset format at least includes basic configuration, performance configuration, policy configuration and monitoring configuration; Saving the caching configuration object to a configuration center; Obtaining a target application instance corresponding to a to-be-updated configuration of the video stream to be cached; Pushing the caching configuration object to the target application instance; Dynamically updating caching parameters of the target application instance according to the caching configuration object.
7. The method of claim 6, wherein, After dynamically updating the caching parameters of the target application instance according to the caching configuration object, the method further comprises: Obtaining current caching parameters of the target application instance; The current cache parameter is compared with the cache configuration object to determine whether the cache parameter of the target application instance is updated successfully.
8. A video stream buffer parameter configuration device, characterized in that, The device comprises: A first obtaining module is configured to obtain a parameter configuration request of a video stream to be cached, wherein the parameter configuration request carries a user identifier and service description information; A determining module is configured to determine initial cache parameters based on the service description information; A generating module is configured to generate a request response based on the initial cache parameters and return the request response to a front end corresponding to the user identifier, so as to display the initial cache parameters on the front end; A second obtaining module is configured to obtain target cache parameters determined by a user based on the initial cache parameters; A configuring module is configured to configure cache parameters of the video stream to be cached according to the target cache parameters.
9. An electronic device, comprising: The device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is configured to store a computer program; The processor is configured to execute the program stored in the memory, thereby implementing the video stream cache parameter configuration method in any one of claims 1-7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor, thereby implementing the video stream cache parameter configuration method in any one of claims 1-7.