CN113761440A - Project operation method, device and storage medium based on Web page live broadcast - Google Patents

Project operation method, device and storage medium based on Web page live broadcast Download PDF

Info

Publication number
CN113761440A
CN113761440A CN202110858144.0A CN202110858144A CN113761440A CN 113761440 A CN113761440 A CN 113761440A CN 202110858144 A CN202110858144 A CN 202110858144A CN 113761440 A CN113761440 A CN 113761440A
Authority
CN
China
Prior art keywords
loading
function components
service function
project
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110858144.0A
Other languages
Chinese (zh)
Inventor
许少龙
陈武彬
欧燕雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202110858144.0A priority Critical patent/CN113761440A/en
Publication of CN113761440A publication Critical patent/CN113761440A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV

Abstract

The application discloses a project operation method, a device and a storage medium based on Web page live broadcast, wherein the method comprises the following steps: acquiring a plurality of service function components of a Web project and respective loading parameters, wherein the loading parameters comprise execution priority; and correspondingly loading the plurality of business function components according to the respective execution priority of the plurality of business function components. By the method, the loading efficiency of the Web page can be improved.

Description

Project operation method, device and storage medium based on Web page live broadcast
Technical Field
The application relates to the technical field of live broadcast, in particular to a project operation method, a project operation device and a project operation storage medium based on Web page live broadcast.
Background
With the rapid development of the mobile internet, live webcasts are gradually merged into the lives of people. The anchor can output live broadcast content for the user through a video live broadcast method, and the watching requirements of the user are met. For the live broadcast field, how to optimize the display of the live broadcast page, reduce the waiting time of the user, and have a vital significance for improving the user experience and enhancing the product competitiveness.
Therefore, how to optimize the live loading technology of the Web page and improve the loading efficiency of the Web page is a very important problem.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a project operation method, a project operation device and a project operation storage medium based on Web page live broadcast, and the loading efficiency of Web pages can be improved.
In order to solve the technical problem, the application adopts a technical scheme that: a project operation method based on Web page live broadcast is provided, and the method comprises the following steps: acquiring a plurality of service function components of a Web project and respective loading parameters, wherein the loading parameters comprise execution priority; and correspondingly loading the plurality of business function components according to the respective execution priority of the plurality of business function components.
The beneficial effect of this application is: different from the situation in the prior art, by acquiring a plurality of service function components of the Web project and corresponding execution priorities, corresponding loading can be performed according to the execution priorities of the service function components, so that the service function components with higher priorities can be loaded preferentially, and thus the loading efficiency of the Web page can be improved.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided an electronic device, the device comprising: the processor, the memory and the communication circuit are respectively coupled to the processor, the memory stores a computer program, and the processor is used for executing the computer program to realize the above-mentioned item operation method based on the Web page live broadcast.
In order to solve the above technical problem, the present application adopts another technical solution: there is provided a computer-readable storage medium storing a computer program executable by a processor to implement the above-mentioned live Web page-based project execution method.
The beneficial effect of this application is: different from the situation in the prior art, by acquiring a plurality of service function components of the Web project and corresponding execution priorities, corresponding loading can be performed according to the execution priorities of the service function components, so that the service function components with higher priorities can be loaded preferentially, and thus the loading efficiency of the Web page can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of a live broadcast system of the present application;
FIG. 2 is a first flow diagram of a first embodiment of a project operation method based on Web page live broadcast according to the present application;
fig. 3 is a second flow diagram of the first embodiment of the project operation method based on Web page live broadcast according to the present application;
FIG. 4 is a flowchart illustrating a second embodiment of a project execution method based on Web page live broadcast according to the present application;
FIG. 5 is a flowchart illustrating a third embodiment of a project execution method based on Web page live broadcast according to the present application;
FIG. 6 is a schematic timing diagram of a project operation method based on Web page live broadcast according to the present application;
FIG. 7 is a schematic diagram illustrating execution priorities of service function components in the project operation method based on Web page live broadcast;
FIG. 8 is a schematic frame diagram of an embodiment of a project execution device based on Web page live broadcast according to the present application;
FIG. 9 is a block diagram of an embodiment of an electronic device of the present application;
FIG. 10 is a block diagram of an embodiment of a computer-readable storage medium of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a live broadcast system of the present application. The live system 1 includes, for example, at least a server 10 and a client 20. The user terminal 20 may be an electronic device, and specifically may be a mobile terminal, a computer, a server, or other terminals, the mobile terminal may be a mobile phone, a notebook computer, a tablet computer, an intelligent wearable device, or the like, and the computer may be a desktop computer, or the like. The user terminal 20 can obtain several service function components described in the present application from the server 10. The following exemplary illustrates the process of the user terminal 20 executing the project execution method based on the Web page live broadcast. Firstly, the running software of the user terminal 20, such as a browser, can obtain a plurality of service function components of the Web project and respective loading parameters from the server 10, where the loading parameters include execution priorities; the software running on the user terminal 20 can then load the service function components accordingly according to their respective execution priorities.
Referring to fig. 2, fig. 2 is a first flowchart of a project operation method based on Web page live broadcast according to a first embodiment of the present application. In this embodiment, the method comprises the following steps:
step S11: and acquiring a plurality of service function components of the Web project and respective loading parameters.
In the present application, a web project related to a live page may include several functional components, for example, a video functional component, a public screen functional component, a channel tree functional component, and the like. The web items are items of which the background adopts a Java language SSH framework, the front end adopts Jquery scripts and a CsBluetrip framework, and the database uses PostgreSQL. In one embodiment, several business functions of the Web item can be exported via the ECMAScript 6 standard.
And acquiring loading parameters related to the service function components together when the service function components of the Web project are acquired. The loading parameters are, for example, loading path, loading mode, timeout threshold, execution priority, etc. It is understood that the loading parameters can be set according to the requirement, and are not limited herein. Specifically, the method for acquiring the service function component of the Web project may be to acquire the service function component through a Web scheduling center.
In this embodiment, the loading parameters include an execution priority. The execution priority is used to indicate the execution order among the business function components. That is, the corresponding service function components may be executed in sequence according to the execution priority of each service function component.
Step S12: and correspondingly loading the plurality of business function components according to the respective execution priority of the plurality of business function components.
Because each business function component is respectively set with the execution priority, the Web item can be loaded correspondingly according to the respective execution priority of each business function component when running. For example, if the execution priority of the service function component a is the first execution, and the execution priority of the service function component B is the second execution, the service function component a is loaded first during the project operation, and the service function component B is loaded after the service function component a is loaded.
Therefore, by acquiring a plurality of service function components of the Web item and corresponding execution priorities, corresponding loading can be performed according to the execution priorities of the service function components, so that the service function components with higher priorities can be loaded preferentially, and the loading efficiency of the Web page can be improved.
In one embodiment, the loading parameters mentioned above may further include a loading path, that is, a loading path of each business function component may be included in a related file of the Web item, so that the business function components may be smoothly executed. For example, by determining the load path, the address of the server corresponding to the load path may be determined, so that the corresponding data can be obtained. After the loading path is determined, a plurality of business function components can be loaded correspondingly through the corresponding loading path according to the respective execution priority of each business function component.
In an embodiment, after the step of "loading a plurality of business function components according to their respective execution priorities" is performed, the step of "rendering a plurality of business function components in a live broadcast page by using a rendering engine" may be further performed. It can be understood that each service function component can realize a certain function, and therefore, after the service function component is loaded, each service function component can be rendered in a live broadcast page by using a rendering engine, so that live broadcast based on a Web page is realized. It will be appreciated that the live page may be any page related to live. In one example, the effect of playing the video in the live broadcast page can be realized by rendering the video functional component; by rendering the gifting gift function component, the user can perform an operation of gifting the virtual gift.
Referring to fig. 3, fig. 3 is a second flow diagram of the first embodiment of the project execution method based on Web page live broadcast according to the present application. In this embodiment, the further extension of the aforementioned step of "loading a plurality of service function components according to their respective execution priorities" may specifically include step S121 and step S122.
Step S121: and loading the video function component with the highest execution priority in the service function components to receive the video stream data required by the video function component.
In this embodiment, the execution priority of the video function component may be set as the highest priority, that is, in the loading process of the Web item, the video function component with the highest execution priority among the obtained service function components may be loaded first. After the video functional component is loaded, corresponding rendering can be carried out, so that video stream data required by the video functional component and sent from other servers can be received.
Step S122: and after the first frame of video stream data is received, loading other service function components correspondingly according to the execution priority of the other service function components.
It can be understood that after receiving the first frame of video stream data, meaning that the video function component has been successfully rendered, the live interface will also start playing the video data. At this time, the other business function components can be loaded accordingly according to the execution priority of the other business function components. For example, if the execution priority of the gifting function is set to the second execution, the gifting function is loaded and rendered.
Therefore, the execution priority of the video function component is set to be the highest priority, the video function component can be loaded at first in the loading process of the Web project, the playing speed of the video in the live broadcast page can be increased, the time for a user to wait for video playing is shortened, and the use experience of the user is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a second embodiment of a project operation method based on Web page live broadcast according to the present application. In this embodiment, before the step of "loading a plurality of service function components according to their respective execution priorities" is performed, the following step may be further performed to determine the number of concurrent executions of the service function components.
Step S21: a current rendering performance of the rendering engine is detected.
Because the rendering performance of the rendering engine can affect the display of the business functional component on the live broadcast page, the current rendering performance of the rendering engine can be detected, and then the execution strategy of the corresponding business functional component can be determined according to the current rendering performance. For example, the performance of the rendering engine may be expressed in terms of the pressure of the rendering engine, with smaller rendering delays indicating better current rendering performance of the rendering engine.
Step S22: a number of concurrent executions that match the current rendering performance is determined.
After the current rendering performance of the rendering engine is determined, the number of concurrent executions matched with the current rendering performance can be set according to the specific current rendering performance, so as to determine how many business function components can be simultaneously loaded and rendered.
In a specific embodiment, the rendering delay may be divided into different intervals, and each interval is correspondingly provided with a matching concurrent execution number. The larger the rendering delay, the smaller the corresponding concurrent execution number may be. For example, the rendering delay is 0-50 milliseconds, corresponding to a number of concurrent executions of 5, the rendering delay is 50-100 milliseconds, corresponding to a number of concurrent executions of 4.
At this time, a plurality of business function components can be loaded in batches correspondingly according to the respective execution priority of each business function component and the concurrent execution quantity. For example, if it is determined that the number of concurrent executions matching the current rendering performance is 5, 5 business function components of the top 5 of the execution priority may be loaded simultaneously as a batch of business function components. Therefore, by detecting the current rendering performance of the rendering engine, the concurrent execution quantity matched with the current rendering performance can be determined, and further the business functional components can be loaded in batches, so that the balance between the loading quantity and the loading speed of the business functional components is realized, and the loading efficiency of the Web page is improved.
In one embodiment, the execution priority of the video function component is the highest priority. At this time, in order to further increase the video playing speed in the live page, the video function component may be used as the first loaded service function component, and no other service function component is loaded. And after the first frame of video stream data is received, loading other service function components in batches. Therefore, the video function component is determined to be used as the first loaded service function component, and other service function components are not loaded, so that the rendering performance of the rendering engine can be fully utilized, the playing speed of the video in the live broadcast page is further accelerated, the time for a user to wait for the video to be played is shortened, and the use experience of the user is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart of a third embodiment of a project operation method based on Web page live broadcast according to the present application. In this embodiment, the project running method based on Web page live broadcast according to the present application may further include the following steps:
step S31: and judging whether the business function component is abnormal in the loading process.
During the loading process of the business function component, due to various reasons, a loading exception condition may occur, so that the business function component is not successfully loaded. Therefore, in this embodiment, it may be determined whether an exception occurs in the process of loading the service function component, and then the corresponding processing method may be determined according to the loading condition of the service function component.
In one embodiment, the loading parameter further includes a preset threshold. Specifically, in the step of "acquiring a plurality of service function components of the Web project and respective loading parameters", the preset threshold may be acquired together. At this time, it is determined whether the service function component is abnormal in the loading process, specifically, it may be determined whether the loading time of the service function component exceeds a corresponding preset threshold. It can be understood that when the loading time of the business function component is too long, it means that the loading of the business function component may be problematic, and if the business function component is continuously loaded, it is likely to affect the loading of other business function components. Therefore, when the loading time of the business function component exceeds the preset threshold, the exception of the business function component in the loading process can be confirmed. Correspondingly, if the loading time of the service function component does not exceed the preset threshold, the normal loading of the service function component can be confirmed.
In one embodiment, the Web project may not be configured with a corresponding preset threshold for each service function component at the time of design. Based on such a situation, the step "acquiring a plurality of service function components of the Web project and corresponding loading parameters" mentioned in the above embodiment may specifically include: and judging whether the service functional component lacks a preset threshold value. When the service function components and the respective loading parameters are obtained, it can be determined whether the service function components lack the preset threshold, that is, whether the loading parameters include the preset threshold. If yes, a corresponding preset threshold value can be configured for the service functional component missing the preset threshold value. In one embodiment, the preset threshold may be determined according to the current rendering performance of the rendering engine. For example, the better the current rendering performance, the larger the preset threshold may be. In other embodiments, the predetermined threshold may be determined directly. Therefore, by judging whether the service function component lacks the preset threshold, corresponding supplement can be performed under the condition that the service function component lacks the preset threshold, and smooth loading of subsequent service function components is facilitated.
When it is determined that an exception occurs in the process of loading the business function component, steps S32 and S33 may be performed. When it is determined that no exception occurs during the loading of the business function component, step S34 may be performed.
Step S32: and determining the abnormal business functional component as a functional component to be loaded and stopping loading.
When the business function component is abnormal in the loading process, in order to not influence the smooth loading of other business function components, the abnormal business function component can be determined as the functional component to be loaded and the loading is stopped, so that the abnormal business function component does not occupy system resources, and the rendering performance of the rendering engine is reduced.
Step S33: and after the other business functional components are loaded, reloading the functional components to be loaded.
After the abnormal business function component is stopped to be loaded, other business function components can be continuously loaded. After the business function components are loaded, in order to enable each business function component to be loaded, the functional components to be loaded can be loaded again.
In an embodiment, if a loading exception condition still occurs during the process of reloading the functional component to be loaded, the functional component with the exception condition may be determined as the functional component to be loaded again, and after loading of other functional components to be loaded is completed, the functional component may be re-executed again until all the service functional components are successfully loaded.
Step S34: and continuing to execute other steps.
It can be understood that if no exception occurs in the process of loading the service function component, other steps of the project operation method based on the Web page live broadcast can be continuously executed.
Therefore, by judging whether the service function component is abnormal in the loading process, the abnormal service function component can be determined as the function component to be loaded and the loading is stopped, so that the abnormal service function component does not occupy system resources, and the rendering performance of the rendering engine is reduced. And after the business function component is loaded, the functional component to be loaded is reloaded, so that each business function component can be loaded.
In an embodiment, the foregoing steps S31 to S34 may also be to determine whether the service function component is abnormal during the rendering process, and if there is a service function component with rendering abnormality, determine the service function component with the abnormality as the function component to be rendered and stop rendering. And after the other business functional components are rendered, loading and rendering the functional components to be rendered again.
Referring to fig. 6, fig. 6 is a schematic timing diagram of a project operation method based on Web page live broadcast according to the present application. The dispatch center 52 can obtain several service function components from the server 51, and the rendering engine 53 can render the obtained service function components. The dispatch center 52 and rendering engine 53 are the relevant programs on the terminal. First, the scheduling center 52 may perform step S10 to obtain several business function components of the Web project and respective loading parameters, and then may perform step S20 to check the current rendering performance of the rendering engine and step S30 to determine the number of concurrent executions matching the current rendering performance. In order to enable the video functional component to be preferentially loaded and rendered, the scheduling center 52 may perform step S40 to load the video functional component at this time, and the rendering engine may perform step S50 to render the video functional component. After the waiting scheduling center 52 receives the first frame of video stream data and the video function component also receives the first frame of video stream data, the video function component may execute S60 to notify the scheduling center to load other service functions. Thereafter, the dispatch center 52 can execute step S70 to obtain the first batch of business function components, and the rendering engine can execute step S80 to render the first batch of business function components. Subsequently, the dispatch center 52 may perform the subsequent steps of obtaining the second batch of business function components, rendering the second batch of business function components, and the like.
Referring to fig. 7, fig. 7 is a schematic diagram of execution priorities of service function components in the project operating method based on Web page live broadcast according to the present application. In fig. 6, several business function components are included in the live page 60. The execution priority of the video function component 61 is the first load. The priority of execution of the channel tree function 62 is the second load. The execution priority of the reorder function 63 is third load. The priority of execution of the public screen functional component 64 is the fourth load. The execution priority of the personal information function component 65 is the fifth load. The priority of execution of the gift bar function component 66 is sixth load. The execution priority of the bottom functional component 67 is the seventh load. The execution priority of the title bar function component 68 is eighth load. The execution priority of the approach special effect function 69 is ninth load. The priority of execution of the contribution list functional component 610 and the honored guest functional component 611 is the tenth load. The execution priority of the third party business function component 612 is eleventh load.
Referring to fig. 8, fig. 8 is a schematic frame diagram of an embodiment of a project execution device based on Web page live broadcast according to the present application. The item execution device 70 includes a business component acquisition module 71 and a loading module 72. The service component acquiring module 71 is configured to acquire a plurality of service function components of the Web project and respective loading parameters, where the loading parameters include execution priorities; the loading module 72 is configured to load the plurality of service function components according to the execution priorities of the plurality of service function components.
The loading module 72 is configured to correspondingly load a plurality of service function components according to respective execution priorities of the plurality of service function components, and includes: loading a video function component with the highest execution priority in the plurality of service function components to receive video stream data required by the video function component; and after the first frame of video stream data is received, loading other service function components correspondingly according to the execution priority of the other service function components.
The project operating apparatus 70 further includes a rendering engine detection module, where before the loading module 72 is configured to correspondingly load the plurality of business function components according to the execution priorities of the plurality of business function components, the rendering engine detection module is configured to detect the current rendering performance of the rendering engine; a number of concurrent executions that match the current rendering performance is determined. The loading module 72 is configured to correspondingly load the plurality of service function components according to the respective execution priorities of the plurality of service function components, and includes: and correspondingly loading a plurality of business function components in batches according to the respective execution priority of the business function components in the concurrent execution quantity.
The project operating apparatus 70 further includes a loading exception detection module. The loading abnormity detection module is used for judging whether the business function component is abnormal in the loading process; if so, determining the abnormal business functional component as a functional component to be loaded and stopping loading; after the other business functional components are loaded, the loading module 72 is notified to reload the functional components to be loaded.
The loading parameters further comprise preset thresholds; the loading abnormity detection module is used for judging whether the business function component is abnormal in the loading process, and comprises the following steps: judging whether the loading time of the business function component exceeds a corresponding preset threshold value; if yes, the business function component is abnormal in the loading process.
The service component acquiring module 71 is configured to acquire a plurality of service function components of a Web project and corresponding loading parameters, and includes: judging whether the service functional component lacks a preset threshold value or not; and if so, configuring a corresponding preset threshold value for the service function component missing the preset threshold value.
Wherein, the loading parameters also comprise loading paths; the loading module 72 is configured to correspondingly load a plurality of service function components according to respective execution priorities of the plurality of service function components, and includes: and correspondingly loading the plurality of service function components through the corresponding loading paths according to the respective execution priorities of the plurality of service function components.
The project execution device 70 further includes a rendering module, and after the loading module 72 is configured to correspondingly load the plurality of business function components according to the respective execution priorities of the plurality of business function components, the rendering module is configured to render the plurality of business function components in the live broadcast page by using the rendering engine.
Referring to fig. 9, fig. 9 is a schematic diagram of a frame of an embodiment of an electronic device according to the present application. The electronic device 80 includes a memory 801 and a processor 802 coupled to each other, and the processor 802 is configured to execute program instructions stored in the memory 801 to implement the steps of any of the above-described embodiments of the Web page live broadcast-based item execution method. In one particular implementation scenario, the electronic device 80 may include, but is not limited to: a microcomputer, a server, and the electronic device 80 may also include a mobile device such as a notebook computer, a tablet computer, and the like, which is not limited herein.
In particular, the processor 802 is configured to control itself and the memory 801 to implement the steps of any of the above-described embodiments of a Web page live broadcast-based item execution method. The processor 802 may also be referred to as a CPU (Central Processing Unit). The processor 802 may be an integrated circuit chip having signal processing capabilities. The Processor 802 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 802 may be commonly implemented by integrated circuit chips.
Referring to fig. 10, fig. 10 is a block diagram illustrating an embodiment of a computer-readable storage medium according to the present application. The computer readable storage medium 90 stores program instructions 91 executable by the processor, where the program instructions 91 are for implementing the steps of any of the above-described embodiments of a Web-based live-feed item execution method.
According to the scheme, the plurality of service function components of the Web project and the corresponding execution priority are obtained, so that corresponding loading can be performed according to the execution priority of the service function components, the service function components with higher priority can be loaded preferentially, and the loading efficiency of the Web page can be improved.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely one type of logical division, and an actual implementation may have another division, for example, a unit or a component may be combined or integrated with another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on network elements. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A project operation method based on Web page live broadcast is characterized by comprising the following steps:
acquiring a plurality of service function components of a Web project and respective loading parameters, wherein the loading parameters comprise execution priority;
and correspondingly loading the plurality of business function components according to the respective execution priority of the plurality of business function components.
2. The project operating method of claim 1, wherein loading the plurality of business function components according to their respective execution priorities comprises:
loading a video function component with the highest execution priority in the service function components to receive video stream data required by the video function component;
and after the first frame of video stream data is received, correspondingly loading other service function components according to the execution priority of other service function components.
3. The project operating method according to claim 1 or 2, wherein before said loading said plurality of business function components in accordance with their respective execution priorities, comprising:
detecting the current rendering performance of a rendering engine;
determining a number of concurrent executions matching the current rendering performance;
the correspondingly loading the plurality of service function components according to the respective execution priorities of the plurality of service function components comprises:
and correspondingly loading the plurality of business function components in batches according to the respective execution priority of the plurality of business function components by the concurrent execution quantity.
4. The project operating method of claim 3, further comprising:
judging whether the business function component is abnormal in the loading process;
if so, determining the abnormal business functional component as a functional component to be loaded and stopping loading;
and after the other business functional components are loaded, reloading the functional components to be loaded.
5. The project execution method of claim 4, wherein the loading parameters further comprise a preset threshold; the judging whether the business function component is abnormal in the loading process includes:
judging whether the loading time of the business function component exceeds a corresponding preset threshold value;
if yes, the business function component is abnormal in the loading process.
6. The project operating method according to claim 5, wherein the acquiring a plurality of service function components and corresponding loading parameters of the Web project comprises:
judging whether the service functional component is missing the preset threshold value or not;
and if so, configuring a corresponding preset threshold value for the service function component missing the preset threshold value.
7. The project execution method of claim 1, wherein the load parameters further comprise a load path; the correspondingly loading the plurality of service function components according to the respective execution priorities of the plurality of service function components comprises:
and correspondingly loading the plurality of service function components through the corresponding loading paths according to the respective execution priorities of the plurality of service function components.
8. The method of claim 1, wherein after said loading said plurality of business function components in accordance with their respective execution priorities, said method further comprises:
and rendering the business function components in the live broadcast page by utilizing a rendering engine.
9. An electronic device, comprising: a processor, a memory, and a communication circuit, the communication circuit and the memory each coupled to the processor, the memory storing a computer program, the processor being configured to execute the computer program to implement the method of operating a Web page live based item according to any one of claims 1-8.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being executable by a processor to implement the method for running a project based on live webpages according to any one of claims 1 to 8.
CN202110858144.0A 2021-07-28 2021-07-28 Project operation method, device and storage medium based on Web page live broadcast Pending CN113761440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110858144.0A CN113761440A (en) 2021-07-28 2021-07-28 Project operation method, device and storage medium based on Web page live broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110858144.0A CN113761440A (en) 2021-07-28 2021-07-28 Project operation method, device and storage medium based on Web page live broadcast

Publications (1)

Publication Number Publication Date
CN113761440A true CN113761440A (en) 2021-12-07

Family

ID=78788058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110858144.0A Pending CN113761440A (en) 2021-07-28 2021-07-28 Project operation method, device and storage medium based on Web page live broadcast

Country Status (1)

Country Link
CN (1) CN113761440A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023225859A1 (en) * 2022-05-24 2023-11-30 云智联网络科技(北京)有限公司 Terminal optimization method and apparatus for virtual live streaming software, electronic device, and program product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023225859A1 (en) * 2022-05-24 2023-11-30 云智联网络科技(北京)有限公司 Terminal optimization method and apparatus for virtual live streaming software, electronic device, and program product

Similar Documents

Publication Publication Date Title
US10838838B2 (en) Method and apparatus for dealing with abnormality of application program and storage medium
CN106021421B (en) method and device for accelerating webpage rendering
US11070886B2 (en) Method and apparatus for looping a video file
US9110738B2 (en) Method and apparatus for calling back a program
CN109344066B (en) Method, system and terminal for testing browser page
US9852051B2 (en) Second failure data capture in co-operating multi-image systems
CN113761440A (en) Project operation method, device and storage medium based on Web page live broadcast
CN111831542A (en) API application debugging method and device and storage medium
CN110377408B (en) Application program starting method, device, terminal and medium
US20210274573A1 (en) Abnormality Processing Method, Terminal Device and Storage Medium
CN107291619B (en) Memory occupation analysis method and device
CN110990116B (en) Method, device and system for transmitting data between intelligent network card and virtual machine
CN110489318B (en) Systrace information grabbing method and device, storage medium and terminal
CN112084386A (en) Cloud hosting client information management method and device and server
CN116701168A (en) Peripheral interface testing method, device, equipment and storage medium
CN111046308A (en) Page loading method and device
CN107145375B (en) Kernel loading method, device, system, user terminal and storage medium
CN115454565A (en) Data migration method and device of virtual machine, electronic equipment and storage medium
CN112464124A (en) Anomaly detection method, device and computer-readable storage medium
CN113784166A (en) Live broadcast room flow control method and device and cloud live broadcast server
CN116302283A (en) Interface refreshing method and device, electronic equipment and storage medium
CN113784218A (en) Video processing method and device and cloud video server
CN114706753A (en) Display interface testing method and device, electronic equipment and storage medium
CN117319723A (en) Video playing processing method and device, storage medium and electronic equipment
CN113286195A (en) Verification method and device for uploaded video and cloud server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination