WO2020233364A1 - 资源处理平台的确认方法、装置、电子设备和介质 - Google Patents
资源处理平台的确认方法、装置、电子设备和介质 Download PDFInfo
- Publication number
- WO2020233364A1 WO2020233364A1 PCT/CN2020/087479 CN2020087479W WO2020233364A1 WO 2020233364 A1 WO2020233364 A1 WO 2020233364A1 CN 2020087479 W CN2020087479 W CN 2020087479W WO 2020233364 A1 WO2020233364 A1 WO 2020233364A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource processing
- processing
- processing platform
- platform
- resource
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1014—Server selection for load balancing based on the content of a request
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Definitions
- This application relates to the field of data processing technology, and in particular to a method, device, electronic equipment and medium for confirming a resource processing platform.
- the basic data to be calculated is a resource
- each cloud server node is a resource processing platform, which can perform calculations on the basic data, which is equivalent to processing resources to meet data computing requirements.
- One purpose of this application is to optimize the selection of resource processing platforms in a multi-resource processing platform system.
- this application provides a method for confirming a resource processing platform.
- the confirming method includes the following steps:
- the count value of the processing success counter corresponding to the resource processing platform and the count value of the processing failure counter determine the historical processing success rate of each candidate resource processing platform, where each resource processing from the candidate resource processing platform is received in history For a successful response, add 1 to the count value of the processing success counter corresponding to the candidate resource processing platform; each time a resource processing failure response from the candidate resource processing platform is received in history, it will correspond to the candidate resource processing platform Add 1 to the count value of the processing failure counter;
- this application provides a confirmation device for a resource processing platform, the confirmation device including:
- the resource processing request receiving unit is configured to receive a resource processing request, the resource processing request having a selection condition keyword;
- the label acquisition unit is used to acquire the labels of multiple resource processing platforms
- a candidate resource processing platform determining unit configured to determine a resource processing platform whose tag matches the selection condition keyword among the plurality of resource processing platforms as a candidate resource processing platform;
- the historical processing success rate determining unit is used to determine the historical processing success rate of each candidate resource processing platform according to the processing success counter corresponding to the candidate resource processing platform and the processing failure counter.
- a resource processing success response sent by the candidate resource processing platform, the counter value of the processing success counter corresponding to the candidate resource processing platform is increased by one; each time a resource processing failure response sent by the candidate resource processing platform is received in history , Add 1 to the count value of the processing failure counter corresponding to the candidate resource processing platform;
- a target resource processing platform determining unit configured to determine a target resource processing platform from the multiple candidate resource processing platforms according to the historical processing success rate
- the resource processing request allocation unit is configured to allocate the resource processing request to the target resource processing platform.
- this application provides
- a computer device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
- the processor implements a method for confirming a resource processing platform when the program is executed.
- the confirmation method includes the following steps:
- the count value of the processing success counter corresponding to the candidate resource processing platform and the count value of the processing failure counter determine the historical processing success rate of each candidate resource processing platform, where each resource sent by the candidate resource processing platform is received in history For a successful response, add 1 to the counter value of the processing success counter corresponding to the candidate resource processing platform; each time a resource processing failure response from the candidate resource processing platform is received in history, it will correspond to the candidate resource processing platform Add 1 to the count value of the processing failure counter;
- this application provides
- the count value of the processing success counter corresponding to the candidate resource processing platform and the count value of the processing failure counter determine the historical processing success rate of each candidate resource processing platform, where each resource sent by the candidate resource processing platform is received in history For a successful response, add 1 to the counter value of the processing success counter corresponding to the candidate resource processing platform; each time a resource processing failure response from the candidate resource processing platform is received in history, it will correspond to the candidate resource processing platform Add 1 to the count value of the processing failure counter;
- the technical solution provided by the embodiment of the present application may include the following beneficial effects:
- the label and the selection condition are determined Keyword matching resource processing platform, as a candidate resource processing platform. Since these candidate resource processing platforms are matched with the resource processing platform tags according to the selection criteria keywords, these candidate resource processing platforms can often perform resource processing desired by users more efficiently.
- a certain resource processing platform is more suitable for processing a certain resource processing request, it may be easy to deal with failure due to hardware failures and other reasons. Therefore, according to the historical processing success rate, choose the candidate resource processing platform to The target resource processing platform to which the resource processing request is allocated.
- Fig. 1 is a structural diagram of a resource processing system applied by a method for confirming a resource processing platform according to an exemplary embodiment
- Fig. 2 is a flow chart showing a method for confirming a resource processing platform according to an exemplary embodiment
- Fig. 3 is a flowchart showing a method for confirming a resource processing platform according to an exemplary embodiment
- Fig. 4 is a flow chart showing a method for confirming a resource processing platform according to an exemplary embodiment
- Fig. 5 is a block diagram showing a confirmation device of a resource processing platform according to an exemplary embodiment
- Fig. 6 is a hardware diagram of an electronic device according to an exemplary embodiment
- Fig. 7 is a schematic diagram showing a computer-readable storage medium according to an exemplary embodiment.
- Fig. 1 is a structural diagram of a resource processing system applied by a method for confirming a resource processing platform according to an exemplary embodiment.
- the resource processing system includes a user terminal 110, a scheduling terminal 120, and multiple resource processing platforms 130.
- the user terminal 110 is a terminal that needs to process resources, and it can be embodied in the form of a mobile phone, a desktop computer, a notebook computer, and the like.
- the resource processing platform 130 is a terminal for processing resources. Resources are the objects of processing.
- the resource is the basic data to be calculated
- the resource processing platform 130 is a cloud computing node
- the user terminal 110 is a terminal that needs further calculation to generate the basic data to be calculated.
- the resource is a user account
- the user terminal 110 is a terminal for online consumption
- the resource processing platform 130 is a settlement server.
- the scheduling terminal 120 is a terminal that selects one of the multiple resource processing platforms 130 and routes the resource processing request issued by the user terminal 110 to the selected resource processing platform 130 for processing.
- the confirmation method of the resource processing platform refers to the method of using multiple resource processing platforms as one in order to send resource processing requests to them. This method is executed by the dispatch terminal 120 in FIG. 1.
- the confirmation method includes the following steps:
- Step 210 Receive a resource processing request, the resource processing request having a selection condition keyword
- Step 220 Obtain tags of multiple resource processing platforms.
- Step 230 Determine a resource processing platform whose tag matches the selection condition keyword among the multiple resource processing platforms as a candidate resource processing platform;
- Step 240 Determine the historical processing success rate of each candidate resource processing platform according to the count value of the processing success counter and the processing failure counter corresponding to the resource processing platform. Among them, every time a resource processing platform sent by the resource processing platform is received in history For successful response of resource processing, add 1 to the count value of the processing success counter corresponding to the resource processing platform; each time a resource processing failure response from the resource processing platform is received in history, the processing failure counter corresponding to the resource processing platform will be assigned Add 1 to the count value;
- Step 250 Determine a target resource processing platform from the multiple candidate resource processing platforms according to the historical processing success rate
- Step 260 Allocate the resource processing request to the target resource processing platform.
- step 210 a resource processing request is received, the resource processing request having a selection condition keyword.
- the resource processing request is a message requesting to process the resource.
- a resource processing request is a message requesting calculation of basic data to be calculated.
- the resource processing request is a message for settlement of the user account.
- the selection condition keywords are words used to indicate conditions for selecting multiple resource processing platforms. In one embodiment, it can be selected by the user from a drop-down list including multiple candidate selection condition keywords, where the candidate selection condition keywords in the drop-down list are the union of tags of multiple resource processing platforms.
- the label of the resource processing platform refers to the words attached to the resource processing platform that represent the performance characteristics of the resource processing platform when processing resources. For example, a resource processing platform is characterized by fast processing speed and accurate processing results, and its label may be "fast” and “accurate", while another resource processing platform is characterized by high security and comprehensive feedback information, and its label may be It is "safe” and "good interactivity". This label can be affixed to the resource processing platform by the administrator in advance according to the different characteristics of each resource processing platform.
- the tags that have been affixed by multiple resource processing platforms are taken as a union, that is, the tags that have been affixed on each resource processing platform are exhausted, and presented to users for convenience Choose from the drop-down list.
- the user selects one or more selection condition keywords in the drop-down list, it can be considered that a resource processing request of the user has been received, and the resource processing request has the selection condition keywords selected by the user.
- the selection condition keyword may not be selected from the drop-down list. It can be filled in by the user in the specified position of the interface, but it must be ensured that the selected condition keyword is in the tags of multiple resource processing platforms. One.
- step 220 tags of multiple resource processing platforms are obtained.
- step 220 includes: obtaining tags of multiple resource processing platforms from the resource processing platform and tag correspondence table.
- step 230 a resource processing platform whose tag matches the selection condition keyword among the plurality of resource processing platforms is determined as a candidate resource processing platform.
- a tag in a resource processing platform matches the selection condition keyword, it means that the resource processing platform is at least in a certain aspect that the user wants to use to process resources.
- the user's selection criteria keywords are "safe” and “fast”, and the label of a certain resource processing platform is “fast” and “accurate”. At least “fast” is in line with user requirements and can be used as a candidate resource Processing platform.
- step 230 includes:
- the resource processing platform is determined as a candidate resource processing platform.
- This embodiment is used when the requirements for the selection of the resource processing platform are not too harsh.
- the range of candidate resource processing platforms can be broadened.
- the resource processing platform is determined as a candidate resource processing platform.
- the user’s selection criteria keywords are “safe” and “fast”
- the tags of a certain resource processing platform are “fast” and “accurate”
- “fast” is the common content of the selection criteria keywords and tags. Therefore, The resource processing platform can be used as a candidate resource processing platform.
- step 230 includes:
- the resource processing platform If the resource processing platform has tags that are consistent with the selection condition keywords in the predetermined proportion of the selection condition keywords, the resource processing platform is determined as the candidate resource processing platform.
- the predetermined ratio is a ratio set by the administrator according to actual needs in advance, such as 60%.
- This embodiment is used when the selection requirements for the resource processing platform are relatively strict.
- a tag of the resource processing platform is the same as a selection condition keyword in the resource processing request, which does not mean that the resource processing platform matches the selection condition keyword. It must be more than a predetermined proportion of the selection condition keywords. When all the keywords are satisfied, the resource processing platform is considered sufficient to meet the user's requirements.
- the resource processing platform is determined as a candidate resource processing platform.
- step 240 the historical processing success rate of each candidate resource processing platform is determined according to the count value of the processing success counter and the processing failure counter corresponding to the candidate resource processing platform, where each candidate resource is received in history.
- the resource processing success response sent by the processing platform adds 1 to the processing success counter corresponding to the candidate resource processing platform; each time a resource processing failure response sent by the candidate resource processing platform is received in history, the candidate The count value of the processing failure counter corresponding to the resource processing platform is increased by 1;
- the processing success counter is a counter that accumulates the number of successful processing of historical resource processing requests for each resource processing platform (not only the candidate resource processing platform, but only the counter of the candidate resource processing platform will be used in this embodiment of the application).
- the processing failure counter is a counter that accumulates the number of historical resource processing requests that each resource processing platform has failed to process.
- the historical processing success rate is the ratio of the number of successful processing of historical resource processing requests for a certain resource processing platform divided by the total number of historical resource processing requests processed by the resource processing platform.
- each resource processing platform During initialization, set the count value of the processing success counter corresponding to each resource processing platform to 0. It is stipulated that after each resource processing platform has processed the resource processing request, it returns to the dispatch terminal a response of successful resource processing or a response of resource processing failure. Each time the dispatch terminal receives a resource processing success response from the resource processing platform, it adds 1 to the processing success counter corresponding to the resource processing platform, and then the current count of the processing success counter corresponding to the resource processing platform The value represents how many times the resource processing platform has successfully processed resources so far.
- a target resource processing platform is determined from the multiple candidate resource processing platforms according to the historical processing success rate.
- step 250 includes: determining a resource processing platform with the largest historical processing success rate among the multiple candidate resource processing platforms as the target resource processing platform.
- step 250 includes: randomly selecting one resource processing platform from the plurality of candidate resource processing platforms whose historical processing success rate exceeds a predetermined historical processing success rate threshold as the target resource processing platform.
- This embodiment believes that as long as the historical processing success rate exceeds the predetermined historical processing success rate threshold, the processing success rate of such a candidate resource processing platform can meet user requirements, and the probability of re-request for unsuccessful processing is very low. Randomly select one of them as the target resource processing platform.
- step 260 the resource processing request is allocated to the target resource processing platform.
- the resource processing request is sent to the target resource processing platform for processing by the target resource processing platform.
- the method further includes:
- Step 245 Look up the processing time table of the resource processing request that has been successfully processed in the history corresponding to the candidate resource processing platform, and determine the average processing time of the resource processing request in the history of the candidate resource processing platform, where the processing in the processing time table
- the duration is recorded in the following ways: when a historical resource processing request is allocated to the candidate resource processing platform, a timer is started; receiving a response from the candidate resource processing platform that the resource is processed successfully or failed; in response to receiving The successful response of the resource processing triggers the timer to stop timing; the counted number of the timer when timing is stopped is recorded in the processing time table corresponding to the candidate resource processing platform.
- the processing duration table records the duration of each resource processing platform (not only for candidate resource processing platforms, but the embodiment of this application only uses the processing duration table of the candidate resource processing platform) each time a resource processing request is successfully processed in history List.
- the length of time used for processing failures is meaningless and need not be counted in this list.
- a timer is set in the scheduling terminal. After the dispatching terminal receives a resource processing request in history, it is allocated to a resource processing platform for processing, and then starts the timer corresponding to the allocated resource processing platform to start timing. According to the success or failure of the resource processing platform, the resource processing platform will issue a response to the success or failure of the resource processing.
- the dispatching terminal When the dispatching terminal receives the response that the resource processing is successful, it stops the timing of the timer, and records the counted number of the timer at this time in the processing duration table corresponding to the resource processing platform.
- the dispatch terminal receives the response of resource processing failure, it can directly stop the counting of the timer, but does not do any processing on the reading of the timer and discards it directly.
- the processing duration table records the duration of each successful processing of a resource processing request in the history of the resource processing platform. Then, by averaging each duration recorded in the processing duration table, the average processing duration of the resource processing request in the history of the resource processing platform is obtained.
- step 250 includes: step 2501, determining a target resource processing platform from the plurality of candidate resource processing platforms according to the historical processing success rate and the average processing duration.
- the historical processing success rate represents whether the candidate resource processing platform processes resources easily and successfully, and the average processing time represents the processing speed of the candidate resource processing platform.
- the candidate resource processing platform should be preferred for processing. This embodiment comprehensively considers the two indicators of candidate resource processing platform processing success rate and speed to determine the target resource processing platform from the multiple candidate resource processing platforms, which improves the accuracy of target resource processing platform selection.
- step 2501 includes: using the reciprocal of the average processing time and the weighted sum of the historical processing success rate as the target resource processing platform.
- the candidate resource processing platform Since the larger the average processing time, the slower the candidate resource processing platform is processing, the less the candidate resource processing platform should be selected as the target resource processing platform, and the greater the historical processing success rate, the more stable the performance of the candidate resource processing platform.
- the candidate resource processing platform should be preferred as the target resource processing platform. Therefore, the reciprocal of the average processing time is calculated and then weighted and summed with the historical processing success rate. In this way, it reflects that the smaller the average processing time, the successful historical processing The greater the rate, the greater the value of the entire weighted sum.
- the weights set for the reciprocal of the average processing time and the historical processing success rate are determined in advance by the administrator based on experience.
- the advantage of choosing the candidate resource processing platform with the larger the weighted sum instead of the candidate resource processing platform with the largest sum or the largest average is that the average processing time and historical processing success rate are fully considered for whether the candidate resource processing platform should be selected.
- the difference in impact makes the selection of candidate resource processing platforms more in line with objective reality.
- the method further includes:
- Step 247 Obtain the current remaining processing capability value of each candidate resource processing platform, where the processing capability value indicates the capability of the candidate resource processing platform that is also capable of processing resource requests.
- the remaining processing capacity value is embodied as the remaining memory amount of the candidate resource processing platform.
- the remaining processing capacity value may be embodied as the remaining CPU processing speed of the candidate resource processing platform, and the remaining CPU processing speed is equal to the maximum CPU speed of the candidate resource processing platform minus the current CPU processing speed.
- obtaining the current remaining processing capability value of each candidate resource processing platform includes:
- a response from each candidate resource processing platform is received, where the response contains the current remaining processing capacity value of the candidate resource processing platform.
- the current remaining processing capacity value of the candidate resource processing platform can be requested by sending a remaining processing capacity value request to each candidate resource processing platform .
- Each candidate resource processing platform returns the current remaining processing capacity value of the candidate resource processing platform to the scheduling terminal 120 through a response.
- step 2501 includes:
- Step 2502 Determine a target resource processing platform from the multiple candidate resource processing platforms according to the current remaining processing capacity value, historical processing success rate, and the average processing duration.
- the historical processing success rate represents whether the processing resources of the candidate resource processing platform are easy to succeed, the average processing time represents the processing speed of the candidate resource processing platform, and the current remaining processing capacity value represents how much processing capacity the candidate resource processing platform can use for resource processing .
- This embodiment comprehensively considers the three indicators of candidate resource processing platform processing success rate, processing speed, and remaining processing capacity to determine the target resource processing platform from the multiple candidate resource processing platforms, thereby improving the accuracy of target resource processing platform selection .
- step 2502 includes:
- the candidate resource processing platform with the largest weighted sum of the current remaining processing capacity value, the average processing duration, and the historical processing success rate is used as the target resource processing platform.
- Each weight in the weighted sum is determined in advance by the administrator based on experience.
- the advantage of choosing the candidate resource processing platform with the larger the weighted sum instead of the candidate resource processing platform with the largest sum or the largest average is that it fully considers the average processing time, historical processing success rate, and whether the current remaining processing capacity value should be used.
- the difference in the influence of selecting the candidate resource processing platform makes the selection of the candidate resource processing platform more in line with objective reality.
- a confirmation device of a resource processing platform is also provided, and the confirmation device includes:
- the resource processing request receiving unit 310 is configured to receive a resource processing request, the resource processing request having a selection condition keyword;
- the label obtaining unit 320 is configured to obtain labels of multiple resource processing platforms
- the candidate resource processing platform determining unit 330 is configured to determine the resource processing platform whose tag matches the selection condition keyword among the plurality of resource processing platforms as a candidate resource processing platform;
- the historical processing success rate determining unit 340 is configured to determine the historical processing success rate of each candidate resource processing platform according to the count value of the processing success counter and the processing failure counter corresponding to the resource processing platform.
- a resource processing success response sent by the candidate resource processing platform, the counter value of the processing success counter corresponding to the candidate resource processing platform is increased by one; each time a resource processing failure response sent by the candidate resource processing platform is received in history , Add 1 to the count value of the processing failure counter corresponding to the candidate resource processing platform;
- the target resource processing platform determining unit 350 is configured to determine a target resource processing platform from the multiple candidate resource processing platforms according to the historical processing success rate;
- the resource processing request allocation unit 360 is configured to allocate the resource processing request to the target resource processing platform.
- the candidate resource processing platform determining unit 330 is further configured to:
- the resource processing platform is determined as a candidate resource processing platform.
- the candidate resource processing platform determining unit 330 is further configured to:
- the resource processing platform If the resource processing platform has tags that are consistent with the selection condition keywords in the predetermined proportion of the selection condition keywords, the resource processing platform is determined as the candidate resource processing platform.
- the device further includes:
- the average processing duration determining unit is used to find the processing duration table of the resource processing request that has been successfully processed in the history corresponding to the candidate resource processing platform, and determine the average processing duration of the resource processing request in the history of the candidate resource processing platform, wherein the processing
- the processing duration in the duration table is recorded in the following ways: when a historical candidate resource processing request is allocated to the resource processing platform, a timer is started; the response from the candidate resource processing platform that the resource is processed successfully or failed is received ; In response to receiving a successful response to the resource processing, trigger the timer to stop timing; record the count of the timer when the timing is stopped in the processing time table corresponding to the candidate resource processing platform;
- the target resource processing platform determining unit 350 is further configured to:
- a target resource processing platform is determined from the multiple candidate resource processing platforms.
- the determining a candidate target resource processing platform from the multiple resource processing platforms according to the historical processing success rate and the average processing duration includes:
- the candidate resource processing platform with the largest weighted sum of the average processing duration and the historical processing success rate is used as the target resource processing platform.
- the electronic device 40 according to this embodiment of the present invention will be described below with reference to FIG. 5.
- the electronic device 40 is equivalent to the dispatch terminal 120 in FIG. 1.
- the electronic device 40 shown in FIG. 4 is only an example, and should not bring any limitation to the function and application scope of the embodiment of the present invention.
- the electronic device 40 is represented in the form of a general-purpose computing device.
- the components of the electronic device 40 may include, but are not limited to: the aforementioned at least one processing unit 41, the aforementioned at least one storage unit 42, and a bus 43 connecting different system components (including the storage unit 42 and the processing unit 41).
- the storage unit stores program code, and the program code can be executed by the processing unit 41, so that the processing unit 41 executes the various exemplary embodiments of the present invention described in the method section of the foregoing embodiments of this specification. A step of.
- the storage unit 42 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 421 and/or a cache storage unit 422, and may further include a read-only storage unit (ROM) 423.
- RAM random access storage unit
- ROM read-only storage unit
- the storage unit 42 may also include a program/utility tool 424 having a set of (at least one) program module 425.
- program module 425 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
- the bus 43 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
- the electronic device 40 may also communicate with one or more external devices (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 40, and/or communicate with
- the electronic device 40 can communicate with any device (such as a router, modem, etc.) that communicates with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 45.
- the electronic device 40 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 46. As shown in the figure, the network adapter 46 communicates with other modules of the electronic device 40 through the bus 43.
- LAN local area network
- WAN wide area network
- public network such as the Internet
- the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present application.
- a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
- Including several instructions to make a computing device which may be a personal computer, server, terminal device, or network device, etc.
- a computer-readable storage medium may be nonvolatile or volatile, and a program product capable of implementing the above method of this specification is stored thereon.
- various aspects of the present invention may also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
- a program product 50 for implementing the above method according to an embodiment of the present invention is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be installed in a terminal device, For example, running on a personal computer.
- the program product of the present invention is not limited thereto.
- the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
- the program product can use any combination of one or more readable media.
- the readable medium may be a readable signal medium or a readable storage medium.
- the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
- the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
Claims (20)
- 一种资源处理平台的确认方法,所述确认方法包括以下步骤:接收资源处理请求,所述资源处理请求具有选择条件关键词;获取多个资源处理平台的标签;确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台;根据与候选资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率,其中,历史上每接收到一个该候选资源处理平台发出的资源处理成功的应答,将与该候选资源处理平台对应的处理成功计数器的计数值加1;历史上每接收到一个该候选资源处理平台发出的资源处理失败的应答,将与该候选资源处理平台对应的处理失败计数器的计数值加1;根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台;将所述资源处理请求分配到该目标资源处理平台。
- 根据权利要求1所述的方法,所述确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台,包括:只要资源处理平台的一个标签与所述选择条件关键词之一一致,就将该资源处理平台确定为候选资源处理平台。
- 根据权利要求1所述的方法,所述确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台,包括:如果资源处理平台具有与所述选择条件关键词中预定比例以上的选择条件关键词一致的标签,将该资源处理平台确定为候选资源处理平台。
- 根据权利要求1所述的方法,在根据与资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率之后,所述方法还包括:查找该候选资源处理平台对应的历史上处理成功的资源处理请求的处理时长表,确定该候选资源处理平台历史上对资源处理请求的平均处理时长,其中,该处理时长表中的处理时长通过以下方式记录:在将历史上的资源处理请求分配给该候选资源处理平台时,启动计时器;接收该候选资源处理平台发出的、该候选资源处理成功或处理失败的应答;响应于接收到资源处理成功的应答,触发计时器停止计时;将停止计时时计时器的计时数记录到该资源处理平台对应的处理时长表中;所述根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台,包括:根据所述历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台。
- 根据权利要求4所述的方法,所述根据所述历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台,包括:将所述平均处理时长的倒数、与所述历史处理成功率的加权和最大的一个资源处理平台,作为目标资源处理平台。
- 根据权利要求4所述的方法,在根据与资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率之后,所述方法还包括:获取各所述候选资源处理平台当前剩余的处理能力值,所述处理能力值指示所述候选资源处理平台还能够处理资源请求的能力大小;所述根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台,包括:根据所述当前剩余的处理能力值、历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台。
- 根据权利要求6所述的方法,所述根据所述当前剩余的处理能力值、历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台,包括:将所述当前剩余的处理能力值、平均处理时长的倒数、与所述历史处理成功率的加权和最大的一个候选资源处理平台,作为目标资源处理平台。
- 一种资源处理平台的确认装置,所述确认装置包括:资源处理请求接收单元,用于接收资源处理请求,所述资源处理请求具有选择条件关键词;标签获取单元,用于获取多个资源处理平台的标签;候选资源处理平台确定单元,用于确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台;历史处理成功率确定单元,用于根据与候选资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率,其中,历史上每接收到一个该候选资源处理平台发出的资源处理成功的应答,将与候选资源处理平台对应的处理成功计数器的计数值加1;历史上每接收到一个该候选资源处理平台发出的资源处理失败的应答,将与该候选资源处理平台对应的处理失败计数器的计数值加1;目标资源处理平台确定单元,用于根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台;资源处理请求分配单元,用于将所述资源处理请求分配到该目标资源处理平台。
- 一种计算机设备,所述计算机设备包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现一种资源处理平台的确认方法,所述确认方法包括以下步骤:接收资源处理请求,所述资源处理请求具有选择条件关键词;获取多个资源处理平台的标签;确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台;根据与候选资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率,其中,历史上每接收到一个该候选资源处理平台发出的资源处理成功的应答,将与该候选资源处理平台对应的处理成功计数器的计数值加1;历史上每接收到一个该候选资源处理平台发出的资源处理失败的应答,将与该候选资源处理平台对应的处理失败计数器的计数值加1;根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台;将所述资源处理请求分配到该目标资源处理平台。
- 根据权利要求9所述的计算机设备,所述确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台,包括:只要资源处理平台的一个标签与所述选择条件关键词之一一致,就将该资源处理平台确定为候选资源处理平台。
- 根据权利要求9所述的计算机设备,所述确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台,包括:如果资源处理平台具有与所述选择条件关键词中预定比例以上的选择条件关键词一致的标签,将该资源处理平台确定为候选资源处理平台。
- 根据权利要求9所述的计算机设备,在根据与资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率之后,所述方法还包括:查找该候选资源处理平台对应的历史上处理成功的资源处理请求的处理时长表,确定该候选资源处理平台历史上对资源处理请求的平均处理时长,其中,该处理时长表中的处理时长通过以下方式记录:在将历史上的资源处理请求分配给该候选资源处理平台时,启动计时器;接收该候选资源处理平台发出的、该候选资源处理成功或处理失败的应答;响应于接收到资源处理成功的应答,触发计时器停止计时;将停止计时时计时器的计时数记录到该资源处理平台对应的处理时长表中;所述根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台,包括:根据所述历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台。
- 根据权利要求12所述的计算机设备,所述根据所述历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台,包括:将所述平均处理时长的倒数、与所述历史处理成功率的加权和最大的一个资源处理平台,作为目标资源处理平台。
- 根据权利要求12所述的计算机设备,在根据与资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率之后,所述方法还包括:获取各所述候选资源处理平台当前剩余的处理能力值,所述处理能力值指示所述候选资源处理平台还能够处理资源请求的能力大小;所述根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台,包括:根据所述当前剩余的处理能力值、历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台。
- 根据权利要求14所述的计算机设备,所述根据所述当前剩余的处理能力值、历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台,包括:将所述当前剩余的处理能力值、平均处理时长的倒数、与所述历史处理成功率的加权和最大的一个候选资源处理平台,作为目标资源处理平台。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现一种资源处理平台的确认方法,所述确认方法包括以下步骤:接收资源处理请求,所述资源处理请求具有选择条件关键词;获取多个资源处理平台的标签;确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台;根据与候选资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率,其中,历史上每接收到一个该候选资源处理平台发出的资源处理成功的应答,将与该候选资源处理平台对应的处理成功计数器的计数值加1;历史上每接收到一个该候选资源处理平台发出的资源处理失败的应答,将与该候选资源处理平台对应的处理失败计数器的计数值加1;根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台;将所述资源处理请求分配到该目标资源处理平台。
- 根据权利要求16所述的计算机可读存储介质,所述确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台,包括:只要资源处理平台的一个标签与所述选择条件关键词之一一致,就将该资源处理平台确定为候选资源处理平台。
- 根据权利要求16所述的计算机可读存储介质,所述确定所述多个资源处理平台中标签与所述选择条件关键词匹配的资源处理平台,作为候选资源处理平台,包括:如果资源处理平台具有与所述选择条件关键词中预定比例以上的选择条件关键词一致的标签,将该资源处理平台确定为候选资源处理平台。
- 根据权利要求16所述的计算机可读存储介质,在根据与资源处理平台对应的处理成功计数器的计数值以及处理失败计数器的计数值,确定各候选资源处理平台的历史处理成功率之后,所述方法还包括:查找该候选资源处理平台对应的历史上处理成功的资源处理请求的处理时长表,确定该候选资源处理平台历史上对资源处理请求的平均处理时长,其中,该处理时长表中的处理时长通过以下方式记录:在将历史上的资源处理请求分配给该候选资源处理平台时,启动计时器;接收该候选资源处理平台发出的、该候选资源处理成功或处理失败的应答;响应于接收到资源处理成功的应答,触发计时器停止计时;将停止计时时计时器的计时数记录到该资源处理平台对应的处理时长表中;所述根据所述历史处理成功率,从所述多个候选资源处理平台中确定目标资源处理平台,包括:根据所述历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台。
- 根据权利要求19所述的计算机可读存储介质,所述根据所述历史处理成功率和所述平均处理时长,从所述多个候选资源处理平台中确定目标资源处理平台,包括:将所述平均处理时长的倒数、与所述历史处理成功率的加权和最大的一个资源处理平台,作为目标资源处理平台。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910431078.1 | 2019-05-22 | ||
CN201910431078.1A CN110351327B (zh) | 2019-05-22 | 2019-05-22 | 资源处理平台的确认方法、装置、电子设备和介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020233364A1 true WO2020233364A1 (zh) | 2020-11-26 |
Family
ID=68174732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/087479 WO2020233364A1 (zh) | 2019-05-22 | 2020-04-28 | 资源处理平台的确认方法、装置、电子设备和介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110351327B (zh) |
WO (1) | WO2020233364A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351327B (zh) * | 2019-05-22 | 2022-04-12 | 深圳壹账通智能科技有限公司 | 资源处理平台的确认方法、装置、电子设备和介质 |
CN113282565A (zh) * | 2020-02-19 | 2021-08-20 | 广州虎牙科技有限公司 | 数据访问方法、装置、调度设备及存储介质 |
CN112102063B (zh) * | 2020-08-31 | 2024-05-14 | 深圳前海微众银行股份有限公司 | 数据请求方法、装置、设备、平台及计算机存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657367A (zh) * | 2016-12-30 | 2017-05-10 | 北京三快在线科技有限公司 | 一种业务数据获取方法、装置及系统 |
CN107995623A (zh) * | 2017-11-30 | 2018-05-04 | 中国联合网络通信集团有限公司 | 一种eUICC终端和远程管理服务器的匹配方法及装置 |
US20180367632A1 (en) * | 2017-06-15 | 2018-12-20 | Electronics And Telecommunications Research Institute | Apparatus for providing cloud service using cloud service brokerage based on multiple clouds and method thereof |
CN109684073A (zh) * | 2018-10-26 | 2019-04-26 | 平安科技(深圳)有限公司 | 电子装置、云服务资源分配方法及存储介质 |
CN110351327A (zh) * | 2019-05-22 | 2019-10-18 | 深圳壹账通智能科技有限公司 | 资源处理平台的确认方法、装置、电子设备和介质 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104809117B (zh) * | 2014-01-24 | 2018-10-30 | 深圳市云帆世纪科技有限公司 | 视频数据聚合处理方法、聚合系统及视频搜索平台 |
US9886306B2 (en) * | 2014-11-21 | 2018-02-06 | International Business Machines Corporation | Cross-platform scheduling with long-term fairness and platform-specific optimization |
CN109558468B (zh) * | 2018-12-13 | 2022-04-01 | 北京百度网讯科技有限公司 | 资源的处理方法、装置、设备和存储介质 |
-
2019
- 2019-05-22 CN CN201910431078.1A patent/CN110351327B/zh active Active
-
2020
- 2020-04-28 WO PCT/CN2020/087479 patent/WO2020233364A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657367A (zh) * | 2016-12-30 | 2017-05-10 | 北京三快在线科技有限公司 | 一种业务数据获取方法、装置及系统 |
US20180367632A1 (en) * | 2017-06-15 | 2018-12-20 | Electronics And Telecommunications Research Institute | Apparatus for providing cloud service using cloud service brokerage based on multiple clouds and method thereof |
CN107995623A (zh) * | 2017-11-30 | 2018-05-04 | 中国联合网络通信集团有限公司 | 一种eUICC终端和远程管理服务器的匹配方法及装置 |
CN109684073A (zh) * | 2018-10-26 | 2019-04-26 | 平安科技(深圳)有限公司 | 电子装置、云服务资源分配方法及存储介质 |
CN110351327A (zh) * | 2019-05-22 | 2019-10-18 | 深圳壹账通智能科技有限公司 | 资源处理平台的确认方法、装置、电子设备和介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110351327B (zh) | 2022-04-12 |
CN110351327A (zh) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11934868B2 (en) | Systems and methods for scheduling tasks | |
US11558244B2 (en) | Improving performance of multi-processor computer systems | |
US20200364608A1 (en) | Communicating in a federated learning environment | |
WO2020233364A1 (zh) | 资源处理平台的确认方法、装置、电子设备和介质 | |
US7840720B2 (en) | Using priority to determine whether to queue an input/output (I/O) request directed to storage | |
US20060277278A1 (en) | Distributing workload among DNS servers | |
KR101923706B1 (ko) | 확률적 스로틀링 | |
EP3968159A1 (en) | Performance monitoring in a distributed storage system | |
JP2014501010A (ja) | サーバ側の処理能力を拡張するための方法及び装置 | |
RU2632125C1 (ru) | Способ и система обработки задач в облачном сервисе | |
JP2004520655A (ja) | 分散型コンピュータシステムにおける資源の選択 | |
US9594848B2 (en) | Load balancing for multi-tiered querying | |
JP5324914B2 (ja) | ストレージリソースを割り振る方法および装置 | |
US20230037783A1 (en) | Resource scheduling method and related apparatus | |
US8135924B2 (en) | Data storage device driver | |
CN107870877B (zh) | 用于在存储系统中管理数据访问的方法和系统 | |
EP4142258A1 (en) | Edge computing network, data transmission method and apparatus, device and storage medium | |
KR102064466B1 (ko) | 가상화 시스템에서의 가상 데스크톱을 할당하는 방법 및 그 가상화 시스템 | |
CN115437794A (zh) | I/o请求调度方法、装置、电子设备及存储介质 | |
US10673937B2 (en) | Dynamic record-level sharing (RLS) provisioning inside a data-sharing subsystem | |
CN114579265A (zh) | 一种任务查询的方法、装置及存储介质 | |
US9921934B1 (en) | Storage process metrics | |
CN112950833A (zh) | 一种门禁设备的授权方法、装置、设备及存储介质 | |
CN110677463A (zh) | 并行数据传输方法、装置、介质及电子设备 | |
CN114285901B (zh) | 网络请求处理方法、装置与电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20810791 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20810791 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/03/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20810791 Country of ref document: EP Kind code of ref document: A1 |