CN116208680A - Server access management system and method - Google Patents

Server access management system and method Download PDF

Info

Publication number
CN116208680A
CN116208680A CN202310488394.9A CN202310488394A CN116208680A CN 116208680 A CN116208680 A CN 116208680A CN 202310488394 A CN202310488394 A CN 202310488394A CN 116208680 A CN116208680 A CN 116208680A
Authority
CN
China
Prior art keywords
queue
access request
priority
starting
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310488394.9A
Other languages
Chinese (zh)
Other versions
CN116208680B (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.)
Chengdu Sanlitong Technology Co ltd
Original Assignee
Chengdu Sanlitong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Sanlitong Technology Co ltd filed Critical Chengdu Sanlitong Technology Co ltd
Priority to CN202310488394.9A priority Critical patent/CN116208680B/en
Publication of CN116208680A publication Critical patent/CN116208680A/en
Application granted granted Critical
Publication of CN116208680B publication Critical patent/CN116208680B/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/50Queue scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the technical field of Internet, and provides a server access management system and a server access management method, wherein the system comprises a filter; a common processing module; a priority processing module; the filter judges the type of the target device corresponding to the access request, sends the access request of the common device to the common processing module, and sends the access request of the priority processing device to the priority processing module; the common processing module drives the received access request to execute the submitting action to the processor according to the states of the created starting queue, waiting queue, revisiting queue and candidate queue; and the priority processing module drives the received access request to execute the submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue. According to the invention, by setting the priority access mechanism, the quota of the computer resource is reasonably allocated according to the type of the target device corresponding to the access request, the load of the server is reduced, and the overall response speed of the server is improved.

Description

Server access management system and method
Technical Field
The invention relates to the technical field of Internet, in particular to a server access management system and method.
Background
In recent years, with the continuous development and popularization of technologies such as cloud computing and big data, enterprises gradually migrate key information such as business data and application systems to the cloud, the number of servers and the data volume also rapidly increase, and under such a background, the load pressure of the servers gradually becomes huge, and more access requests and data processing tasks need to be borne.
Along with the continuous improvement of the informatization degree, certain events can cause the rapid increase of the access flow of the server, such as big data calculation, network retrieval caused by hot public opinion, collective online registration and the like, the rapid increase of the access flow increases the load of the service and delays the response of the server, the load pressure brings great challenges to hardware and software resources of the server, and the problems of reduced running stability, slower response speed, reduced utilization rate of a resource equipment type judging unit and the like can be caused.
Disclosure of Invention
To solve the above-mentioned problems of the prior art, the present invention provides a server access management system, the system comprising:
a filter;
a common processing module;
a priority processing module;
the filter judges the type of the target equipment corresponding to the access request, when the target equipment is common equipment, the access request is sent to the common processing module, and when the target equipment is priority processing equipment, the access request is sent to the priority processing module;
the common processing module drives the received access request to execute submitting action to the processor according to the states of the created starting queue, waiting queue, revisiting queue and candidate queue so that the processor processes the access request when receiving the access request;
and the priority processing module drives the received access request to execute submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue so that the processor processes the access request when receiving the access request.
Optionally, the filter includes:
an IP address acquisition unit;
a device type judgment unit;
the IP address acquisition unit acquires the IP address of the target equipment;
the device type judging unit judges whether the IP address of the target device is in a priority IP address table or not; if yes, the target equipment is the priority processing equipment; if not, the target device is a common device.
Optionally, the system further includes:
a device registration module;
and the equipment registration module writes the IP address of the common processing equipment into a priority IP address table when receiving a registration instruction of the common equipment.
Optionally, the general processing module includes:
a start queue state judging unit;
a waiting queue first state judgment unit;
a first writing unit;
a second writing unit;
the starting queue stores the access request which is currently being processed, and the starting queue state judging unit judges whether the starting queue is not full;
when the starting queue is not full, the first writing unit writes the received access request into the starting queue, and waits for the starting queue to submit the access request to the processor for processing;
when the starting queue is full, the first state judging unit of the waiting queue judges whether the access requests in the waiting queue can be submitted to the starting queue in the upper limit time;
and when the access requests in the waiting queue can be completely submitted to the starting queue within the upper limit time, the second writing unit writes the received access requests into the waiting queue, waits for the starting queue to have a vacancy, and then submits the access requests to the starting queue.
Optionally, the general processing module further includes:
a bill issuing unit;
a third writing unit;
revisiting the queue state judging unit;
a fourth writing unit;
the bill issuing unit issues a bill for the access request when the access request in the waiting queue cannot be completely submitted to the starting queue within the upper limit time; the bill comprises a time and a check; the time is how much time later the access request needs to be submitted again, the check is whether the access request is submitted again, and the initial value of the check is False;
the third writing unit writes the received access request into a candidate queue when the access request in the waiting queue cannot be completely submitted to the starting queue within the upper limit time;
the revisit queue state judging unit judges whether the access request of the revisit queue can be submitted to the starting queue in the upper limit time;
and the fourth writing unit writes the access request received in the candidate queue into the revisit queue when the access requests in the revisit queue and the waiting queue can be all submitted to the starting queue within the upper limit time.
Optionally, the general processing module further includes:
a waiting queue second state judgment unit;
a fifth writing unit;
a sixth writing unit;
the second state judging unit of the waiting queue judges whether the waiting queue has a vacant position in time when the access request received in the candidate queue is written into the revisit queue;
the fourth writing unit writes the received access request into the waiting queue when the waiting queue has a vacancy in time;
and when the waiting queue has no empty space in the time, the fifth writing unit returns and writes the access request into the waiting queue, updates check to true, and resets the time.
Optionally, the general processing module further includes:
a candidate queue state judgment unit;
a re-submission judging unit;
the candidate queue state judging unit judges whether the access request received in the candidate queue is written into the revisit queue in time when the access request received in the candidate queue is not written into the revisit queue or the access request is returned from the revisit queue and is written into the candidate queue;
the re-submitting judging unit judges whether check is true or not when the access request received in the candidate queue is not written into the re-accessing queue in time; if yes, destroying the access request, and informing a target device of the access request to resubmit the access request; if not, the time is reset and check is updated to True.
Optionally, the priority processing module includes:
a priority start queue state judgment unit;
a priority waiting queue state judgment unit;
a seventh writing unit;
an eighth writing unit;
the priority starting queue stores the access request which is currently being processed, and the priority starting queue state judging unit judges whether the priority starting queue is not full;
when the priority starting queue is not full, the seventh writing unit writes the received access request into the priority starting queue, and waits for the priority starting queue to submit the access request to the processor for processing;
the priority waiting queue state judging unit judges whether the priority waiting queue is not full or not when the priority starting queue is full;
and when the priority waiting queue is not full, the eighth writing unit writes the received access request into the priority waiting queue, waits for the priority starting queue to have a vacant position and submits the access request to the priority starting queue.
Optionally, the priority processing module further includes:
an access path changing unit;
a cache server priority processing unit;
the access path changing unit judges whether the number of times of the same access request received by the common processing module exceeds a preset threshold value, if so, the access request is stored in the cache server;
the cache server priority processing unit drives the access request of the cache server to execute submitting action to the processor according to the states of the created priority starting queue and priority waiting queue, so that the processor processes the access request when receiving the access request.
In order to solve the above-mentioned prior art problems, the present invention further provides a server access management method, for a server access management system as described above, the method comprising:
s1: the filter judges the type of the target equipment corresponding to the access request, when the target equipment is common equipment, the access request is sent to the common processing module, and when the target equipment is priority processing equipment, the access request is sent to the priority processing module;
s2: the common processing module drives the received access request to execute submitting action to the processor according to the states of the created starting queue, waiting queue, revisiting queue and candidate queue so that the processor processes the access request when receiving the access request;
s3: the priority processing module drives the received access request to execute the submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue so that the processor processes the access request when the access request is received.
The invention has the beneficial effects of providing a server access management system and a method, wherein the system comprises a filter; a common processing module; a priority processing module; the filter judges the type of the target device corresponding to the access request, sends the access request of the common device to the common processing module, and sends the access request of the priority processing device to the priority processing module; the common processing module drives the received access request to execute the submitting action to the processor according to the states of the created starting queue, waiting queue, revisiting queue and candidate queue; and the priority processing module drives the received access request to execute the submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue. According to the invention, by setting the priority access mechanism, the quota of the computer resource is reasonably allocated according to the type of the target device corresponding to the access request, and the access request is driven to execute reasonable submitting action according to the states of the different queues, so that the load of the server is reduced, and the overall response speed of the server is improved.
Drawings
Fig. 1 is a schematic structural diagram of a server access management system according to the present invention.
Fig. 2 is a flow chart of a server access management method provided by the invention.
Reference numerals:
10-a filter; 20-a common processing module; 30-priority processing module.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The present embodiment provides a server access management system, referring to fig. 1, fig. 1 is a schematic structural diagram of the server access management system of the present embodiment.
In this embodiment, a server access management system includes: a filter 10, a general processing module 20 and a priority processing module 30.
It should be noted that, the filter 10 determines the type of the target device corresponding to the access request, when the target device is a normal device, the access request is sent to the normal processing module 20, and when the target device is a priority processing device, the access request is sent to the priority processing module 30; the general processing module 20 drives the received access request to execute a submitting action to the processor according to the states of the created start queue, wait queue, revisit queue and candidate queue so that the processor processes the access request when receiving the access request; the priority processing module 30 drives the received access request to execute a commit action to the processor according to the states of the created priority start queue and priority wait queue, so that the processor processes the access request when the access request is received.
The filter 10 determines whether the access request is a normal access request or a priority access request by determining the type of the target device, and then sends the access request to the normal processing module 20 when the access request is determined to belong to the normal access request, and sends the access request to the priority processing module 30 when the access request is determined to belong to the priority access request.
The general processing module 20 is responsible for the access request of the general device, namely, the general access request, and the general processing module 20 creates a start queue, a wait queue, a revisit queue and a candidate queue first, and then obtains the state of each queue to drive the received access request to execute the submitting action to the processor. The priority processing module 30 is responsible for preferentially processing the access request of the device, namely, the priority access request, and the priority processing module 30 firstly creates a priority starting queue and a priority waiting queue, and then obtains the state of each queue so as to drive the received access request to execute the submitting action to the processor.
Therefore, the embodiment realizes the server access management method based on the priority access mechanism, reasonably distributes the quota of the computer resource, and simultaneously processes the access from the cache server independently of other accesses, so that the server can quickly respond to the cache server even if a large number of other requests exist, and the load pressure of the server is reduced.
In practical applications, the common device is a general user client (i.e., an unregistered user client), the priority processing device is a registration device (i.e., a registered user client) and a cache server, and the filter 10 adopts an IP address determiner to be responsible for identifying whether the device is a registered user client, an unregistered user client or a cache server.
Thus, the present embodiment implements a server access management method based on a priority access management mechanism, prioritizing a target device corresponding to an access request, and accesses of a cache server and a client registered from the priority access management mechanism will be identified as priority accesses. Through the management mechanism, the client is registered as a priority host, and a user can submit an access request to the server without any pressure, so that the response speed of the whole server is improved.
In a preferred embodiment, the filter 10 comprises: an IP address acquisition unit and a device type judgment unit.
The IP address obtaining unit obtains the IP address of the target device; the device type judging unit judges whether the IP address of the target device is in a priority IP address table; if yes, the target equipment is the priority processing equipment; if not, the target device is a common device.
In practical applications, the filter 10 may determine the type of the target device for the IP address. The filter 10 firstly acquires the IP address of the target device corresponding to the currently received access request, then traverses the IP address table by calling the priority IP address table, judges whether the IP address of the target device is in the IP address table, if so, judges that the target device is the priority processing device, and sends the access request to the priority processing device; if not, the target device is judged to be the common device, and the access request is sent to the common device.
In a preferred embodiment, the system further comprises: and a device registration module.
And the equipment registration module writes the IP address of the common processing equipment into a priority IP address table when receiving a registration instruction of the common equipment. In this embodiment, the common device may add its IP address to the priority address table through the complete registration procedure, so as to implement the conversion from the common device to the priority processing device, and improve the processing priority of the access request.
In a preferred embodiment, the general processing module 20 includes: the device comprises a starting queue state judging unit, a waiting queue first state judging unit, a first writing unit and a second writing unit.
The starting queue stores the access request currently being processed, and the starting queue state judging unit judges whether the starting queue is not full; and when the starting queue is not full, the first writing unit writes the received access request into the starting queue, and waits for the starting queue to submit the access request to the processor for processing.
In this embodiment, when the ordinary processing module 20 receives an access request, it first determines whether the access request being processed stored in the start-up queue reaches the maximum number, i.e. whether the start-up queue is not full; if yes, the first writing unit directly writes the received access request into the starting queue, and the starting queue waits for sequentially submitting the access request to the processor for processing.
When the starting queue is full, the first state judging unit of the waiting queue judges whether the access requests in the waiting queue can be completely submitted to the starting queue within the upper limit time; and when the access requests in the waiting queue can be completely submitted to the starting queue within the upper limit time, the second writing unit writes the received access requests into the waiting queue, waits for the starting queue to have a vacancy, and submits the access requests to the starting queue.
In this embodiment, when judging that the starting queue is full, firstly judging whether the access requests in the waiting queue can be submitted to the starting queue in the prescribed upper limit time; if yes, the second writing unit writes the received access request into the waiting queue, submits the received access request to the starting queue after the starting queue has a vacant position, and submits the received access request to the processor for processing through the starting queue.
In a preferred embodiment, the general processing module 20 further comprises: the system comprises a bill issuing unit, a third writing unit, a revisit queue state judging unit and a fourth writing unit.
When the access requests in the waiting queue cannot be completely submitted to the starting queue within the upper limit time, the bill issuing unit issues a bill for the access requests; the bill comprises a time and a check; the time is how much time later the access request needs to be submitted again, the check is whether the access request is submitted again, and the initial value of the check is False; and the third writing unit writes the received access request into the candidate queue when the access request in the waiting queue cannot be completely submitted to the starting queue within the upper limit time.
In this embodiment, when the access request in the waiting queue cannot be submitted to the starting queue in its entirety within the upper limit time, the access request issues a ticket in the form of a time (check) indicating how much later the request needs to be submitted again, and the check indicates whether the request has been submitted again, and is initially False. After that, when the access requests in the waiting queue cannot be all submitted to the starting queue within the upper limit time, the received access requests are written into the candidate queue to wait.
The revisit queue state judging unit judges whether the access request of the revisit queue can be submitted to the starting queue in the upper limit time; and the fourth writing unit writes the access request received in the candidate queue into the re-access queue when the access requests in the re-access queue and the waiting queue can be all submitted to the starting queue within the upper limit time.
In this embodiment, when an access request is written into the candidate queue for waiting, it is determined whether or not the access request in the re-access queue and the waiting queue can be completed within the upper limit time, and if the access request can be completed, the access request received in the candidate queue is written into the re-access queue for waiting.
In a preferred embodiment, the general processing module 20 further comprises: and waiting for a second state judging unit, a fifth writing unit and a sixth writing unit of the queue.
When the access request received in the candidate queue is written into the revisit queue, the second state judging unit of the waiting queue judges whether the waiting queue has a vacant position in time; the fourth writing unit writes the received access request into the waiting queue when the waiting queue has a vacancy in time; and the fifth writing unit returns and writes the access request into the candidate queue when the waiting queue has no empty space in the time, and updates check to true, and resets the time.
In this embodiment, after an access request enters a re-access queue to wait, whether the waiting queue has a space in time is determined, and if the waiting queue has a space, the received access request is written into the waiting queue to wait; if there is no vacancy, the method returns to the candidate queue for waiting, and changes check to true, and resets the time.
In a preferred embodiment, the general processing module 20 further comprises: candidate queue state judging means and re-delivery judging means.
The candidate queue state determination unit may determine whether the access request received in the candidate queue is written into the revisit queue within a time period when the access request received in the candidate queue is not written into the revisit queue, or when the access request is returned from the revisit queue and written into the candidate queue; the re-submitting judging unit judges whether check is true or not when the access request received in the candidate queue is not written into the re-accessing queue in time; if yes, destroying the access request, and informing a target device of the access request to resubmit the access request; if not, the time is reset and check is updated to True.
In this embodiment, when the access request received in the candidate queue is not written into the re-access queue, or the access request is returned from the re-access queue and written into the candidate queue, the access request continues to wait in the candidate queue, if the access request does not enter the re-access queue after the time is exceeded, and the check is true, the request is destroyed, and the normal client is notified to resubmit the request. If check is false, then reset time and change check to true.
Therefore, the embodiment provides a server access management method, improves the traditional server access mechanism, introduces a bill mechanism, monitors the states of an established starting queue, a waiting queue, a revisiting queue and a candidate queue, realizes reasonable queuing and submitting processing of access requests sent by common equipment, and avoids the occurrence of server request congestion.
In a preferred embodiment, the priority processing module 30 includes: a priority start queue state judgment unit, a priority wait queue state judgment unit, a seventh writing unit, and an eighth writing unit.
The priority starting queue stores the access request currently being processed, and the priority starting queue state judging unit judges whether the priority starting queue is not full; and when the priority starting queue is not full, the seventh writing unit writes the received access request into the priority starting queue, and waits for the priority starting queue to submit the access request to the processor for processing.
In this embodiment, the priority start queue stores access requests sent by the priority processing device currently processing. When receiving the access request, the priority processing module 30 firstly judges whether the access request being processed stored in the priority starting queue reaches the maximum number, namely whether the priority starting queue is not full; if so, the seventh writing unit directly writes the received access request into the priority starting queue, and waits for the priority starting queue to sequentially submit the access request to the processor for processing.
When the priority starting queue is full, the priority waiting queue state judging unit judges whether the priority waiting queue is not full; and when the priority waiting queue is not full, the eighth writing unit writes the received access request into the priority waiting queue, waits for the priority starting queue to have a vacancy and submits the access request to the priority starting queue.
In this embodiment, the priority waiting queue stores access requests sent by priority processing apparatuses waiting for processing. When judging that the priority starting queue is full, judging whether the access request in the priority waiting queue reaches the maximum number, namely, whether the priority waiting queue is not full; if yes, the eighth writing unit writes the received access request into the priority waiting queue, submits the access request to the priority starting queue after the priority starting queue has a vacancy, and submits the access request to the processor for processing through the priority starting queue.
Thus, by setting the priority waiting queue and the priority starting queue, the number of simultaneous priority accesses is limited to the size of the priority waiting queue, the priority accesses are always processed or waiting, and access connection is maintained, so that the access request of the priority processing device can be submitted to the server without any pressure, and the wired device can be processed independently of other accesses.
In a preferred embodiment, the priority processing module 30 further comprises: an access path changing unit and a cache server priority processing unit.
It should be noted that, the access path changing unit determines whether the number of times of the same access request received by the common processing module 20 exceeds a preset threshold, if yes, the access request is stored in the cache server; and the cache server priority processing unit drives the access request of the cache server to execute the submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue so that the processor processes the access request when receiving the access request.
In this embodiment, the common processing module 20 and the preferred processing module are arranged in parallel, and the subordinate cache server of the common processing module 20 is added to the priority processing module 30 by default, and on this basis, the access request of the common processing module 20 can be further optimized by monitoring the number of times the same access request is received by the common processing module 20.
Specifically, when the user's normal access request to the same task of the server of the normal processing module 20 exceeds the threshold, the server stores the related content of the access task in the subordinate cache server (stored in the memory), that is, the content does not need to be read from the hard disk (the reading time is reduced). The access path is changed from a direct access server to an access cache server, and the cache server can only process simple transceiving due to limited processing capacity, and the computing task is still processed by the server, but the server can process the response of the cache server without congestion due to the independent priority access mechanism, so that the overall response time is improved.
Therefore, in this embodiment, the access request received by the common processing module for times exceeding the preset threshold is issued to the cache server, and then the access request of the cache server is driven to execute the submitting and processing of the access request in the priority processing module, so that the access request of the common device is converted into the access request of the priority processing device, so as to cope with the situation of the rapid increase of the access flow, and the problem of a large number of access requests in short time, such as collective online registration, can be solved, and the overall efficiency of server access is improved.
The invention provides a server access management system, which reasonably distributes quota of computer resources according to the type of target equipment corresponding to an access request by setting a priority access mechanism, and drives the access request to execute reasonable submitting action according to the states of different queues, thereby reducing the load of a server and improving the overall response speed of the server.
The present embodiment also provides a server access management method, referring to fig. 2, and fig. 2 is a schematic flow chart of the server access management method in the present embodiment.
In this embodiment, a server access management method is used in a server access management system as set forth in the foregoing embodiment, where the method includes:
s1: the filter judges the type of the target equipment corresponding to the access request, when the target equipment is common equipment, the access request is sent to the common processing module, and when the target equipment is priority processing equipment, the access request is sent to the priority processing module;
s2: the common processing module drives the received access request to execute submitting action to the processor according to the states of the created starting queue, waiting queue, revisiting queue and candidate queue so that the processor processes the access request when receiving the access request;
s3: the priority processing module drives the received access request to execute the submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue so that the processor processes the access request when the access request is received.
The specific implementation manner of the server access management method is basically the same as that of each embodiment of the server access management system, and is not repeated here.
In describing embodiments of the present invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "center", "top", "bottom", "inner", "outer", "inside", "outside", etc. indicate orientations or positional relationships based on the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Wherein "inside" refers to an interior or enclosed area or space. "peripheral" refers to the area surrounding a particular component or region.
In the description of embodiments of the present invention, the terms "first," "second," "third," "fourth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", "a third" and a fourth "may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In describing embodiments of the present invention, it should be noted that the terms "mounted," "connected," and "assembled" are to be construed broadly, as they may be fixedly connected, detachably connected, or integrally connected, unless otherwise specifically indicated and defined; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of embodiments of the invention, a particular feature, structure, material, or characteristic may be combined in any suitable manner in one or more embodiments or examples.
In describing embodiments of the present invention, it will be understood that the terms "-" and "-" are intended to be inclusive of the two numerical ranges, and that the ranges include the endpoints. For example, "A-B" means a range greater than or equal to A and less than or equal to B. "A-B" means a range of greater than or equal to A and less than or equal to B.
In the description of embodiments of the present invention, the term "and/or" is merely an association relationship describing an association object, meaning that three relationships may exist, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A server access management system, comprising:
a filter;
a common processing module;
a priority processing module;
the filter judges the type of the target equipment corresponding to the access request, when the target equipment is common equipment, the access request is sent to the common processing module, and when the target equipment is priority processing equipment, the access request is sent to the priority processing module;
the common processing module drives the received access request to execute submitting action to the processor according to the states of the created starting queue, waiting queue, revisiting queue and candidate queue so that the processor processes the access request when receiving the access request;
and the priority processing module drives the received access request to execute submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue so that the processor processes the access request when receiving the access request.
2. The server access management system of claim 1, wherein the filter comprises:
an IP address acquisition unit;
a device type judgment unit;
the IP address acquisition unit acquires the IP address of the target equipment;
the device type judging unit judges whether the IP address of the target device is in a priority IP address table or not; if yes, the target equipment is the priority processing equipment; if not, the target device is a common device.
3. The server access management system according to claim 2, wherein the system further comprises:
a device registration module;
and the equipment registration module writes the IP address of the common processing equipment into a priority IP address table when receiving a registration instruction of the common equipment.
4. The server access management system according to claim 1, wherein the general processing module includes:
a start queue state judging unit;
a waiting queue first state judgment unit;
a first writing unit;
a second writing unit;
the starting queue stores the access request which is currently being processed, and the starting queue state judging unit judges whether the starting queue is not full;
when the starting queue is not full, the first writing unit writes the received access request into the starting queue, and waits for the starting queue to submit the access request to the processor for processing;
when the starting queue is full, the first state judging unit of the waiting queue judges whether the access requests in the waiting queue can be submitted to the starting queue in the upper limit time;
and when the access requests in the waiting queue can be completely submitted to the starting queue within the upper limit time, the second writing unit writes the received access requests into the waiting queue, waits for the starting queue to have a vacancy, and then submits the access requests to the starting queue.
5. The server access management system according to claim 4, wherein the general processing module further comprises:
a bill issuing unit;
a third writing unit;
revisiting the queue state judging unit;
a fourth writing unit;
the bill issuing unit issues a bill for the access request when the access request in the waiting queue cannot be completely submitted to the starting queue within the upper limit time; the bill comprises a time and a check; the time is how much time later the access request needs to be submitted again, the check is whether the access request is submitted again, and the initial value of the check is False;
the third writing unit writes the received access request into a candidate queue when the access request in the waiting queue cannot be completely submitted to the starting queue within the upper limit time;
the revisit queue state judging unit judges whether the access request of the revisit queue can be submitted to the starting queue in the upper limit time;
and the fourth writing unit writes the access request received in the candidate queue into the revisit queue when the access requests in the revisit queue and the waiting queue can be all submitted to the starting queue within the upper limit time.
6. The server access management system according to claim 5, wherein the general processing module further comprises:
a waiting queue second state judgment unit;
a fifth writing unit;
a sixth writing unit;
the second state judging unit of the waiting queue judges whether the waiting queue has a vacant position in time when the access request received in the candidate queue is written into the revisit queue;
the fourth writing unit writes the received access request into the waiting queue when the waiting queue has a vacancy in time;
and when the waiting queue has no empty space in the time, the fifth writing unit returns and writes the access request into the waiting queue, updates check to true, and resets the time.
7. The server access management system according to claim 6, wherein the general processing module further comprises:
a candidate queue state judgment unit;
a re-submission judging unit;
the candidate queue state judging unit judges whether the access request received in the candidate queue is written into the revisit queue in time when the access request received in the candidate queue is not written into the revisit queue or the access request is returned from the revisit queue and is written into the candidate queue;
the re-submitting judging unit judges whether check is true or not when the access request received in the candidate queue is not written into the re-accessing queue in time; if yes, destroying the access request, and informing a target device of the access request to resubmit the access request; if not, the time is reset and check is updated to True.
8. The server access management system according to claim 1, wherein the priority processing module includes:
a priority start queue state judgment unit;
a priority waiting queue state judgment unit;
a seventh writing unit;
an eighth writing unit;
the priority starting queue stores the access request which is currently being processed, and the priority starting queue state judging unit judges whether the priority starting queue is not full;
when the priority starting queue is not full, the seventh writing unit writes the received access request into the priority starting queue, and waits for the priority starting queue to submit the access request to the processor for processing;
the priority waiting queue state judging unit judges whether the priority waiting queue is not full or not when the priority starting queue is full;
and when the priority waiting queue is not full, the eighth writing unit writes the received access request into the priority waiting queue, waits for the priority starting queue to have a vacant position and submits the access request to the priority starting queue.
9. The server access management system of claim 8, wherein the priority processing module further comprises:
an access path changing unit;
a cache server priority processing unit;
the access path changing unit judges whether the number of times of the same access request received by the common processing module exceeds a preset threshold value, if so, the access request is stored in the cache server;
the cache server priority processing unit drives the access request of the cache server to execute submitting action to the processor according to the states of the created priority starting queue and priority waiting queue, so that the processor processes the access request when receiving the access request.
10. A server access management method for a server access management system according to any one of claims 1 to 9, the method comprising:
s1: the filter judges the type of the target equipment corresponding to the access request, when the target equipment is common equipment, the access request is sent to the common processing module, and when the target equipment is priority processing equipment, the access request is sent to the priority processing module;
s2: the common processing module drives the received access request to execute submitting action to the processor according to the states of the created starting queue, waiting queue, revisiting queue and candidate queue so that the processor processes the access request when receiving the access request;
s3: the priority processing module drives the received access request to execute the submitting action to the processor according to the states of the created priority starting queue and the priority waiting queue so that the processor processes the access request when the access request is received.
CN202310488394.9A 2023-05-04 2023-05-04 Server access management system and method Active CN116208680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310488394.9A CN116208680B (en) 2023-05-04 2023-05-04 Server access management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310488394.9A CN116208680B (en) 2023-05-04 2023-05-04 Server access management system and method

Publications (2)

Publication Number Publication Date
CN116208680A true CN116208680A (en) 2023-06-02
CN116208680B CN116208680B (en) 2023-07-14

Family

ID=86508043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310488394.9A Active CN116208680B (en) 2023-05-04 2023-05-04 Server access management system and method

Country Status (1)

Country Link
CN (1) CN116208680B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414751A (en) * 2001-10-22 2003-04-30 富士通株式会社 Service control network, server, network device, service information distribution method and service information allocator
CN1531250A (en) * 2003-03-13 2004-09-22 ��Ϊ�������޹�˾ Repeating controlling method for customer message
CN101562841A (en) * 2009-06-08 2009-10-21 华为技术有限公司 Service scheduling method, device and system thereof
CN102006282A (en) * 2010-10-26 2011-04-06 福州星网视易信息系统有限公司 Centralized control method for database access in client/server mode
CN102999377A (en) * 2012-11-30 2013-03-27 北京东方通科技股份有限公司 Service concurrent access control method and device
CN103095853A (en) * 2013-02-27 2013-05-08 北京航空航天大学 Cloud data center calculation capacity management system
CN104714835A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Data access processing method and device
US20160094611A1 (en) * 2014-09-30 2016-03-31 International Business Machines Corporation Managing requests to a high utilization website
CN106789726A (en) * 2016-12-20 2017-05-31 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority
CN110971561A (en) * 2018-09-28 2020-04-07 阿里巴巴集团控股有限公司 Access request processing method, device and equipment
CN111162935A (en) * 2019-12-17 2020-05-15 中国科学院计算技术研究所 Network communication method and system based on packet-level data distribution
CN111488135A (en) * 2019-01-28 2020-08-04 珠海格力电器股份有限公司 Current limiting method and device for high-concurrency system, storage medium and equipment
CN112583740A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Network communication method and device
CN115129455A (en) * 2022-07-22 2022-09-30 济南浪潮数据技术有限公司 Method, device, server and medium for accessing shared resources

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414751A (en) * 2001-10-22 2003-04-30 富士通株式会社 Service control network, server, network device, service information distribution method and service information allocator
CN1531250A (en) * 2003-03-13 2004-09-22 ��Ϊ�������޹�˾ Repeating controlling method for customer message
CN101562841A (en) * 2009-06-08 2009-10-21 华为技术有限公司 Service scheduling method, device and system thereof
CN102006282A (en) * 2010-10-26 2011-04-06 福州星网视易信息系统有限公司 Centralized control method for database access in client/server mode
CN102999377A (en) * 2012-11-30 2013-03-27 北京东方通科技股份有限公司 Service concurrent access control method and device
CN103095853A (en) * 2013-02-27 2013-05-08 北京航空航天大学 Cloud data center calculation capacity management system
CN104714835A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Data access processing method and device
US20160094611A1 (en) * 2014-09-30 2016-03-31 International Business Machines Corporation Managing requests to a high utilization website
CN106789726A (en) * 2016-12-20 2017-05-31 兴唐通信科技有限公司 A kind of high concurrent service resource allocation method based on service priority
CN110971561A (en) * 2018-09-28 2020-04-07 阿里巴巴集团控股有限公司 Access request processing method, device and equipment
CN111488135A (en) * 2019-01-28 2020-08-04 珠海格力电器股份有限公司 Current limiting method and device for high-concurrency system, storage medium and equipment
CN112583740A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Network communication method and device
CN111162935A (en) * 2019-12-17 2020-05-15 中国科学院计算技术研究所 Network communication method and system based on packet-level data distribution
CN115129455A (en) * 2022-07-22 2022-09-30 济南浪潮数据技术有限公司 Method, device, server and medium for accessing shared resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘乐;胡鑫;余伟;丁辉;: "一种高并发服务处理的优化方法", 信息技术与信息化, no. 03, pages 28 - 30 *

Also Published As

Publication number Publication date
CN116208680B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US8521923B2 (en) Storage-side storage request management
US9507627B2 (en) Methods and systems for batch processing in an on-demand service environment
US6711607B1 (en) Dynamic scheduling of task streams in a multiple-resource system to ensure task stream quality of service
JP4569846B2 (en) I / O node control method and method
US8190743B2 (en) Most eligible server in a common work queue environment
WO2013029487A1 (en) Resource allocation method and resource management platform
US9798591B2 (en) Method, apparatus, and chip for implementing mutually-exclusive operation of multiple threads
US11947534B2 (en) Connection pools for parallel processing applications accessing distributed databases
WO2020259082A1 (en) Cache allocation method and device, storage medium, and electronic device
CN111309805B (en) Data reading and writing method and device for database
CN111737168A (en) Cache system, cache processing method, device, equipment and medium
CN112163001A (en) High-concurrency query method, intelligent terminal and storage medium
CN113392863A (en) Method and device for acquiring machine learning training data set and terminal
CN100585579C (en) Method and system for managing volumes in volume groups
Ungureanu et al. Effective load balancing for cluster-based servers employing job preemption
CN114785739A (en) Method, device, equipment and medium for controlling service quality of logical volume
CN116208680B (en) Server access management system and method
CN106326143B (en) A kind of caching distribution, data access, data transmission method for uplink, processor and system
CN107229424B (en) Data writing method for distributed storage system and distributed storage system
CN110851483B (en) Method, apparatus, electronic device, and medium for screening objects
CN115905042A (en) Data processing method and related equipment
JP7367263B2 (en) Elastic column cache for cloud databases
US20240160487A1 (en) Flexible gpu resource scheduling method in large-scale container operation environment
CN112148683A (en) File collection method and device
CN111831397A (en) Method, device, equipment and storage medium for processing IO (input/output) request

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