CN112737975A - Buffer capacity adjusting method and device - Google Patents

Buffer capacity adjusting method and device Download PDF

Info

Publication number
CN112737975A
CN112737975A CN202011564613.XA CN202011564613A CN112737975A CN 112737975 A CN112737975 A CN 112737975A CN 202011564613 A CN202011564613 A CN 202011564613A CN 112737975 A CN112737975 A CN 112737975A
Authority
CN
China
Prior art keywords
capacity
buffer
buffer area
change rate
data volume
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.)
Granted
Application number
CN202011564613.XA
Other languages
Chinese (zh)
Other versions
CN112737975B (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.)
Zhuhai Seasun Mobile Game Technology Co ltd
Original Assignee
Zhuhai Seasun Mobile Game 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 Zhuhai Seasun Mobile Game Technology Co ltd filed Critical Zhuhai Seasun Mobile Game Technology Co ltd
Priority to CN202011564613.XA priority Critical patent/CN112737975B/en
Publication of CN112737975A publication Critical patent/CN112737975A/en
Application granted granted Critical
Publication of CN112737975B publication Critical patent/CN112737975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9005Buffering arrangements using dynamic buffer space allocation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Communication Control (AREA)

Abstract

The present specification provides a buffer capacity adjustment method and apparatus, wherein the buffer capacity adjustment method includes: receiving a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of a buffer area; setting a buffer capacity to the reference capacity; determining whether to adjust the reference capacity according to the data amount cached in the buffer area; and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected. Therefore, a fixed reference capacity can be set for the buffer area firstly, and the set reference capacity can be dynamically adjusted in real time after the fixed reference capacity is set for the buffer area, so that the buffer area capacity can be more suitable for the change of data quantity in practical application scenes, and the adjustment condition of the buffer area capacity can be displayed after the buffer area capacity is dynamically adjusted, so that monitoring personnel can monitor the buffer area capacity conveniently.

Description

Buffer capacity adjusting method and device
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for adjusting a buffer capacity.
Background
With the rapid development of internet technology, the internet technology has been closely related to the work life of people, and a large amount of data transmission is often involved in order to meet the needs of the work life of people. Generally, a data transmitting end has a transmitting buffer and a receiving buffer when performing data transmission with a data receiving end. The sending buffer area and the receiving buffer area are both used for temporarily buffering data which is not sent or received, and if the amount of the buffered data in the sending buffer area or the receiving buffer area is greatly changed, the capacity of the sending buffer area or the receiving buffer area needs to be adjusted.
In the prior art, the capacity of a buffer area can be automatically and dynamically adjusted through an operating system; alternatively, the monitoring personnel can estimate the required buffer capacity and then directly set the buffer capacity by calling an application program interface carried by the operating system. However, in an automatic adjustment mode of the operating system, a monitoring person cannot know the adjustment process of the buffer capacity, that is, cannot manually monitor the change of the buffer capacity, and the buffer capacity may not adapt to the change of the data volume, thereby some data may be missed. In addition, in a manner that the monitoring personnel manually calls an application program interface carried by the system to set, the operating system directly sets the capacity of the buffer area as a fixed value, and simultaneously closes a function of automatically adjusting the capacity of the buffer area, that is, the capacity of the buffer area is manually limited, so that the capacity of the buffer area is fixed, and if the monitoring personnel incorrectly estimates the required capacity of the buffer area, the set capacity of the buffer area cannot adapt to the change of the data volume. Further, there is a need for a simpler and more convenient method for performing the operation or process of adjusting the buffer capacity.
Disclosure of Invention
In view of this, the present specification provides a buffer capacity adjustment method. The present specification also relates to a buffer capacity adjustment apparatus, a computing device, and a computer-readable storage medium, which are used to solve the technical problems in the prior art.
According to a first aspect of embodiments of the present specification, there is provided a buffer capacity adjustment method, including:
receiving a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of a buffer area;
setting a buffer capacity to the reference capacity;
determining whether to adjust the reference capacity according to the data amount cached in the buffer area;
and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected.
Optionally, the determining whether to adjust the reference capacity according to the amount of data buffered in the buffer includes:
determining the data volume change rate of the buffer area in a preset time period;
and determining whether to adjust the reference capacity according to the data volume change rate.
Optionally, the determining the data volume change rate of the buffer in the preset time period includes:
acquiring a first data volume of the cache data at the starting time of the preset time period and a second data volume of the cache data at the ending time of the preset time period in the buffer area;
and determining the data volume change rate of the buffer area in the preset time period according to the first data volume and the second data volume.
Optionally, the determining whether to adjust the reference capacity according to the data volume change rate includes:
expanding the capacity of the buffer area according to the data volume change rate when the data volume change rate is an increase rate and is larger than a first change rate threshold;
and under the condition that the data volume change rate is a reduction rate and is greater than a second change rate threshold, reducing the capacity of the buffer area according to the data volume change rate.
Optionally, the expanding the capacity of the buffer according to the data volume change rate includes:
acquiring a target capacity adjustment value corresponding to the data volume change rate from a preset corresponding relation between the change rate and the capacity adjustment value;
expanding the buffer capacity based on the target capacity adjustment value.
Optionally, the first call instruction further carries an upper limit capacity of a buffer; after expanding the capacity of the buffer according to the data volume change rate, the method further includes:
determining whether the expanded buffer capacity exceeds the upper limit capacity;
and generating and displaying a warning message when the expanded buffer capacity exceeds the upper limit capacity.
Optionally, the method further includes:
and displaying capacity attribute information of the buffer area capacity, wherein the capacity attribute information comprises the current total capacity and the occupied capacity of the buffer area.
Optionally, after the setting the buffer capacity as the reference capacity, the method further includes:
receiving a second call instruction of a second application program interface, wherein the second call instruction carries the capacity of a target buffer area;
setting the buffer capacity as the target buffer capacity.
According to a second aspect of embodiments of the present specification, there is provided a buffer capacity adjustment apparatus including:
the first receiving module is configured to receive a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of the buffer area;
a first setting module configured to set a buffer capacity as the reference capacity;
a determining module configured to determine whether to adjust the reference capacity according to the amount of data buffered in the buffer;
a display module configured to display adjustment information of the reference capacity in a case where the adjustment of the reference capacity is detected.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions to implement the method of:
receiving a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of a buffer area;
setting a buffer capacity to the reference capacity;
determining whether to adjust the reference capacity according to the data amount cached in the buffer area;
and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the buffer capacity adjustment method.
The method for adjusting the capacity of the buffer area, provided by the present specification, may receive a first call instruction of a first application program interface, where the first call instruction carries a reference capacity of the buffer area; then setting the buffer capacity as the reference capacity; then, whether to adjust the reference capacity can be determined according to the data amount cached in the buffer area; and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected. In this case, a reference capacity may be set for the buffer by calling the first application program interface, and then the reference capacity (i.e. the current buffer capacity) may be dynamically adjusted according to the data amount cached in the buffer in the actual application scenario, and specific adjustment information may be displayed when the current buffer capacity is dynamically adjusted; therefore, a fixed reference capacity can be set for the buffer area firstly, the set reference capacity can be dynamically adjusted in real time after the fixed reference capacity is set for the buffer area, the capacity of the buffer area is not fixed, the capacity of the buffer area can be more suitable for the change of data volume in an actual application scene, the adjustment condition of the capacity of the buffer area can be displayed after the capacity of the buffer area is dynamically adjusted, monitoring personnel can monitor the capacity of the buffer area conveniently, and a coping strategy can be made immediately.
Drawings
Fig. 1 is a flowchart of a buffer capacity adjustment method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a variation of a data amount of a buffer in a preset time period according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a buffer capacity adjustment apparatus according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
TCP (Transmission Control Protocol): is a connection-oriented (connection-oriented) reliable Transport layer (Transport layer) protocol based on byte streams that performs the functions specified by the Transport layer of the fourth layer in the simplified OSI model of computer networks. TCP is intended to accommodate layered protocol hierarchies that support multi-network applications, relying on TCP to provide reliable communication services between pairs of processes in host computers connected to different but interconnected computer communication networks.
Socket: sockets are abstractions of endpoints for two-way communication between application processes on different hosts in a network, and one socket is one end of process communication on the network, and provides a mechanism for an application layer process to exchange data by using a network protocol. In terms of the position, the socket uplink application process and the socket downlink network protocol stack are interfaces through which the application program communicates through the network protocol, and are interfaces through which the application program interacts with the network protocol root.
Kernel: is the most basic part of the operating system, which is a piece of software that provides many applications with secure access to computer hardware, which is limited, and the kernel determines when a program operates on a piece of hardware for how long. The kernel is the core of an operating system, is the first layer of software extension based on hardware, provides the most basic functions of the operating system, is the basis of the operation of the operating system, and is responsible for managing the process, the memory and the kernel architecture of the system and determining the performance and the stability of the system.
API (Application Programming Interface): is a predefined function or convention that refers to the linking of different components of a software system to provide a set of routines that applications and developers can access based on certain software or hardware without accessing source code or understanding the details of the internal workings.
Operating System (OS for short): the operating system needs to process basic affairs such as managing and configuring memory, determining the priority of system resource supply and demand, controlling input equipment and output equipment, operating network and managing file system. The operating system also provides an operation interface for the user to interact with the system, and the user can quickly, effectively, safely and reliably operate various resources in the computer system to process own programs by the aid of the operating system.
In the present specification, a buffer capacity adjustment method is provided, and the present specification relates to a buffer capacity adjustment apparatus, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
Fig. 1 is a flowchart illustrating a buffer capacity adjustment method according to an embodiment of the present disclosure, which specifically includes the following steps:
step 102: receiving a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of a buffer area.
In practical applications, in order to implement data transmission between end-to-end, many transmission protocols, such as TCP, have been developed to perform end-to-end data transmission. Since there are a data sending end and a data receiving end for data transmission, generally, an operating system includes 2 spaces such as a user space and a kernel, and thus the operating systems of the data sending end and the data receiving end both include the user space and the kernel. The kernel is the most basic part of the operating system, can control the hardware resources of the computer, and provides an environment for the upper application program to run.
When end-to-end data transmission is performed through a TCP protocol, a TCP socket has a sending buffer and a receiving buffer after being connected to kernels of a data sending end and a data receiving end. The data to be pushed can be temporarily cached in the receiving buffer area firstly, waiting for the reading of the application program, and if the application program does not read the data in the receiving buffer area all the time, the data to be pushed can be stored in the data buffer area all the time. If the application program does not read the data in the receiving buffer for a long time or the data to be pushed cached in the receiving buffer is large, the capacity of the receiving buffer needs to be adjusted.
At present, the capacity of the buffer area can be automatically and dynamically adjusted through an operating system, but monitoring personnel cannot acquire the adjustment process of the capacity of the buffer area, that is, cannot artificially monitor the change of the capacity of the buffer area, and the capacity of the buffer area cannot adapt to the change of data volume, so that some data are missed; or, the monitoring person may estimate the required buffer capacity, and then directly set the buffer capacity by calling an application program interface of the operating system, but the size of the buffer capacity is artificially limited, which may result in the fixed buffer capacity, and if the monitoring person incorrectly estimates the required buffer capacity, the set buffer capacity may not adapt to the change of the data amount.
Therefore, in order to facilitate monitoring personnel to monitor the capacity of the buffer area in real time and ensure that the capacity of the buffer area can adapt to the data volume change in an actual application scene, the specification provides a buffer area capacity adjustment method, which can receive a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of the buffer area; then setting the buffer capacity as the reference capacity; then, whether to adjust the reference capacity can be determined according to the data amount cached in the buffer area; and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected. Therefore, a fixed reference capacity can be set for the buffer area firstly, the set reference capacity can be dynamically adjusted in real time after the fixed reference capacity is set for the buffer area, the adjustment condition of the buffer area capacity can be displayed, monitoring personnel can monitor the buffer area capacity conveniently, and therefore a coping strategy can be made immediately.
Specifically, the first application program interface is an API interface newly added in the operating system, and the first application program interface is used to set a reference capacity for the buffer. The monitoring personnel can realize the setting of the capacity of the buffer area by calling the first application program interface. The first call instruction refers to an instruction triggered by the monitoring personnel through calling the corresponding operation of the API interface, and the operating system can receive the first call instruction to call the first application program interface so as to set the capacity of the buffer area. The reference capacity is a capacity of the buffer in most cases, which is empirically determined in advance.
In an optional implementation manner of this embodiment, the capacity condition of the buffer area may also be displayed in real time, and the specific implementation process is as follows:
and displaying capacity attribute information of the buffer area capacity, wherein the capacity attribute information comprises the current total capacity and the occupied capacity of the buffer area.
In specific implementation, the kernel source code can be modified to display the capacity condition of the buffer area. It should be noted that, although the relevant content for displaying the capacity condition of the buffer is described below in step 102, the entire data pushing process, including the subsequent automatic and manual buffer capacity adjusting processes, can display the capacity condition of the buffer.
In this specification, after the buffer area is created, the capacity condition of the buffer area may be displayed in real time, so that a monitoring person may monitor in real time, and determine whether the capacity of the buffer area needs to be manually intervened by calling an application program interface.
Step 104: setting a buffer capacity as the reference capacity.
Specifically, a first call instruction of a first application program interface is received, and on the basis that the first call instruction carries the reference capacity of the buffer, the buffer capacity is further set as the reference capacity.
It should be noted that, generally, when creating a buffer, there is an initial capacity, which may not be suitable for the data amount in most cases, that is, the capacity of the buffer may need to be dynamically adjusted frequently, and in order to avoid the frequent dynamic adjustment of the buffer capacity, a reference capacity, which may be suitable for the data amount in the conventional case, may be set to the buffer by calling a newly added API (i.e., the first application program interface).
For example, the initial capacity of the buffer created by the operating system is 5, and if the buffer capacity is adjusted in real time only according to the data amount, it may happen that the data amount is increased by a small amount, the buffer capacity is adjusted to 7, then the data amount is increased by a small amount, the buffer capacity is adjusted to 10, and then the data amount is increased by a large amount, and then the buffer capacity is adjusted to 15. In most cases, the buffer capacity needs to be adjusted to about 15 at substantially every time. To avoid frequent adjustment of the buffer size, the buffer size may be set to 15 directly by calling the first application program interface.
In this specification, a monitoring person may monitor the size of the buffer capacity in real time, and manually trigger the first call instruction, and the operating system may call the first application program interface to set the buffer capacity as the reference capacity when receiving the first call instruction, thereby avoiding frequent adjustment of the buffer capacity and saving processing resources of the operating system.
Step 106: and determining whether to adjust the reference capacity according to the data amount cached in the buffer area.
Specifically, on the basis of setting the buffer capacity as the reference capacity, it is further determined whether to adjust the reference capacity according to the amount of data buffered in the buffer. That is, after setting a fixed reference capacity for the buffer, it is determined whether a real-time dynamic adjustment of the set reference capacity is required (i.e., whether a real-time dynamic adjustment of the buffer capacity is required).
It should be noted that the data cached in the buffer area is not constant, that is, the amount of the cached data in the buffer area is continuously increased or decreased, and when the amount of the cached data is increased, the buffer area needs to be expanded to ensure that each data can be cached, and the data cannot be missed; when the amount of buffered data becomes small, the capacity of the buffer needs to be reduced in order to save resources and avoid excessive redundancy. Therefore, in this specification, it may be determined whether the current buffer capacity needs to be expanded or reduced according to the data amount buffered by the buffer, so as to meet the data buffering requirements of different time periods. Since the buffer capacity can be set as the reference capacity first by the received first call instruction, it is actually determined whether to adjust the current buffer capacity according to the amount of data buffered in the buffer at this time.
In an optional implementation manner of this embodiment, whether to adjust the reference capacity is determined according to the amount of data cached in the buffer, and a specific implementation process may be as follows:
determining the data volume change rate of the buffer area in a preset time period;
and determining whether to adjust the reference capacity according to the data volume change rate.
Specifically, the preset time period is a preset time period for calculating the data amount change rate, and the smaller the preset time period is, the more accurate the calculated data amount change rate is, for example, the preset time period may be 0.5 second, 1 second, 2 seconds, and the like.
In practical application, at present, the capacity of the buffer area is generally expanded when the capacity of the buffer area is insufficient or is about to be insufficient, the capacity of the buffer area is reduced when the redundancy of the capacity of the buffer area is more, and the dynamic adjustment of the capacity of the buffer area is not timely enough. Since the data volume change rate of the buffer within a period of time may reflect an increase or decrease trend of the subsequent data volume, so as to reflect the capacity requirement of the buffer in advance, the buffer capacity may be dynamically adjusted according to the data volume change rate of the buffer within a preset period of time in this specification, that is, the change trend of the data volume in the buffer may be predicted according to the data volume change rate of the buffer, so as to adjust the buffer capacity in advance.
In an optional implementation manner of this embodiment, the data volume change rate of the buffer area in the preset time period is determined, and a specific implementation process may be as follows:
acquiring a first data volume of the cache data at the starting time of the preset time period and a second data volume of the cache data at the ending time of the preset time period in the buffer area;
and determining the data volume change rate of the buffer area in the preset time period according to the first data volume and the second data volume.
It should be noted that, the data volumes of the start time and the end time in the preset time period may be respectively obtained, and the data volume change rate may be calculated according to the difference between the data volumes. In specific implementation, after determining a first data volume of the cache data at the starting time and a second data volume of the cache data at the ending time of the preset time period, a slope of a connection line between the second data volume and the first data volume may be determined as a data volume change rate of the buffer.
For example, fig. 2 is a schematic diagram illustrating a change of a data amount of a buffer in a preset time period, as shown in fig. 2, the preset time period is 1 second, and it is assumed that a current time is 8: 00 seconds, the starting time of the preset time period is 7: 59 seconds, and the end time of the preset time period is 8: 00 seconds. Assume 7: the first data amount of the buffer data at 59 seconds is 5, 8: the second data amount of the buffer data at 00 seconds is 10, the first data amount 5 and the second data amount 10 are connected to form a line segment, the slope of the line segment is 5, and then the data amount change rate of the buffer area at this time is 5.
In an optional implementation manner of this embodiment, whether to adjust the capacity of the buffer area is determined according to the data volume change rate, and a specific implementation process may be as follows:
expanding the capacity of the buffer area according to the data volume change rate when the data volume change rate is an increase rate and is larger than a first change rate threshold;
and under the condition that the data volume change rate is a reduction rate and is greater than a second change rate threshold, reducing the capacity of the buffer area according to the data volume change rate.
Specifically, the first change rate threshold and the second change rate threshold may be preset and used to determine a change amplitude of the data amount within a preset time period. The first rate threshold and the second rate threshold may be the same or different.
It should be noted that, since the data amount change rate is the slope of the line connecting the second data amount and the first data amount, if the data amount change rate is a positive number, the data amount change rate is an increase rate, and if the data amount change rate is a negative number, the data amount change rate is a decrease rate. In addition, since the data amount change rate is a negative number when the data amount change rate is the reduction rate, it is subsequently determined whether the data amount change rate is greater than a second change rate threshold, and the absolute value of the actual data amount change rate is used when the buffer capacity is reduced according to the data amount change rate.
In this specification, if the data volume change rate is an increase rate, it indicates that the data volume change rate of the buffer area in the preset time period is in an increase state; and if the data volume change rate is the reduction rate, indicating that the data volume change rate of the buffer area in the preset time period is in a reduction state. When the data volume change rate of the buffer area in the preset time period is in an increase state and the change rate is large, the data volume needing to be cached in the subsequent buffer area can be known to be increased greatly, so that the size of the buffer area needs to be expanded, and more data can be cached in the buffer area; when the data volume change rate of the buffer area in the preset time period is in a reduced state and the change rate is large, it can be known that the data volume to be cached in the subsequent buffer area can be greatly reduced, so that the size of the buffer area needs to be reduced, and the buffer area is prevented from having too much redundancy.
In an optional implementation manner of this embodiment, the capacity of the buffer area is expanded according to the data volume change rate, and a specific implementation process may be as follows:
acquiring a target capacity adjustment value corresponding to the data volume change rate from a preset corresponding relation between the change rate and the capacity adjustment value;
expanding the buffer capacity based on the target capacity adjustment value.
In a specific implementation, when it is determined that the data volume change rate is large, it can only be predicted that the data volume in the subsequent buffer area may be changed greatly, but it is not known how much the buffer area capacity is to be enlarged or reduced, so that the corresponding relationship between the change rate and the capacity adjustment value may be preset in the present specification, and the relationship between the change rate and the capacity adjustment value is agreed in advance in the corresponding relationship, so that after the data volume change rate is determined, a corresponding target capacity adjustment value may be determined to adjust the buffer area capacity.
In addition, the adjustment of the capacity of the buffer area can be the same or different for the increase and the reduction of the data volume; that is, a corresponding relationship between the change rate and the capacity adjustment value may be preset, and for both the case of data volume increase and the case of data volume decrease, the corresponding target adjustment value is determined according to the corresponding relationship, or for both the case of increase and the case of decrease, a corresponding relationship between the change rate and the capacity adjustment value may be respectively set, which is not limited in this specification.
For example, the preset corresponding relationship between the change rate and the capacity adjustment value is shown in table 1 below, and assuming that the determined data volume change rate is 5 and the first change rate threshold is 3, it indicates that the data volume change rate is an increase rate and is greater than the first change rate threshold, and determines that the corresponding target capacity adjustment value is adjustment 10 according to table 1, at this time, the current buffer capacity is expanded by 10; assuming that the determined data volume change rate is-3 and the first change rate threshold is 1, it indicates that the data volume change rate is a reduction rate and is greater than the second change rate threshold, and it is determined that the corresponding target capacity adjustment value is adjustment 5 according to table 1, and at this time, the current buffer capacity is reduced by 5.
TABLE 1 table of correspondence between rate of change and capacity adjustment value
Figure BDA0002860372560000141
Figure BDA0002860372560000151
In an optional implementation manner of this embodiment, the first application program interface may be configured to set the reference capacity for the buffer area, and may also be configured to set an upper limit value of the buffer area capacity, that is, the first call instruction may also carry the upper limit capacity of the buffer area; in this case, after expanding the buffer capacity according to the data amount change rate, the method further includes:
determining whether the expanded buffer capacity exceeds the upper limit capacity;
and generating and displaying a warning message when the expanded buffer capacity exceeds the upper limit capacity.
It should be noted that if the expanded buffer capacity exceeds the upper limit capacity, it indicates that an abnormality is likely to occur, and at this time, a warning message is generated and displayed to remind that an abnormality is likely to occur. After the monitoring personnel call the first application program interface, not only the reference value of the capacity of the buffer area can be set, but also the upper limit value of the capacity of the buffer area can be set, and when the capacity of the buffer area exceeds the upper limit value, a warning message can be generated and displayed to warn, so that the monitoring personnel can timely handle abnormal conditions.
Step 108: and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected.
Specifically, after determining whether to adjust the reference capacity according to the amount of data buffered in the buffer, further, in a case where it is detected that the reference capacity is adjusted, the adjustment information of the reference capacity is displayed.
In practical application, when it is detected that the reference capacity is adjusted, that is, the current buffer capacity changes, the adjustment information of the reference capacity is adjustment information of the buffer capacity, and the adjustment information of the buffer capacity may include the buffer capacity before adjustment and the buffer capacity after adjustment.
It should be noted that, in this specification, a user may manually set the buffer capacity by calling the first application program interface (i.e., the newly added API interface); in addition, the operating system may automatically adjust the buffer capacity according to the amount of data buffered in the buffer, and display adjustment information of the buffer capacity. That is to say, in this specification, the buffer capacity may be adjusted by combining an operating system to automatically adjust the buffer capacity and a manual Application Program Interface (API) to adjust the buffer capacity, and the buffer capacity adjustment process is visualized.
In an optional implementation manner of this embodiment, after setting the buffer capacity as the reference capacity, the method further includes:
receiving a second call instruction of a second application program interface, wherein the second call instruction carries the capacity of a target buffer area;
setting the buffer capacity as the target buffer capacity.
Specifically, the second application program interface is an API interface provided in the operating system, and the second application program interface is configured to set a fixed capacity for the buffer. The monitoring personnel can realize the setting of the capacity of the buffer zone by calling the second application program interface. The second call instruction refers to an instruction triggered by the monitoring personnel through calling the corresponding operation of the API interface, and the operating system may receive the second call instruction to call the second application program interface, thereby setting the buffer capacity. The target buffer capacity is a buffer capacity size that needs to be set specifically when a special situation occurs.
It should be noted that, in this specification, the capacity attribute information of the buffer capacity may be displayed in real time, and the adjustment information of the buffer capacity may be displayed when the buffer capacity is adjusted, so that a monitoring person may monitor the buffer capacity in real time, and in an emergency or a special situation, the monitoring person may call the second application program interface to set the buffer capacity as the target buffer capacity to call an emergency or a special requirement.
The method for adjusting the capacity of the buffer area, provided by the present specification, may receive a first call instruction of a first application program interface, where the first call instruction carries a reference capacity of the buffer area; then setting the buffer capacity as the reference capacity; then, whether to adjust the reference capacity can be determined according to the data amount cached in the buffer area; and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected. In this case, a reference capacity may be set for the buffer by calling the first application program interface, and then the operating system may automatically dynamically adjust the reference capacity (i.e., the current buffer capacity) according to the data volume change rate of the buffer in the actual application scenario, and in this process, if an emergency or special situation occurs, the monitoring person may call the second application program interface to set the current buffer capacity as the target buffer capacity. That is to say, a fixed reference capacity can be set for the buffer area, and after the fixed reference capacity is set for the buffer area, the set reference capacity can be dynamically adjusted in real time, the capacity of the buffer area is not fixed, so that the capacity of the buffer area can be more suitable for the change of data amount in an actual application scene, and after the capacity of the buffer area is dynamically adjusted, the adjustment condition of the capacity of the buffer area can be displayed, so that a monitoring person can monitor the capacity of the buffer area, and a coping strategy can be made immediately.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a buffer capacity adjustment apparatus, and fig. 3 illustrates a schematic structural diagram of a buffer capacity adjustment apparatus provided in an embodiment of the present specification. As shown in fig. 3, the apparatus includes:
a first receiving module 302, configured to receive a first call instruction of a first application program interface, where the first call instruction carries a reference capacity of a buffer;
a first setting module 304 configured to set a buffer capacity as the reference capacity;
a determining module 306 configured to determine whether to adjust the reference capacity according to the amount of data buffered in the buffer;
a display module 308 configured to display adjustment information of the reference capacity in case of detecting that the reference capacity is adjusted.
Optionally, the determining module 306 is further configured to:
determining the data volume change rate of the buffer area in a preset time period;
and determining whether to adjust the reference capacity according to the data volume change rate.
Optionally, the determining module 306 is further configured to:
acquiring a first data volume of the cache data at the starting time of the preset time period and a second data volume of the cache data at the ending time of the preset time period in the buffer area;
and determining the data volume change rate of the buffer area in the preset time period according to the first data volume and the second data volume.
Optionally, the determining module 306 is further configured to:
expanding the capacity of the buffer area according to the data volume change rate when the data volume change rate is an increase rate and is larger than a first change rate threshold;
and under the condition that the data volume change rate is a reduction rate and is greater than a second change rate threshold, reducing the capacity of the buffer area according to the data volume change rate.
Optionally, the determining module 306 is further configured to:
acquiring a target capacity adjustment value corresponding to the data volume change rate from a preset corresponding relation between the change rate and the capacity adjustment value;
expanding the buffer capacity based on the target capacity adjustment value.
Optionally, the determining module 306 is further configured to:
determining whether the expanded buffer capacity exceeds the upper limit capacity;
and generating and displaying a warning message when the expanded buffer capacity exceeds the upper limit capacity.
Optionally, the apparatus further comprises:
a display module configured to display capacity attribute information of the buffer capacity, the capacity attribute information including a current total capacity and an occupied capacity of the buffer.
Optionally, the apparatus further comprises:
the second receiving module is configured to receive a second call instruction of a second application program interface, wherein the second call instruction carries the capacity of the target buffer area;
a second setting module configured to set the buffer capacity as the target buffer capacity.
The buffer capacity adjusting device provided in this specification may set a reference capacity for the buffer by calling the first application program interface, and then the operating system may automatically dynamically adjust the reference capacity (i.e., the current buffer capacity) according to the data volume change rate of the buffer, and in this process, if an emergency or a special situation occurs, the monitoring person may call the second application program interface to set the current buffer capacity as the target buffer capacity. That is to say, a fixed reference capacity can be set for the buffer area, and after the fixed reference capacity is set for the buffer area, the set reference capacity can be dynamically adjusted in real time, the capacity of the buffer area is not fixed, so that the capacity of the buffer area can be more suitable for the change of data amount in an actual application scene, and after the capacity of the buffer area is dynamically adjusted, the adjustment condition of the capacity of the buffer area can be displayed, so that a monitoring person can monitor the capacity of the buffer area, and a coping strategy can be made immediately.
The above is a schematic solution of the buffer capacity adjustment apparatus of the present embodiment. It should be noted that the technical solution of the buffer capacity adjusting apparatus and the technical solution of the above buffer capacity adjusting method belong to the same concept, and details of the technical solution of the buffer capacity adjusting apparatus, which are not described in detail, can be referred to the description of the technical solution of the above buffer capacity adjusting method.
FIG. 4 illustrates a block diagram of a computing device 400 provided according to an embodiment of the present description. The components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. Processor 420 is coupled to memory 410 via bus 430 and database 450 is used to store data.
Computing device 400 also includes access device 440, access device 440 enabling computing device 400 to communicate via one or more networks 460. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 440 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 400, as well as other components not shown in FIG. 4, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 4 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.
Wherein processor 420 is configured to execute the following computer-executable instructions:
receiving a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of a buffer area;
setting a buffer capacity to the reference capacity;
determining whether to adjust the reference capacity according to the data amount cached in the buffer area;
and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above buffer capacity adjustment method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the above buffer capacity adjustment method.
An embodiment of the present specification further provides a computer readable storage medium storing computer instructions, which when executed by a processor, are used for implementing the steps of the buffer capacity adjustment method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above-mentioned buffer capacity adjustment method belong to the same concept, and for details that are not described in detail in the technical solution of the storage medium, reference may be made to the description of the technical solution of the above-mentioned buffer capacity adjustment method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present disclosure. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for this description.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the specification and its practical application, to thereby enable others skilled in the art to best understand the specification and its practical application. The specification is limited only by the claims and their full scope and equivalents.

Claims (11)

1. A method for adjusting buffer capacity, the method comprising:
receiving a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of a buffer area;
setting a buffer capacity to the reference capacity;
determining whether to adjust the reference capacity according to the data amount cached in the buffer area;
and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected.
2. The method according to claim 1, wherein the determining whether to adjust the reference capacity according to the amount of data buffered in the buffer comprises:
determining the data volume change rate of the buffer area in a preset time period;
and determining whether to adjust the reference capacity according to the data volume change rate.
3. The method according to claim 2, wherein the determining a data amount change rate of the buffer in a preset time period comprises:
acquiring a first data volume of the cache data at the starting time of the preset time period and a second data volume of the cache data at the ending time of the preset time period in the buffer area;
and determining the data volume change rate of the buffer area in the preset time period according to the first data volume and the second data volume.
4. The method of claim 2, wherein the determining whether to adjust the reference capacity according to the data volume change rate comprises:
expanding the capacity of the buffer area according to the data volume change rate when the data volume change rate is an increase rate and is larger than a first change rate threshold;
and under the condition that the data volume change rate is a reduction rate and is greater than a second change rate threshold, reducing the capacity of the buffer area according to the data volume change rate.
5. The method according to claim 4, wherein the expanding the buffer capacity according to the data amount change rate includes:
acquiring a target capacity adjustment value corresponding to the data volume change rate from a preset corresponding relation between the change rate and the capacity adjustment value;
expanding the buffer capacity based on the target capacity adjustment value.
6. The method according to claim 4, wherein the first call instruction further carries an upper limit capacity of the buffer; after expanding the capacity of the buffer according to the data volume change rate, the method further includes:
determining whether the expanded buffer capacity exceeds the upper limit capacity;
and generating and displaying a warning message when the expanded buffer capacity exceeds the upper limit capacity.
7. The method of any of claims 1-6, wherein the method further comprises:
and displaying capacity attribute information of the buffer area capacity, wherein the capacity attribute information comprises the current total capacity and the occupied capacity of the buffer area.
8. The buffer capacity adjustment method according to any one of claims 1 to 9, further comprising, after setting the buffer capacity as the reference capacity:
receiving a second call instruction of a second application program interface, wherein the second call instruction carries the capacity of a target buffer area;
setting the buffer capacity as the target buffer capacity.
9. A buffer capacity adjustment apparatus, comprising:
the first receiving module is configured to receive a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of the buffer area;
a first setting module configured to set a buffer capacity as the reference capacity;
a determining module configured to determine whether to adjust the reference capacity according to the amount of data buffered in the buffer;
a display module configured to display adjustment information of the reference capacity in a case where the adjustment of the buffer capacity is detected.
10. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions to implement the method of:
receiving a first call instruction of a first application program interface, wherein the first call instruction carries the reference capacity of a buffer area;
setting a buffer capacity to the reference capacity;
determining whether to adjust the reference capacity according to the data amount cached in the buffer area;
and displaying the adjustment information of the reference capacity when the adjustment of the reference capacity is detected.
11. A computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the buffer capacity adjustment method of any one of claims 1 to 8.
CN202011564613.XA 2020-12-25 2020-12-25 Buffer capacity adjustment method and device Active CN112737975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011564613.XA CN112737975B (en) 2020-12-25 2020-12-25 Buffer capacity adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011564613.XA CN112737975B (en) 2020-12-25 2020-12-25 Buffer capacity adjustment method and device

Publications (2)

Publication Number Publication Date
CN112737975A true CN112737975A (en) 2021-04-30
CN112737975B CN112737975B (en) 2023-05-09

Family

ID=75616225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011564613.XA Active CN112737975B (en) 2020-12-25 2020-12-25 Buffer capacity adjustment method and device

Country Status (1)

Country Link
CN (1) CN112737975B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364814A (en) * 2021-08-10 2021-09-07 北京翔东智能科技有限公司 Anti-weak network transmission method based on RTP
CN113805814A (en) * 2021-09-22 2021-12-17 深圳宏芯宇电子股份有限公司 Cache management method and device, storage equipment and readable storage medium
CN114598653A (en) * 2022-05-09 2022-06-07 上海飞旗网络技术股份有限公司 Data stream acceleration method based on time delay management model

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5862409A (en) * 1994-12-20 1999-01-19 Fujitsu Limited Buffer capacity change monitoring method and apparatus
JP2004030090A (en) * 2002-06-25 2004-01-29 Hitachi Ltd Cache memory management method
CN1607508A (en) * 2003-10-16 2005-04-20 国际商业机器公司 System and method of adaptively reconfiguring buffers
US20090204949A1 (en) * 2008-02-07 2009-08-13 International Business Machines Corporation System, method and program product for dynamically adjusting trace buffer capacity based on execution history
CN103856415A (en) * 2012-11-30 2014-06-11 雅马哈株式会社 Apparatus and method for determining buffer size of network reception buffer, and network session system
CN107025223A (en) * 2016-01-29 2017-08-08 华为技术有限公司 A kind of buffer management method and server towards multi-tenant
WO2018008676A1 (en) * 2016-07-08 2018-01-11 日本電気株式会社 Information processing system, cache allocation method, memory control device, memory control method, and recording medium
US9929926B1 (en) * 2014-12-18 2018-03-27 VCE IP Holding Company LLC Capacity management system and method for a computing resource
US20180173639A1 (en) * 2015-08-21 2018-06-21 Huawei Technologies Co., Ltd. Memory access method, apparatus, and system
CN108681469A (en) * 2018-05-03 2018-10-19 武汉斗鱼网络科技有限公司 Page cache method, device, equipment based on android system and storage medium
CN110377572A (en) * 2019-07-18 2019-10-25 腾讯科技(深圳)有限公司 A kind of spatial cache management method, device, equipment and medium
CN111556361A (en) * 2020-04-29 2020-08-18 腾讯科技(深圳)有限公司 Buffer zone setting method, device, equipment and storage medium for Bluetooth audio playing

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5862409A (en) * 1994-12-20 1999-01-19 Fujitsu Limited Buffer capacity change monitoring method and apparatus
JP2004030090A (en) * 2002-06-25 2004-01-29 Hitachi Ltd Cache memory management method
CN1607508A (en) * 2003-10-16 2005-04-20 国际商业机器公司 System and method of adaptively reconfiguring buffers
US20090204949A1 (en) * 2008-02-07 2009-08-13 International Business Machines Corporation System, method and program product for dynamically adjusting trace buffer capacity based on execution history
CN103856415A (en) * 2012-11-30 2014-06-11 雅马哈株式会社 Apparatus and method for determining buffer size of network reception buffer, and network session system
US9929926B1 (en) * 2014-12-18 2018-03-27 VCE IP Holding Company LLC Capacity management system and method for a computing resource
US20180173639A1 (en) * 2015-08-21 2018-06-21 Huawei Technologies Co., Ltd. Memory access method, apparatus, and system
CN107025223A (en) * 2016-01-29 2017-08-08 华为技术有限公司 A kind of buffer management method and server towards multi-tenant
WO2018008676A1 (en) * 2016-07-08 2018-01-11 日本電気株式会社 Information processing system, cache allocation method, memory control device, memory control method, and recording medium
CN108681469A (en) * 2018-05-03 2018-10-19 武汉斗鱼网络科技有限公司 Page cache method, device, equipment based on android system and storage medium
CN110377572A (en) * 2019-07-18 2019-10-25 腾讯科技(深圳)有限公司 A kind of spatial cache management method, device, equipment and medium
CN111556361A (en) * 2020-04-29 2020-08-18 腾讯科技(深圳)有限公司 Buffer zone setting method, device, equipment and storage medium for Bluetooth audio playing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364814A (en) * 2021-08-10 2021-09-07 北京翔东智能科技有限公司 Anti-weak network transmission method based on RTP
CN113364814B (en) * 2021-08-10 2021-11-30 北京翔东智能科技有限公司 Anti-weak network transmission method based on RTP
CN113805814A (en) * 2021-09-22 2021-12-17 深圳宏芯宇电子股份有限公司 Cache management method and device, storage equipment and readable storage medium
CN113805814B (en) * 2021-09-22 2023-08-15 深圳宏芯宇电子股份有限公司 Cache management method, device, storage equipment and readable storage medium
CN114598653A (en) * 2022-05-09 2022-06-07 上海飞旗网络技术股份有限公司 Data stream acceleration method based on time delay management model

Also Published As

Publication number Publication date
CN112737975B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN112737975A (en) Buffer capacity adjusting method and device
EP3547715B1 (en) Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker
US8885565B2 (en) Mixed off-site/on-site prediction computation for reducing wireless reconnection time of a computing device
US9740642B2 (en) Methods and electronic devices for adjusting the operating frequency of a memory
CN109378000A (en) Voice awakening method, device, system, equipment, server and storage medium
CN106899649B (en) Task request processing method and device and user equipment
EP1725944A2 (en) Power management system and method for a wireless communications device
CN105874773B (en) Task processing device, intelligent equipment, task processing method and baseband processor
CN114422992A (en) Dual-system Bluetooth device and electronic equipment
EP3627909A1 (en) Wake-up radio roaming
US20230161541A1 (en) Screen projection method and system
CN109743765A (en) Data processing method, device, wearable device and computer readable storage medium
CN110391873A (en) For determining the method, apparatus and computer program product of data mode
US20190026064A1 (en) Electronic device and method for operating electronic device
CN111949239A (en) Screen sharing method and device, storage medium and terminal
WO2019015051A1 (en) Method and apparatus for switching operating modes
WO2013147765A1 (en) Audio processing during low-power operation
CN116526678B (en) Intelligent computing center power supply elastic scheduling system and control method thereof
CN112788585A (en) NF (NF) switching method and device in 5G core network and storage medium
WO2015196586A1 (en) Virtual desktop configuration and acquisition method and apparatus
US10117178B2 (en) Simultaneous power control among multiple devices per context
CN111966876B (en) Method for generating disaster map based on NodeJs timing
US9639137B2 (en) Control method and electronic device
CN107357524B (en) File storage method, file reading method and electronic equipment
CN114364001B (en) Power saving parameter configuration method, system, device and storage medium based on NB-IoT

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
CB02 Change of applicant information

Address after: 519000 room 402, Room 401, No. 327, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Xishanju Digital Technology Co.,Ltd.

Address before: 519000 room 402, Room 401, No. 327, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province

Applicant before: ZHUHAI SEASUN MOBILE GAME TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant