CN114785794B - Resource allocation method, device, equipment, medium and system - Google Patents

Resource allocation method, device, equipment, medium and system Download PDF

Info

Publication number
CN114785794B
CN114785794B CN202210325445.1A CN202210325445A CN114785794B CN 114785794 B CN114785794 B CN 114785794B CN 202210325445 A CN202210325445 A CN 202210325445A CN 114785794 B CN114785794 B CN 114785794B
Authority
CN
China
Prior art keywords
node
resource
processed
resource request
request
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
CN202210325445.1A
Other languages
Chinese (zh)
Other versions
CN114785794A (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202210325445.1A priority Critical patent/CN114785794B/en
Publication of CN114785794A publication Critical patent/CN114785794A/en
Application granted granted Critical
Publication of CN114785794B publication Critical patent/CN114785794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the disclosure provides a resource allocation method, a device, equipment, a medium and a system. The method comprises the following steps: receiving a resource request to be processed sent by a resource requesting party; if the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node; and if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node for the resource requester based on the to-be-processed resource request. By adopting the technical scheme, the embodiment of the disclosure can reduce the configuration cost of the resource distribution system and reduce the access difficulty of the nodes of the special ports.

Description

Resource allocation method, device, equipment, medium and system
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a resource allocation method, a device, equipment, a medium and a system.
Background
Currently, the field of content delivery networks (Content Delivery Network, CDN) generally introduces a portion of resources of a particular port (e.g., a non-80 port) as a resource supplement to achieve the goal of cost reduction.
However, in the prior art, the access difficulty of the resources of the special port is high, and the requirements cannot be met.
Disclosure of Invention
The embodiment of the disclosure provides a resource allocation method, a device, equipment, a medium and a system, so as to reduce the access difficulty of resources of a special port.
In a first aspect, an embodiment of the present disclosure provides a resource allocation method, the method being performed by a first node, the method including:
Receiving a resource request to be processed sent by a resource requesting party;
If the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node;
And if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node for the resource requester based on the to-be-processed resource request.
In a second aspect, an embodiment of the present disclosure further provides a resource allocation apparatus, where the apparatus is configured in a first node, and the apparatus includes:
The request receiving module is used for receiving a resource request to be processed sent by a resource requesting party;
the node determining module is used for determining a resource allocation node of the resource request to be processed to allocate resources for the resource requesting party in response to the condition that the resource request to be processed is a target resource request, wherein the resource allocation node is the first node or the second node;
The first allocation module is used for responding to the condition that the to-be-processed resource request is not a target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating resources in the first node for the resource requester based on the to-be-processed resource request.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
One or more processors;
a memory for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the resource allocation method as described in embodiments of the present disclosure.
In a fourth aspect, the embodiments of the present disclosure further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a resource allocation method according to the embodiments of the present disclosure.
In a fifth aspect, the disclosed embodiments also provide a computer program product, which when executed by a computer, causes the computer to implement the resource allocation method according to the disclosed embodiments.
A sixth method, an embodiment of the present disclosure further provides a resource allocation system, including a first node and at least one second node, where a communication address of the resource allocation system is a communication address of the first node, and the first node is configured to:
Receiving a resource request to be processed sent by a resource requesting party;
If the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node;
And if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node to the resource requester based on the to-be-processed resource request.
The resource allocation method, the device, the equipment, the medium and the system provided by the embodiment of the disclosure receive a resource request to be processed sent by a resource requester through a first node; if the to-be-processed resource request is a target resource request, determining a resource allocation node of the to-be-processed resource request to allocate resources for the resource requester, wherein the resource allocation node is a first node or a second node; and if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node for the resource requester based on the to-be-processed resource request. By adopting the technical scheme, the embodiment of the disclosure shunts the received target resource request and directly processes the received non-target resource request, thereby reducing the configuration cost of the resource distribution system and reducing the access difficulty of the node of the special port.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart of a resource allocation method according to an embodiment of the present disclosure;
fig. 2 is a flow chart of another resource allocation method according to an embodiment of the present disclosure;
Fig. 3 is a block diagram of a resource allocation device according to an embodiment of the present disclosure;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure;
Fig. 5 is a schematic structural diagram of a resource allocation system according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Fig. 1 is a flow chart of a resource allocation method according to an embodiment of the present disclosure. The method may be performed by a resource allocation device, wherein the device may be implemented in software and/or hardware, may be configured in an electronic device, and typically may be configured in a server, such as a first node. The resource allocation method provided by the embodiment of the disclosure is suitable for a scene of resource allocation based on nodes configured with different communication ports. As shown in fig. 1, the resource allocation method provided in this embodiment may include:
s101, receiving a pending resource request sent by a resource requester, and executing S102 or S103.
The resource request to be processed can be understood as a resource request which needs to be processed currently, and the resource request can be used for requesting a server in a resource allocation system to allocate resources for the server. Accordingly, a resource requestor may be understood as a sender of the pending resource request, such as a client that sends the pending resource request, etc.
Specifically, when the resource requesting party needs to allocate the resource, the resource requesting party may send a resource request to the first node based on the communication address of the first node in the resource allocation system (i.e., the communication address exposed by the resource allocation system). Accordingly, a first node in the resource allocation system may receive a resource request (i.e., a pending resource request) sent by a resource requester to process it.
S102, if the to-be-processed resource request is a target resource request, determining a resource allocation node of the to-be-processed resource request to allocate resources for the resource requester, and ending the operation, wherein the resource allocation node is a first node or a second node.
The target resource request may be a resource request that can be processed by both the first node and the second node, for example, a resource request that meets a preset condition. The resource allocation node of the resource request to be processed may be understood as a node that processes the resource request to be processed, i.e. a node that provides resources for a resource requester of the request to be processed, which may be a first node or a second node.
Specifically, after receiving a to-be-processed resource request sent by a resource requesting party, the first node may determine whether the to-be-processed resource request is a target resource request, that is, determine whether a resource may be allocated to the resource requesting party by the second node, if it is determined that the to-be-processed resource request is the target resource request, determine a resource allocation node of the to-be-processed resource request according to a preset splitting rule, e.g., randomly determine the resource allocation node of the to-be-processed resource request, or randomly perform splitting according to a preset splitting proportion or a currently determined splitting proportion, and determine the resource allocation node of the to-be-processed resource request. Thus, after determining the resource allocation node of the pending resource request, resources may be allocated by the resource allocation node for the resource requester.
In one embodiment, after the determining the resource allocation node of the pending resource request, the method further includes: if the resource allocation node is the first node, allocating resources in the first node to the resource requester based on the resource request to be processed; and if the resource allocation node is a second node, sending redirection information to the resource requester, wherein the redirection information is used for indicating the resource requester to request the second node to allocate resources for the resource requester.
Wherein the redirection information may be used to instruct the resource requester to request the second node to allocate resources for it, e.g. to instruct the resource requester to send a resource request to the second node. The redirection information may be temporary redirection information indicating that the resource requester is temporarily redirected to the second node.
For example, when determining that the resource allocation node of the resource request to be processed is the first node itself, that is, when determining that the resource allocation node itself provides the resource for the resource requester of the resource request to be processed, the first node may directly process the resource request to be processed so as to allocate the resource for the resource requester.
When the first node determines that the resource allocation node of the resource request to be processed is the second node, that is, when the second node determines that the resource is provided by the second node for the resource requester of the resource request to be processed, the first node may send redirection information carrying the communication address of the second node to the resource requester of the resource request to be processed. Therefore, when the resource requester for processing the resource request receives the redirection information sent by the first node, the resource requester can send the resource request to the second node based on the communication address carried in the redirection information. Accordingly, when receiving a resource request sent by a resource requester, the second node may process the resource request to allocate resources for the resource requester.
It may be appreciated that, when the first node determines that the resource allocation node of the pending resource request is the second node, the first node may also directly forward the pending resource request to the second node. Therefore, when the second node receives the to-be-processed resource request forwarded by the first node, the to-be-processed resource request can be processed, so that resources are allocated to a resource requester of the to-be-processed resource request.
In this embodiment, the processing manner of the resource request (including the resource request to be processed) may be flexibly set, for example, when the first node/second node processes a certain resource request, the first node/second node may parse the resource request, determine the first resource information (such as the resource type and/or the resource size) of the resource requested to be allocated by the resource request, allocate, in the resources of the first node, the resource corresponding to the first resource information, and return the second resource information (such as the resource identification information, etc.) of the allocated resource to the resource requester of the resource request to be processed, so that the resource requester uses the resources allocated by the first node/second node for the resource requester.
S103, if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating resources in the first node for the resource requester based on the to-be-processed resource request.
In this embodiment, when it is determined that the pending resource request is not a target resource request, that is, when it is determined that it is not possible to allocate resources for the resource requester by the second node, then the first node may allocate resources for the resource requester. Therefore, when the first node determines that the to-be-processed resource request is not the target resource request, the first node can directly process the to-be-processed resource request so as to allocate resources for a resource requester of the to-be-processed resource request.
In this embodiment, at least two types of resource servers of the first node and the second node may be configured in the resource allocation system, for example, one first node and at least one second node may be configured in the resource allocation system. The first node and the second node preferably have different communication ports. The communication port of the first node may be a general port such as an 80 port or a 443 port, and the communication port of the second node may be a special port other than the 80 port and the 443 port. The resource allocation system may externally expose a communication address of the first node, split each received target resource request by the first node, and jointly carry a job of processing each received target resource request by the first node and the second node. Therefore, one node does not need to be independently configured in the resource distribution system as a shunting node, and each received resource request is shunted to other nodes in the system through the shunting node for processing, so that the access difficulty of the node of the special port can be reduced, the impact on a traditional resource system is avoided, the second node can be configured as a resource supplement, and the configuration cost of the resource distribution system is reduced.
In this embodiment, the preset condition for determining whether the resource request to be processed is the target resource request may be flexibly set according to needs, for example, whether the resource request to be processed is the target resource request may be determined based on whether the resource requester of the resource request to be processed is a specific resource requester that can only provide resources by the first node. At this time, preferably, after receiving the pending resource request sent by the resource requester, the method further includes: and acquiring the identification information of the resource requesting party carried in the resource request to be processed, and determining whether the resource request to be processed is a target resource request according to the identification information.
For example, a requester list of specific resource requesters (such as users having high requirements on stability of the resource) that can only provide the resource by the first node may be preset and stored in the first node; therefore, after receiving the to-be-processed resource request sent by the resource request party, the first node can acquire the identification information of the resource request party carried in the to-be-processed resource request, judge whether the identification information is positioned in the request party list, if so, indicate that the resource request party can only provide resources by the first node, and at the moment, can judge that the to-be-processed resource request is not a target resource request; if not, the resource request party can provide the resource by the first node or the second node, and at this time, the resource request to be processed can be determined to be the target resource request.
The resource allocation method provided by the embodiment receives a resource request to be processed sent by a resource requester; if the to-be-processed resource request is a target resource request, determining a resource allocation node of the to-be-processed resource request to allocate resources for the resource requester, wherein the resource allocation node is a first node or a second node; and if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node for the resource requester based on the to-be-processed resource request. By adopting the technical scheme, the method and the device for distributing the received target resource requests and directly processing the received non-target resource requests can reduce the configuration cost of a resource distribution system and reduce the access difficulty of nodes of special ports.
Fig. 2 is a flowchart of another resource allocation method according to an embodiment of the present disclosure. The aspects of this embodiment may be combined with one or more of the alternatives of the embodiments described above. Optionally, if the resource allocation node is the second node, the sending redirection information to the resource requester includes: if the resource allocation node is a second node and the second node is in a normal state, sending redirection information to the resource requester; the method further comprises the steps of: and if the resource allocation node is a second node and the second node is in an abnormal state, allocating the resource in the first node for the resource requester based on the pending resource request.
Optionally, the determining the resource allocation node of the pending resource request includes: acquiring the resource request splitting ratio of the first node and the second node; and splitting the received resource requests according to the resource request splitting proportion to determine the resource allocation node of the resource requests to be processed, wherein the resource requests comprise the resource requests to be processed.
Accordingly, as shown in fig. 2, the resource allocation method provided in this embodiment may include:
S201, receiving a pending resource request sent by a resource requester, and executing S202 or S206.
S202, if the resource request to be processed is a target resource request, acquiring the resource request splitting ratio of the first node and the second node.
The split ratio of the resource request of the first node and the resource request of the second node may be understood as the split ratio of the first node and the second node when the first node splits the received resource request (including the resource request to be processed).
Specifically, when the first node determines that the to-be-processed resource request sent by the resource requester is a target resource request that can be processed by both the first node and the second node, the first node may acquire a resource request splitting ratio between the first node and the second node, so as to split each received resource request (including the to-be-processed resource request) based on the resource request splitting ratio.
In this embodiment, the resource request splitting ratio of the first node and the second node may be preset by a developer; the determining may also be based on a preset rule, for example, may be determined according to a remaining resource ratio of the first node and the second node, where, optionally, the resource allocation method provided in this embodiment further includes: and acquiring the residual resource proportion of the first node and the second node according to a preset condition, and updating the resource request split proportion of the first node and the second node based on the residual resource proportion.
The first node may obtain the remaining resources of the first node and the remaining resources of the second node according to a preset condition (e.g., periodically), calculate a ratio between the remaining resources of the first node and the remaining resources of the second node, as a remaining resource ratio of the first node to the second node, and update a resource request splitting ratio of the first node to the second node to the remaining resource ratio. Therefore, when the first node determines that the to-be-processed resource request is the target resource request, the updated remaining resource proportion can be obtained so as to shunt the to-be-processed resource request.
It will be appreciated that one or more second nodes may be configured in the resource allocation system, and when a plurality of second nodes are configured, the resource request split ratio may be the resource request split ratio between the first node and each of the second nodes.
S203, splitting the received resource request according to the resource request splitting proportion to determine a resource allocation node of the resource request to be processed, and executing S204 or S205, wherein the resource request comprises the resource request to be processed, and the resource allocation node is the first node or the second node.
For example, after the first node obtains the resource request splitting ratio between the first node and the second node, the first node may randomly split each received target resource request (including the to-be-processed resource request) according to the resource request splitting ratio, and determine a resource allocation node of the to-be-processed resource request based on the splitting result, for example, if the splitting result is that the to-be-processed resource request is processed by the first node, determine the first node as the resource allocation node of the to-be-processed resource request; and if the shunting result is that the second node processes the resource request to be processed, determining the second node as a resource allocation node of the resource request to be processed.
S204, if the resource allocation node is the first node, or the resource allocation node is the second node and the second node is in an abnormal state, allocating the resource in the first node for the resource requester based on the resource request to be processed, and ending the operation.
S205, if the resource allocation node is a second node and the second node is in a normal state, sending redirection information to the resource requester, wherein the redirection information is used for indicating the resource requester to request the second node to allocate resources for the resource requester, and ending the operation.
The normal state can be understood as a normal working state, and when the second node is in the normal state, the second node can receive and process the resource request sent by the resource requester; an abnormal state may be understood as an abnormal working state, such as a failure state, when in the abnormal state, the second node cannot receive the resource request sent by the resource requester and/or cannot process the received resource request.
In this embodiment, when the resource allocation node of the resource request to be processed is the first node, the first node may directly process the resource request to be processed, and allocate the resource in the first node for the resource requester of the resource request to be processed.
When the resource allocation node of the resource request to be processed is a second node, the first node can further judge whether the second node is in a normal state, namely, judge whether the second node can provide resources for a resource requester of the resource request to be processed, if so, send redirection information to the resource requester of the resource request to be processed so as to indicate that the resource request requests resources for the second node; if not, the resource request to be processed is directly processed, and the resources in the first node are allocated for the resource requesting party of the resource request to be processed, so that the condition that the resource requesting party requests the resources from the second node when the second node is in an abnormal state is avoided, the probability of successfully allocating the resources for the resource requesting party is improved, the resource allocation efficiency is improved, and the waiting time of the resource requesting party is reduced.
S206, if the to-be-processed resource request is not the target resource request, using the first node as a resource allocation node of the to-be-processed resource request, and allocating the resources in the first node for the resource requester based on the to-be-processed resource request.
According to the resource allocation method provided by the embodiment, the received resource request is shunted based on the resource request shunting proportion between the first node and the second node, so that the resource allocation node of the resource request to be processed is determined, when the resource allocation node is the second node, whether the second node is in a normal state is further determined, and when the second node is in the normal state, redirection information is sent to a resource requester; when the second node is in an abnormal state, resources in the first node are allocated to the resource requester. By adopting the technical scheme, the configuration cost of the resource allocation system and the access difficulty of the nodes of the special ports can be reduced, the condition that the resource request sent by the resource requester is unresponsive is reduced, the resource allocation efficiency is improved, and the waiting time of the resource requester is reduced.
Fig. 3 is a structural block of a resource allocation device according to an embodiment of the present disclosure. The apparatus may be implemented in software and/or hardware, may be configured in an electronic device, typically in a server (e.g. a first node), and may allocate resources for a resource requester by performing a resource allocation method. As shown in fig. 3, the resource allocation apparatus provided in this embodiment may include: a request receiving module 301, a node determining module 302 and a first allocation module 303, wherein,
A request receiving module 301, configured to receive a to-be-processed resource request sent by a resource requester;
A node determining module 302, configured to determine, in response to a situation that the resource request to be processed is a target resource request, a resource allocation node of the resource request to be processed, so as to allocate a resource for the resource requester, where the resource allocation node is the first node or the second node;
The first allocation module 303 is configured to, in response to a situation that the pending resource request is not a target resource request, take the first node as a resource allocation node of the pending resource request, and allocate, based on the pending resource request, resources in the first node to the resource requester.
The resource allocation device provided by the embodiment receives a resource request to be processed sent by a resource requester through a request receiving module; determining a resource allocation node of the resource request to be processed by a node determination module in response to the condition that the resource request to be processed is a target resource request so as to allocate resources for the resource request party, wherein the resource allocation node is a first node or a second node; and responding to the condition that the to-be-processed resource request is not the target resource request through the first allocation module, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating resources in the first node for the resource requester based on the to-be-processed resource request. By adopting the technical scheme, the method and the device for distributing the received target resource requests and directly processing the received non-target resource requests can reduce the configuration cost of a resource distribution system and reduce the access difficulty of nodes of special ports.
Further, the resource allocation apparatus provided in this embodiment may further include: the second allocation module is used for responding to the condition that the resource allocation node is the first node after the resource allocation node of the resource request to be processed is determined, and allocating the resource in the first node for the resource requester based on the resource request to be processed; the information sending module is used for responding to the condition that the resource allocation node is a second node and sending redirection information to the resource requester, wherein the redirection information is used for indicating the resource requester to request the second node to allocate resources for the resource requester.
In the above solution, the information sending module may be configured to: responding to the condition that the resource allocation node is a second node and the second node is in a normal state, and sending redirection information to the resource requester; the resource allocation device provided in this embodiment may further include: and the third allocation module is used for allocating the resources in the first node for the resource requester based on the resource request to be processed in response to the condition that the resource allocation node is a second node and the second node is in an abnormal state.
In the above aspect, the node determining module 302 may include: the ratio acquisition unit is used for acquiring the resource request splitting ratio of the first node and the second node; and the node determining unit is used for shunting the received resource requests according to the resource request shunting proportion so as to determine the resource allocation node of the resource requests to be processed, wherein the resource requests comprise the resource requests to be processed.
Further, the resource allocation apparatus provided in this embodiment may further include: and the proportion updating module is used for acquiring the residual resource proportion of the first node and the second node according to preset conditions and updating the resource request distribution proportion of the first node and the second node based on the residual resource proportion.
Further, the resource allocation apparatus provided in this embodiment may further include: the information acquisition module is used for acquiring the identification information of the resource request party carried in the resource request party to be processed after the resource request party to be processed sent by the resource request party is received, and determining whether the resource request to be processed is a target resource request according to the identification information.
In the above scheme, the first node and the second node may have different communication ports.
The resource allocation device provided by the embodiment of the disclosure can execute the resource allocation method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of executing the resource allocation method. Technical details not described in detail in this embodiment may be found in the resource allocation method provided in any embodiment of the present disclosure.
Referring now to fig. 4, a schematic diagram of an electronic device (e.g., server) 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 4, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
In general, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 shows an electronic device 400 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communications device 409, or from storage 408, or from ROM 402. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 401.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a resource request to be processed sent by a resource requesting party; if the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node; and if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node for the resource requester based on the to-be-processed resource request.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Fig. 5 is a schematic structural diagram of a resource allocation system according to an embodiment of the present disclosure. The resource allocation system is suitable for the scene of resource allocation based on different communication nodes configured inside the resource allocation system. As shown in fig. 5 (only one second node 52 is shown in the drawing), the resource allocation system provided in this embodiment may include: a first node 51 and at least one second node 52, the communication address of the resource allocation system being the communication address of the first node 51, the first node 51 being configured to:
Receiving a resource request to be processed sent by a resource requesting party;
If the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node;
And if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node to the resource requester based on the to-be-processed resource request.
The resource allocation system provided by the embodiment configures a first node and at least one second node, sets the communication address of the first node as the communication address of the first node, and receives a resource request to be processed sent by a resource requester through the first node; if the to-be-processed resource request is a target resource request, determining a resource allocation node of the to-be-processed resource request to allocate resources for the resource requester, wherein the resource allocation node is a first node or a second node; and if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node for the resource requester based on the to-be-processed resource request. By adopting the technical scheme, the method and the device for distributing the received target resource requests and directly processing the received non-target resource requests can reduce the configuration cost of a resource distribution system and reduce the access difficulty of nodes of special ports.
Example 1 provides a resource allocation method performed by a first node according to one or more embodiments of the present disclosure, the method comprising
Receiving a resource request to be processed sent by a resource requesting party;
If the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node;
And if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node for the resource requester based on the to-be-processed resource request.
According to one or more embodiments of the present disclosure, example 2 further includes, after the determining the resource allocation node of the pending resource request, according to the method of example 1:
If the resource allocation node is the first node, allocating resources in the first node to the resource requester based on the resource request to be processed;
and if the resource allocation node is a second node, sending redirection information to the resource requester, wherein the redirection information is used for indicating the resource requester to request the second node to allocate resources for the resource requester.
According to one or more embodiments of the present disclosure, example 3 is the method of example 2, the sending, if the resource allocation node is a second node, redirection information to the resource requester, comprising:
If the resource allocation node is a second node and the second node is in a normal state, sending redirection information to the resource requester;
The method further comprises the steps of:
And if the resource allocation node is a second node and the second node is in an abnormal state, allocating the resource in the first node for the resource requester based on the pending resource request.
According to one or more embodiments of the present disclosure, example 4 is the method of example 1, the determining the resource allocation node of the pending resource request, comprising:
Acquiring the resource request splitting ratio of the first node and the second node;
And splitting the received resource requests according to the resource request splitting proportion to determine the resource allocation node of the resource requests to be processed, wherein the resource requests comprise the resource requests to be processed.
According to one or more embodiments of the present disclosure, the method of example 5 according to example 4, further comprising:
And acquiring the residual resource proportion of the first node and the second node according to a preset condition, and updating the resource request split proportion of the first node and the second node based on the residual resource proportion.
According to one or more embodiments of the present disclosure, example 6, the method according to any one of examples 1 to 5, after the receiving the pending resource request sent by the resource requester, further includes:
and acquiring the identification information of the resource requesting party carried in the resource request to be processed, and determining whether the resource request to be processed is a target resource request according to the identification information.
According to one or more embodiments of the present disclosure, example 7 is a method according to any one of examples 1-5, the first node and the second node having different communication ports.
Example 8 provides a resource allocation apparatus configured within a first node, the apparatus comprising
The request receiving module is used for receiving a resource request to be processed sent by a resource requesting party;
the node determining module is used for determining a resource allocation node of the resource request to be processed to allocate resources for the resource requesting party in response to the condition that the resource request to be processed is a target resource request, wherein the resource allocation node is the first node or the second node;
The first allocation module is used for responding to the condition that the to-be-processed resource request is not a target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating resources in the first node for the resource requester based on the to-be-processed resource request.
Example 9 provides an electronic device according to one or more embodiments of the present disclosure, comprising:
One or more processors;
a memory for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the resource allocation method as in any of examples 1-7.
In accordance with one or more embodiments of the present disclosure, example 10 provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a resource allocation method as in any of examples 1-7.
Example 11 provides a computer program product that, when executed by a computer, causes the computer to implement a resource allocation method as in any of examples 1-7, according to one or more embodiments of the present disclosure.
In accordance with one or more embodiments of the present disclosure, example 12 provides a resource allocation system including a first node and at least one second node, the communication address of the resource allocation system being the communication address of the first node, the first node to:
Receiving a resource request to be processed sent by a resource requesting party;
If the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node;
And if the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating the resource in the first node to the resource requester based on the to-be-processed resource request.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (10)

1. A method of resource allocation, the method performed by a first node in a resource allocation system, the resource allocation system comprising the first node and at least one second node, the first node and the second node being different types of nodes, a communication address of the resource allocation system being a communication address of the first node, the method comprising:
Receiving a resource request to be processed sent by a resource requesting party;
if the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node; the target resource request is a resource request which can be processed by the second node;
if the to-be-processed resource request is not the target resource request, the first node is used as a resource allocation node of the to-be-processed resource request, and resources in the first node are allocated to the resource requester based on the to-be-processed resource request;
the determining the resource allocation node of the pending resource request includes:
Acquiring the resource request splitting ratio of the first node and the second node;
And splitting the received resource requests according to the resource request splitting proportion to determine the resource allocation node of the resource requests to be processed, wherein the resource requests comprise the resource requests to be processed.
2. The method of claim 1, further comprising, after said determining the resource allocation node for the pending resource request:
If the resource allocation node is the first node, allocating resources in the first node to the resource requester based on the resource request to be processed;
and if the resource allocation node is a second node, sending redirection information to the resource requester, wherein the redirection information is used for indicating the resource requester to request the second node to allocate resources for the resource requester.
3. The method of claim 2, wherein the sending redirection information to the resource requestor if the resource allocation node is a second node comprises:
If the resource allocation node is a second node and the second node is in a normal state, sending redirection information to the resource requester;
The method further comprises the steps of:
And if the resource allocation node is a second node and the second node is in an abnormal state, allocating the resource in the first node for the resource requester based on the pending resource request.
4. The method as recited in claim 1, further comprising:
And acquiring the residual resource proportion of the first node and the second node according to a preset condition, and updating the resource request split proportion of the first node and the second node based on the residual resource proportion.
5. The method according to any of claims 1-4, further comprising, after said receiving a pending resource request sent by a resource requester:
and acquiring the identification information of the resource requesting party carried in the resource request to be processed, and determining whether the resource request to be processed is a target resource request according to the identification information.
6. The method of any of claims 1-4, wherein the first node and the second node have different communication ports.
7. A resource allocation apparatus, the apparatus being configured in a first node in a resource allocation system, the resource allocation system comprising the first node and at least one second node, the first node and the second node being different types of nodes, a communication address of the resource allocation system being a communication address of the first node, the apparatus comprising:
The request receiving module is used for receiving a resource request to be processed sent by a resource requesting party;
The node determining module is used for determining a resource allocation node of the resource request to be processed to allocate resources for the resource requesting party in response to the condition that the resource request to be processed is a target resource request, wherein the resource allocation node is the first node or the second node; the target resource request is a resource request which can be processed by the second node;
the first allocation module is used for responding to the condition that the to-be-processed resource request is not the target resource request, taking the first node as a resource allocation node of the to-be-processed resource request, and allocating resources in the first node for the resource requester based on the to-be-processed resource request;
The node determination module includes:
the ratio acquisition unit is used for acquiring the resource request splitting ratio of the first node and the second node;
And the node determining unit is used for shunting the received resource requests according to the resource request shunting proportion so as to determine the resource allocation node of the resource requests to be processed, wherein the resource requests comprise the resource requests to be processed.
8. An electronic device, comprising:
One or more processors;
a memory for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the resource allocation method of any of claims 1-6.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the resource allocation method according to any of claims 1-6.
10. A resource allocation system, comprising a first node and at least one second node, the first node and the second node being different types of nodes, the communication address of the resource allocation system being the communication address of the first node, the first node being configured to:
Receiving a resource request to be processed sent by a resource requesting party;
if the resource request to be processed is a target resource request, determining a resource allocation node of the resource request to be processed so as to allocate resources for the resource requester, wherein the resource allocation node is the first node or the second node; the target resource request is a resource request which can be processed by the second node;
If the to-be-processed resource request is not the target resource request, the first node is used as a resource allocation node of the to-be-processed resource request, and resources in the first node are allocated to the resource requester based on the to-be-processed resource request;
the determining the resource allocation node of the pending resource request includes:
Acquiring the resource request splitting ratio of the first node and the second node;
And splitting the received resource requests according to the resource request splitting proportion to determine the resource allocation node of the resource requests to be processed, wherein the resource requests comprise the resource requests to be processed.
CN202210325445.1A 2022-03-29 2022-03-29 Resource allocation method, device, equipment, medium and system Active CN114785794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210325445.1A CN114785794B (en) 2022-03-29 2022-03-29 Resource allocation method, device, equipment, medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210325445.1A CN114785794B (en) 2022-03-29 2022-03-29 Resource allocation method, device, equipment, medium and system

Publications (2)

Publication Number Publication Date
CN114785794A CN114785794A (en) 2022-07-22
CN114785794B true CN114785794B (en) 2024-07-12

Family

ID=82427003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210325445.1A Active CN114785794B (en) 2022-03-29 2022-03-29 Resource allocation method, device, equipment, medium and system

Country Status (1)

Country Link
CN (1) CN114785794B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497817A (en) * 2020-03-20 2021-10-12 北京金山云网络技术有限公司 Traffic scheduling method and device, edge node of CDN (content delivery network) and server
CN114006915A (en) * 2022-01-04 2022-02-01 北京金山云网络技术有限公司 Resource request method, device, equipment and computer readable storage medium
CN114025023A (en) * 2022-01-04 2022-02-08 北京金山云网络技术有限公司 Source returning method, device, equipment and computer readable storage medium

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101128047B (en) * 2006-08-15 2010-04-14 华为技术有限公司 Method for reallocating core network service
US10178027B2 (en) * 2016-01-27 2019-01-08 Oracle International Corporation System and method for supporting inter subnet partitions in a high performance computing environment
US11075979B2 (en) * 2016-02-29 2021-07-27 International Business Machines Corporation Optimized resource provisioning
CN105763628B (en) * 2016-04-12 2019-05-10 上海帝联信息科技股份有限公司 Data access request processing method and processing device, edge node server and cluster
CN107885594B (en) * 2016-09-30 2020-06-12 腾讯科技(深圳)有限公司 Distributed resource scheduling method, scheduling node and access node
CN109152076B (en) * 2017-06-27 2022-04-05 华为云计算技术有限公司 Method, device and system for scheduling communication resources
CN107231437A (en) * 2017-07-18 2017-10-03 郑州云海信息技术有限公司 A kind of task backup management method and device
CN108306971B (en) * 2018-02-02 2020-06-23 网宿科技股份有限公司 Method and system for sending acquisition request of data resource
KR20200005492A (en) * 2018-07-06 2020-01-15 현대자동차주식회사 Method and apparatus for resource management
CN112448984A (en) * 2019-09-02 2021-03-05 北京新唐思创教育科技有限公司 Resource transmission method, electronic device and computer storage medium
CN111181770B (en) * 2019-12-12 2023-05-02 北京淇瑀信息科技有限公司 Resource allocation method, system, electronic equipment and storage medium
WO2021126027A1 (en) * 2019-12-18 2021-06-24 Telefonaktiebolaget Lm Ericsson (Publ) First node, second node, and methods performed thereby for handling configuration of resources
CN111612508A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Financial resource allocation request processing method and device and electronic equipment
CN113296924B (en) * 2020-04-28 2022-07-22 阿里巴巴集团控股有限公司 Content distribution method, device, system and storage medium
CN111694649B (en) * 2020-06-12 2023-07-18 北京火山引擎科技有限公司 Resource scheduling method, device, computer equipment and storage medium
CN111988388B (en) * 2020-08-13 2023-05-16 北京达佳互联信息技术有限公司 Flow distribution method, device, electronic equipment and storage medium
CN112261115B (en) * 2020-10-19 2023-02-07 北京字节跳动网络技术有限公司 Resource allocation method, device and computer storage medium
CN113783919B (en) * 2020-11-26 2024-05-21 北京京东拓先科技有限公司 Access request distribution method, system, equipment and storage medium
CN112506650A (en) * 2020-11-27 2021-03-16 中国建设银行股份有限公司 Resource allocation method, system, computer device and storage medium
CN112883239B (en) * 2021-01-26 2023-07-18 北京升哲科技有限公司 Resource allocation method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497817A (en) * 2020-03-20 2021-10-12 北京金山云网络技术有限公司 Traffic scheduling method and device, edge node of CDN (content delivery network) and server
CN114006915A (en) * 2022-01-04 2022-02-01 北京金山云网络技术有限公司 Resource request method, device, equipment and computer readable storage medium
CN114025023A (en) * 2022-01-04 2022-02-08 北京金山云网络技术有限公司 Source returning method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN114785794A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN112637287B (en) Load balancing method and equipment
CN110275723A (en) Obtain method, apparatus, electronic equipment and the readable medium of resource
CN114629911B (en) Method, device, equipment, medium and program product for processing domain name resolution request
CN111432001B (en) Method, apparatus, electronic device and computer readable medium for jumping scenes
CN112379982B (en) Task processing method, device, electronic equipment and computer readable storage medium
CN115237589A (en) SR-IOV-based virtualization method, device and equipment
CN112306685B (en) Task isolation method, device, electronic equipment and computer readable medium
CN113596328B (en) Camera calling method and device and electronic equipment
CN114938395A (en) Service response method, device, equipment and storage medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN112486825B (en) Multi-lane environment architecture system, message consumption method, device, equipment and medium
CN114785794B (en) Resource allocation method, device, equipment, medium and system
CN115225586B (en) Data packet transmitting method, device, equipment and computer readable storage medium
CN113518183B (en) Camera calling method and device and electronic equipment
CN111756833B (en) Node processing method, node processing device, electronic equipment and computer readable medium
CN111949833B (en) Index construction method, data processing method, device, electronic equipment and medium
CN111694679B (en) Message processing method and device and electronic equipment
CN110633141A (en) Memory management method and device of application program, terminal equipment and medium
CN114143325B (en) DNS scheduling method, device, apparatus, storage medium and program product
CN114172946B (en) Request result sending method, device, electronic equipment and computer readable medium
CN114363449B (en) Service state switching method and device, electronic equipment and storage medium
CN115309410B (en) Edge cluster application publishing method and device of edge computing scene and electronic equipment
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable medium
CN118138790A (en) Data stream switching method and device, storage medium and electronic equipment
CN118488017A (en) Traffic mirroring method, traffic mirroring device, traffic mirroring equipment and 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