Method and apparatus for determining service capacity of service, device, and storage medium

By acquiring service quality and capacity data from multiple historical periods and adjusting the basic capacity of business services using preset adjustment modes, the problem of dynamically adjusting service capacity in existing technologies is solved, thereby achieving full utilization of resources and optimization of business services.

WO2026067205A1PCT designated stage Publication Date: 2026-04-02BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-09-18
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

How to optimize the way business services are delivered to meet the ever-increasing service demands, especially in areas such as live streaming, gaming, and video, where existing technologies struggle to dynamically adjust service capacity to fully utilize resources.

Method used

By acquiring service quality and service capacity from multiple historical periods, a target adjustment mode is determined using a preset adjustment mode, and the basic service capacity of the business services is adjusted based on this mode to determine the target service capacity.

Benefits of technology

It enables dynamic adjustment of service capacity, makes full use of resources, optimizes the way business services are provided, and meets the ever-growing service demands.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025122264_02042026_PF_FP_ABST
    Figure CN2025122264_02042026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a method and apparatus for determining a service capacity of a service, a device, and a storage medium. The method comprises: acquiring the quality of service and service capacities of a service respectively in a plurality of historical periods, wherein the service capacities in the historical periods are different from each other, the quality of service in each historical period is determined on the basis of a set of transmission parameters within the historical period, the service capacity in each historical period is determined by applying a preset adjustment mode to a preset basic service capacity, and adjustment modes corresponding to the historical periods are different from each other; on the basis of the quality of service of the service in the plurality of historical periods, determining a target adjustment mode from among a plurality of preset adjustment modes, wherein the quality of service in a historical period corresponding to the target adjustment mode is greater than a preset quality threshold; and on the basis of the target adjustment mode, adjusting a basic service capacity of the service to determine a target service capacity of the service in a target period.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus, device and storage medium for service capacity determination of service

[0001] The present application claims priority to the Chinese Patent Application No. 202411389400.6, filed on September 30, 2024, and entitled "Method, Apparatus, Device and Storage Medium for Service Capacity Determination of Service", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method, apparatus, device and computer readable storage medium for service capacity determination of service. BACKGROUND

[0003] With the development of computer technology, the demand for service is increasing, especially in the fields of live broadcast, game, video, etc. In order to meet the growing demand for services, how to optimize the method of providing services has become an important problem. SUMMARY

[0004] In a first aspect of the present disclosure, a method for service capacity determination of service is provided. The method comprises: obtaining service quality and service capacity of a service in a plurality of historical periods, respectively; wherein the service capacity of each historical period is different; the service quality of each historical period is determined according to a set of transmission parameters in the historical period; the service capacity of each historical period is determined by applying a preset adjustment mode to a preset basic service capacity, and the adjustment mode corresponding to each historical period is different; determining a target adjustment mode from a plurality of preset adjustment modes based on the service quality of the service in the plurality of historical periods, wherein the service quality of the historical period corresponding to the target adjustment mode is greater than a preset quality threshold; and adjusting the basic service capacity of the service based on the target adjustment mode to determine the target service capacity of the service in a target period.

[0005] In a second aspect of the present disclosure, an apparatus for determining service capacity of a service is provided. The apparatus comprises: an obtaining module configured to obtain service quality and service capacity of the service in a plurality of historical periods respectively; wherein the service capacity in each historical period is different; the service quality in each historical period is determined according to a set of transmission parameters in the historical period; the service capacity in each historical period is determined by applying a preset adjustment mode to a preset base service capacity, and the adjustment mode corresponding to each historical period is different; a determining module configured to determine a target adjustment mode from a plurality of preset adjustment modes based on the service quality of the service in the plurality of historical periods, wherein the service quality in the historical period corresponding to the target adjustment mode is greater than a preset quality threshold; and an adjusting module configured to adjust the base service capacity of the service based on the target adjustment mode to determine a target service capacity of the service in a target period.

[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. The instructions, when executed by the at least one processor, cause the device to perform the method of the first aspect.

[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon computer-executable instructions that are executable by a processor to implement the method of the first aspect.

[0008] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and comprises computer-executable instructions that, when executed by a device, cause the device to perform the method according to the first aspect.

[0009] It should be understood that the contents described in this section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS

[0010] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail some embodiments thereof with reference to the annexed drawings in which:

[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0012] FIG. 2 shows a flowchart of service capacity determination of a service according to some embodiments of the present disclosure;

[0013] FIG. 3 illustrates a block diagram of an apparatus for service capacity determination of a business service, according to some embodiments of the present disclosure; and

[0014] FIG. 4 illustrates a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION

[0015] Embodiments of the present disclosure will be described in more detail with reference to the drawings. While certain embodiments of the present disclosure are illustrated in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted in a limited sense as set forth in the embodiments set forth herein. Rather, the embodiments are provided to more completely understand the present disclosure. It will be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.

[0016] It should be noted that the titles of any sections / subsections provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. Furthermore, embodiments described in any section / subsection can be combined with any other embodiment described in the same section / subsection and / or a different section / subsection in any manner.

[0017] In the description of embodiments of the present disclosure, the term "includes" and its derivatives, such as "including," should be understood in an open, inclusive sense, that is, "including, but not limited to." The term "based on" should be understood as "based at least in part on." The term "one embodiment" or "an embodiment" should be understood as "at least one embodiment." The term "some embodiments" should be understood as "at least some embodiments." Other explicit or implicit definitions can also be included below. The terms "first," "second," etc. can refer to different or the same objects. Other explicit and implicit definitions can also be included below.

[0018] Data of users, acquisition and / or use of data, etc. can be involved in embodiments of the present disclosure. These aspects all comply with corresponding laws and regulations and relevant provisions. In embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms. Accordingly, when implementing various embodiments of the present disclosure, the type of data or information that can be involved, the scope of use, the use scenario, etc. should be informed to the user and authorized by the user in a proper manner according to relevant laws and regulations. The specific informing and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this aspect.

[0019] In the specification and embodiments of the present disclosure, if personal information processing is involved, the processing will be performed on the premise of legality (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will be processed only within the prescribed or agreed range. The user refuses to process personal information other than the necessary information required for the basic function, which does not affect the user's use of the basic function.

[0020] As briefly mentioned above, with the development of computer technology, the demand for business services is increasing, especially in the fields of live broadcast, games, video, etc. In order to meet the growing demand for services, how to optimize the method of providing business services has become an important problem.

[0021] To this end, embodiments of the present disclosure provide a scheme for service capacity determination of a business service. According to various embodiments of the present disclosure, the service quality and service capacity of the business service in a plurality of historical periods are obtained; wherein the service capacity of each historical period is different; the service quality of each historical period is determined according to a set of transmission parameters in the historical period; the service capacity of each historical period is determined by applying a preset adjustment mode to a preset basic service capacity, and the adjustment mode corresponding to each historical period is different; based on the service quality of the business service in the plurality of historical periods, a target adjustment mode is determined from a plurality of preset adjustment modes, wherein the service quality of the historical period corresponding to the target adjustment mode is greater than a preset quality threshold; and based on the target adjustment mode, the basic service capacity of the business service is adjusted to determine the target service capacity of the business service in the target period.

[0022] In this way, embodiments of the present disclosure can dynamically adjust the service capacity, thereby making full use of service resources.

[0023] The example embodiments of the present disclosure will be described below with reference to the accompanying drawings.

[0024] Example environment

[0025] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110, a master server 120, a CDN (Content Delivery Network) server 130, an edge server 140, and a terminal device 150.

[0026] In the environment 100 of FIG. 1, the electronic device 110 can receive a transmission parameter reported from the edge server 140, which can include, for example, throughput and / or packet loss rate. Further, the electronic device 110 can evaluate the service capacity of the edge server 140 based on the transmission parameter of the edge server 140. After evaluating the service capacity of the edge server 140, the electronic device 110 can push a data stream such as a live stream to the edge server 140 via the CDN server 130 to instruct the edge server 140 to provide service to at least one terminal device 150.

[0027] In the environment 100 of FIG. 1, the main server 130 can acquire a data stream sent by the terminal device 150 and push the data stream to the CDN server to instruct the CDN server to push the data stream to other terminal devices via the edge server 140.

[0028] In some embodiments, the electronic device 110 communicates with the edge server 140 to instruct the edge server 140 to determine the service capacity of the service serving the corresponding terminal device 150. The electronic device 110 can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network, and big data and artificial intelligence platform, etc. The electronic device 130 can include, for example, a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, etc.

[0029] The terminal device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a subnotebook computer, a netbook computer, a tablet computer, a media player, a multimedia player, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) device, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface to the user (such as "wearable" circuitry, etc.).

[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, without implying any limitation on the scope of the present disclosure.

[0031] Some example embodiments of the present disclosure will be hereinafter described with continuous reference to the drawings.

[0032] Example process

[0033] FIG. 2 shows a flowchart of a process 200 of service capacity determination of a service, according to some embodiments of the present disclosure. The process 200 can be implemented at the electronic device 110. The process 200 will be described below with reference to FIG. 1.

[0034] As shown in FIG. 2, at block 210, the electronic device 110 obtains service quality and service capacity of the service in a plurality of historical periods, respectively. The service capacity in each of the historical periods is different; the service quality in each of the historical periods is determined according to a set of transmission parameters in the historical period; and the service capacity in each of the historical periods is determined by applying a preset adjustment mode to a preset base service capacity, and the adjustment mode corresponding to each of the historical periods is different. In some embodiments, the service provided by the electronic device 110 can be a live service, for example.

[0035] As an example, the service quality can be a quality indicator of the live service, such as smoothness, clarity, etc. The service capacity can be the number of viewers who can simultaneously watch the live service, for example.

[0036] In some embodiments, the service capacity can indicate the number of concurrent users connected to the edge server associated with the service, for example. The number of concurrent users, i.e., the service capacity, can be represented using “quota”, for example. In some scenarios, the service capacity can be the number of terminal devices that the edge server 140 needs to provide the live service, for example.

[0037] In some embodiments, before obtaining the service quality and the service capacity of the service in the plurality of historical periods, respectively, the electronic device 110 can provide the service based on an initial service capacity in a first period. In some scenarios, the electronic device 110 can assign an initial number of concurrent users to the edge server 140 to instruct the edge server 140 to provide a number of live services corresponding to the number of concurrent users.

[0038] Further, the electronic device 110 can increase the service capacity of the service in at least one period after the first period until the service quality in the current period is lower than or equal to the service quality in the last period.

[0039] As an example, the "utility" can be the quality of service of the current period, and the "utility last" can be the quality of service of the last period, for example. The electronic device 110 can first set an initial service capacity for the edge server 140. For example, the "quota" can be assigned a value of 1 when the edge server 140 sets the initial service capacity. Further, the electronic device 110 can increase the "quota" by 2 times until the "utility" is not greater than the "utility last".

[0040] In some embodiments, the adjustment mode can be an increase service capacity mode (i.e., the first adjustment mode), a decrease service capacity mode (i.e., the second adjustment mode), and a maintain service capacity mode (i.e., the third adjustment mode). Each adjustment mode corresponds to a different period, the increase service capacity mode corresponds to the second period, the decrease service capacity mode corresponds to the third period, and the maintain service capacity mode corresponds to the fourth period.

[0041] As an example, the first adjustment mode can be referred to as "quota*ω", for example, to indicate that the service capacity should be increased. The second adjustment mode can be referred to as "quota*0", for example, to indicate that the server capacity should be decreased. The third adjustment mode can be referred to as "quota*1", for example, to indicate that the current server capacity should be maintained.

[0042] In some embodiments, the electronic device 110 can obtain a plurality of sets of transmission parameters corresponding to a plurality of historical periods, the transmission parameters including throughput and / or packet loss rate. For example, the electronic device 110 can obtain the transmission parameters in the second period corresponding to the increase service capacity strategy. Further, the electronic device 110 can determine the quality of service information corresponding to a plurality of periods based on the plurality of sets of transmission parameters.

[0043] As an example, the quality of service information can be calculated based on the following formula: utility = throughput * sigmoid(loss - 0.1) - alpha * throughput * loss

[0044] where "throughput" is the throughput, "loss" is the packet loss rate, "sigmoid" is a normalization function, and "alpha" is an adjustable parameter.

[0045] ​Further, the electronic device 110 can calculate the service quality information corresponding to the plurality of periods respectively based on the above formula. The service quality information corresponding to the second period associated with the first adjustment mode can be, for example, "utility first", the service quality information corresponding to the third period associated with the second adjustment mode can be, for example, "utility second", and the service quality information corresponding to the fourth period associated with the third adjustment mode can be, for example, "utility third".

[0046] At block 220, the electronic device 110 determines a target adjustment mode from the plurality of preset adjustment modes based on the service quality of the service in the plurality of historical periods, the service quality of the historical period corresponding to the target adjustment mode being greater than a preset quality threshold. As an example, after determining the service quality corresponding to different periods, the electronic device 110 can determine the target adjustment mode based on the numerical size of the service quality information corresponding to different periods. The plurality of preset adjustment modes include an adjustment mode for increasing the service capacity, an adjustment mode for reducing the service capacity, and an adjustment mode for keeping the current service capacity unchanged.

[0047] In some embodiments, the electronic device 110 can determine the target adjustment mode corresponding to the highest service quality from the plurality of preset adjustment modes based on the service quality.

[0048] As an example, after obtaining the service quality information corresponding to different adjustment modes, the electronic device 110 can judge the size of "utility first", "utility second" and "utility third", and select the adjustment mode associated with the largest service quality information as the target adjustment mode. For example, "utility first" is the largest service quality information, then the first adjustment mode is selected as the target adjustment mode.

[0049] At block 230, the electronic device 110 adjusts the basic service capacity of the service based on the target adjustment mode to determine the target service capacity of the service in the target period.

[0050] As an example, after determining that the target adjustment mode is completed, the electronic device 110 can continue to adjust the service capacity of the service based on the direction corresponding to the target adjustment mode. For example, the electronic device 110 can continue to increase the service capacity of the service until the service quality of the current period is lower than the service quality of the last period.

[0051] In some scenarios, the number of concurrent users of the edge server 140 can reach the maximum value when the service quality of the service is maintained. By continuously increasing the service capacity of the service, the maximum service capacity of the edge server 140 can be found more accurately.

[0052] Overall, the processing flow can include:

[0053] An initialization phase, in which the electronic device 110 can set the initial service capacity to 1 and set the service quality of the last period to a negative number.

[0054] A start-up phase, in which the electronic device 110 can compare the current service quality with the service quality of the last period. If the current service quality is greater than the service quality of the last period, the service capacity is increased. If the current service quality is not greater than the service quality of the last period, the detection phase is entered.

[0055] A detection phase, in which the electronic device 110 can determine the sizes of the service qualities corresponding to the second period, the third period, and the fourth period. If the service quality corresponding to the second period is the largest, a preset first adjustment mode is used as the target adjustment mode. If the service quality corresponding to the third period is the largest, a preset second adjustment mode is used as the target adjustment mode. If the service quality corresponding to the fourth period is the largest, a preset third adjustment mode is used as the target adjustment mode. After the electronic device 110 determines the adjustment mode, the moving phase can be entered.

[0056] A moving phase, in which the electronic device 110 can determine the sizes of the current service quality and the service quality of the last period. If the current service quality is greater than the service quality of the last period, the service capacity is adjusted based on the target adjustment mode. If the current service quality is not greater than the service quality of the last period, the detection phase can be entered again to adjust the service capacity of the service in real time.

[0057] In this way, the embodiments of the present disclosure can dynamically adjust the service capacity, thereby fully utilizing the service resources.

[0058] Example apparatus and device

[0059] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above method or process. FIG. 3 shows a schematic structural block diagram of an apparatus 300 for service capacity determination of a service according to certain embodiments of the present disclosure. The apparatus 300 can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 300 can be implemented by hardware, software, firmware, or any combination thereof.

[0060] As shown in FIG. 3, the apparatus 300 includes an obtaining module 310 configured to obtain service quality and service capacity of a service respectively in a plurality of historical periods; wherein the service capacity of each historical period is different; the service quality of each historical period is determined according to a set of transmission parameters in the historical period; the service capacity of each historical period is determined by applying a preset adjustment mode to a preset base service capacity, and the adjustment mode corresponding to each historical period is different; a determining module 320 configured to determine a target adjustment mode from a plurality of preset adjustment modes based on the service quality of the service in the plurality of historical periods, wherein the service quality of the historical period corresponding to the target adjustment mode is greater than a preset quality threshold; and an adjusting module 330 configured to adjust the base service capacity of the service based on the target adjustment mode to determine a target service capacity of the service in a target period.

[0061] In some embodiments, before obtaining the service quality and the service capacity of the service respectively in the plurality of historical periods, the apparatus 300 further includes a service providing module configured to provide the service based on an initial service capacity in a first period; and increase the service capacity of the service in at least one period after the first period until the service quality of a current period is lower than or equal to the service quality of a previous period.

[0062] In some embodiments, the plurality of historical periods includes a plurality of the following: a second period, the second period corresponding to a first adjustment mode, the first adjustment mode indicating to increase the service capacity of the service; a third period, the third period corresponding to a second adjustment mode, the second adjustment mode indicating to decrease the service capacity of the service; and a fourth period, the fourth period corresponding to a third adjustment mode, the third adjustment mode indicating to maintain the service capacity of the service unchanged.

[0063] In some embodiments, the determining module 320 is further configured to determine, from the plurality of preset adjustment modes, a target adjustment mode corresponding to the highest service quality based on the service quality information.

[0064] In some embodiments, the adjusting module 330 is further configured to adjust, in at least one period, the service capacity of the service based on the target adjustment mode until the service quality of a current period is lower than or equal to the service quality of a previous period.

[0065] In some embodiments, the set of transmission parameters includes throughput and / or packet loss rate.

[0066] In some embodiments, the service capacity of the service indicates a number of concurrent users connected to an edge server associated with the service.

[0067] In some embodiments, the service includes a live service.

[0068] The units included in the apparatus 300 can be implemented utilizing various means, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, e.g., machine-executable instructions stored on a storage medium. In addition to or alternatively, some or all of the units in the apparatus 300 can be implemented at least partially by one or more hardware logic components. As an example and not by way of limitation, example types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0069] FIG. 4 illustrates a block diagram of an electronic device 400 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 400 illustrated in FIG. 4 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 400 illustrated in FIG. 4 can be used to implement the electronic device 110 of FIG. 1.

[0070] As shown in FIG. 4, the electronic device 400 is in the form of a general electronic device. Components of the electronic device 400 can include, but are not limited to, one or more processors 410 or processing units, a memory 420, a storage device 430, one or more communication units 440, one or more input devices 450, and one or more output devices 460. The processor 410 can be a real or virtual processor and is capable of performing various processing according to programs stored in the memory 420. In a multi-processor system, multiple processors perform computer-executable instructions in parallel to improve parallel processing capabilities of the electronic device 400.

[0071] The electronic device 400 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 400 and includes both volatile and non-volatile media, removable and non-removable media. The memory 420 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 430 can be a removable or non-removable medium and can include machine-readable media, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data and that can be accessed by the electronic device 400.

[0072] The electronic device 400 can further include additional detachable / non-detachable, volatile / non-volatile storage media. Although not shown in FIG. 4, a disk drive for reading from or writing to a detachable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a detachable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In these cases, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 420 can include a computer program product 425 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.

[0073] The communication unit 440 enables communication with other electronic devices through communication media. Additionally, the functionality of the components of the electronic device 400 can be implemented in a single computing cluster or a plurality of computer machines capable of communicating with one another through a communication connection. As such, the electronic device 400 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0074] The input device 450 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 460 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 400 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc., one or more devices that enable a user to interact with the electronic device 400, or any devices (e.g., a network card, a modem, etc.) that enable the electronic device 400 to communicate with one or more other electronic devices, through the communication unit 440, as needed. Such communication can be carried out via an input / output (I / O) interface (not shown).

[0075] According to an example implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, where the computer-executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions, where the computer-executable instructions are executed by a processor to implement the method described above.

[0076] Various aspects of the disclosure are now described with reference to the drawings. In general, the drawings described below are diagrammatic and schematic representations of actual or conceptual structures and processes, and are not limiting of the scope of the present disclosure. In the drawings, the size and relative positioning of components can be exaggerated for clarity and / or descriptive purposes. Also, the drawings represent examples of apparatuses and / or methods in accordance with the present disclosure. In some instances, various aspects of the disclosure can be shown in a diagram, or by a series of diagrams, and can include a set of one or more apparatuses or a combination of apparatuses and methods.

[0077] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0078] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0079] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0080] Various implementations of this disclosure have been described above. The foregoing description is exemplary and not exhaustive, nor is it limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for determining a service capacity of a service, comprising: obtaining a service quality and a service capacity of the service in a plurality of historical periods, respectively, wherein the service capacity in each historical period is different, the service quality in each historical period is determined according to a set of transmission parameters in the historical period, and the service capacity in each historical period is determined by applying a preset adjustment mode to a preset base service capacity, and the adjustment mode corresponding to each historical period is different; determining a target adjustment mode from a plurality of preset adjustment modes based on the service quality of the service in the plurality of historical periods, wherein the service quality in the historical period corresponding to the target adjustment mode is greater than a preset quality threshold; and adjusting the base service capacity of the service based on the target adjustment mode to determine a target service capacity of the service in a target period. 2.The method of claim 1, wherein before the obtaining a service quality and a service capacity of the service in a plurality of historical periods, respectively, the method further comprises: providing the service in a first period based on an initial service capacity; and increasing the service capacity of the service in at least one period after the first period until the service quality in a current period is less than or equal to the service quality in a previous period. 3.The method of claim 1, wherein the plurality of historical periods comprises a plurality of the following: a second period corresponding to a first adjustment mode, the first adjustment mode indicating to increase the service capacity of the service; a third period corresponding to a second adjustment mode, the second adjustment mode indicating to decrease the service capacity of the service; a fourth period corresponding to a third adjustment mode, the third adjustment mode indicating to maintain the service capacity of the service unchanged. 4.The method of claim 1, wherein the determining a target adjustment mode from a plurality of preset adjustment modes based on the service quality of the service in the plurality of historical periods comprises: determining the target adjustment mode corresponding to a highest service quality from the plurality of preset adjustment modes based on the service quality. 5.The method of claim 1, wherein the adjusting the service capacity of the service based on the target adjustment mode comprises: adjusting the service capacity of the service based on the target adjustment mode in at least one period until the service quality in a current period is less than or equal to the service quality in a previous period. 6.The method of any one of claims 1-5, wherein the set of transmission parameters comprises a throughput and / or a packet loss rate. 7.The method of any one of claims 1-5, wherein the service capacity of the service indicates a number of concurrent users connected to an edge server associated with the service. 8.The method of any one of claims 1-5, wherein the service comprises a live service. 9.An apparatus for determining a service capacity of a service, comprising: ​ The acquisition module is configured to acquire service quality and service capacity of the service in a plurality of historical periods, respectively; wherein the service capacity in each historical period is different; the service quality in each historical period is determined according to a set of transmission parameters in the historical period; the service capacity in each historical period is determined by applying a preset adjustment mode to a preset basic service capacity, and the adjustment mode corresponding to each historical period is different; The determination module is configured to determine a target adjustment mode from a plurality of preset adjustment modes based on the service quality of the service in the plurality of historical periods, wherein the service quality of the historical period corresponding to the target adjustment mode is greater than a preset quality threshold; and The adjustment module is configured to adjust the basic service capacity of the service based on the target adjustment mode to determine a target service capacity of the service in a target period.

10. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, cause the electronic device to perform the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having computer-executable instructions stored thereon that are executable by a processor to implement the method according to any one of claims 1 to 8.

12. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Server capacity adjusting method and device and electronic equipment

    CN111061564A

  • Data transmission method and device based on service quality, equipment and storage medium

    CN115622948A

  • Server capacity dynamic adjustment method and device and computer equipment

    CN117453393A

  • Dynamic current limiting control method and device

    CN118474035A

  • Methods and systems for multi-level network capacity allocation

    US20190075055A1