A method, apparatus, system, and medium for dynamic allocation of gateway interface resources

By dynamically adjusting the gateway interface resource space, the problem of resource allocation in gateway services is solved, the rational allocation of resources is achieved, efficiency is improved, and system failure rate and operation and maintenance costs are reduced.

CN114691369BActive Publication Date: 2026-03-20TRAVELSKY TECHNOLOGY LIMITED
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-02
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

In the gateway service of the civil aviation industry, the differences in throughput, response time and connection methods caused by the differences in the development time of the systems make resource allocation difficult and make it impossible to match the most suitable gateway in a timely manner, resulting in low efficiency and high system failure rate, which increases operation and maintenance costs.

Method used

By calculating the resource space corresponding to the current gateway interface access volume, determining the resource space size, and dynamically adjusting to the idle resource space of other gateway interfaces when resources are insufficient, flexible matching and allocation of resources are achieved, avoiding response backlog and resource encroachment.

Benefits of technology

It improves the flexibility and efficiency of gateway interface management, and reduces system failure rate and operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691369B_ABST
    Figure CN114691369B_ABST
Patent Text Reader

Abstract

The application provides a gateway interface resource dynamic allocation method, device, system and medium, comprising: judging the resource space of the current gateway interface and the size of the resource space corresponding to the current gateway interface access amount, when the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the current gateway interface access amount, respectively judging the idle space size of the resource space of each other gateway interface, when the idle space size of the resource space of the first gateway interface in the other gateway interfaces is greater than or equal to the size of the resource space corresponding to the current gateway interface access amount, modifying the resource space of the current gateway interface to the resource space of the first gateway interface. Better adaptation between gateway and resource can be realized, response accumulation caused by insufficient resource space is avoided, other interface resources are not occupied and the like, the flexibility of gateway interface management is improved, the efficiency is improved, the failure rate of the configuration system is reduced, and the operation and maintenance cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and in particular to a method, apparatus, system, and medium for dynamic allocation of gateway interface resources. Background Technology

[0002] A gateway is a computer system or device that acts as a converter. It is used between two systems with different communication protocols, data formats, languages, or even completely different architectures to achieve network interconnection.

[0003] In the civil aviation sector, gateway services often exhibit significant differences in throughput, response time, and connection methods due to the varying development eras of their systems. These systems themselves may also be undergoing partial modifications, further exacerbating the service discrepancies. This frequently results in substantial variations in access volume, response time, and stability across different services within the same backend system, and these differences evolve over time. As a provider of standardized services, the gateway faces considerable challenges in allocating resources for these backend services.

[0004] This results in poor compatibility between gateways and resources, preventing resources from being allocated to the most suitable gateway in a timely manner, leading to low efficiency, high system failure rate, and increased operation and maintenance costs. Summary of the Invention

[0005] In view of this, the purpose of this application is to provide a method, apparatus, system and medium for dynamic allocation of gateway interface resources, which can realize dynamic and flexible matching between gateways and resources, achieve reasonable allocation of resources, improve efficiency, reduce system failure rate and reduce operation and maintenance costs.

[0006] To achieve the above objectives, this application provides the following technical solution:

[0007] In a first aspect, embodiments of this application provide a method for dynamically allocating gateway interface resources, including:

[0008] Calculate the resource space corresponding to the current gateway interface access volume;

[0009] Determine the size of the resource space of the current gateway interface and the size of the resource space corresponding to the access volume of the current gateway interface;

[0010] When the resource space of the current gateway interface is less than the resource space corresponding to the access volume of the current gateway interface, determine the free space of the resource space of each of the other gateway interfaces respectively.

[0011] when the idle space size of the resource space of a first gateway interface in the other respective gateway interfaces is greater than or equal to the size of the resource space corresponding to the current gateway interface access amount, the resource space of the current gateway interface is modified to the resource space of the first gateway interface.

[0012] In a second aspect, the embodiments of the present application provide a device for dynamically allocating gateway interface resources, comprising:

[0013] a calculation unit configured to calculate a resource space corresponding to a current gateway interface access amount;

[0014] a first judgment unit configured to judge the size of the resource space of the current gateway interface and the resource space corresponding to the current gateway interface access amount;

[0015] a second judgment unit configured to, when the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the current gateway interface access amount, judge the idle space size of the resource space of each of the other respective gateway interfaces;

[0016] a first modification unit configured to, when the idle space size of the resource space of a first gateway interface in the other respective gateway interfaces is greater than or equal to the size of the resource space corresponding to the current gateway interface access amount, modify the resource space of the current gateway interface to the resource space of the first gateway interface.

[0017] The embodiments of the present application provide a method, device, system and medium for dynamically allocating gateway interface resources, comprising: judging the size of the resource space of a current gateway interface and the resource space corresponding to a current gateway interface access amount; when the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the current gateway interface access amount, judging the idle space size of the resource space of each of the other respective gateway interfaces; and when the idle space size of the resource space of a first gateway interface in the other respective gateway interfaces is greater than or equal to the size of the resource space corresponding to the current gateway interface access amount, modifying the resource space of the current gateway interface to the resource space of the first gateway interface. This can achieve better adaptation between the gateway and the resources, avoid response accumulation due to insufficient resource space, and other problems such as the invasion of other interface resources, improve the flexibility of gateway interface management, improve efficiency, reduce the failure rate of the configuration system, and reduce operation and maintenance costs.

[0018] This summary is provided to introduce a selection of concepts that are further described below in the section. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0020] Figure 1 A flow chart of a method for dynamically allocating gateway interface resources is shown;

[0021] Figure 2 A schematic diagram of an apparatus for dynamically allocating gateway interface resources is shown.

[0022] The above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals are used to represent the same or similar elements. It should be understood that the drawings are schematic and elements and features are not necessarily to scale. DETAILED DESCRIPTION

[0023] Embodiments of the present disclosure will be described in more detail with reference to the drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the scope of protection of the present disclosure.

[0024] The term "comprising" and variations thereof as used herein are open-ended, and mean "including but not limited to". The term "based on" means "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Related terms are defined in the description below.

[0025] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.

[0026] It should be noted that the adjectives "one", "more" mentioned in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".

[0027] As described in the background art, a gateway is a computer system or device that acts as a translator. It is used between two systems that use different communication protocols, data formats or languages, or even have completely different architectures, to enable network interconnection.

[0028] The interfaces in the gateway service provided in the civil aviation field differ greatly in throughput, response time and connection mode due to the difference in the development years of the systems, and the systems themselves may also be undergoing local modification, and the differences in the services provided during the modification process are also increasing. There are often great differences in the access volume, response time and stability of different services of the same background system, and such differences are constantly changing over time. The gateway, as a provider of unified standard services, increases the difficulty of resource allocation for the background services.

[0029] Thus, the gateway and the resources cannot be well adapted to each other, the resources cannot be timely allocated to the most suitable gateway, resulting in low efficiency, high system failure rate and increased operation and maintenance costs.

[0030] The interface in the gateway is a service interface provided externally, including the interface name, version information and the request and result format specifications of the related interfaces. The background system in the gateway is the actual provider of the interface service, which provides the interface service according to the self-defined protocol standard and releases it externally after being uniformly packaged by the gateway.

[0031] For example, when a gateway's background system provides multiple interfaces but the access volume is unevenly distributed, if the access volume of the interface with high access volume increases again, it may occupy the resources of other interfaces with small access volume, seriously affecting the success rate of the interfaces with small access volume; or when a background system provides multiple interfaces but the response time of individual interfaces is longer and the resources are more occupied, if the response of such type of interfaces accumulates, it will occupy a large amount of existing resources, causing the resources of other interfaces to be invaded; or when a background system provides multiple interfaces with average distribution of original access volume, but with the change of business, the access volume of individual interfaces increases and is in a persistent state, in which case the re-allocation of gateway system resources is inevitable.

[0032] To address the aforementioned technical issues, this application provides a method, apparatus, system, and medium for dynamic allocation of gateway interface resources. The method includes: determining the size of the resource space of the current gateway interface and the size of the resource space corresponding to the current gateway interface access volume; when the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the current gateway interface access volume, determining the free space size of the resource spaces of other gateway interfaces; and when the free space size of the resource space of the first gateway interface among the other gateway interfaces is greater than or equal to the size of the resource space corresponding to the current gateway interface access volume, modifying the resource space of the current gateway interface to the resource space of the first gateway interface. This allows for better adaptation between the gateway and resources, avoiding response backlog caused by insufficient resource space, and preventing the encroachment of other interface resources. It also improves the flexibility and efficiency of gateway interface management, reduces the failure rate of the configuration system, and lowers operating and maintenance costs.

[0033] Exemplary method

[0034] See Figure 1 The flowchart shown is a method for dynamically allocating gateway interface resources according to an embodiment of this application, including:

[0035] S101: Calculate the resource space corresponding to the current gateway interface access volume.

[0036] In this embodiment of the application, when the current gateway interface encounters problems with the use of server resources on which it is deployed, it is necessary to adjust the resources it occupies. For example, when the access volume of the current gateway interface surges, it is first necessary to calculate the size of the resource space corresponding to the access volume of the current gateway interface in order to determine whether the current gateway interface needs to be allocated new resources separately.

[0037] It should be noted that the gateway provided in this application embodiment can assign an alias to the same interface within the system, group the interface and external associated systems and the gateway's internal resources, and manage them separately. Each system corresponds to the system provided by the backend service, and different systems correspond to different connection protocols. The different connection protocols correspond to different protocol standards for the gateway to call the backend system, which are confirmed by the backend system. The gateway provides an adaptation solution, which can split the same backend system into multiple systems for management based on the different connection protocols or the actual configuration parameters.

[0038] S102: Determine the size of the resource space of the current gateway interface and the size of the resource space corresponding to the access volume of the current gateway interface.

[0039] In this embodiment of the application, when the access volume of the current gateway interface increases during actual calls, in order to determine whether the resource space of the current gateway interface will be insufficient, the size of the resource space of the current gateway interface and the size of the resource space corresponding to the access volume of the current gateway interface can be determined, so as to determine whether new resource space needs to be allocated to the current gateway interface based on the determination result.

[0040] S103: When the resource space of the current gateway interface is less than the resource space corresponding to the access volume of the current gateway interface, determine the free space size of the resource spaces of each of the other gateway interfaces.

[0041] In this embodiment of the application, when the resource space of the current gateway interface is less than the resource space corresponding to the access volume of the current gateway interface, it indicates that the resource space of the current gateway interface is insufficient to meet the access volume of the current gateway interface. This may cause a large amount of existing resources to be occupied, resulting in the encroachment of other interface resources, or cause response backlog and congestion.

[0042] At this point, it is necessary to determine the available space of the resource space for each of the other gateway interfaces to confirm whether there is sufficient free space to handle the surge in access volume. Specifically, in this embodiment, the resource space of each gateway interface can be a resource pool. Different resource pools are allocated for different interfaces on a single gateway server. Interface access obtains system resources through the corresponding resource pool for background access adaptation. The upper limit of the resource pool is limited by the performance of a single server.

[0043] Optionally, in this embodiment of the application, the gateway system can restrict access to different interfaces based on their performance indicators and actual call volume, including limiting timeout time and access concurrency to achieve maximum utilization of the resource pool.

[0044] S104: When the free space of the resource space of the first gateway interface among the other gateway interfaces is greater than or equal to the resource space corresponding to the access volume of the current gateway interface, the resource space of the current gateway interface is modified to the resource space of the first gateway interface.

[0045] In this embodiment of the application, when it is determined that the free space size of the resource space of the first gateway interface among the other gateway interfaces is greater than or equal to the size of the resource space corresponding to the access volume of the current gateway interface, the resource space of the current gateway interface can be modified to the resource space of the first gateway interface.

[0046] The resource space originally insufficient for the current gateway interface is replaced by the resource space sufficient for the first gateway interface, relevant configuration data is validated, the changed resource group is used, when the configuration data needs to be changed, the configuration data on the configuration data source is modified, and the configuration cache in the runtime is synchronized, so that the configuration is validated.

[0047] In the embodiments of the present application, in the runtime of a gateway server, a single interface can correspond to different resource groups and background protocols respectively, and the rules of the configurations are derived from the configuration data cached in the server.

[0048] An interface in a running state can only belong to one resource group and one background connection protocol, and can be changed at any time, but cannot belong to two configurations at the same time.

[0049] The runtime configuration data of each gateway server can be manually controlled to validate the effective time when the configuration is changed, so as to facilitate gray verification of configuration modification and ensure that the running data on the server is safe and reliable.

[0050] In a possible implementation, when the idle space size of the resource space of each gateway interface is less than the resource space size corresponding to the access amount of the current gateway interface, it indicates that the existing resource space is insufficient to meet the demand of the access amount of the current gateway interface, at this time, in order to prevent access congestion and other problems, a new resource space can be created according to the resource space size corresponding to the access amount of the current gateway interface, and the resource space of the current gateway interface is modified to the new resource space.

[0051] Specifically, the size of the new resource space needs to be greater than or equal to the resource space size corresponding to the access amount of the current gateway interface, so as to ensure that the new resource space can meet the demand of the access amount of the current gateway interface, and avoid the problem of occupying other gateway interfaces due to insufficient resource space.

[0052] The resource space originally insufficient for the current gateway interface is replaced by the new resource space, relevant configuration data is validated, the changed resource group is used, when the configuration data needs to be changed, the configuration data on the configuration data source is modified, and the configuration cache in the runtime is synchronized, so that the configuration is validated.

[0053] The above adjustment is made for the case that the resource is insufficient due to the increase of the access amount in the actual calling process of the interface, or the interface itself occupies a large amount of resources in the existing group and affects other interfaces, and is a passive adjustment in the actual production process to deal with unexpected situations.

[0054] In addition, the embodiments of the present application can also actively adjust for some cases. In a possible implementation, when a new gateway interface is published, the type of the new gateway interface can be determined, the background system corresponding to the new gateway interface is configured according to the type of the new gateway interface, the type of the background system corresponding to the new gateway interface is determined, and the corresponding resource space is allocated for the new gateway interface according to the type of the background system corresponding to the new gateway interface.

[0055] Specifically, the background system can also be subdivided according to actual conditions, and the required connection access protocol of the background system is configured, and the connectivity of the gateway interface and the background system is verified to ensure smooth communication. After the corresponding resource space is allocated for the new gateway interface, the access control information of the new gateway interface can also be configured to enable the new gateway interface to provide services externally.

[0056] In a possible implementation, when it is detected that the background system corresponding to the current gateway interface is changed, it is detected whether the changed background system exists in the configuration, if not, a new background system is created, and the corresponding resource space is allocated for the new background system. Specifically, the related connection protocol and configuration information of the new background system can also be set, and the availability of the current gateway interface in the new background system is verified.

[0057] When it is detected that the changed background system exists in the configuration, the background system corresponding to the current gateway interface can be directly changed to the changed background system, and the availability of the current gateway interface in the changed background system can be verified after the change to achieve successful change.

[0058] It should be noted that the dynamic allocation of the gateway interface resource mentioned in the embodiments of the present application is a dynamic allocation of software resources.

[0059] The embodiments of the present application provide a gateway interface resource dynamic allocation method, which comprises: determining the size of the resource space of the current gateway interface and the resource space corresponding to the access amount of the current gateway interface, when the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the access amount of the current gateway interface, respectively determining the idle space size of the resource space of each of the other gateway interfaces, when the idle space size of the resource space of a first gateway interface in the other gateway interfaces is greater than or equal to the size of the resource space corresponding to the access amount of the current gateway interface, modifying the resource space of the current gateway interface to the resource space of the first gateway interface. The gateway and the resource can be better adapted, the response accumulation caused by insufficient resource space can be avoided, other interface resources can be prevented from being occupied, the flexibility of gateway interface management can be improved, the efficiency can be improved, the failure rate of the configuration system can be reduced, and the operation and maintenance cost can be reduced.

[0060] The computer program code can also be loaded onto a computer or a server (e.g., a cloud server) to cause one or more processors in the computer or server to perform the functions of the program code. The program code can also be embodied in the memory of a computer or server (e.g., a cloud server) so that when the computer or server is in operation, the computer or server carries out the functions of the program code.

[0061] The names of the messages or information exchanged between the plurality of apparatuses in the embodiments of the present disclosure are used only for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0062] Although the operations are depicted in a particular order, this should not be understood as requiring the operations to be performed in the particular order shown or in sequential order, and that some of the operations can be performed in parallel, in different orders or omitted altogether. Illustrations that have different orientations are meant to clarify the description and are not meant to limit the scope of the present disclosure.

[0063] It should be understood that various steps in the methods of the present disclosure can be performed in a different order and / or concurrently with each other. Further, various steps can be added or omitted. The scope of the present disclosure should not be limited to the description of the methods.

[0064] Computer program code for carrying out operations of the present disclosure can be written in one or more programming languages or combinations of languages including object oriented programming languages such as Java, Smalltalk, C++ or the like and conventional procedural programming languages such as C or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0065] Exemplary device

[0066] Referring to Figure 2 As shown in the figure, the device for dynamically allocating gateway interface resources provided by the embodiment of the application comprises:

[0067] The computing unit 201 is configured to compute a resource space corresponding to a current gateway interface access amount.

[0068] The first judging unit 202 is configured to judge a size of the resource space of the current gateway interface and the resource space corresponding to the current gateway interface access amount.

[0069] The second judging unit 203 is configured to, when the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the current gateway interface access amount, judge sizes of idle spaces of resource spaces of other gateway interfaces respectively.

[0070] The first modifying unit 204 is configured to, when the size of the idle space of the resource space of a first gateway interface among the other gateway interfaces is greater than or equal to the size of the resource space corresponding to the current gateway interface access amount, modify the resource space of the current gateway interface to the resource space of the first gateway interface.

[0071] In a possible implementation manner, the device further comprises:

[0072] The first creating unit is configured to, when the sizes of the idle spaces of the resource spaces of the other gateway interfaces are all smaller than the size of the resource space corresponding to the current gateway interface access amount, create a new resource space according to the size of the resource space corresponding to the current gateway interface access amount.

[0073] The second modifying unit is configured to modify the resource space of the current gateway interface to the new resource space.

[0074] In a possible implementation manner, the device further comprises:

[0075] The third judging unit is configured to, when a new gateway interface is published, judge a type of the new gateway interface.

[0076] The configuring unit is configured to configure a background system corresponding to the new gateway interface according to the type of the new gateway interface.

[0077] The fourth judging unit is configured to judge a type of the background system corresponding to the new gateway interface.

[0078] The first allocating unit is configured to allocate a corresponding resource space for the new gateway interface according to the type of the background system corresponding to the new gateway interface.

[0079] In a possible implementation manner, the device further comprises:

[0080] a detecting unit configured to detect whether the changed background system exists in the configuration when detecting that the current gateway interface corresponding background system changes;

[0081] a second creating unit configured to create a new background system and allocate corresponding resource space for the new background system when the changed background system does not exist in the configuration.

[0082] The units described in the embodiments of the present disclosure can be implemented in the form of software or hardware. In some cases, the names of the units do not limit the units themselves. For example, the first obtaining unit can also be described as a unit for obtaining at least two IP addresses.

[0083] The functions described above can be performed at least partially by one or more hardware logic components. For example, non-limiting examples of exemplary 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 (SOCs), complex programmable logic devices (CPLDs), and so on.

[0084] On the basis of the above embodiments, the embodiments of the present disclosure further provide a system for dynamic allocation of gateway interface resources, comprising:

[0085] a memory configured to store a computer program;

[0086] a processor configured to execute the computer program to implement the steps of the method for dynamic allocation of gateway interface resources as described above.

[0087] On the basis of the above embodiments, the embodiments of the present disclosure further provide a computer readable medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the steps of the method for dynamic allocation of gateway interface resources as described above.

[0088] It should be noted that the computer readable medium described above in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of computer readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present disclosure, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer readable program code. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or apparatus. The program code contained in the computer readable medium can be transmitted by any suitable medium, including but not limited to a wire, a cable, an RF (radio frequency) or the like, or any suitable combination of the above.

[0089] The computer readable medium described above can be contained in the electronic device described above; or can exist separately and not be assembled into the electronic device.

[0090] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program comprising program code for performing the methods shown in the flowcharts.

[0091] According to one or more embodiments of the present disclosure, a method for dynamic allocation of gateway interface resources is provided, comprising:

[0092] Calculate the resource space corresponding to the current gateway interface access volume;

[0093] Determine the size of the resource space of the current gateway interface and the resource space corresponding to the current gateway interface access volume;

[0094] When the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the access amount of the current gateway interface, the idle space sizes of the resource spaces of each of the other gateway interfaces are respectively determined;

[0095] When the idle space size of the resource space of a first gateway interface among the other gateway interfaces is greater than or equal to the size of the resource space corresponding to the access amount of the current gateway interface, the resource space of the current gateway interface is modified to the resource space of the first gateway interface.

[0096] According to one or more embodiments of the present disclosure, a method for dynamically allocating gateway interface resources is provided, further comprising:

[0097] When the idle space sizes of the resource spaces of each of the other gateway interfaces are all smaller than the size of the resource space corresponding to the access amount of the current gateway interface, a new resource space is created according to the size of the resource space corresponding to the access amount of the current gateway interface;

[0098] The resource space of the current gateway interface is modified to the new resource space.

[0099] According to one or more embodiments of the present disclosure, a method for dynamically allocating gateway interface resources is provided, further comprising:

[0100] When a new gateway interface is published, the type of the new gateway interface is determined;

[0101] According to the type of the new gateway interface, a background system corresponding to the new gateway interface is configured;

[0102] The type of the background system corresponding to the new gateway interface is determined;

[0103] According to the type of the background system corresponding to the new gateway interface, a corresponding resource space is allocated to the new gateway interface.

[0104] According to one or more embodiments of the present disclosure, a method for dynamically allocating gateway interface resources is provided, further comprising:

[0105] When it is detected that the background system corresponding to the current gateway interface is changed, it is detected whether the changed background system exists in the configuration;

[0106] If not, a new background system is created, and a corresponding resource space is allocated to the new background system.

[0107] According to one or more embodiments of the present disclosure, a device for dynamically allocating gateway interface resources is provided, comprising:

[0108] a computing unit configured to calculate a resource space corresponding to a current gateway interface access amount;

[0109] a first judging unit configured to judge a size of the resource space of the current gateway interface and a size of the resource space corresponding to the current gateway interface access amount;

[0110] a second judging unit configured to judge sizes of idle spaces of resource spaces of each of the other gateway interfaces respectively when the resource space of the current gateway interface is smaller than the size of the resource space corresponding to the current gateway interface access amount;

[0111] a first modifying unit configured to modify the resource space of the current gateway interface to a resource space of a first gateway interface among the other gateway interfaces when the size of the idle space of the resource space of the first gateway interface is greater than or equal to the size of the resource space corresponding to the current gateway interface access amount.

[0112] According to one or more embodiments of the present disclosure, a device for dynamically allocating gateway interface resources is provided, and further includes:

[0113] a first creating unit configured to create a new resource space according to the size of the resource space corresponding to the current gateway interface access amount when the sizes of the idle spaces of the resource spaces of the other gateway interfaces are all smaller than the size of the resource space corresponding to the current gateway interface access amount;

[0114] a second modifying unit configured to modify the resource space of the current gateway interface to the new resource space.

[0115] According to one or more embodiments of the present disclosure, a device for dynamically allocating gateway interface resources is provided, and further includes:

[0116] a third judging unit configured to judge a type of a new gateway interface when the new gateway interface is published;

[0117] a configuring unit configured to configure a background system corresponding to the new gateway interface according to the type of the new gateway interface;

[0118] a fourth judging unit configured to judge a type of the background system corresponding to the new gateway interface;

[0119] a first allocating unit configured to allocate a corresponding resource space to the new gateway interface according to the type of the background system corresponding to the new gateway interface.

[0120] According to one or more embodiments of the present disclosure, a device for dynamically allocating gateway interface resources is provided, and further includes:

[0121] The detection unit is configured to detect whether the changed background system exists in the configuration when detecting that the current gateway interface corresponding background system is changed;

[0122] The second creation unit is configured to create a new background system and allocate a corresponding resource space for the new background system when the changed background system does not exist in the configuration.

[0123] According to one or more embodiments of the present disclosure, a system for dynamic allocation of gateway interface resources is provided, comprising:

[0124] A memory is configured to store a computer program.

[0125] A processor is configured to execute the computer program to implement the steps of the method for dynamic allocation of gateway interface resources.

[0126] According to one or more embodiments of the present disclosure, a computer readable medium is provided, and the computer readable medium stores a computer program, and the computer program is executed by a processor to implement the steps of the method for dynamic allocation of gateway interface resources.

[0127] Each of the embodiments in the specification is described in a progressive manner, and the same or similar parts of each of the embodiments can be referred to each other. Each of the embodiments focuses on the difference from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, they are described more simply, and the relevant parts can be referred to the part of the method embodiments.

[0128] The above only describes the preferred embodiments of the present application. Although the present application has been disclosed as above with the preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make many possible changes and modifications to the technical solutions of the present application, or modify equivalent embodiments, without departing from the scope of the technical solutions of the present application. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application, without departing from the technical solutions of the present application, still falls within the scope of protection of the technical solutions of the present application.

[0129] Although the present subject matter has been described in terms of structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely exemplary forms of implementing the claims.

[0130] While several inventive embodiments have been described above, it should be understood that many variations and modifications of the inventive concepts described above can be made without departing from the scope of the disclosure. Accordingly, the domain of the disclosure is not limited to any single embodiment described above, but includes any other embodiments which come within the scope of the following claims and their equivalents.

[0131] The above description is merely illustrative of the exemplary embodiments of this disclosure and the principles of the application. It will be apparent to those skilled in the art that modifications in the embodiments described above can be made without departing from the scope of the disclosure, which is set forth in the following claims. For example, the features described above and other features disclosed in this specification (but not limited to) can be interchanged or substituted in any manner to form other technical solutions.

Claims

1. A method for dynamically allocating gateway interface resources, characterized in that, include: Calculate the resource space corresponding to the current gateway interface access volume; Determine the size of the resource space of the current gateway interface and the size of the resource space corresponding to the access volume of the current gateway interface; When the resource space of the current gateway interface is less than the resource space corresponding to the access volume of the current gateway interface, determine the free space of the resource space of each of the other gateway interfaces respectively. When the free space of the resource space of the first gateway interface among the other gateway interfaces is greater than or equal to the resource space corresponding to the access volume of the current gateway interface, the resource space of the current gateway interface is modified to the resource space of the first gateway interface.

2. The method according to claim 1, characterized in that, The method further includes: When the free space size of the resource space of each of the other gateway interfaces is less than the resource space size corresponding to the access volume of the current gateway interface, a new resource space is created according to the resource space size corresponding to the access volume of the current gateway interface. Modify the resource space of the current gateway interface to the new resource space.

3. The method according to claim 1, characterized in that, The method further includes: When a new gateway interface is published, determine the type of the new gateway interface; Configure the backend system corresponding to the new gateway interface according to the type of the new gateway interface; Determine the type of the backend system corresponding to the new gateway interface; Based on the type of the backend system corresponding to the new gateway interface, allocate corresponding resource space to the new gateway interface.

4. The method according to claim 1, characterized in that, The method further includes: When a change is detected in the backend system corresponding to the current gateway interface, it is checked whether the changed backend system exists in the configuration; If it does not exist, a new backend system will be created, and corresponding resource space will be allocated to the new backend system.

5. A device for dynamically allocating gateway interface resources, characterized in that, include: The calculation unit is used to calculate the resource space corresponding to the current gateway interface access volume; The first judgment unit is used to judge the size of the resource space of the current gateway interface and the size of the resource space corresponding to the access volume of the current gateway interface; The second judgment unit is used to determine the free space size of the resource space of each other gateway interface when the resource space of the current gateway interface is less than the size of the resource space corresponding to the access volume of the current gateway interface. The first modification unit is used to modify the resource space of the current gateway interface to the resource space of the first gateway interface when the free space size of the resource space of the first gateway interface among the other gateway interfaces is greater than or equal to the resource space size corresponding to the access volume of the current gateway interface.

6. The apparatus according to claim 5, characterized in that, The device further includes: The first creation unit is used to create a new resource space according to the resource space size corresponding to the current gateway interface access volume when the free space size of the resource space of each of the other gateway interfaces is smaller than the resource space size corresponding to the current gateway interface access volume. The second modification unit is used to modify the resource space of the current gateway interface to the new resource space.

7. The apparatus according to claim 5, characterized in that, The device further includes: The third judgment unit is used to determine the type of the new gateway interface when it is published; The configuration unit is used to configure the backend system corresponding to the new gateway interface according to the type of the new gateway interface; The fourth judgment unit is used to determine the type of the backend system corresponding to the new gateway interface; The first allocation unit is used to allocate corresponding resource space to the new gateway interface according to the type of the backend system corresponding to the new gateway interface.

8. The apparatus according to claim 5, characterized in that, The device further includes: The detection unit is used to detect whether the changed backend system is in the configuration when a change is detected in the backend system corresponding to the current gateway interface. The second creation unit is used to create a new backend system when the modified backend system does not exist in the configuration, and to allocate corresponding resource space to the new backend system.

9. A system for dynamically allocating gateway interface resources, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the method for dynamically allocating gateway interface resources as described in any one of claims 1-4 when executing the computer program.

10. A computer-readable medium, characterized in that, The computer-readable medium stores a computer program that, when processed and executed, implements the steps of the method for dynamic allocation of gateway interface resources as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Method for scheduling wireless access protocol (WAP) gateway resources and associated equipment

    CN101959304A