WO2018032737A1 - 数据处理请求的排序方法、装置、终端及存储介质 - Google Patents
数据处理请求的排序方法、装置、终端及存储介质 Download PDFInfo
- Publication number
- WO2018032737A1 WO2018032737A1 PCT/CN2017/073506 CN2017073506W WO2018032737A1 WO 2018032737 A1 WO2018032737 A1 WO 2018032737A1 CN 2017073506 W CN2017073506 W CN 2017073506W WO 2018032737 A1 WO2018032737 A1 WO 2018032737A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data processing
- processing request
- request
- priority
- processing
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3854—Instruction completion, e.g. retiring, committing or graduating
- G06F9/3856—Reordering of instructions, e.g. using queues or age tags
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Definitions
- the present invention belongs to the field of data processing technologies, and in particular, to a data processing request sorting method and device.
- the existing banking system mainly performs sequencing and processing according to the submission of data processing requests, and the user needs to wait for the processing result on the original page that issues the data processing request, which is time consuming, and the resource usage inside the system is unreasonable. .
- an embodiment of the present invention provides a method, a device, a terminal, and a storage medium for sorting data processing requests, so as to adjust a processing sequence of data processing requests, and shorten a waiting time of a user.
- a method for sorting data processing requests includes:
- a sorting apparatus for a data processing request includes:
- a receiving module configured to receive a data processing request
- an obtaining module configured to estimate a processing time corresponding to the data processing request, and acquire a priority of the data processing request according to the processing time;
- the first adjustment module is configured to adjust a sequence of the data processing request in the processing queue according to the priority.
- a terminal in a third aspect, includes a processor, a memory, and an input device; [0013] the input device is configured to input a data processing request; [0014] the memory is used to store program code;
- the processor is configured to execute the program code stored by the memory to perform the following operations:
- a fourth aspect provides a non-transitory computer readable storage medium storing instructions executable by one or more processors to perform operations, the operations comprising: Receiving a data processing request;
- the embodiment of the present invention receives a data processing request, estimates a processing time corresponding to the data processing request, and acquires a priority of the data processing request according to the processing time; Adjusting the order of the data processing request in the processing queue according to the priority; thereby implementing the order adjustment of the data processing request in the processing queue, so that the processing order of the data processing request is more reasonable, effectively shortening the user waiting for data processing
- the configuration of internal resources of the system is further optimized.
- FIG. 1 is a flowchart of an implementation of a method for sorting data processing requests according to an embodiment of the present invention
- step S102 is a specific implementation flow of step S102 in a method for sorting data processing requests according to an embodiment of the present invention.
- FIG. 3 is a flowchart of an implementation of a method for sorting data processing requests according to another embodiment of the present invention.
- FIG. 4 is a flowchart of an implementation of a method for sorting data processing requests according to another embodiment of the present invention.
- FIG. 5 is a structural diagram of a device for sorting data processing requests according to an embodiment of the present invention.
- FIG. 6 is a schematic block diagram of a terminal according to another embodiment of the present invention.
- Embodiments of the present invention receive a data processing request; estimate a processing time corresponding to the data processing request, and acquire a priority of the data processing request according to the processing time; and then adjust the location according to the priority The order of the data processing request in the processing queue; thereby realizing the order adjustment of the data processing request in the processing queue, so that the processing order of the data processing request is more reasonable, effectively shortening the waiting time of the user waiting for the data processing result, further optimizing The configuration of the internal resources of the system.
- the embodiment of the present invention further provides a sorting device for the corresponding data processing request, which will be described in detail below.
- FIG. 1 is a flowchart of an implementation process of a data processing request sorting method according to an embodiment of the present invention.
- the method for sorting the data processing request is applied to a terminal of a banking system, and the terminal includes but is not limited to a server, a computer, or the like.
- the sorting method of the data processing request includes:
- step S101 a data processing request is received.
- the data processing request refers to a request that is input by the user into the banking system and responded by the banking system and returns a processing result.
- the data processing request includes, but is not limited to, such as viewing an account, performing a transfer operation, performing an insurance billing operation, and the like.
- the system receives the data processing request entered by the user.
- step S102 the processing time corresponding to the data processing request is estimated, and the priority of the data processing request is obtained according to the processing time.
- the embodiment of the present invention pre-divides the priority of the data processing request, and the priority reflects a priority order of the data processing request in the processing queue; and a correspondence between a processing time corresponding to the data processing request and a priority of the data processing request.
- the processing time corresponding to the data processing request is estimated according to a preset manner, and then the corresponding relationship is queried to obtain the priority of the data processing request.
- step S103 the order of the data processing requests in the processing queue is adjusted according to the priority.
- an embodiment of the present invention pre-sets an estimation factor, which is a reference standard for calculating the processing time of the data processing request. After estimating the processing time corresponding to the data processing request, the processing time is estimated according to the estimation factor of the data processing request.
- FIG. 2 shows a specific implementation process of step S102 in the method for sorting data processing requests according to an embodiment of the present invention.
- the step S102 includes:
- step S201 an estimation factor of the data processing request is obtained.
- the estimation factor includes, but is not limited to, one of the following or any combination thereof: indicator information, time span information, geographical span information, historical processing time and background resource scheduling information.
- the indicator information, the inter-span span information, the geographical span information, the historical processing time, and the background resource scheduling information may be used as one of the reference bases for estimating the processing time of the data processing request.
- the indicator information is preferably the number of indicators of the data processing request, that is, the number of tasks included in the data processing request.
- the indicator information is extracted from a service field of the data processing request; and the more the number of indicators, the longer the processing time.
- the inter-span span information refers to a spanning span of data that the data processing request depends on, such as retrieving data of the previous day, retrieving data of the previous month, and the like.
- the geographical span information refers to the geographical distribution span of the data on which the data processing request depends, such as inter-provincial, inter-city, and inter-regional data.
- the historical processing time refers to the system responding to the same data processing within a specified historical time range. The processing is performed or the average processing time.
- the resource scheduling information in the background refers to the scheduling status of the resources in the current background, and is preferably the usage rate of the background resources, and the usage rate is closely related to the processing of the current data processing request. Exemplarily, when the usage rate of the background resource is larger, the processing time of the current data processing request is longer, and when the usage rate of the background resource is smaller, the processing time of the current data processing request is shorter.
- step S202 the processing time corresponding to the data processing request is calculated according to the estimation factor.
- any one of the indicator information, the inter-span span information, the geographical span information, the historical processing time, and the background resource scheduling information may be used as an estimate for the current data processing request.
- the greater the usage rate of the resources in the background resource scheduling information the longer the processing time of the data processing request is, and vice versa.
- step S203 the priority of the data processing request is acquired according to the processing time.
- the embodiment of the present invention pre-divides the priority of the data processing request, the priority reflects the priority order of the data processing request in the processing queue; and the processing time corresponding to the data processing request is set. Correspondence with the priority of the data processing request. After the processing time corresponding to the data processing request is estimated, the priority of the data processing request is obtained by querying the corresponding relationship. The priority is obtained based on an estimation factor of the data processing request, accurately reflecting the priority order of the data processing request.
- FIG. 3 shows a specific implementation flow of a method for sorting data processing requests according to another embodiment of the present invention.
- the method for sorting the data processing request includes: [0056] In step S301, a data processing request is received.
- step S302 the processing time corresponding to the data processing request is estimated, and the priority of the data processing request is obtained according to the processing time.
- step S303 the order of the data processing requests in the processing queue is adjusted according to the priority.
- Steps S301 to S303 are the same as steps S101 to S103 described in the embodiment of FIG. 1. For details, refer to the description of the foregoing embodiment, and details are not described herein again.
- the sorting method further includes:
- step S304 an adjustment instruction of the user is acquired, and an order of the data processing request in the processing queue is adjusted according to the adjustment instruction.
- the user may further receive a gesture operation input by the user, and obtain an adjustment instruction according to the gesture operation, according to the The adjustment instruction changes the order of the data processing request in the processing queue, thereby realizing manual adjustment of the processing sequence of the data processing request, satisfying the requirement of manual adjustment by the user, further improving the user experience, and effectively shortening the user. Waiting for the data processing results, optimizing the configuration of the internal resources of the system, reducing the pressure on the system to process data.
- FIG. 4 shows a specific implementation flow of a method for sorting data processing requests according to another embodiment of the present invention.
- the method for sorting the data processing request includes:
- step S401 a data processing request is received.
- step S402 the processing time corresponding to the data processing request is estimated, and the priority of the data processing request is obtained according to the processing time.
- step S403 the order of the data processing requests in the processing queue is adjusted according to the priority.
- Steps S401 to S403 are the same as steps S101 to S103 in the embodiment of FIG. 1. For details, refer to the description of the foregoing embodiment, and details are not described herein again.
- the sorting method further includes:
- step S404 the data processing request is responded to in the order of the data processing request in the processing queue, the processing result is obtained, and the processing result is sent to the user.
- the sending the processing result to the user may send the data by way of mail
- the processing result corresponding to the request is sent to the user; thus, the asynchronous processing of the data processing request is realized, and the user is prevented from waiting for the processing result on the original page that issues the data processing request, thereby saving the user's time and further improving the user experience. sense.
- the size of the serial number of each step does not mean the order of execution order, and the execution order of each step should be determined by its function and internal logic, and should not be implemented in the embodiment of the present invention.
- the process constitutes any limitation.
- the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- FIG. 5 shows a composition of a sorting apparatus for a data processing request according to an embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
- the sorting apparatus of the data processing request is used to implement the sorting method of the data processing request described in any one of the foregoing embodiments of FIG. 1 to FIG. 4, and may be a software unit built in the terminal. , hardware unit or unit combining software and hardware.
- the terminal includes, but is not limited to, a server, a computer, etc. in a banking system.
- the apparatus for sorting data processing requests includes:
- the receiving module 51 is configured to receive a data processing request.
- the obtaining module 52 is configured to estimate a processing time corresponding to the data processing request, and acquire a priority of the data processing request according to the processing time;
- the first adjustment module 53 is configured to adjust an order of the data processing requests in the processing queue according to the priority.
- the obtaining module 52 includes:
- an estimation factor obtaining unit 521 configured to acquire an estimation factor of the data processing request
- the processing time calculation unit 522 is configured to calculate, according to the estimation factor, a processing time corresponding to the data processing request;
- the priority obtaining unit 523 is configured to acquire a priority of the data processing request according to the processing time [0084]
- the estimation factor includes one of the following or any combination thereof:
- indicator information time span information, geographical span information, historical processing time and background resource scheduling information.
- the indicator information is preferably the number of indicators of the data processing request, that is, the number of tasks included in the data processing request.
- the indicator information is extracted from a service field of the data processing request; and the more the number of indicators, the longer the processing time.
- the inter-span span information refers to a spanning span of data that the data processing request depends on, such as retrieving data of the previous day, retrieving data of the previous month, and the like.
- the geographical span information refers to the geographical distribution span of the data on which the data processing request depends, such as inter-provincial, inter-city, and inter-regional data.
- the historical processing time refers to the processing time or average processing time of the system in response to the same data processing request within a specified historical time range.
- the background resource scheduling information refers to the scheduling status of the resources in the current background, and is preferably the usage rate of the background resources, and the usage rate is closely related to the processing of the current data processing request. Exemplarily, when the usage rate of the background resource is larger, the processing time of the current data processing request is longer, and when the usage rate of the background resource is smaller, the processing time of the current data processing request is shorter.
- the priority of the data processing request is obtained by querying the corresponding relationship.
- the priority is obtained based on an estimate of the data processing request, which accurately reflects the priority order of the data processing request.
- the position of the data processing request in the processing queue is adjusted according to the priority, thereby realizing the sequence of the data processing request in the automatic update processing queue, realizing the adjustment of the processing order of the data processing request, and effectively shortening
- the user waits for the data processing result to optimize the configuration of the internal resources of the system, which reduces the pressure on the system to process the data.
- the device further includes:
- the second adjustment module 54 is configured to acquire an adjustment instruction of the user, and adjust an order of the data processing request in the processing queue according to the adjustment instruction.
- the user may further receive a gesture operation input by the user, and obtain an adjustment instruction according to the gesture operation, according to the adjustment.
- the instruction changes the order of the data processing request in the processing queue, thereby implementing The manual adjustment of the processing order of the data processing request satisfies the user's manual adjustment requirements, further improving the user experience.
- the sorting device further includes:
- the response module 55 is configured to respond to the data processing request in an order in the processing queue according to the data processing request, obtain a processing result, and send the processing result to the user.
- the response module 55 may send the processing result corresponding to the data processing request to the user by means of mail, thereby implementing asynchronous processing on the data processing request, and preventing the user from issuing a data processing request. Waiting for the result on the original page saves the user's time, further enhancing the user's experience.
- sorting apparatus in the embodiment of the present invention may be used to implement all the technical solutions in the foregoing method embodiments, and the functions of the respective functional modules may be specifically implemented according to the method in the foregoing method embodiment, and the specific For the implementation process, refer to the related description in the above example, and details are not described herein again.
- FIG. 6 is a schematic block diagram of a terminal provided by another embodiment of the present invention.
- the terminal as shown may include: one or more processors 501 (only one shown); one or more input devices 502 (only one shown), one or more output devices 503 ( Only one) memory 504 is shown.
- the above processor 501, input device 502, output device 503, and memory 504 are connected by a bus 506.
- the input device 502 is for the user to input various control instructions, for example, input data processing requests; the output device 503 is used to present data processing results or display various interactive information and the like.
- the memory 504 is configured to store program code; the processor 501 is configured to execute the program code stored in the memory to perform the following operations:
- the processor 501 estimates a processing time corresponding to the data processing request, and obtains a priority of the data processing request according to the processing, including:
- the estimation factor includes one of the following or any combination thereof:
- indicator information time span information, geographical span information, historical processing time and background resource scheduling information.
- the input device 502 is further configured to input an adjustment instruction by the user
- the processor 501 is further configured to execute the program code in the memory 504 to perform the following operations:
- processor 501 is further configured to execute program code in the memory 504 to perform the following operations:
- processor 501 may be a central processing unit (CPU) and/or a graphics processing unit (GPU), or may be based thereon. Combined with other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices , discrete gates or transistor logic devices, discrete hardware components, etc.
- CPU central processing unit
- GPU graphics processing unit
- DSPs Digital Signal Processors
- ASICs Application Specific Integrated Circuits
- FPGAs Field-Programmable Gate Arrays
- programmable logic devices discrete gates or transistor logic devices, discrete hardware components, etc.
- the input device 502 may include a touch panel, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, a communication module (such as a Wi-Fi module, a 2G/3G/4G network module), Physical buttons, etc.
- a fingerprint sensor for collecting fingerprint information of the user and direction information of the fingerprint
- a microphone for collecting fingerprint information of the user and direction information of the fingerprint
- a communication module such as a Wi-Fi module, a 2G/3G/4G network module
- Physical buttons etc.
- the output device 503 may include a display (LCD or the like), a speaker, and the like.
- the display can be used to display information input by the user or information provided to the user, and the like.
- the display may include a display panel.
- the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the specific implementation manners of the foregoing processor 501, the input device 502, the output device 503, and the memory 504 may be changed according to the spirit of the present invention, and are not limited to a specific implementation, for example, a memory. It can be either a single memory or multiple locations distributed at different locations on the terminal.
- the storage unit; and in some embodiments, the input device 502 and the output device 503 can be configured as a unified user interface for implementing information interaction between the user and the terminal.
- the user interface can be a display with a touch panel.
- the touch display can be used as an input device for detecting a user's touch operation and generating corresponding control commands, and also providing a corresponding visual output as an output device.
- the present invention also provides a non-transitory computer readable storage medium storing instructions executable by one or more processors to perform operations, the operations comprising:
- the processor is configured to estimate a processing time corresponding to the data processing request, and obtain a priority of the data processing request according to the processing, including:
- the estimation factor includes one of the following or any combination thereof:
- indicator information time span information, geographical span information, historical processing time and background resource scheduling information.
- the operations further include:
- the operations further include:
- the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
- the technical solution of the present invention, or the part contributing to the prior art, or the part of the technical solution may be embodied in the form of a software product stored in a storage medium, the package
- a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
- the embodiment of the present invention receives a data processing request, estimates a processing time corresponding to the data processing request, and acquires a priority of the data processing request according to the processing time;
- the priority adjusts the order of the data processing request in the processing queue; thereby implementing the order adjustment of the data processing request in the processing queue, so that the processing order of the data processing request is more reasonable, effectively shortening the user waiting for the data processing result.
- the configuration of internal resources of the system is further optimized.
- the method, apparatus, terminal, and storage medium of the disclosed data processing request may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules and units is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
- the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
- the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit and module in each embodiment of the present invention may be integrated into one processing unit, or each unit or module may exist physically separately, or two or more units and modules may be integrated in the module. In a unit.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种数据处理请求的排序方法、装置、终端及存储介质,所述排序方法包括:接收数据处理请求;估算所述数据处理请求对应的处理时间,并根据所述处理时间获取所述数据处理请求的优先级;根据所述优先级调整所述数据处理请求在处理队列中的次序;从而实现了对处理队列中数据处理请求的次序调整,使得数据处理请求的处理顺序更合理,有效地缩短了用户等待数据处理结果的时间,且优化了系统内部资源的配置。
Description
说明书 发明名称:数据处理请求的排序方法、 装置、 终端及存储介质 技术领域
[0001] 本发明属于数据处理技术领域, 尤其涉及一种数据处理请求的排序方法、 装置
、 终端及存储介质。
背景技术
[0002] 现有的银行系统主要根据数据处理请求的提交吋间进行先后排序及处理, 用户 需要在发出数据处理请求的原页面上等待处理结果, 耗费吋间, 且系统内部的 资源使用不合理。
技术问题
[0003] 鉴于此, 本发明实施例提供了一种数据处理请求的排序方法、 装置、 终端及存 储介质, 以调整数据处理请求的处理顺序, 缩短用户的等待吋间。
问题的解决方案
技术解决方案
[0004] 第一方面, 提供了一种数据处理请求的排序方法, 所述排序方法包括:
[0005] 接收数据处理请求;
[0006] 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所述数据处 理请求的优先级;
[0007] 根据所述优先级调整所述数据处理请求在处理队列中的次序。
[0008] 第二方面, 提供了一种数据处理请求的排序装置, 所述排序装置包括:
[0009] 接收模块, 用于接收数据处理请求;
[0010] 获取模块, 用于估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间 获取所述数据处理请求的优先级;
[0011] 第一调整模块, 用于根据所述优先级调整所述数据处理请求在处理队列中的次 序。
[0012] 第三方面, 提供了一种终端, 所述终端包括处理器、 存储器和输入设备; [0013] 所述输入设备用于输入数据处理请求;
[0014] 所述存储器用于存储程序代码;
[0015] 所述处理器用于执行所述存储器存储的程序代码以执行如下操作:
[0016] 接收所述数据处理请求;
[0017] 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所述数据处 理请求的优先级;
[0018] 根据所述优先级调整所述数据处理请求在处理队列中的次序。
[0019] 第四方面, 提供了一种非暂态计算机可读存储介质, 所述非暂态计算机可读存 储介质存储可由一个或多个处理器执行的指令以执行操作, 所述操作包括: [0020] 接收数据处理请求;
[0021] 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所述数据处 理请求的优先级;
[0022] 根据所述优先级调整所述数据处理请求在处理队列中的次序。
发明的有益效果
有益效果
[0023] 与现有技术相比, 本发明实施例通过接收数据处理请求; 估算所述数据处理请 求对应的处理吋间, 并根据所述处理吋间获取所述数据处理请求的优先级; 然 后根据所述优先级调整所述数据处理请求在处理队列中的次序; 从而实现了对 处理队列中数据处理请求的次序调整, 使得数据处理请求的处理顺序更合理, 有效地缩短了用户等待数据处理结果的吋间, 进一步优化了系统内部资源的配 置。
对附图的简要说明
附图说明
[0024] 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或 现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创 造性劳动的前提下, 还可以根据这些附图获得其他附图。
[0025] 图 1是本发明实施例提供的数据处理请求的排序方法的实现流程图;
[0026] 图 2是本发明实施例提供的数据处理请求的排序方法中步骤 S102的具体实现流
程图;
[0027] 图 3是本发明另一实施例提供的数据处理请求的排序方法的实现流程图;
[0028] 图 4是本发明另一实施例提供的数据处理请求的排序方法的实现流程图;
[0029] 图 5是本发明实施例提供的数据处理请求的排序装置的组成结构图;
[0030] 图 6是本发明另一实施例提供的终端的示意性框图。
本发明的实施方式
[0031] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。
[0032] 本发明实施例通过接收数据处理请求; 估算所述数据处理请求对应的处理吋间 , 并根据所述处理吋间获取所述数据处理请求的优先级; 然后根据所述优先级 调整所述数据处理请求在处理队列中的次序; 从而实现了对处理队列中数据处 理请求的次序调整, 使得数据处理请求的处理顺序更合理, 有效地缩短了用户 等待数据处理结果的吋间, 进一步优化了系统内部资源的配置。 本发明实施例 还提供了相应的数据处理请求的排序装置, 以下分别进行详细的说明。
[0033] 图 1是本发明实施例提供的数据处理请求的排序方法的实现流程。
[0034] 在本发明实施例中, 所述数据处理请求的排序方法应用于银行系统的终端上, 所述终端包括但不限于服务器、 计算机等。 参阅图 1, 所述数据处理请求的排序 方法包括:
[0035] 在步骤 S101中, 接收数据处理请求。
[0036] 在这里, 所述数据处理请求是指由用户输入银行系统的、 并由所述银行系统响 应及返回处理结果的请求。 示例性地, 所述数据处理请求包括但不限于比如査 看账户、 进行转账操作、 进行保险出单操作等等。 系统实吋地接收用户输入的 数据处理请求。
[0037] 在步骤 S102中, 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间 获取所述数据处理请求的优先级。
[0038] 在这里, 本发明实施例预先划分了数据处理请求的优先级, 所述优先级反映了
所述数据处理请求在处理队列中的优先顺序; 以及设置了数据处理请求对应的 处理吋间与所述数据处理请求的优先级之间的对应关系。 在接收到数据处理请 求之后, 则按照预设的方式估算所述数据处理请求对应的处理吋间, 然后査询 所述对应关系得到所述数据处理请求的优先级。
[0039] 在步骤 S103中, 根据所述优先级调整所述数据处理请求在处理队列中的次序。
[0040] 在得到优先级后, 则按照所述优先级调整所述数据处理请求在处理队列中的位 置, 从而更新了处理队列中数据处理请求的先后顺序, 实现了对处理队列中数 据处理请求的次序调整, 使得数据处理请求的处理顺序更合理, 有效地缩短了 用户等待数据处理结果的吋间, 且优化了系统内部资源的配置, 减少了系统处 理数据的压力。
[0041] 作为本发明的一个优选示例, 本发明实施例预先设置了估算因子, 所述估算因 子作为计算数据处理请求的处理吋间的参考标准。 在估算所述数据处理请求对 应的处理吋间吋, 则按照所述数据处理请求的估算因子来估算处理吋间。 图 2示 出了本发明实施例提供的数据处理请求的排序方法中步骤 S102的具体实现流程
[0042] 参阅图 2, 所述步骤 S102包括:
[0043] 在步骤 S201中, 获取所述数据处理请求的估算因子。
[0044] 在这里, 所述估算因子包括但不限于以下中的一种或者其任意组合: 指标信息 、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资源调度信息。 所述 指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资源调度信 息均可作为估算本次数据处理请求的处理吋间的参考依据之一。
[0045] 其中, 所述指标信息优选为所述数据处理请求的指标数量, 即所述数据处理请 求包括的任务个数。 优选从所述数据处理请求的业务字段中提取所述指标信息 ; 且指标数量越多, 处理吋间越长。
[0046] 所述吋间跨度信息是指所述数据处理请求所依赖的数据的吋间分布跨度, 比如 调取前一天的数据、 调取前一个月的数据等。 所述地域跨度信息是指所述数据 处理请求所依赖的数据的地域分布跨度, 比如跨省、 跨市、 跨区调取数据。
[0047] 所述历史处理吋间是指在指定的历史吋间范围内, 系统响应同样的数据处理请
求的处理吋间或者平均处理吋间。
[0048] 所述后台的资源调度信息是指当前后台中资源的调度状况, 优选为后台资源的 使用率, 所述使用率与本次数据处理请求的处理吋间息息相关。 示例性地, 当 后台资源的使用率越大, 则本次数据处理请求的处理吋间越长, 当后台资源的 使用率越小, 则本次数据处理请求的处理吋间越短。
[0049] 在步骤 S202中, 根据所述估算因子计算所述数据处理请求对应的处理吋间。
[0050] 在本发明实施例中, 所述指标信息、 吋间跨度信息、 地域跨度信息、 历史处理 吋间和后台的资源调度信息中的任一项或者其组合可以作为估算本次数据处理 请求的处理吋间的参考依据。 可选地, 当所述指标信息中的指标数量越大, 所 述数据处理请求的处理吋间越长, 反之则越短; 所述吋间跨度信息越大, 所述 数据处理请求的处理吋间越长, 反之则越短; 所述地域跨度信息越大, 所述数 据处理请求的处理吋间越长, 反之则越短; 所述历史处理吋间越大, 所述数据 处理请求的处理吋间越长, 反之则越短; 所述后台的资源调度信息中资源的使 用率越大, 所述数据处理请求的处理吋间越长, 反之则越短。
[0051] 在步骤 S203中, 根据所述处理吋间获取所述数据处理请求的优先级。
[0052] 在这里, 本发明实施例预先划分了数据处理请求的优先级, 所述优先级反映了 所述数据处理请求在处理队列中的优先顺序; 以及设置了数据处理请求对应的 处理吋间与所述数据处理请求的优先级之间的对应关系。 在估算出所述数据处 理请求对应的处理吋间后, 则通过査询所述对应关系得到所述数据处理请求的 优先级。 所述优先级是基于所述数据处理请求的估算因子获得的, 准确地反映 了所述数据处理请求的优先顺序。
[0053] 最后按照所述优先级调整所述数据处理请求在处理队列中的位置, 从而更新了 处理队列中数据处理请求的先后顺序, 实现了对处理队列中数据处理请求的次 序调整, 使得数据处理请求的处理顺序更合理, 有效地缩短了用户等待数据处 理结果的吋间, 且优化了系统内部资源的配置, 减少了系统处理数据的压力。
[0054] 作为本发明的另一个优选实例, 图 3示出了本发明另一实施例提供的数据处理 请求的排序方法的具体实现流程。
[0055] 参阅图 3, 所述数据处理请求的排序方法包括:
[0056] 在步骤 S301中, 接收数据处理请求。
[0057] 在步骤 S302中, 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间 获取所述数据处理请求的优先级。
[0058] 在步骤 S303中, 根据所述优先级调整所述数据处理请求在处理队列中的次序。
[0059] 其中, 步骤 S301至步骤 S303与图 1实施例中所述的步骤 S101至步骤 S103相同, 具体请参见上述实施例的叙述, 此处不再赘述。
[0060] 所述排序方法还包括:
[0061] 在步骤 S304中, 获取用户的调整指令, 根据所述调整指令调整所述数据处理请 求在处理队列中的次序。
[0062] 在这里, 在系统根据所述数据处理请求的估算因子完成对所述数据处理请求的 自动排序之后, 还可以接收用户输入的手势操作, 根据所述手势操作获取调整 指令, 依据所述调整指令改变所述数据处理请求在处理队列中的顺序, 从而实 现了对数据处理请求的处理顺序的人工调整, 满足了用户手动调整的需求, 进 一步提升了用户体验感, 且有效地缩短了用户等待数据处理结果的吋间, 优化 了系统内部资源的配置, 减少了系统处理数据的压力。
[0063] 作为本发明的另一个优选实例, 图 4示出了本发明另一实施例提供的数据处理 请求的排序方法的具体实现流程。
[0064] 参阅图 4, 所述数据处理请求的排序方法包括:
[0065] 在步骤 S401中, 接收数据处理请求。
[0066] 在步骤 S402中, 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间 获取所述数据处理请求的优先级。
[0067] 在步骤 S403中, 根据所述优先级调整所述数据处理请求在处理队列中的次序。
[0068] 其中, 步骤 S401至步骤 S403与图 1实施例中所述的步骤 S101至步骤 S103相同, 具体请参见上述实施例的叙述, 此处不再赘述。
[0069] 所述排序方法还包括:
[0070] 在步骤 S404中, 按照所述数据处理请求在处理队列中的次序响应所述数据处理 请求, 获得处理结果, 并将所述处理结果发送至用户。
[0071] 可选地, 所述将所述处理结果发送至用户可以为通过邮件的方式将所述数据处
理请求对应的处理结果发送至用户; 从而实现了对数据处理请求的异步处理, 避免了用户在发出数据处理请求的原页面上等待处理结果, 节省了用户的吋间 , 进一步提升了用户的体验感。
[0072] 应理解, 在上述实施例中, 各步骤的序号的大小并不意味着执行顺序的先后, 各步骤的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例的实施 过程构成任何限定。
[0073] 需要说明的是, 本领域普通技术人员可以理解实现上述实施例的全部或部分步 骤可以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序 可以存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储 器, 磁盘或光盘等。
[0074] 图 5示出了本发明实施例提供的数据处理请求的排序装置的组成结构, 为了便 于说明, 仅示出了与本发明实施例相关的部分。
[0075] 在本发明实施例中, 所述数据处理请求的排序装置用于实现上述图 1至图 4任一 实施例中所述的数据处理请求的排序方法, 可以是内置于终端的软件单元、 硬 件单元或者软硬件结合的单元。 所述终端包括但不限于银行系统中的服务器、 计算机等。
[0076] 参阅图 5, 所述数据处理请求的排序装置包括:
[0077] 接收模块 51, 用于接收数据处理请求;
[0078] 获取模块 52, 用于估算所述数据处理请求对应的处理吋间, 并根据所述处理吋 间获取所述数据处理请求的优先级;
[0079] 第一调整模块 53, 用于根据所述优先级调整所述数据处理请求在处理队列中的 次序。
[0080] 进一步地, 所述获取模块 52包括:
[0081] 估算因子获取单元 521, 用于获取所述数据处理请求的估算因子;
[0082] 处理吋间计算单元 522, 用于根据所述估算因子计算所述数据处理请求对应的 处理吋间;
[0083] 优先级获取单元 523, 用于根据所述处理吋间获取所述数据处理请求的优先级
[0084] 可选地, 所述估算因子包括以下中的一种或者其任意组合:
[0085] 指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资源调度信 息。
[0086] 其中, 所述指标信息优选为所述数据处理请求的指标数量, 即所述数据处理请 求包括的任务个数。 优选从所述数据处理请求的业务字段中提取所述指标信息 ; 且指标数量越多, 处理吋间越长。
[0087] 所述吋间跨度信息是指所述数据处理请求所依赖的数据的吋间分布跨度, 比如 调取前一天的数据、 调取前一个月的数据等。 所述地域跨度信息是指所述数据 处理请求所依赖的数据的地域分布跨度, 比如跨省、 跨市、 跨区调取数据。
[0088] 所述历史处理吋间是指在指定的历史吋间范围内, 系统响应同样的数据处理请 求的处理吋间或者平均处理吋间。
[0089] 所述后台的资源调度信息是指在当前后台中资源的调度状况, 优选为后台资源 的使用率, 所述使用率与本次数据处理请求的处理吋间息息相关。 示例性地, 当后台资源的使用率越大, 则本次数据处理请求的处理吋间越长, 当后台资源 的使用率越小, 则本次数据处理请求的处理吋间越短。
[0090] 在估算出所述数据处理请求对应的处理吋间后, 则通过査询所述对应关系得到 所述数据处理请求的优先级。 所述优先级是基于所述数据处理请求的估算因子 获得的, 其准确地反映了所述数据处理请求的优先顺序。 最后按照所述优先级 调整所述数据处理请求在处理队列中的位置, 从而实现了自动更新处理队列中 数据处理请求的先后顺序, 实现了对数据处理请求的处理顺序的调整, 有效地 缩短了用户等待数据处理结果的吋间, 且优化了系统内部资源的配置, 减少了 系统处理数据的压力。
[0091] 进一步地, 所述装置还包括:
[0092] 第二调整模块 54, 用于获取用户的调整指令, 根据所述调整指令调整所述数据 处理请求在处理队列中的次序。
[0093] 在这里, 在系统根据所述数据处理请求的估算因子完成对所述数据处理请求的 排序之后, 还可以接收用户输入的手势操作, 根据所述手势操作获取调整指令 , 依据所述调整指令改变所述数据处理请求在处理队列中的顺序, 从而实现了
对数据处理请求的处理顺序的人工调整, 满足了用户手动调整的需求, 进一步 提升了用户体验感。
[0094] 进一步地, 所述排序装置还包括:
[0095] 响应模块 55, 用于按照所述数据处理请求在处理队列中的次序响应所述数据处 理请求, 获得处理结果, 并将所述处理结果发送至用户。
[0096] 可选地, 所述响应模块 55可以通过邮件的方式将所述数据处理请求对应的处理 结果发送至用户, 从而实现了对数据处理请求的异步处理, 避免了用户在发出 数据处理请求的原页面上等待处理结果, 节省了用户的吋间, 进一步提升了用 户的体验感。
[0097] 需要说明的是, 本发明实施例中的排序装置可以用于实现上述方法实施例中的 全部技术方案, 其各个功能模块的功能可以根据上述方法实施例中的方法具体 实现, 其具体实现过程可参照上述实例中的相关描述, 此处不再赘述。
[0098] 为了便于更好地实施本发明实施例中的上述方法实施例, 本发明还提供了用于 配合实施执行上述方法实施例的相关终端。 图 6给出本发明另一实施例提供的终 端的示意性框图。 如图所示的该终端可以包括: 一个或多个处理器 501 (图中仅 示出一个) ; 一个或多个输入设备 502 (图中仅示出一个) , 一个或多个输出设 备 503 (图中仅示出一个) 、 存储器 504。 上述处理器 501、 输入设备 502、 输出 设备 503、 存储器 504通过总线 506连接。
[0099] 输入设备 502用于供用户输入各种控制指令, 例如, 输入数据处理请求; 输出 设备 503用于呈现数据处理结果或者显示各种交互信息等。 存储器 504用于存储 程序代码; 处理器 501用于执行所述存储器存储的程序代码以执行如下操作:
[0100] 接收数据处理请求;
[0101] 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所述数据处 理请求的优先级;
[0102] 根据所述优先级调整所述数据处理请求在处理队列中的次序。
[0103] 可选地, 处理器 501估算所述数据处理请求对应的处理吋间, 并根据所述处理 吋间获取所述数据处理请求的优先级, 包括:
[0104] 获取所述数据处理请求的估算因子;
[0105] 根据所述估算因子计算所述数据处理请求对应的处理吋间;
[0106] 根据所述处理吋间获取所述数据处理请求的优先级。
[0107] 可选地, 所述估算因子包括以下中的一种或者其任意组合:
[0108] 指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资源调度信 息。
[0109] 可选地, 输入设备 502还用于供用户输入调整指令, 处理器 501还用于执行存储 器 504中的程序代码以执行如下操作:
[0110] 获取用户的调整指令, 根据所述调整指令调整所述数据处理请求在处理队列中 的次序。
[0111] 可选地, 处理器 501还用于执行存储器 504中的程序代码以执行如下操作:
[0112] 按照所述数据处理请求在处理队列中的次序响应所述数据处理请求, 获得处理 结果, 并将所述处理结果发送至用户。
[0113] 应当理解, 在本发明实施例中, 所称处理器 501可以是中央处理单元 (Central Processing Unit, CPU)和 /或图形处理器 (Graphic Processing Unit, GPU) , 也 可以在此基础上结合其他通用处理器、 数字信号处理器(Digital Signal Processor , DSP)、 专用集成电路(Application Specific Integrated Circuit, ASIC)、 现成可编 程门阵列(Field-Programmable Gate Array , FPGA)或者其他可编程逻辑器件、 分 立门或者晶体管逻辑器件、 分立硬件组件等。
[0114] 输入设备 502可以包括触控板、 指纹采传感器 (用于采集用户的指纹信息和指 纹的方向信息) 、 麦克风、 通信模块 (比如 Wi-Fi模块、 2G/3G/4G网络模块) 、 物理按键等。
[0115] 输出设备 503可以包括显示器 (LCD等) 、 扬声器等。 其中, 显示器可用于显 示由用户输入的信息或提供给用户的信息等。 显示器可包括显示面板, 可选的 , 可以采用液晶显示器 (Liquid Crystal Display , LCD)、 有机发光二极管 (Organic Light-Emitting Diode, OLED)等形式来配置显示面板。
[0116] 可以理解, 上述处理器 501、 输入设备 502、 输出设备 503、 存储器 504的具体实 现方式可依据本发明的精神做相应改变, 而并不局限于某种具体的实现形式, 例如, 存储器既可以为单一的存储器, 也可以具有多个分布在终端不同位置的
存储单元; 而在一些实施例中, 输入设备 502和输出设备 503可以设置为统一的 用户接口, 用于实现用户与终端之间的信息交互, 例如, 用户接口可为具有触 控板的显示器, 触控显示器既可以作为输入设备, 用于检测用户的触摸操作并 生成相应的控制指令, 又可以作为输出设备提供相应的视觉输出等。
[0117] 本发明还提供了一种非暂态计算机可读存储介质, 所述非暂态计算机可读存储 介质存储可由一个或多个处理器执行的指令以执行操作, 所述操作包括:
[0118] 接收数据处理请求;
[0119] 估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所述数据处 理请求的优先级;
[0120] 根据所述优先级调整所述数据处理请求在处理队列中的次序。
[0121] 可选地, 所述处理器估算所述数据处理请求对应的处理吋间, 并根据所述处理 吋间获取所述数据处理请求的优先级, 包括:
[0122] 获取所述数据处理请求的估算因子;
[0123] 根据所述估算因子计算所述数据处理请求对应的处理吋间;
[0124] 根据所述处理吋间获取所述数据处理请求的优先级。
[0125] 可选地, 所述估算因子包括以下中的一种或者其任意组合:
[0126] 指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资源调度信 息。
[0127] 可选地, 所述操作还包括:
[0128] 获取用户的调整指令, 根据所述调整指令调整所述数据处理请求在处理队列中 的次序。
[0129] 可选地, 所述操作还包括:
[0130] 按照所述数据处理请求在处理队列中的次序响应所述数据处理请求, 获得处理 结果, 并将所述处理结果发送至用户。
[0131] 应当理解, 所述功能如果以软件功能单元的形式实现并作为独立的产品销售或 使用吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明 的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可 以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质中, 包
括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络 设备等) 执行本发明各个实施例所述方法的全部或部分步骤。 而前述的存储介 质包括: U盘、 移动硬盘、 只读存储器 (ROM, Read-Only Memory) 、 随机存 取存储器 (RAM, Random Access Memory) 、 磁碟或者光盘等各种可以存储程 序代码的介质。
[0132] 综上所述, 本发明实施例通过接收数据处理请求; 估算所述数据处理请求对应 的处理吋间, 并根据所述处理吋间获取所述数据处理请求的优先级; 然后根据 所述优先级调整所述数据处理请求在处理队列中的次序; 从而实现了对处理队 列中数据处理请求的次序调整, 使得数据处理请求的处理顺序更合理, 有效地 缩短了用户等待数据处理结果的吋间, 进一步优化了系统内部资源的配置。
[0133] 在本申请所提供的几个实施例中, 应该理解到, 所揭露的数据处理请求的排序 方法、 装置、 终端及存储介质, 可以通过其它的方式实现。 例如, 以上所描述 的装置实施例仅仅是示意性的, 例如, 所述模块、 单元的划分, 仅仅为一种逻 辑功能划分, 实际实现吋可以有另外的划分方式, 例如多个单元或组件可以结 合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所 显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口, 装 置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
[0134] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。
[0135] 另外, 在本发明各个实施例中的各功能单元、 模块可以集成在一个处理单元中 , 也可以是各个单元、 模块单独物理存在, 也可以两个或两个以上单元、 模块 集成在一个单元中。
[0136] 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化 或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述 以权利要求的保护范围为准。
Claims
权利要求书
一种数据处理请求的排序方法, 其特征在于, 所述排序方法包括: 接收数据处理请求;
估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所 述数据处理请求的优先级;
根据所述优先级调整所述数据处理请求在处理队列中的次序。
如权利要求 1所述的数据处理请求的排序方法, 其特征在于, 所述估 算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所述 数据处理请求的优先级包括:
获取所述数据处理请求的估算因子;
根据所述估算因子计算所述数据处理请求对应的处理吋间; 根据所述处理吋间获取所述数据处理请求的优先级。
如权利要求 2所述的数据处理请求的排序方法, 其特征在于, 所述估 算因子包括以下中的一种或者其任意组合:
指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资 源调度信息。
如权利要求 1至 3任一项所述的数据处理请求的排序方法, 其特征在于 , 所述排序方法还包括:
获取用户的调整指令, 根据所述调整指令调整所述数据处理请求在处 理队列中的次序。
如权利要求 1至 3任一项所述的数据处理请求的排序方法, 其特征在于 , 所述排序方法还包括:
按照所述数据处理请求在处理队列中的次序响应所述数据处理请求, 获得处理结果, 并将所述处理结果发送至用户。
一种数据处理请求的排序装置, 其特征在于, 所述排序装置包括: 接收模块, 用于接收数据处理请求;
获取模块, 用于估算所述数据处理请求对应的处理吋间, 并根据所述 处理吋间获取所述数据处理请求的优先级;
第一调整模块, 用于根据所述优先级调整所述数据处理请求在处理队 列中的次序。
如权利要求 6所述的数据处理请求的排序装置, 其特征在于, 所述获 取模块包括:
估算因子获取单元, 用于获取所述数据处理请求的估算因子; 处理吋间计算单元, 用于根据所述估算因子计算所述数据处理请求对 应的处理吋间;
优先级获取单元, 用于根据所述处理吋间获取所述数据处理请求的优 先级。
如权利要求 7所述的数据处理请求的排序装置, 其特征在于, 所述估 算因子包括以下中的一种或者其任意组合:
指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资 源调度信息。
如权利要求 6至 8任一项所述的数据处理请求的排序装置, 其特征在于 , 所述排序装置还包括:
第二调整模块, 用于获取用户的调整指令, 根据所述调整指令调整所 述数据处理请求在处理队列中的次序。
如权利要求 6至 8任一项所述的数据处理请求的排序装置, 其特征在于 , 所述排序装置还包括:
响应模块, 用于按照所述数据处理请求在处理队列中的次序响应所述 数据处理请求, 获得处理结果, 并将所述处理结果发送至用户。 一种终端, 其特征在于, 所述终端包括处理器、 存储器和输入设备; 所述输入设备用于输入数据处理请求;
所述存储器用于存储程序代码;
所述处理器用于执行所述存储器存储的程序代码以执行如下操作: 接收所述数据处理请求;
估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所 述数据处理请求的优先级;
根据所述优先级调整所述数据处理请求在处理队列中的次序。
如权利要求 11所述的终端, 其特征在于, 所述估算所述数据处理请求 对应的处理吋间, 并根据所述处理吋间获取所述数据处理请求的优先 级, 包括:
获取所述数据处理请求的估算因子;
根据所述估算因子计算所述数据处理请求对应的处理吋间; 根据所述处理吋间获取所述数据处理请求的优先级。
如权利要求 12所述的终端, 其特征在于, 所述估算因子包括以下中的 一种或者其任意组合:
指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资 源调度信息。
如权利要求 11至 13任一项所述的终端, 其特征在于, 所述输入设备还 用于输入用户的调整指令, 所述处理器还用于执行所述存储器存储的 程序代码以执行如下操作:
获取用户的调整指令, 根据所述调整指令调整所述数据处理请求在处 理队列中的次序。
如权利要求 11至 13任一项所述的终端, 其特征在于, 所述处理器还用 于执行所述存储器存储的程序代码以执行如下操作:
按照所述数据处理请求在处理队列中的次序响应所述数据处理请求, 获得处理结果, 并将所述处理结果发送至用户。
一种非暂态计算机可读存储介质, 其特征在于, 所述非暂态计算机可 读存储介质存储可由一个或多个处理器执行的指令以执行操作, 所述 操作包括:
接收数据处理请求;
估算所述数据处理请求对应的处理吋间, 并根据所述处理吋间获取所 述数据处理请求的优先级;
根据所述优先级调整所述数据处理请求在处理队列中的次序。
如权利要求 16所述的介质, 其特征在于, 所述估算所述数据处理请求
对应的处理吋间, 并根据所述处理吋间获取所述数据处理请求的优先 级, 包括:
获取所述数据处理请求的估算因子;
根据所述估算因子计算所述数据处理请求对应的处理吋间; 根据所述处理吋间获取所述数据处理请求的优先级。
[权利要求 18] 如权利要求 17所述的介质, 其特征在于, 所述估算因子包括以下中的
一种或者其任意组合:
指标信息、 吋间跨度信息、 地域跨度信息、 历史处理吋间和后台的资 源调度信息。
[权利要求 19] 如权利要求 16至 18任一项所述的介质, 其特征在于, 所述操作还包括 获取用户的调整指令, 根据所述调整指令调整所述数据处理请求在处 理队列中的次序。
[权利要求 20] 如权利要求 16至 18任一项所述的介质, 其特征在于, 所述操作还包括 按照所述数据处理请求在处理队列中的次序响应所述数据处理请求, 获得处理结果, 并将所述处理结果发送至用户。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610668935.6 | 2016-08-15 | ||
| CN201610668935.6A CN106406821A (zh) | 2016-08-15 | 2016-08-15 | 数据处理请求的排序方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018032737A1 true WO2018032737A1 (zh) | 2018-02-22 |
Family
ID=58004469
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/073506 Ceased WO2018032737A1 (zh) | 2016-08-15 | 2017-02-14 | 数据处理请求的排序方法、装置、终端及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106406821A (zh) |
| WO (1) | WO2018032737A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111833478A (zh) * | 2019-04-15 | 2020-10-27 | 丰鸟航空科技有限公司 | 数据处理方法、装置、终端及存储介质 |
| CN112667368A (zh) * | 2019-10-16 | 2021-04-16 | 北京京东乾石科技有限公司 | 一种任务数据处理方法和装置 |
| CN115293541A (zh) * | 2022-07-26 | 2022-11-04 | 珠海格力电器股份有限公司 | 实验室工作调度方法、装置、电子设备和可读存储介质 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106851592B (zh) * | 2017-03-10 | 2019-12-10 | Oppo广东移动通信有限公司 | 一种广播接收者的调整方法、装置及终端 |
| CN106919459B (zh) * | 2017-03-10 | 2020-12-04 | Oppo广东移动通信有限公司 | 一种广播接收者的管理方法、装置及终端 |
| CN107818016A (zh) * | 2017-11-22 | 2018-03-20 | 苏州麦迪斯顿医疗科技股份有限公司 | 服务器应用程序设计方法、请求事件处理方法及装置 |
| CN110119876B (zh) * | 2019-04-03 | 2021-08-13 | 口碑(上海)信息技术有限公司 | 工单处理方法及装置 |
| CN110288486A (zh) * | 2019-05-22 | 2019-09-27 | 深圳壹账通智能科技有限公司 | 实时处理数据的异步补偿方法、装置、设备及存储介质 |
| CN110430264B (zh) * | 2019-08-05 | 2020-09-25 | 江苏普旭软件信息技术有限公司 | 一种云计算中的数据读取方法 |
| CN115051803B (zh) * | 2022-07-12 | 2023-04-28 | 浙江航芯科技有限公司 | 一种找回智能路由器后台账户密码的系统及方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120044529A1 (en) * | 2010-08-18 | 2012-02-23 | Konica Minolta Business Technologies, Inc. | Processing order determining apparatus, processing order determining method, and non-transitory computer-readable recording medium encoded with processing order determining program |
| CN103631650A (zh) * | 2012-08-25 | 2014-03-12 | 成都勤智数码科技股份有限公司 | 用于it运维系统的采集调度方法 |
| CN104536827A (zh) * | 2015-01-27 | 2015-04-22 | 浪潮(北京)电子信息产业有限公司 | 一种数据调度方法和装置 |
| CN104794239A (zh) * | 2015-05-08 | 2015-07-22 | 成都博元科技有限公司 | 一种云平台数据处理方法 |
| CN105389204A (zh) * | 2015-10-26 | 2016-03-09 | 清华大学 | 一种多资源偏序调度策略 |
-
2016
- 2016-08-15 CN CN201610668935.6A patent/CN106406821A/zh active Pending
-
2017
- 2017-02-14 WO PCT/CN2017/073506 patent/WO2018032737A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120044529A1 (en) * | 2010-08-18 | 2012-02-23 | Konica Minolta Business Technologies, Inc. | Processing order determining apparatus, processing order determining method, and non-transitory computer-readable recording medium encoded with processing order determining program |
| CN103631650A (zh) * | 2012-08-25 | 2014-03-12 | 成都勤智数码科技股份有限公司 | 用于it运维系统的采集调度方法 |
| CN104536827A (zh) * | 2015-01-27 | 2015-04-22 | 浪潮(北京)电子信息产业有限公司 | 一种数据调度方法和装置 |
| CN104794239A (zh) * | 2015-05-08 | 2015-07-22 | 成都博元科技有限公司 | 一种云平台数据处理方法 |
| CN105389204A (zh) * | 2015-10-26 | 2016-03-09 | 清华大学 | 一种多资源偏序调度策略 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111833478A (zh) * | 2019-04-15 | 2020-10-27 | 丰鸟航空科技有限公司 | 数据处理方法、装置、终端及存储介质 |
| CN112667368A (zh) * | 2019-10-16 | 2021-04-16 | 北京京东乾石科技有限公司 | 一种任务数据处理方法和装置 |
| CN115293541A (zh) * | 2022-07-26 | 2022-11-04 | 珠海格力电器股份有限公司 | 实验室工作调度方法、装置、电子设备和可读存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106406821A (zh) | 2017-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018032737A1 (zh) | 数据处理请求的排序方法、装置、终端及存储介质 | |
| CN110489440B (zh) | 数据查询方法和装置 | |
| WO2019196244A1 (zh) | 实时回调订单的方法和系统 | |
| WO2017000822A1 (zh) | 一种直接内存访问的传输控制方法及装置 | |
| CN109445954B (zh) | 一种定时任务的执行方法、终端设备及存储介质 | |
| CN113986493B (zh) | 业务使用请求处理方法、相关装置及计算机程序产品 | |
| CN105550051A (zh) | 业务请求的异步处理方法及装置 | |
| US20180374020A1 (en) | Techniques multi-factor location analysis of resources for managing services | |
| US20220180284A1 (en) | Systems and methods for integrating ordered services | |
| CN114817409B (zh) | 一种标签生成方法、装置、设备及介质 | |
| US20140019603A1 (en) | Systems and methods involving interactive queuing | |
| WO2020199961A1 (zh) | 候餐时长实时预估方法和系统 | |
| CN110460987A (zh) | 一种写卡方法、装置、服务器和存储介质 | |
| US11108701B1 (en) | System and method for object-response asset authorization and pairing | |
| CN107395443A (zh) | 一种分布式集群管理方法、装置及系统 | |
| CN106610832B (zh) | 页面异步渲染方法及装置 | |
| CN117591277A (zh) | 算力资源调度方法、装置及存储介质 | |
| CN116389601B (zh) | 一种通信方法、装置、设备以及存储介质 | |
| US20220122141A1 (en) | Train any buddy real-time online matching service | |
| US11228537B2 (en) | Resource processing method and system, storage medium and electronic device | |
| JP7476847B2 (ja) | 方法、情報処理装置、及びプログラム | |
| CN115533889A (zh) | 机器人任务调度的方法、装置及计算机设备 | |
| CN116192958A (zh) | 一种基于区块链机制的云算力共享方法、系统及装置 | |
| CN106485583B (zh) | 数据更新方法及装置 | |
| CN116596416A (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: 17840715 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 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 050619) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17840715 Country of ref document: EP Kind code of ref document: A1 |