CN107948095B - Resource control method and device and bus system server - Google Patents

Resource control method and device and bus system server Download PDF

Info

Publication number
CN107948095B
CN107948095B CN201711163142.XA CN201711163142A CN107948095B CN 107948095 B CN107948095 B CN 107948095B CN 201711163142 A CN201711163142 A CN 201711163142A CN 107948095 B CN107948095 B CN 107948095B
Authority
CN
China
Prior art keywords
service
priority
resources
target
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711163142.XA
Other languages
Chinese (zh)
Other versions
CN107948095A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201711163142.XA priority Critical patent/CN107948095B/en
Publication of CN107948095A publication Critical patent/CN107948095A/en
Application granted granted Critical
Publication of CN107948095B publication Critical patent/CN107948095B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a resource control method, a resource control device and a bus system server, wherein the method comprises the following steps: acquiring a service processing request; determining a service system identifier and an external service code of a service to be processed carried by a service processing request; determining a target internal service code corresponding to the service system identifier and the external service code according to the internal and external service code comparison table; determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type; determining a target priority corresponding to the target service type according to a preset service type corresponding to each priority; and determining the resources corresponding to the target priority according to the resources corresponding to each priority pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing. The embodiment of the invention can realize effective, flexible and reasonable concurrent resource control.

Description

Resource control method and device and bus system server
Technical Field
The invention relates to the technical field of data processing, in particular to a resource control method, a resource control device and a bus system server.
Background
The service field of the bank is wider, the number of the related service systems is very large, and the service systems are still in rapid growth; therefore, for a banking system, a chain reaction caused by a fault or slowness of an associated business system needs to be considered, real-time control and isolation of the fault business system and the business are realized, and the spread of the fault is prevented, and meanwhile, a bus system of a bank (the bus system is an intermediate system for realizing interaction among all business systems of the bank and is responsible for routing, protocol conversion, distribution, flow control and the like) should be capable of coping with the surge condition of the business, so that concurrent resources (the concurrent resources refer to processes or thread resources for business processing and can be concurrently used by a multi-task operating system) can meet the concurrent flow requirement of the business as required; therefore, in the process, it is very important to reasonably control the concurrent resources to meet the business processing requirements of the bank.
However, all the businesses of the current bank generally share one large concurrent resource pool, when a business needs to be processed (if a transaction needs to be processed), resources meeting the business processing requirements are called from the concurrent resource pool to perform business processing, which is very easy to cause the resources of the concurrent resource pool to be exhausted when some businesses are slow, and thus normal processing of other businesses is influenced; therefore, in the current service processing process, the concurrent resources lack reasonable control, and the normal processing of the service is easily influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a resource control method, a resource control device, and a bus system server, so as to improve the rationality of concurrent resource control and ensure normal processing of services.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of resource control, comprising:
acquiring a service processing request;
determining a service system identifier and an external service code of a service to be processed carried by the service processing request;
determining a service system identifier of the service to be processed and a target internal service code corresponding to the external service code according to the internal and external service code comparison table; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type;
determining a target priority corresponding to the target service type according to a preset service type corresponding to each priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
and determining the resources corresponding to the target priority according to the resources corresponding to each priority pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing.
Optionally, the method further includes:
if the resources corresponding to the target priority are not full, acquiring idle resources from the resources corresponding to the target priority, and processing the service to be processed;
if the resources corresponding to the target priority are full and the queue corresponding to the target priority is not full, adding the service to be processed into the queue corresponding to the target priority; and the queue of one priority is used for queuing the service to be processed by the resource of the priority according to the sequence when the resource of the priority is full.
Optionally, after adding the service to be processed into the queue corresponding to the target priority, the method further includes:
when the concurrent resource pool has the released resources, if the target priority is the highest priority in the priorities of the currently existing service queues, the released resources are made to process the services queued in the queues corresponding to the target priority so as to process the services to be processed.
Optionally, after adding the service to be processed into the queue corresponding to the target priority, the method further includes:
and if the waiting time of the service to be processed in the queue corresponding to the target priority exceeds the waiting time threshold, removing the service to be processed from the queue corresponding to the target priority, and outputting an abnormal report of overtime queuing of the service to be processed.
Optionally, the method further includes:
and if the resources corresponding to the target priority are full and the queue corresponding to the target priority is full, rejecting the processing of the service to be processed.
Optionally, the method further includes:
if the resource full duration of the first priority exceeds the duration threshold and the variation fluctuation of the average response time of the resource of the first priority for carrying out service processing is not larger than the preset fluctuation, the redundant resource is stolen from the resource of a second priority lower than the first priority, and the resource of the first priority is given, wherein the second priority is the priority lower than the first priority, and the corresponding resource has the priority of the redundant resource;
and/or if the average response time of the resources of the third priority for processing the services is higher than the time limit threshold, turning down the priority of the third priority, and isolating the third priority so that the services of the third priority are only awakened by the resources of the third priority.
An embodiment of the present invention further provides a resource control apparatus, including:
a request acquisition unit, configured to acquire a service processing request;
a system identifier and external code determining unit, configured to determine a service system identifier and an external service code of a service to be processed, which are carried by the service processing request;
an internal service code determining unit, configured to determine, according to the internal and external service code comparison tables, a service system identifier of the service to be processed and a target internal service code corresponding to the external service code; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
the service type determining module is used for determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type;
a priority determining unit, configured to determine a target priority corresponding to the target service type according to a service type corresponding to each preset priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
and the resource dividing unit is used for determining the resources corresponding to the target priority according to the resources corresponding to the priorities pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing.
Optionally, the apparatus further comprises:
the first processing unit is used for acquiring idle resources from the resources corresponding to the target priority and processing the service to be processed if the resources corresponding to the target priority are not fully occupied;
the queue adding unit is used for adding the service to be processed into the queue corresponding to the target priority if the resources corresponding to the target priority are full and the queue corresponding to the target priority is not full; the queue of one priority is used for queuing the service of the resource processing of the priority according to the sequence when the resource of the priority is full;
the resource scheduling processing unit is used for enabling the released resources to process the services queued in the queue corresponding to the target priority so as to process the services to be processed if the target priority is the highest priority in the priorities of the currently queued services when the released resources exist in the concurrent resource pool after the services to be processed are added into the queue corresponding to the target priority;
the overtime processing unit is used for removing the service to be processed from the queue corresponding to the target priority and outputting an abnormal report of overtime queuing of the service to be processed if the waiting time of the service to be processed in the queue corresponding to the target priority exceeds a waiting time threshold after the service to be processed is added into the queue corresponding to the target priority;
and the rejection processing unit is used for rejecting the processing of the service to be processed if the resources corresponding to the target priority are full and the queue corresponding to the target priority is full.
Optionally, the apparatus further comprises:
a resource appropriating unit, configured to, if the resource occupancy duration of the first priority exceeds the duration threshold, and a variation fluctuation of an average response time for performing traffic processing on the resource of the first priority is not greater than a predetermined fluctuation, appropriate the excess resource from a resource of a second priority lower than the first priority, and give the resource of the first priority to the resource of the second priority, where the second priority is a priority lower than the first priority, and the corresponding resource has a priority of the excess resource;
and/or the isolation unit is used for adjusting the priority of the third priority down and isolating the third priority if the average response time of the resources of the third priority for processing the services is higher than the time limit threshold, so that the services of the third priority are only awakened by the resources of the third priority.
An embodiment of the present invention further provides a bus system server, including: a memory and a processor; the memory stores a program, the processor invokes the memory stored program, the program to:
acquiring a service processing request;
determining a service system identifier and an external service code of a service to be processed carried by the service processing request;
determining a service system identifier of the service to be processed and a target internal service code corresponding to the external service code according to the internal and external service code comparison table; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type;
determining a target priority corresponding to the target service type according to a preset service type corresponding to each priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
and determining the resources corresponding to the target priority according to the resources corresponding to each priority pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing.
Based on the technical scheme, the embodiment of the invention can divide the resources corresponding to each priority in the concurrent resource pool in advance, and define the service type corresponding to each priority and the internal service code corresponding to each service type; when the resources of the service to be processed are distributed, the service system identifier of the service to be processed and the target internal service code corresponding to the external service code can be determined through the internal and external service code comparison table, and the target service type corresponding to the target internal service code and the target priority corresponding to the target service type are determined; therefore, the service to be processed is divided into the resources corresponding to the pre-divided target priority in the concurrent resource pool for processing, and the control of the processing resources of the service to be processed is realized. Because the resources in the concurrent resource pool are divided in advance according to the priority and the resources corresponding to each priority are defined, the resources for processing the service to be processed can be performed by the resources corresponding to the target priority to which the service to be processed belongs, so that the processing of the services with different priorities is realized by the resources with different priorities, the condition that the resources in the concurrent resource pool are exhausted by a certain service is avoided, the rationality of concurrent resource control is improved, and the normal processing of the service is ensured. The embodiment of the invention realizes dynamic adjustment of classified concurrent resources by providing the priorities of different classifications and supporting the prior definition of classification quantity, and can meet the requirement of fine resource control by dividing the service into the resources corresponding to the priorities for processing.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a resource control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of implementing concurrent resource control;
FIG. 3 is another flowchart of a resource control method according to an embodiment of the present invention;
fig. 4 is a block diagram of a resource control device according to an embodiment of the present invention;
fig. 5 is another block diagram of a resource control device according to an embodiment of the present invention;
fig. 6 is a block diagram of another structure of a resource control apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of another structure of a resource control apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram showing a hardware configuration of the bus system server.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a resource control method provided in an embodiment of the present invention, where the resource control method is applicable to a bus system server of a bank, and when a certain service needs to be processed, the bus system server may allocate resources for the service based on the resource control method provided in an embodiment of the present invention, so as to implement control of resources in a concurrent resource pool for processing the service;
referring to fig. 1, a resource control method provided in an embodiment of the present invention may include:
and step S10, acquiring a service processing request.
The service processing request can be a service processing request of the service to be processed, and is used for requesting to process the service to be processed; the service to be processed can be regarded as the service needing to be processed, and the embodiment of the invention needs to allocate resources for the service to be processed so as to realize the processing of the service to be processed;
optionally, the service to be processed may be from a banking service system, for example, if the service to be processed is a withdrawal service, the service to be processed may be from an ATM system or a bank counter system; the service system can generate a service to be processed based on user operation (such as withdrawal operation of a user at an ATM, etc.), and form a service processing request of the service to be processed and send the service processing request to the bus system server, so that the bus system server performs resource allocation on the service to be processed.
Step S11, determining the service system identifier and the external service code of the service to be processed carried by the service processing request.
In the embodiment of the invention, the service processing request can carry the service system identification and the external service code of the service to be processed;
the business system identification can be used for identifying the business system of the bank, and a business system can be represented by using the unique business system identification, for example, an ATM system can have the unique business system identification, a counter system can have the unique business system identification, and the like; the external service code may identify a specific service, for example, the withdrawal service may be identified by using a corresponding external service code, the query service may be identified by using a corresponding external service code, and generally, the external service codes corresponding to different services are also different.
Optionally, after the service processing request is obtained, the embodiment of the present invention may analyze the service system identifier and the external service code of the service to be processed from the message of the service processing request according to the configured message analysis rule (e.g., a message analysis rule of a fixed-length message or a structured message).
Step S12, according to the internal and external service code comparison table, determining the service system identification of the service to be processed and the target internal service code corresponding to the external service code.
Step S13, determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type.
The embodiment of the invention can preset an internal and external service code comparison table, and record internal service codes corresponding to each combination of the service system identifier and the external service code through the internal and external service code comparison table, so that after a bus system server acquires the service processing request, a target internal service code corresponding to the combination of the service system identifier and the external service code of the service to be processed can be determined according to the internal service code corresponding to each combination of the service system identifier and the external service code recorded by the internal and external service code comparison table.
Optionally, in the embodiment of the present invention, each service system identifier and each external service code may be set, a possible combination of each service system identifier and each external service code is determined (one combination may be formed by a combination of one service system identifier and one external service code), on the basis that a corresponding internal service code is set for each service type, corresponding setting of the internal service code is performed according to the service type corresponding to each combination, so as to form an internal-external service code comparison table, and the internal service code corresponding to each combination of the service system identifier and the external service code is recorded by the internal-external service code comparison table;
optionally, in the embodiment of the present invention, the service system identifier may be used to indicate a service system from which the service to be processed comes, and the external service code may be used to indicate a specific service of the service to be processed, both of which have certain service meanings; in the embodiment of the invention, the internal service code can facilitate the classification of the service types of the subsequent services to be processed; for example, the online banking business system identifier 99+ the external business code paymontey corresponds to the internal business code a000001, the online banking business system identifier 99 may identify a specific online banking business system, the external business code paymontey may identify a specific payment business, and the internal business code a000001 is meaningless, which is convenient for the correspondence of the business type;
the embodiment of the invention carries out the corresponding of the service type by the internal service code, but not directly carries out the corresponding of the service type by the combination of the service system identifier and the external service code, mainly considers that the service system and the service of the bank are in dynamic growth and change, carries out the corresponding setting of the internal service code corresponding to the combination of the service system identifier and the external service code by the internal service code comparison table, and carries out the corresponding setting of the corresponding service type by the internal service code, thus realizing the adjustment of the corresponding service type by the table modification of the internal service code comparison table and the external service code comparison table when the service system and the service change, and having more convenient adjustment.
And step S14, determining a target priority corresponding to the target service type according to the preset service type corresponding to each priority.
The embodiment of the invention can set different priorities for different service types, generally speaking, the timeliness of the service type corresponding to the high priority is higher, namely, the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority, thereby realizing the presetting of the service type corresponding to each priority; and after the target service type of the service to be processed is determined, the target priority corresponding to the target service type can be determined according to the preset service type corresponding to each priority, so that the determination of the priority of the service to be processed is realized.
Step S15, determining the resource corresponding to the target priority according to the resource corresponding to each priority pre-partitioned by the concurrent resource pool, and partitioning the service to be processed into the resource corresponding to the target priority for processing.
In the embodiment of the invention, resources in the concurrent resource pool can be subdivided to divide resources corresponding to different priorities, and optionally, the resources divided for high priority can be more than the resources divided for low priority; and then after determining the target priority to which the service to be processed belongs, determining resources corresponding to the target priority, and dividing the service to be processed into the resources corresponding to the target priority for processing, thereby realizing the resource control of the service.
The resource control method provided by the embodiment of the invention comprises the following steps: acquiring a service processing request; determining a service system identifier and an external service code of a service to be processed carried by the service processing request; determining a service system identifier of the service to be processed and a target internal service code corresponding to the external service code according to the internal and external service code comparison table; determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type; determining a target priority corresponding to the target service type according to a preset service type corresponding to each priority; and determining the resources corresponding to the target priority according to the resources corresponding to each priority pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing.
The embodiment of the invention can divide the resources corresponding to each priority in the concurrent resource pool in advance, and define the service type corresponding to each priority and the internal service code corresponding to each service type; when the resources of the service to be processed are distributed, the service system identifier of the service to be processed and the target internal service code corresponding to the external service code can be determined through the internal and external service code comparison table, and the target service type corresponding to the target internal service code and the target priority corresponding to the target service type are determined; therefore, the service to be processed is divided into the resources corresponding to the pre-divided target priority in the concurrent resource pool for processing, and the control of the processing resources of the service to be processed is realized. Because the resources in the concurrent resource pool are divided in advance according to the priority and the resources corresponding to each priority are defined, the resources for processing the service to be processed can be performed by the resources corresponding to the target priority to which the service to be processed belongs, so that the processing of the services with different priorities is realized by the resources with different priorities, the condition that the resources in the concurrent resource pool are exhausted by a certain service is avoided, the rationality of concurrent resource control is improved, and the normal processing of the service is ensured. The embodiment of the invention realizes dynamic adjustment of classified concurrent resources by providing the priorities of different classifications and supporting the prior definition of classification quantity, and can meet the requirement of fine resource control by dividing the service into the resources corresponding to the priorities for processing.
For convenience of understanding, an embodiment of the present invention may implement concurrent resource control schematically as shown in fig. 2, with reference to fig. 2:
the embodiment of the invention can subdivide the resources in the concurrent resource pool and divide the resources with different priorities, such as the resources with priority 1, the resources with priority 2 and the like, namely the resources with different priorities form the concurrent resource pool; optionally, the resources divided for high priority may be more than the resources divided for low priority;
meanwhile, setting the service types corresponding to the priorities, wherein one priority can correspond to at least one service type; optionally, the embodiment of the present invention may divide the priority of the service type according to the timeliness of the service type, generally speaking, the timeliness of the service type corresponding to the high priority is higher than the timeliness of the service type corresponding to the low priority;
after the division operation is carried out, the embodiment of the invention can divide the priority corresponding to each service type, and the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority; meanwhile, the resources corresponding to the priorities in the concurrent resource pool are divided, so that the resources corresponding to the service types in the concurrent resource pool can be determined (that is, for a service type, the resources corresponding to the priority corresponding to the service type in the concurrent resource pool can be regarded as the resources corresponding to the service type in the concurrent resource pool);
when the bus system server obtains the service to be processed, the service system identifier of the service to be processed and the target internal service code corresponding to the external service code can be determined according to the internal and external service code comparison table, the target service type of the service to be processed is determined according to the target internal service code, the target priority of the service to be processed is determined according to the target service type, and therefore the service to be processed is divided into resources corresponding to the target priority for processing.
It should be noted that, although there is a classification mechanism of services in the prior art, for example, the classification mechanism is implemented by using a CICS middleware technology of IBM, and then resource control is implemented by using the CICS middleware technology of IBM, the technology implemented based on the middleware can only implement a fixed number of classification mechanisms, and mapping between service codes and middleware services needs to be planned and defined in advance, and the middleware services are fixedly classified into several concurrent classifications in advance; therefore, the resource control realized by the existing middleware technology is not flexible enough, the classification priority cannot be provided, the number of supported classifications is very limited, the classified concurrent resources cannot be dynamically adjusted, and the fine resource control requirement cannot be met; the resource control method provided by the embodiment of the invention can overcome the defect of resource control of the middleware in the prior art.
Optionally, when the service to be processed is divided into resources corresponding to the target priority for processing, if the resources corresponding to the target priority are full and no idle resources are available for processing the service to be processed, the service to be processed may be listed in a queue of the target priority for queuing; the embodiment of the invention can set queues for each priority, and the queue of one priority can queue the service which is divided into the resources of the priority for processing when the resources of the priority are full; optionally, the queue may support a first-in first-out in-order queuing manner and support an overtime mechanism, and if there is a service whose waiting time is longer than a waiting time threshold in a priority queue, the service may be removed from the queue and an exception report of service queuing overtime is output;
further, if the resources of the target priority are full and the queue of the target priority is also full (the queue may support a certain upper bound of traffic queuing), the processing of the pending traffic may be rejected (this case may be considered as shaping the traffic entering the bus system).
Optionally, when a certain service is processed and a released resource exists in the concurrent resource pool, if a service processed by queuing exists currently, the service in queuing can be awakened according to the priority, so that the service in queuing with the highest priority currently is processed by the priority of the released resource, thereby realizing priority-based scheduling of the released resource;
optionally, fig. 3 shows another flow of the resource control method provided in the embodiment of the present invention, and the method shown in fig. 3 may be executed after step S15 is executed, that is, after the to-be-processed service is divided into resources corresponding to the target priority for processing; referring to fig. 3, the method may include:
step S20, determining whether the resource corresponding to the target priority is full, if not, executing step S21, and if so, executing step S22.
After the service to be processed is divided into the resources corresponding to the target priority, whether the resources corresponding to the target priority are fully occupied can be judged, if no idle resources exist in the resources corresponding to the target priority, the resources corresponding to the target priority are considered to be fully occupied, and if idle resources exist in the resources corresponding to the target priority, the resources corresponding to the target priority are considered to be not fully occupied.
Step S21, obtaining the idle resource from the resource corresponding to the target priority, and processing the service to be processed.
When the resources corresponding to the target priority are not full, idle resources (such as idle threads) can be acquired from the resources corresponding to the target priority to process the service to be processed, so that the service to be processed is processed.
Step S22, determining whether the queue corresponding to the target priority is full, if yes, performing step S23, and if no, performing step S24; and the queues corresponding to the target priority are queued with the services to be executed according to the sequence.
The embodiment of the invention can set corresponding queues for each priority, namely different priorities have respective queues, and a queue of a priority can be used for queuing the service of the resource processing of the priority according to the sequence when the resource of the priority is full; correspondingly, the queue of the target priority can be used for queuing the service of the resource processing of the target priority according to the sequence when the resource of the target priority is full.
And step S23, rejecting the processing of the service to be processed.
When the resources of the target priority are full and the queue corresponding to the target priority is full, the processing of the service to be processed can be refused so as to shape the traffic entering the bus system.
And step S24, adding the service to be processed into the queue corresponding to the target priority.
When the queue corresponding to the target priority is not full, optionally, the service to be processed may be added to the queue corresponding to the target priority according to the order of the services in the queue corresponding to the target priority to wait for processing.
Step S25, when the concurrent resource pool has the released resource, if the target priority is the highest priority among the priorities of the currently existing service queues, enabling the released resource to process the service queued in the queue corresponding to the target priority, so as to process the service to be processed.
When any service is processed, the resource for processing the service is released, so that the released resource exists in the concurrent resource pool; optionally, after the service in each priority is executed, the released resource may exist in the concurrent resource pool, and at this time, the queue with the highest priority among the priorities in which the service is currently queued may be awakened (the queue is not necessarily the highest priority among all the priorities, but the highest priority among the priorities in which the service is queued), and the service queued in the queue is processed with the released resource;
correspondingly, when the released resources exist in the concurrent resource pool, if the target priority is the highest priority in the priorities of the currently existing service queues, the released resources can be used for processing the services queued in the queues corresponding to the target priority so as to process the services to be processed; if the target priority is not the highest priority in the priorities of the current service queues, the waiting can be continued; it should be noted here that, if the waiting time of the to-be-processed service in the queue corresponding to the target priority exceeds the waiting time threshold, the to-be-processed service may be removed from the queue corresponding to the target priority, and an exception report indicating that the to-be-processed service is queued up overtime is output.
According to the embodiment of the invention, through a resource scheduling scheme, when the released resources exist in the concurrent resource pool, the priority can process the services waiting for queuing in the queue with high priority, the rationality of service processing is ensured, under the condition of defining the resources corresponding to each priority, the dynamic resource scheduling aiming at the services waiting for queuing in the queue with high priority can be realized, and the services with high priority and high aging requirement can be processed in time; optionally, the low-priority service is generally processed by the resource corresponding to the low-priority service, and the high-priority service may be processed by the resource corresponding to the high-priority service, and after the resource is released, the released resource priority is made to process the service waiting for queuing in the high-priority queue using the dynamic resource scheduling scheme described herein. The low priority and the high priority may be relative to each other, or a priority level threshold may be set, and in the case where the lower the level, the higher the priority, the lower the priority level threshold, the priority level higher than the priority level threshold may be set as the low priority level, and the priority level lower than the priority level threshold may be set as the high priority level.
Optionally, on the basis of implementing service processing based on the control scheme of the resources; the embodiment of the invention can also provide a resource allocation means among all the priorities;
optionally, if a resource of a priority is not used continuously enough (e.g., the duration of full resource of a priority exceeds a duration threshold), and the average response time of the resource of the priority for performing the service processing does not increase significantly (e.g., the variation fluctuation of the average response time of the resource of the priority for performing the service processing is not greater than a predetermined fluctuation, and the judgment basis of the average response time of the service processing can be implemented by uniformly monitoring the provided API to query the latest average response time of the service), it can be considered that the resource of the priority needs to be supplemented; the embodiment of the invention can steal redundant resources to the priority from the resources with the priority lower than the priority;
specifically, if the resource full-up duration of the first priority (the first priority can be regarded as any priority) exceeds the duration threshold, and the variation fluctuation of the average response time of the resource of the first priority for carrying out the service processing is not more than the preset fluctuation, the redundant resource is stolen from the resource of the second priority with the priority lower than the first priority, and the resource of the first priority is given; the second priority may be regarded as a priority lower than the first priority, and the corresponding resources have a priority of redundant resources;
alternatively, the redundant resources of a priority may be regarded as a proportion of the resources that are not used for a long time in the resources of the priority, that is, a certain proportion of the resources that are not occupied for a long time exist in the resources of the priority.
Further, if the average response time of the service processed by the resource of a priority is too long (for example, the average response time is higher than the time limit threshold), and the service of the priority is processed slowly, the priority of the priority can be lowered and isolated, so that the priority is not woken up by the resources of other priorities any more, and only the resource corresponding to the priority of the priority can be woken up; that is, the service processing of the priority is realized only by the resource corresponding to the priority of the service processing system, and the service processing of the priority is not realized by the resource of other priorities when the resource of other priorities is released, even if the priority is the highest priority of the currently existing queuing service;
correspondingly, if the average response time of the resource of the third priority (the third priority can be regarded as any priority) for processing the traffic is higher than the time limit threshold, the priority of the third priority is adjusted to be low, and the third priority is isolated, so that the traffic of the third priority is only awakened by the resource of the third priority;
according to the prior art, because resources required by services are allocated from a concurrent resource pool to process the services, when the services fail, the resources are occupied for a long time, and if the failed services are increased, the resources in the concurrent resource pool are exhausted, and other services cannot be processed normally; by using the scheme provided by the embodiment of the invention, when a certain service fails and the service is processed slowly, the priority of the service is isolated and only awakened by the resource with the self priority, so that other services can be processed normally.
According to the resource control method provided by the embodiment of the invention, as the resources in the concurrent resource pool are divided in advance according to the priority levels and the resources corresponding to the priority levels are defined, the resources for processing the service to be processed can be performed by the resources corresponding to the target priority level to which the service to be processed belongs, so that the processing of the services with different priority levels is realized by the resources with different priority levels, the condition that the resources in the concurrent resource pool are exhausted by a certain service is avoided, the rationality of concurrent resource control is improved, and the normal processing of the service is ensured; meanwhile, the embodiment of the invention realizes dynamic adjustment of classified concurrent resources by providing the priorities of different classifications and defining the supported classification quantity in advance, and can meet the requirement of fine resource control by dividing the service into the resources corresponding to the priorities to be processed;
furthermore, through a resource scheduling scheme, when the released resources exist in the concurrent resource pool, the services waiting for queuing in the high-priority queue can be processed preferentially, and the rationality of service processing is ensured, so that under the condition of defining the resources corresponding to each priority, the dynamic resource scheduling of the services waiting for queuing in the high-priority queue can be realized, and the services with high timeliness requirements and high priority can be processed in time;
further, when the high-priority resources are not used for a long time, the high-priority services can be guaranteed to be effectively and timely processed by using redundant resources from the low-priority resources to give high priority; meanwhile, by isolating the priority of the slow long-term service processing, the service of the priority is only awakened by the resource of the service, so that the slow service processing can be ensured not to influence the resource use of other services, and the reliability of service processing is improved;
the resource control method provided by the embodiment of the invention can realize effective, flexible and reasonable concurrent resource control.
In the following, the resource control apparatus provided in the embodiment of the present invention is introduced, and the resource control apparatus described below may be considered as a program unit that is required to be set by the bus system server to implement the resource control method provided in the embodiment of the present invention; the contents of the resource control device described below may be referred to in correspondence with the contents of the resource control method described above.
Fig. 4 is a block diagram of a resource control apparatus according to an embodiment of the present invention, where the apparatus may be applied to a bus system server, and referring to fig. 4, the apparatus may include:
a request obtaining unit 100, configured to obtain a service processing request;
a system identifier and external code determining unit 200, configured to determine a service system identifier and an external service code of a service to be processed, which are carried in the service processing request;
an internal service code determining unit 300, configured to determine, according to the internal and external service code comparison tables, a service system identifier of the service to be processed and a target internal service code corresponding to the external service code; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
a service type determining unit 400, configured to determine, according to an internal service code corresponding to each preset service type, a target service type corresponding to the target internal service code;
a priority determining unit 500, configured to determine a target priority corresponding to the target service type according to a service type corresponding to each preset priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
and the resource dividing unit 600 is configured to determine, according to the resources corresponding to the priorities pre-divided by the concurrent resource pool, the resources corresponding to the target priority, and divide the service to be processed into the resources corresponding to the target priority for processing.
Optionally, the request obtaining unit 100, the system identifier and external code determining unit 200, the internal service code determining unit 300, the service type determining unit 400, and the priority determining unit 500 may be implemented by a filter, that is, mapping the service system identifier and the external service code of the service processing request into the internal transaction code of the bus system is implemented in the filter, and then identifying the service classification of the service to be processed and the determination of the priority of the service to be processed according to the classification rule.
Optionally, the resource dividing unit 600 may be implemented by a concurrent resource pool control module, and after the concurrent resource pool control module classifies the service of the to-be-processed service identified by the filter and the priority of the service, the resource scheduling of the to-be-processed service is completed according to the priority configuration of the resource, and is controlled by the restrictions of concurrency and queuing.
Optionally, fig. 5 shows another structural block diagram of the resource control apparatus according to the embodiment of the present invention, and in combination with fig. 4 and fig. 5, the apparatus may further include:
a first processing unit 700, configured to, if the resource corresponding to the target priority is not full, obtain an idle resource from the resource corresponding to the target priority, and process the service to be processed;
a queue adding unit 800, configured to add a service to be processed to a queue corresponding to a target priority if a resource corresponding to the target priority is full and the queue corresponding to the target priority is not full; the queue of one priority is used for queuing the service of the resource processing of the priority according to the sequence when the resource of the priority is full;
a reject processing unit 900, configured to reject processing of the to-be-processed service if the resource corresponding to the target priority is full and the queue corresponding to the target priority is full.
Optionally, the first processing unit 700, the queue adding unit 800, and the rejecting processing unit 900 are processes executed for different situations; optionally, the first processing unit 700, the queue adding unit 800, and the rejecting processing unit 900 may be implemented by a concurrent resource pool control module, so as to implement control of concurrency and queuing restrictions.
Optionally, fig. 6 shows another structural block diagram of a resource control apparatus according to an embodiment of the present invention, and in combination with fig. 5 and fig. 6, the apparatus may further include:
a resource scheduling processing unit 1000, configured to, after adding a service to be processed into a queue corresponding to a target priority, when a released resource exists in a concurrent resource pool, if the target priority is a highest priority among priorities in which service queuing currently exists, enable the released resource to process the service queued in the queue corresponding to the target priority, so as to process the service to be processed;
the timeout processing unit 1100 is configured to, after adding the to-be-processed service to the queue corresponding to the target priority, if the waiting time of the to-be-processed service in the queue corresponding to the target priority exceeds the waiting time threshold, remove the to-be-processed service from the queue corresponding to the target priority, and output an exception report that the to-be-processed service is queued up overtime.
Optionally, the resource scheduling processing unit 1000 and the timeout processing unit 1100 perform processing for different situations, and are parallel; optionally, the resource scheduling processing unit 1000 and the timeout processing unit 1100 may be implemented by a concurrent resource pool control module, so as to further implement control of concurrency and queuing restrictions.
Optionally, fig. 7 shows another structural block diagram of a resource control apparatus according to an embodiment of the present invention, and in combination with fig. 4 and fig. 7, the apparatus may further include:
a resource appropriating unit 1200, configured to, if the resource occupancy duration of the first priority exceeds the duration threshold, and a variation fluctuation of an average response time for performing traffic processing on the resource of the first priority is not greater than a predetermined fluctuation, appropriate the excess resource from a resource of a second priority lower than the first priority, and give the resource of the first priority, where the second priority is a priority lower than the first priority, and the corresponding resource has a priority of the excess resource;
an isolating unit 1300, configured to, if the average response time for processing the service by the resource of the third priority is higher than the time limit threshold, turn down the priority of the third priority, and isolate the third priority, so that the service of the third priority is only woken up by the resource of the third priority.
Alternatively, the resource stealing unit 1200 and the isolation unit 1300 may be applied to the device structures shown in fig. 4, 5, and 6 alternatively or in combination.
Optionally, the resource appropriating unit 1200 and the isolating unit 1300 may be implemented by a traffic monitoring module, and the traffic monitoring module monitors the overall usage of the concurrent resource pool in real time, including priority usage, including concurrency and queuing situations, and the current usage of the concurrent resource pool is combined with the background system operation to adjust the resource allocation of the concurrent resource pool in real time, so as to perform priority traffic allocation and fault isolation or fault recovery.
Furthermore, the embodiment of the invention can also be provided with a flow monitoring and counting module to realize the counting of the concurrency and queuing conditions of the current priority, the historical peak value and other conditions; further, a flow control configuration module may be further configured to implement mapping relationship between the internal service code and the service type, mapping between the service type and the priority, definition of the priority, and the like (such as concurrency number, queuing number, priority weight, and queuing timeout time).
The resource control device provided by the embodiment of the invention can realize effective, flexible and reasonable concurrent resource control.
The resource control device provided in the embodiment of the present invention may be applied to a bus system server, and a hardware structure of the bus system server may be as shown in fig. 8, where the hardware structure includes: at least one processor 1, at least one memory 2 and at least one communication bus 3;
wherein, the memorizer stores the procedure, the procedure that the processor calls the memorizer to carry out, the said procedure is used for:
acquiring a service processing request;
determining a service system identifier and an external service code of a service to be processed carried by the service processing request;
determining a service system identifier of the service to be processed and a target internal service code corresponding to the external service code according to the internal and external service code comparison table; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type;
determining a target priority corresponding to the target service type according to a preset service type corresponding to each priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
and determining the resources corresponding to the target priority according to the resources corresponding to each priority pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing.
Optionally, the refinement and extension functions of the program may be as described with reference to the corresponding parts above.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for resource control, comprising:
acquiring a service processing request of a service to be processed;
determining a service system identifier and an external service code of a service to be processed carried by the service processing request, wherein the service system identifier is used for indicating a service system from which the service to be processed comes, and the external service code is used for indicating a specific service of the service to be processed;
determining a service system identifier of the service to be processed and a target internal service code corresponding to the external service code according to the internal and external service code comparison table; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type; under the condition that a service system and a service change, the corresponding service type can be adjusted by modifying the internal and external service code comparison table;
determining a target priority corresponding to the target service type according to a preset service type corresponding to each priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
determining resources corresponding to the target priority according to the resources corresponding to each priority pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing, so that the processing of the services with different priorities is realized by the resources with different priorities, and the condition that the resources in the concurrent resource pool are exhausted by a certain service is avoided;
the method further comprises the following steps:
and if the average response time of the resources of the third priority for processing the services is higher than the time limit threshold, the priority of the third priority is reduced, and the third priority is isolated, so that the services of the third priority are only awakened by the resources of the third priority.
2. The method of claim 1, further comprising:
if the resources corresponding to the target priority are not full, acquiring idle resources from the resources corresponding to the target priority, and processing the service to be processed;
if the resources corresponding to the target priority are full and the queue corresponding to the target priority is not full, adding the service to be processed into the queue corresponding to the target priority; and the queue of one priority is used for queuing the service to be processed by the resource of the priority according to the sequence when the resource of the priority is full.
3. The resource control method according to claim 2, wherein after adding the pending service to the queue corresponding to the target priority, the method further comprises:
when the concurrent resource pool has the released resources, if the target priority is the highest priority in the priorities of the currently existing service queues, the released resources are made to process the services queued in the queues corresponding to the target priority so as to process the services to be processed.
4. The resource control method according to claim 2, wherein after adding the pending service to the queue corresponding to the target priority, the method further comprises:
and if the waiting time of the service to be processed in the queue corresponding to the target priority exceeds the waiting time threshold, removing the service to be processed from the queue corresponding to the target priority, and outputting an abnormal report of overtime queuing of the service to be processed.
5. The resource control method of claim 2, further comprising:
and if the resources corresponding to the target priority are full and the queue corresponding to the target priority is full, rejecting the processing of the service to be processed.
6. The resource control method according to any one of claims 1-5, wherein the method further comprises:
and if the occupied duration of the resources of the first priority exceeds the duration threshold and the variation fluctuation of the average response time of the resources of the first priority for carrying out service processing is not larger than the preset fluctuation, stealing redundant resources from the resources of a second priority lower than the first priority, and giving the resources of the first priority, wherein the second priority is the priority lower than the first priority and the corresponding resources have the priority of the redundant resources.
7. A resource control apparatus, comprising:
a request acquisition unit, configured to acquire a service processing request of a service to be processed;
a system identifier and external code determining unit, configured to determine a service system identifier and an external service code of a service to be processed, where the service system identifier is used to indicate a service system from which the service to be processed comes, and the external service code is used to indicate a specific service of the service to be processed;
an internal service code determining unit, configured to determine, according to the internal and external service code comparison tables, a service system identifier of the service to be processed and a target internal service code corresponding to the external service code; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
a service type determining unit, configured to determine, according to an internal service code corresponding to each preset service type, a target service type corresponding to the target internal service code; under the condition that a service system and a service change, the corresponding service type can be adjusted by modifying the internal and external service code comparison table;
a priority determining unit, configured to determine a target priority corresponding to the target service type according to a service type corresponding to each preset priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
the resource dividing unit is used for determining the resources corresponding to the target priority according to the resources corresponding to the priorities pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing, so that the processing of the services with different priorities is realized by the resources with different priorities, and the condition that the resources in the concurrent resource pool are exhausted by a certain service is avoided;
and the isolation unit is used for reducing the priority of the third priority and isolating the third priority to ensure that the third priority service is only awakened by the third priority resource if the average response time of the third priority resource for processing the service is higher than the time limit threshold.
8. The resource control apparatus according to claim 7, further comprising:
the first processing unit is used for acquiring idle resources from the resources corresponding to the target priority and processing the service to be processed if the resources corresponding to the target priority are not fully occupied;
the queue adding unit is used for adding the service to be processed into the queue corresponding to the target priority if the resources corresponding to the target priority are full and the queue corresponding to the target priority is not full; the queue of one priority is used for queuing the service of the resource processing of the priority according to the sequence when the resource of the priority is full;
the resource scheduling processing unit is used for enabling the released resources to process the services queued in the queue corresponding to the target priority so as to process the services to be processed if the target priority is the highest priority in the priorities of the currently queued services when the released resources exist in the concurrent resource pool after the services to be processed are added into the queue corresponding to the target priority;
the overtime processing unit is used for removing the service to be processed from the queue corresponding to the target priority and outputting an abnormal report of overtime queuing of the service to be processed if the waiting time of the service to be processed in the queue corresponding to the target priority exceeds a waiting time threshold after the service to be processed is added into the queue corresponding to the target priority;
and the rejection processing unit is used for rejecting the processing of the service to be processed if the resources corresponding to the target priority are full and the queue corresponding to the target priority is full.
9. The resource control apparatus according to claim 7 or 8, further comprising:
and the resource stealing unit is used for stealing the redundant resources from the resources with the second priority lower than the first priority and giving the resources with the first priority to the resources with the first priority if the full duration of the resources with the first priority exceeds the duration threshold and the variation fluctuation of the average response time of the resources with the first priority for carrying out the service processing is not more than the preset fluctuation.
10. A bus system server, comprising: a memory and a processor; the memory stores a program, the processor invokes the memory stored program, the program to:
acquiring a service processing request of a service to be processed;
determining a service system identifier and an external service code of a service to be processed carried by the service processing request, wherein the service system identifier is used for indicating a service system from which the service to be processed comes, and the external service code is used for indicating a specific service of the service to be processed;
determining a service system identifier of the service to be processed and a target internal service code corresponding to the external service code according to the internal and external service code comparison table; the internal and external service code comparison table records internal service codes corresponding to each combination of the service system identification and the external service codes;
determining a target service type corresponding to the target internal service code according to the preset internal service code corresponding to each service type; under the condition that a service system and a service change, the corresponding service type can be adjusted by modifying the internal and external service code comparison table;
determining a target priority corresponding to the target service type according to a preset service type corresponding to each priority; the timeliness of the service type corresponding to the high priority is higher than that of the service type corresponding to the low priority;
determining resources corresponding to the target priority according to the resources corresponding to each priority pre-divided by the concurrent resource pool, and dividing the service to be processed into the resources corresponding to the target priority for processing, so that the processing of the services with different priorities is realized by the resources with different priorities, and the condition that the resources in the concurrent resource pool are exhausted by a certain service is avoided;
and if the average response time of the resources of the third priority for processing the services is higher than the time limit threshold, the priority of the third priority is reduced, and the third priority is isolated, so that the services of the third priority are only awakened by the resources of the third priority.
CN201711163142.XA 2017-11-21 2017-11-21 Resource control method and device and bus system server Active CN107948095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711163142.XA CN107948095B (en) 2017-11-21 2017-11-21 Resource control method and device and bus system server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711163142.XA CN107948095B (en) 2017-11-21 2017-11-21 Resource control method and device and bus system server

Publications (2)

Publication Number Publication Date
CN107948095A CN107948095A (en) 2018-04-20
CN107948095B true CN107948095B (en) 2021-11-02

Family

ID=61929393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711163142.XA Active CN107948095B (en) 2017-11-21 2017-11-21 Resource control method and device and bus system server

Country Status (1)

Country Link
CN (1) CN107948095B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984281A (en) * 2018-05-30 2018-12-11 深圳市买买提信息科技有限公司 A kind of task processing method and server
CN109120548B (en) * 2018-07-02 2022-03-11 联动优势电子商务有限公司 Flow control method and device
CN109634888A (en) * 2018-12-12 2019-04-16 浪潮(北京)电子信息产业有限公司 A kind of FC interface card exchange resource identification processing method and associated component
CN110222016B (en) * 2019-05-20 2023-08-22 平安银行股份有限公司 File processing method and device
CN110413404A (en) * 2019-06-18 2019-11-05 平安科技(深圳)有限公司 Resource allocation methods, device, equipment and storage medium priority-based
CN110728520B (en) * 2019-09-27 2023-02-17 支付宝(杭州)信息技术有限公司 Processing method and device for refusal payment application and server
CN113780700B (en) * 2020-07-08 2023-09-26 北京京东振世信息技术有限公司 Data processing method, device and storage medium
CN114362878B (en) * 2020-09-27 2024-04-09 华为技术有限公司 Data processing method and electronic equipment
CN113282385A (en) * 2020-10-30 2021-08-20 常熟友乐智能科技有限公司 Service processing method and system based on online office equipment
CN112328383A (en) * 2020-11-19 2021-02-05 湖南智慧畅行交通科技有限公司 Priority-based job concurrency control and scheduling algorithm
CN113157397A (en) * 2021-04-27 2021-07-23 全球能源互联网研究院有限公司 Virtual resource allocation and service function chain construction method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987925A (en) * 2006-12-29 2007-06-27 中国建设银行股份有限公司 Complex front platform of financial system and transfering method transaction data
CN106789726A (en) * 2016-12-20 2017-05-31 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority
WO2017143981A1 (en) * 2016-02-26 2017-08-31 新华三技术有限公司 Service processing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567072B (en) * 2010-12-20 2015-04-22 中国移动通信集团公司 Resource allocation method, resource allocation device and resource allocation system
CN102761469B (en) * 2011-04-27 2015-05-27 阿里巴巴集团控股有限公司 Allocation method and device for resource pool

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987925A (en) * 2006-12-29 2007-06-27 中国建设银行股份有限公司 Complex front platform of financial system and transfering method transaction data
WO2017143981A1 (en) * 2016-02-26 2017-08-31 新华三技术有限公司 Service processing
CN106789726A (en) * 2016-12-20 2017-05-31 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority

Also Published As

Publication number Publication date
CN107948095A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107948095B (en) Resource control method and device and bus system server
CN111258737B (en) Resource scheduling method and device and filter scheduler
CN106452818B (en) Resource scheduling method and system
US11977784B2 (en) Dynamic resources allocation method and system for guaranteeing tail latency SLO of latency-sensitive application
EP3799390A1 (en) Preemptive scheduling based resource sharing use method, system and
US9552386B2 (en) Reducing lock occurrences in server/database systems
CN109710416B (en) Resource scheduling method and device
CN110837401A (en) Hierarchical processing method and device for java thread pool
CN107818012B (en) Data processing method and device and electronic equipment
US20220138012A1 (en) Computing Resource Scheduling Method, Scheduler, Internet of Things System, and Computer Readable Medium
CN107515781B (en) Deterministic task scheduling and load balancing system based on multiple processors
CN113312160A (en) Techniques for behavioral pairing in a task distribution system
CN114385353A (en) Resource scheduling method and device, electronic equipment and storage medium
CN111741079A (en) Micro-service architecture based interface processing method and system
CN107360334B (en) Channel idle reminding method, computer device and readable storage medium
CN115766582A (en) Flow control method, device and system, medium and computer equipment
WO2022095862A1 (en) Thread priority adjusting method, terminal, and computer readable storage medium
CN111858060A (en) Resource dynamic adjustment method and device for high-performance computing cluster
CN110941493A (en) Task scheduling method and device
CN114253686A (en) Task scheduling method and device, electronic equipment and storage medium
CN116185772B (en) File batch detection method and device
CN111124688A (en) Server resource control method and system
CN113672673A (en) Data acquisition method and device, storage medium and electronic equipment
JPH0962564A (en) Buffer allocation control system
CN114675944A (en) Event processing method and device, intelligent terminal and computer readable storage medium

Legal Events

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