CN109451327B - Resource control method and system for online no-main-broadcast live broadcast of physical shop - Google Patents

Resource control method and system for online no-main-broadcast live broadcast of physical shop Download PDF

Info

Publication number
CN109451327B
CN109451327B CN201811362437.4A CN201811362437A CN109451327B CN 109451327 B CN109451327 B CN 109451327B CN 201811362437 A CN201811362437 A CN 201811362437A CN 109451327 B CN109451327 B CN 109451327B
Authority
CN
China
Prior art keywords
resource
module
live broadcast
dynamic
configuration
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.)
Active
Application number
CN201811362437.4A
Other languages
Chinese (zh)
Other versions
CN109451327A (en
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.)
Shenzhen Forwor Technology Co ltd
Original Assignee
Shenzhen Forwor 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 Shenzhen Forwor Technology Co ltd filed Critical Shenzhen Forwor Technology Co ltd
Priority to CN201811362437.4A priority Critical patent/CN109451327B/en
Publication of CN109451327A publication Critical patent/CN109451327A/en
Application granted granted Critical
Publication of CN109451327B publication Critical patent/CN109451327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • 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

Abstract

The invention discloses a resource control method and a system for online no-main-broadcast live broadcast of an entity shop, relating to the field of live broadcast resource control; which comprises the following steps of 1: the resource allocation module sets static resource allocation and dynamic resource allocation, and can dynamically adjust allocation according to the resource change of the live broadcast watching module; step 2: the live broadcast reservation module sets reservation parameters according to the static resource configuration; and step 3: the live broadcast watching module checks the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updates the static resources and the dynamic resources according to the number of the audience entering the live broadcast watching module; and 4, step 4: the resource recovery module recovers resources according to the static resource configuration and the reservation parameters to complete resource control; the invention solves the problem of poor system stability caused by concurrent capacity expansion of the existing resource control, and achieves the effects of dynamically controlling resources and saving cost.

Description

Resource control method and system for online no-main-broadcast live broadcast of physical shop
Technical Field
The invention relates to the field of live broadcast resource control, in particular to an online no-main broadcast live broadcast resource control method and system for an entity shop.
Background
With the development of network communication, more and more users choose to make friends, entertain and trade through a network platform, the network platform can exchange videos in real time, and the data reliability is high; in the wholesale and retail industries, shop operating merchants want to display own shops and commodities through live broadcasting, and customers want to see the actual conditions of the shops and the commodities through live broadcasting, so that all large and electronic commerce platforms provide a shop live broadcasting function to meet the requirements of operating users and customers.
Currently, a shop anchor end starts live broadcasting, after the live broadcasting is started, the shop anchor performs operations such as scene shooting and commodity propaganda, and meanwhile, live broadcasting equipment pushes a video stream to a background to perform live broadcasting; after searching the anchor broadcast in the live broadcast, the client clicks to watch the live broadcast, the watching equipment requests the background, and then pulls the video stream to watch; the existing resource control adopts a resource unlimited mode, and the investment of a hardware server is continuously increased for concurrent expansion when control is needed.
Disclosure of Invention
The invention aims to: the invention provides a resource control method and system for online no-main broadcasting live broadcasting of an entity shop, which solve the problem of poor system stability caused by concurrent capacity expansion of the existing resource control.
The technical scheme adopted by the invention is as follows:
a resource control method for online no-main broadcasting live broadcasting of an entity shop comprises the following steps:
step 1: the resource allocation module sets static resource allocation and dynamic resource allocation, and the dynamic resource allocation can dynamically adjust the allocation according to the resource change of the live broadcast watching module;
step 2: the live broadcast reservation module sets reservation parameters according to the static resource configuration;
and step 3: the live broadcast watching module checks the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updates the static resources and the dynamic resources according to the number of the audience entering the live broadcast watching module;
and 4, step 4: and the resource recovery module recovers resources according to the static resource configuration and the reservation parameters to complete resource control.
Preferably, the step 1 comprises the following steps:
step 1.1: a static configuration module in the resource configuration module configures a system audience concurrency total number S, a reserved used audience concurrency number A and a free used audience concurrency number B, wherein S is A + B;
step 1.2: and a dynamic configuration module in the resource configuration module dynamically reserves the resource Ad when the system audience concurrency total number S is fixed, calculates resource recovery according to the resource change of the live broadcast watching module, calculates the dynamic freely-used resource Bd according to a formula Bd which is S-Ad, and finishes dynamic adjustment configuration.
Preferably, the step 2 comprises the following steps:
step 2.1: the live broadcast reservation module calculates the maximum reducible number A of the corresponding date according to the viewer concurrent number S reserved for use in the static resource configuration and the current reserved number;
step 2.2: and the live broadcast reservation module selects a time period within the corresponding date with the maximum number A greater than zero to complete live broadcast reservation.
Preferably, the step 3, when selecting to watch the reserved live broadcast in the live broadcast module, includes the following steps:
step 3.1: when the reserved live broadcast in the live broadcast module is selected to be watched, judging whether the dynamic reserved resource Ad is zero or not every time one audience enters, and if the dynamic reserved resource Ad is zero, jumping to the step 3.2; if not, dynamically reserving the resource Ad-1 for updating;
step 3.2: judging whether the dynamic freely-used resource Bd is zero, if not, updating the dynamic freely-used resource Bd-1; and if the number of the messages is zero, performing information prompt.
Preferably, the step 3, when selecting to watch the non-reserved live broadcast in the live broadcast module, includes the following steps:
step 3.1: when the watching of the unscheduled live broadcasting in the live broadcasting module is selected, judging whether the dynamic freely-used resource Bd is zero or not every time one audience enters, and if not, updating the dynamic freely-used resource Bd-1; and if the number of the messages is zero, performing information prompt.
Preferably, if the reserved resource is used in the step 4, the maximum live broadcast continuous time of the reserved audience concurrent number a in the static resource configuration is 4 hours; if the free use resource is used, the maximum live continuous time of the free use audience concurrency number B of the static resource configuration is 10 hours.
A resource control system for online no-main live broadcast of a physical store comprises a resource allocation module, a resource recovery module, a live broadcast reservation module and a live broadcast watching module, wherein,
the resource allocation module is used for setting static resource allocation and dynamic resource allocation and can dynamically adjust the allocation according to the resource change of the live broadcast watching module;
the live broadcast reservation module is used for setting reservation parameters according to the static resource configuration;
the live broadcast watching module is used for verifying the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updating the dynamic resources and the static resources according to the number of the entering audiences;
and the resource recovery module is used for recovering the resources according to the static resource configuration and the reservation parameters to complete resource control.
Preferably, the resource configuration module includes a static configuration module and a dynamic configuration module, wherein,
the static configuration module is used for configuring the system audience concurrency total number S, the reserved audience concurrency number A and the free audience concurrency number B, wherein S is A + B;
and the dynamic configuration module is used for dynamically reserving the resources Ad when the system audience concurrency total number S is fixed and calculating resource recovery according to the resource change of the live broadcast watching module, and calculating the dynamically freely-used resources Bd according to a formula Bd which is S-Ad to finish dynamic adjustment and configuration.
Preferably, the reservation parameters in the live broadcast reservation module include a date reservation parameter and a time period reservation parameter.
Preferably, the live viewing module comprises a viewing module and a verification module, wherein,
the watching module is used for providing reserved and non-reserved live broadcast contents;
and the checking module is used for checking and updating the dynamically reserved resource Ad according to the reserved live broadcast and checking and updating the freely used resource Bd according to the non-reserved live broadcast.
Preferably, the resource recovery module comprises a judgment module and a recovery module, wherein
The judging module judges whether the corresponding time length is reached according to the type of the resource, and if so, the resource is recovered; if not, not performing operation;
and the recovery module is used for closing the live broadcast after the time length is reached and releasing all the seats of the audiences.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. according to the invention, through setting the resource configuration module, the resource recovery module, the live broadcast watching module and the live broadcast reservation module, resources are divided into reserved resources and freely used resources to perform dynamic adjustment of the resources, and reasonable recovery is performed according to the setting, so that real-time resource control is realized, the problem of poor system stability caused by concurrent expansion in the existing resource control is solved, and the effects of dynamically controlling the resources and saving the cost are achieved;
2. the invention carries out real-time effective live broadcast resource control, combines resource reservation and limitation, optimizes resource allocation on the premise of meeting service scenes, and avoids the defects of poor stability and high cost caused by adding a server to carry out concurrent expansion in the prior art.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a block diagram of the method of the present invention;
FIG. 3 is a schematic diagram illustrating date selection in a live broadcast subscription module according to the present invention;
fig. 4 is a schematic diagram illustrating time period selection in the live broadcast reservation module according to the present invention;
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The technical problem is as follows: the problem of poor system stability caused by concurrent capacity expansion in the existing resource control is solved;
the technical means is as follows: a resource control method for online no-main broadcasting live broadcasting of an entity shop comprises the following steps:
step 1: the resource allocation module sets static resource allocation and dynamic resource allocation, and the dynamic resource allocation can dynamically adjust the allocation according to the resource change of the live broadcast watching module;
step 2: the live broadcast reservation module sets reservation parameters according to the static resource configuration;
and step 3: the live broadcast watching module checks the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updates the static resources and the dynamic resources according to the number of the audience entering the live broadcast watching module;
and 4, step 4: and the resource recovery module recovers resources according to the static resource configuration and the reservation parameters to complete resource control.
The step 1 comprises the following steps:
step 1.1: a static configuration module in the resource configuration module configures a system audience concurrency total number S, a reserved used audience concurrency number A and a free used audience concurrency number B, wherein S is A + B;
step 1.2: and a dynamic configuration module in the resource configuration module dynamically reserves the resource Ad when the system audience concurrency total number S is fixed, calculates resource recovery according to the resource change of the live broadcast watching module, calculates the dynamic freely-used resource Bd according to a formula Bd which is S-Ad, and finishes dynamic adjustment configuration.
The step 2 comprises the following steps:
step 2.1: the live broadcast reservation module calculates the maximum reducible number A of the corresponding date according to the viewer concurrent number S reserved for use in the static resource configuration and the current reserved number;
step 2.2: and the live broadcast reservation module selects a time period within the corresponding date with the maximum number A greater than zero to complete live broadcast reservation.
Preferably, the step 3, when selecting to watch the reserved live broadcast in the live broadcast module, includes the following steps:
step 3.1: when the reserved live broadcast in the live broadcast module is selected to be watched, judging whether the dynamic reserved resource Ad is zero or not every time one audience enters, and if the dynamic reserved resource Ad is zero, jumping to the step 3.2; if not, dynamically reserving the resource Ad-1 for updating;
step 3.2: judging whether the dynamic freely-used resource Bd is zero, if not, updating the dynamic freely-used resource Bd-1; and if the number of the messages is zero, performing information prompt.
Step 3, when the non-reservation live broadcast in the live broadcast module is selected to be watched, the method comprises the following steps:
step 3.1: when the watching of the unscheduled live broadcasting in the live broadcasting module is selected, judging whether the dynamic freely-used resource Bd is zero or not every time one audience enters, and if not, updating the dynamic freely-used resource Bd-1; and if the number of the messages is zero, performing information prompt.
If the reserved resources are used in the step 4, the maximum live broadcast continuous time of the reserved audience concurrency number A in the static resource configuration is 4 hours; if the free use resource is used, the maximum live continuous time of the free use audience concurrency number B of the static resource configuration is 10 hours.
A resource control system for online no-main live broadcast of a physical store comprises a resource allocation module, a resource recovery module, a live broadcast reservation module and a live broadcast watching module, wherein,
the resource allocation module is used for setting static resource allocation and dynamic resource allocation and can dynamically adjust the allocation according to the resource change of the live broadcast watching module;
the live broadcast reservation module is used for setting reservation parameters according to the static resource configuration;
the live broadcast watching module is used for verifying the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updating the dynamic resources and the static resources according to the number of the entering audiences;
and the resource recovery module is used for recovering the resources according to the static resource configuration and the reservation parameters to complete resource control.
The resource configuration module includes a static configuration module and a dynamic configuration module, wherein,
the static configuration module is used for configuring the system audience concurrency total number S, the reserved audience concurrency number A and the free audience concurrency number B, wherein S is A + B;
and the dynamic configuration module is used for dynamically reserving the resources Ad when the system audience concurrency total number S is fixed and calculating resource recovery according to the resource change of the live broadcast watching module, and calculating the dynamically freely-used resources Bd according to a formula Bd which is S-Ad to finish dynamic adjustment and configuration.
The reservation parameters in the live broadcast reservation module comprise date reservation parameters and time period reservation parameters.
The live viewing module comprises a viewing module and a verification module, wherein,
the watching module is used for providing reserved and non-reserved live broadcast contents;
and the checking module is used for checking and updating the dynamically reserved resource Ad according to the reserved live broadcast and checking and updating the freely used resource Bd according to the non-reserved live broadcast.
The resource recovery module comprises a judgment module and a recovery module, wherein
The judging module judges whether the corresponding time length is reached according to the type of the resource, and if so, the resource is recovered; if not, not performing operation;
and the recovery module is used for closing the live broadcast after the time length is reached and releasing all the seats of the audiences.
The technical effects are as follows: according to the invention, through setting the resource configuration module, the resource recovery module, the live broadcast watching module and the live broadcast reservation module, resources are divided into reserved resources and freely used resources to perform dynamic adjustment of the resources, and reasonable recovery is performed according to the setting, so that real-time resource control is realized, the problem of poor system stability caused by concurrent expansion in the existing resource control is solved, and the effects of dynamically controlling the resources and saving the cost are achieved; real-time effective live broadcast resource control, resource reservation and limitation are combined, resource configuration is optimized on the premise of meeting a service scene, and the defects of poor stability and high cost caused by concurrent expansion by adding a server in the prior art are overcome.
The features and properties of the present invention are described in further detail below with reference to examples.
Example 1
As shown in fig. 1-4, a method for controlling online live-broadcast-free resources in a physical store includes the following steps:
step 1: the resource allocation module sets static resource allocation and dynamic resource allocation, and the dynamic resource allocation can dynamically adjust the allocation according to the resource change of the live broadcast watching module;
step 2: the live broadcast reservation module sets reservation parameters according to the static resource configuration;
and step 3: the live broadcast watching module checks the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updates the static resources and the dynamic resources according to the number of the audience entering the live broadcast watching module;
and 4, step 4: and the resource recovery module recovers resources according to the static resource configuration and the reservation parameters to complete resource control.
A resource control system for online no-main live broadcast of a physical store comprises a resource allocation module, a resource recovery module, a live broadcast reservation module and a live broadcast watching module, wherein,
the resource allocation module is used for setting static resource allocation and dynamic resource allocation and can dynamically adjust the allocation according to the resource change of the live broadcast watching module;
the live broadcast reservation module is used for setting reservation parameters according to the static resource configuration;
the live broadcast watching module is used for verifying the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updating the dynamic resources and the static resources according to the number of the entering audiences;
and the resource recovery module is used for recovering the resources according to the static resource configuration and the reservation parameters to complete resource control.
The resource allocation of the invention comprises static resource allocation and dynamic resource allocation, as shown in fig. 2, the resource allocation is divided into reserved resource usage and free resource usage, resource reservation and duration reservation are carried out through a live broadcast reservation module, if redundant resources exist in the reserved resource usage process, the resources are intercepted at the nearest resource release point and are recovered after being reserved; the freely used resources can be directly used and released and recovered through the time length during early configuration; in summary, the invention realizes real-time dynamic resource control by setting the resource allocation module, the resource recovery module, the live broadcast watching module and the live broadcast reservation module, dynamically adjusting resources by dividing the resources into reserved resources and freely using the resources, reasonably recovering the reserved resources according to the setting, and avoiding the stability problem and the cost problem caused by the concurrent expansion of the existing control mode added server.
Example 2
Based on example 1, step 1 comprises the following steps:
step 1.1: a static configuration module in the resource configuration module configures a system audience concurrency total number S, a reserved used audience concurrency number A and a free used audience concurrency number B, wherein S is A + B;
step 1.2: and a dynamic configuration module in the resource configuration module dynamically reserves the resource Ad when the system audience concurrency total number S is fixed, calculates resource recovery according to the resource change of the live broadcast watching module, calculates the dynamic freely-used resource Bd according to a formula Bd which is S-Ad, and finishes dynamic adjustment configuration. For example, the total number of concurrent viewers in the static configuration system S is 1000, the number of concurrent viewers reserved for use a is 800, the number of concurrent viewers free to use B is 200, and if the reserved number Ad in the next reservation period is 200 and the number of viewers currently watching the live broadcast is 0, Bd (Ad pushes up by 6 hours before the end of the time) is 800; detecting the change of the resource and adjusting the resource allocation according to the change.
Example 3
Based on embodiment 1 or 2, step 2 comprises the following steps:
step 2.1: the live broadcast reservation module calculates the maximum reducible number A of the corresponding date according to the viewer concurrent number S reserved for use in the static resource configuration and the current reserved number;
step 2.2: and the live broadcast reservation module selects a time period within the corresponding date with the maximum number A greater than zero to complete live broadcast reservation. After reserving the corresponding time period, the Ad of the corresponding time period is increased, and the reserved A is reduced; the live broadcast reservation module provides a user reservation function, realizes resource allocation according to reservation data, is more beneficial to dynamically adjusting the resource allocation and realizes effective control of resources.
Example 4
Based on embodiment 1 or 3, the step 3 of selecting to watch the reserved live broadcast in the live broadcast module includes the following steps:
step 3.1: when the reserved live broadcast in the live broadcast module is selected to be watched, judging whether the dynamic reserved resource Ad is zero or not every time one audience enters, and if the dynamic reserved resource Ad is zero, jumping to the step 3.2; if not, dynamically reserving the resource Ad-1 for updating;
step 3.2: judging whether the dynamic freely-used resource Bd is zero, if not, updating the dynamic freely-used resource Bd-1; and if the number of the messages is zero, performing information prompt.
Step 3, when the non-reservation live broadcast in the live broadcast module is selected to be watched, the method comprises the following steps:
step 3.1: when the watching of the unscheduled live broadcasting in the live broadcasting module is selected, judging whether the dynamic freely-used resource Bd is zero or not every time one audience enters, and if not, updating the dynamic freely-used resource Bd-1; and if the number of the messages is zero, performing information prompt.
When a user watches the live broadcast of the non-reserved live broadcast, checking according to the current Bd of the system, entering 1 audience, Bd-1, and if the Bd is 0, prompting that the number of people is too large and trying again later; when watching the live broadcast reserved for live broadcast, the user checks the current Ad of the system to enter 1 audience, namely Ad-1, if the Ad is 0, the user checks whether the Bd is available, if the Bd is also 0, the user is prompted to try again after too many people live broadcast.
If the reserved resources are used in the step 4, the maximum live broadcast continuous time of the reserved audience concurrency number A in the static resource configuration is 4 hours; if the detected time length reaches 4 hours, the resource recovery module closes the live broadcast and releases all the seats of the audience; if the freely used resources are used, the maximum live broadcast continuous time of the freely used audience concurrency number B configured by the static resources is 10 hours; if the detected time length reaches 10 hours, the resource recovery module closes the live broadcast and releases all the seats of the audience. And resource recovery is carried out according to the configured release rule, and dynamic adjustment is carried out according to the reserved and configured parameters, so that the utilization rate of resources is improved, and the problem of poor appearance caused by high concurrency is prevented.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (4)

1. A resource control method for online no-main broadcasting live broadcasting of an entity shop is characterized in that: the method comprises the following steps:
step 1: the resource allocation module sets static resource allocation and dynamic resource allocation, and can dynamically adjust allocation according to the resource change of the live broadcast watching module;
the step 1 comprises the following steps:
step 1.1: a static configuration module in the resource configuration module configures a system audience concurrency total number S, a reserved used audience concurrency number A and a free used audience concurrency number B, wherein S is A + B;
step 1.2: when the total number of the system audience concurrency is fixed, a dynamic configuration module in the resource configuration module dynamically reserves the resource Ad when calculating resource recovery according to the resource change of a live broadcast watching module, calculates the dynamic free use resource Bd according to a formula Bd which is S-Ad, and finishes dynamic adjustment configuration;
step 2: the live broadcast reservation module sets reservation parameters according to the static resource configuration;
the step 2 comprises the following steps:
step 2.1: the live broadcast reservation module calculates the maximum reducible number A of the corresponding date according to the viewer concurrent number S reserved for use in the static resource configuration and the current reserved number;
step 2.2: the live broadcast reservation module selects a time period within a corresponding date with the maximum number A greater than zero to complete live broadcast reservation;
and step 3: the live broadcast watching module checks the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updates the static resources and the dynamic resources according to the number of the audience entering the live broadcast watching module;
the step 3 comprises the following steps when the reserved live broadcast in the live broadcast module is selected to be watched:
step 3.1: when the reserved live broadcast in the live broadcast module is selected to be watched, judging whether the dynamic reserved resource Ad is zero or not every time one audience enters, and if the dynamic reserved resource Ad is zero, jumping to the step 3.2; if not, dynamically reserving the resource Ad-1 for updating;
step 3.2: judging whether the dynamic freely-used resource Bd is zero, if not, updating the dynamic freely-used resource Bd-1; if the number of the messages is zero, information prompt is carried out;
the step 3 comprises the following steps when the non-reservation live broadcast in the live broadcast module is selected to be watched:
step 3.1: when the watching of the unscheduled live broadcasting in the live broadcasting module is selected, judging whether the dynamic freely-used resource Bd is zero or not every time one audience enters, and if not, updating the dynamic freely-used resource Bd-1; if the number of the messages is zero, information prompt is carried out;
and 4, step 4: and the resource recovery module recovers resources according to the static resource configuration and the reservation parameters to complete resource control.
2. The method of claim 1, wherein the method comprises the steps of: if the reserved resource is used in the step 4, the maximum live broadcast continuous time of the reserved audience concurrent number A in the static resource configuration is 4 hours; if the free use resource is used, the maximum live continuous time of the free use audience concurrency number B of the static resource configuration is 10 hours.
3. A resource control system for online anchor-free live broadcast of a physical store is characterized in that: comprises a resource allocation module, a resource recovery module, a live broadcast reservation module and a live broadcast watching module, wherein,
the resource allocation module is used for setting static resource allocation and dynamic resource allocation and can dynamically adjust the allocation according to the resource change of the live broadcast watching module;
the resource configuration module comprises a static configuration module and a dynamic configuration module, wherein,
the static configuration module is used for configuring the system audience concurrency total number S, the reserved audience concurrency number A and the free audience concurrency number B, wherein S is A + B;
the dynamic configuration module is used for dynamically reserving the resources Ad when the system audience concurrency total number S is fixed and resource recovery is calculated according to the resource change of the live broadcast watching module, and dynamically and freely using the resources Bd is calculated according to a formula Bd which is S-Ad to complete dynamic adjustment and configuration;
the live broadcast reservation module is used for setting reservation parameters according to the static resource configuration;
the reservation parameters in the live broadcast reservation module comprise date reservation parameters and time period reservation parameters;
the live broadcast watching module is used for verifying the configuration of the dynamic resources in the time period corresponding to the reservation parameters and updating the dynamic resources and the static resources according to the number of the entering audiences;
the live viewing module comprises a viewing module and a checking module, wherein,
the watching module is used for providing reserved and non-reserved live broadcast contents;
the checking module is used for checking and updating the dynamic reserved resource Ad according to the reserved live broadcast and checking and updating the free used resource Bd according to the non-reserved live broadcast;
and the resource recovery module is used for recovering the resources according to the static resource configuration and the reservation parameters to complete resource control.
4. The system of claim 3, wherein the real store online anchorperson live resource control system comprises: the resource recovery module comprises a judgment module and a recovery module, wherein,
the judging module judges whether the corresponding time length is reached according to the type of the resource, and if so, the resource is recovered; if not, not performing operation;
and the recovery module is used for closing the live broadcast after the time length is reached and releasing all the seats of the audiences.
CN201811362437.4A 2018-11-15 2018-11-15 Resource control method and system for online no-main-broadcast live broadcast of physical shop Active CN109451327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811362437.4A CN109451327B (en) 2018-11-15 2018-11-15 Resource control method and system for online no-main-broadcast live broadcast of physical shop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811362437.4A CN109451327B (en) 2018-11-15 2018-11-15 Resource control method and system for online no-main-broadcast live broadcast of physical shop

Publications (2)

Publication Number Publication Date
CN109451327A CN109451327A (en) 2019-03-08
CN109451327B true CN109451327B (en) 2020-12-29

Family

ID=65552881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811362437.4A Active CN109451327B (en) 2018-11-15 2018-11-15 Resource control method and system for online no-main-broadcast live broadcast of physical shop

Country Status (1)

Country Link
CN (1) CN109451327B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504889A (en) * 2002-11-28 2004-06-16 联想(北京)有限公司 Dynamic adjusting method for function of program module according to resource state
CN101212813A (en) * 2007-12-25 2008-07-02 中兴通讯股份有限公司 Dynamic radio channel management system and method
CN105450642A (en) * 2015-11-17 2016-03-30 广州华多网络科技有限公司 Data processing method based on on-line live broadcast, correlation apparatus and system
CN106487781A (en) * 2016-09-13 2017-03-08 腾讯科技(深圳)有限公司 Based on live resource data processing method, device and system
CN106572482A (en) * 2015-10-12 2017-04-19 中国移动通信集团公司 Parameter configuration method and apparatus and core network self-configuration and self-optimization platform
CN107172446A (en) * 2017-04-28 2017-09-15 广州华多网络科技有限公司 The sending method and dispensing device of a kind of direct broadcasting room virtual resource
CN107193845A (en) * 2016-03-15 2017-09-22 阿里巴巴集团控股有限公司 Internet resources screening technique and device, the qualified assets screening technique of financing plans
CN107205248A (en) * 2016-03-17 2017-09-26 中国移动通信集团内蒙古有限公司 A kind of resource allocation methods and system
CN107911459A (en) * 2017-11-21 2018-04-13 桂林爱家购股份有限公司 A kind of Web page storage device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8214237B2 (en) * 2004-03-09 2012-07-03 Intel Corporation Methods and apparatus for resource allocation in computer architectures

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504889A (en) * 2002-11-28 2004-06-16 联想(北京)有限公司 Dynamic adjusting method for function of program module according to resource state
CN101212813A (en) * 2007-12-25 2008-07-02 中兴通讯股份有限公司 Dynamic radio channel management system and method
CN106572482A (en) * 2015-10-12 2017-04-19 中国移动通信集团公司 Parameter configuration method and apparatus and core network self-configuration and self-optimization platform
CN105450642A (en) * 2015-11-17 2016-03-30 广州华多网络科技有限公司 Data processing method based on on-line live broadcast, correlation apparatus and system
CN107193845A (en) * 2016-03-15 2017-09-22 阿里巴巴集团控股有限公司 Internet resources screening technique and device, the qualified assets screening technique of financing plans
CN107205248A (en) * 2016-03-17 2017-09-26 中国移动通信集团内蒙古有限公司 A kind of resource allocation methods and system
CN106487781A (en) * 2016-09-13 2017-03-08 腾讯科技(深圳)有限公司 Based on live resource data processing method, device and system
CN107172446A (en) * 2017-04-28 2017-09-15 广州华多网络科技有限公司 The sending method and dispensing device of a kind of direct broadcasting room virtual resource
CN107911459A (en) * 2017-11-21 2018-04-13 桂林爱家购股份有限公司 A kind of Web page storage device

Also Published As

Publication number Publication date
CN109451327A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN108737405A (en) A kind of method, CCL servers and system carrying out water conservancy diversion to live video stream
US8849095B2 (en) Goal-based video delivery system
US8341550B2 (en) User generated targeted advertisements
JP2020030814A (en) Method and apparatus for processing information
US20130263182A1 (en) Customizing additional content provided with video advertisements
US11711556B2 (en) Time-based content synchronization
US20130276010A1 (en) Content serving
US20040093253A1 (en) System and method for delivering and managing advertisements
CN102077602A (en) Interval based ad insertion used for the delivery of video streams
KR20130087629A (en) Video content navigation with revenue maximization
CN105100911A (en) Intelligent multimedia system and method
CN105808182A (en) Display control method and system, advertisement breach judging device and video and audio processing device
CN104918136A (en) Video positioning method and device
CN105898410A (en) Video recommendation method and server
CN106331783B (en) A kind of resource allocation methods, device and intelligent television system
CN103327371A (en) Intelligent program information booking and reminding platform and method
CN111107434A (en) Information recommendation method and device
CN106303672A (en) A kind of synchronous broadcast method based on recorded broadcast video and device
US20140115032A1 (en) Preserving a consumption context for a user session
CN109451327B (en) Resource control method and system for online no-main-broadcast live broadcast of physical shop
CN106210438A (en) A kind of information issuing method based on line holographic projections and system
AU2017276208A1 (en) Multimedia content distribution and recommendation system
KR101733607B1 (en) Method and system for managing of production of drama
KR20100078680A (en) Method and system for additional interest service related on using rate of culture contents
CN101834744A (en) Convergence service system and implementation method thereof

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
GR01 Patent grant
GR01 Patent grant