CN110119310A - Method for distributing system resource, device, computer readable storage medium and server - Google Patents
Method for distributing system resource, device, computer readable storage medium and server Download PDFInfo
- Publication number
- CN110119310A CN110119310A CN201910295784.8A CN201910295784A CN110119310A CN 110119310 A CN110119310 A CN 110119310A CN 201910295784 A CN201910295784 A CN 201910295784A CN 110119310 A CN110119310 A CN 110119310A
- Authority
- CN
- China
- Prior art keywords
- task
- resource allocation
- system resource
- historic
- information
- 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.)
- Pending
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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明属于计算机技术领域,尤其涉及一种系统资源分配方法、装置、计算机可读存储介质及服务器。所述方法接收终端设备发送的系统资源分配请求,并从所述系统资源分配请求中提取系统任务的任务标识;根据所述任务标识从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息;在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量;从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式对所述系统任务进行系统资源分配,所述优选分配模式为系统资源分配量最大的系统资源分配模式。大大提高了系统资源分配结果的准确率,且省时省力,大大提升了系统资源分配的效率。
The invention belongs to the technical field of computers, and in particular relates to a system resource allocation method, a device, a computer-readable storage medium and a server. The method receives a system resource allocation request sent by a terminal device, and extracts a task identifier of a system task from the system resource allocation request; obtains the system task in each preset data source according to the task identifier. System task information on the attribute dimension; under various preset system resource allocation modes, calculate the system resource allocation amount of the system task according to the system task information; select the optimal allocation mode from various system resource allocation modes , and allocate system resources to the system tasks according to the preferred allocation mode, where the preferred allocation mode is a system resource allocation mode with the largest amount of system resource allocation. The accuracy rate of system resource allocation results is greatly improved, time and effort are saved, and the efficiency of system resource allocation is greatly improved.
Description
技术领域technical field
本发明属于计算机技术领域,尤其涉及一种系统资源分配方法、装置、计算机可读存储介质及服务器。The invention belongs to the technical field of computers, and in particular relates to a system resource allocation method, a device, a computer-readable storage medium and a server.
背景技术Background technique
现有技术中,在为系统任务进行系统资源分配时,往往需要设置专门的工作人员对系统任务进行分析,并根据分析结果确定对该系统任务的系统资源分配量,这种方式严重依赖于工作人员的主观经验,最后的系统资源分配结果的准确率往往较低,而且,这种方式会消耗大量的人力资源,费时费力,效率极为低下。In the prior art, when allocating system resources for system tasks, it is often necessary to set up special staff to analyze the system tasks, and determine the amount of system resource allocation for the system tasks according to the analysis results. This method is heavily dependent on the work Based on the subjective experience of personnel, the accuracy of the final system resource allocation results is often low. Moreover, this method consumes a lot of human resources, is time-consuming and laborious, and is extremely inefficient.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种系统资源分配方法、装置、计算机可读存储介质及服务器,以解决现有的系统资源分配方法准确率较低且效率极为低下的问题。In view of this, embodiments of the present invention provide a system resource allocation method, device, computer-readable storage medium, and server to solve the problems of low accuracy and extremely low efficiency of existing system resource allocation methods.
本发明实施例的第一方面提供了一种系统资源分配方法,可以包括:The first aspect of the embodiments of the present invention provides a method for allocating system resources, which may include:
接收终端设备发送的系统资源分配请求,并从所述系统资源分配请求中提取系统任务的任务标识;receiving a system resource allocation request sent by the terminal device, and extracting a task identifier of a system task from the system resource allocation request;
根据所述任务标识从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息;Acquiring the system task information of the system task in each attribute dimension from each preset data source according to the task identifier;
在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量;In various preset system resource allocation modes, respectively calculate system resource allocation amounts of the system tasks according to the system task information;
从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式对所述系统任务进行系统资源分配,所述优选分配模式为系统资源分配量最大的系统资源分配模式。Selecting a preferred allocation mode from various system resource allocation modes, and performing system resource allocation on the system task according to the preferred allocation mode, where the preferred allocation mode is a system resource allocation mode with the largest amount of system resource allocation.
本发明实施例的第二方面提供了一种系统资源分配装置,可以包括:A second aspect of the embodiments of the present invention provides a device for allocating system resources, which may include:
分配请求接收模块,用于接收终端设备发送的系统资源分配请求,并从所述系统资源分配请求中提取系统任务的任务标识;An allocation request receiving module, configured to receive a system resource allocation request sent by a terminal device, and extract a task identifier of a system task from the system resource allocation request;
任务信息获取模块,用于根据所述任务标识从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息;A task information acquiring module, configured to acquire the system task information of the system task in each attribute dimension from each preset data source according to the task identifier;
资源分配量计算模块,用于在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量;A resource allocation amount calculation module, configured to separately calculate the system resource allocation amount of the system task according to the system task information under various preset system resource allocation modes;
分配模式选取模块,用于从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式对所述系统任务进行系统资源分配,所述优选分配模式为系统资源分配量最大的系统资源分配模式。An allocation mode selection module, configured to select a preferred allocation mode from various system resource allocation modes, and allocate system resources to the system tasks according to the preferred allocation mode, and the preferred allocation mode is the system with the largest amount of system resource allocation Resource allocation model.
本发明实施例的第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:A third aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the following steps are implemented:
接收终端设备发送的系统资源分配请求,并从所述系统资源分配请求中提取系统任务的任务标识;receiving a system resource allocation request sent by the terminal device, and extracting a task identifier of a system task from the system resource allocation request;
根据所述任务标识从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息;Acquiring the system task information of the system task in each attribute dimension from each preset data source according to the task identifier;
在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量;In various preset system resource allocation modes, respectively calculate system resource allocation amounts of the system tasks according to the system task information;
从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式对所述系统任务进行系统资源分配,所述优选分配模式为系统资源分配量最大的系统资源分配模式。Selecting a preferred allocation mode from various system resource allocation modes, and performing system resource allocation on the system task according to the preferred allocation mode, where the preferred allocation mode is a system resource allocation mode with the largest amount of system resource allocation.
本发明实施例的第四方面提供了一种服务器,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A fourth aspect of the embodiments of the present invention provides a server, including a memory, a processor, and computer-readable instructions stored in the memory and operable on the processor, and the processor executes the computer-readable instructions. The following steps are implemented when reading instructions:
接收终端设备发送的系统资源分配请求,并从所述系统资源分配请求中提取系统任务的任务标识;receiving a system resource allocation request sent by the terminal device, and extracting a task identifier of a system task from the system resource allocation request;
根据所述任务标识从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息;Acquiring the system task information of the system task in each attribute dimension from each preset data source according to the task identifier;
在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量;In various preset system resource allocation modes, respectively calculate system resource allocation amounts of the system tasks according to the system task information;
从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式对所述系统任务进行系统资源分配,所述优选分配模式为系统资源分配量最大的系统资源分配模式。Selecting a preferred allocation mode from various system resource allocation modes, and performing system resource allocation on the system task according to the preferred allocation mode, where the preferred allocation mode is a system resource allocation mode with the largest amount of system resource allocation.
本发明实施例与现有技术相比存在的有益效果是:本发明实施例通过自动化处理的方式取代了现有技术中依靠工作人员手工进行系统资源分配的方式,具体地,在接收到终端设备发送的系统资源分配请求之后,首先从所述系统资源分配请求中提取系统任务的任务标识,然后根据所述任务标识自动从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息,并在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量,最后从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式自动对所述系统任务进行系统资源分配。通过本发明实施例,使用自动化处理的方式取代了现有技术中依靠工作人员手工进行系统资源分配的方式,摆脱了对于工作人员的主观经验的依赖,大大提高了系统资源分配结果的准确率,且无需进行大量的人力投入,省时省力,大大提升了系统资源分配的效率。Compared with the prior art, the embodiment of the present invention has the following beneficial effects: the embodiment of the present invention replaces the manual allocation of system resources in the prior art by means of automatic processing, specifically, after receiving the terminal device After the system resource allocation request is sent, first extract the task ID of the system task from the system resource allocation request, and then automatically obtain the system task in each attribute dimension from each preset data source according to the task ID system task information, and in various preset system resource allocation modes, calculate the system resource allocation amount of the system task according to the system task information, and finally select the optimal allocation mode from various system resource allocation modes, And automatically allocate system resources to the system tasks according to the preferred allocation mode. Through the embodiment of the present invention, the method of automatic processing is used instead of relying on staff to manually allocate system resources in the prior art, getting rid of the dependence on the subjective experience of staff, and greatly improving the accuracy of system resource allocation results. And it does not require a lot of manpower input, saves time and effort, and greatly improves the efficiency of system resource allocation.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those skilled in the art can also obtain other drawings according to these drawings without paying creative efforts.
图1为本发明实施例中一种系统资源分配方法的一个实施例流程图;FIG. 1 is a flowchart of an embodiment of a method for allocating system resources in an embodiment of the present invention;
图2为对系统任务进行系统资源分配的示意图;FIG. 2 is a schematic diagram of system resource allocation for system tasks;
图3为各个数据源中分别获取系统任务在各个属性维度上的系统任务信息的示意流程图;Fig. 3 is a schematic flowchart of obtaining system task information of system tasks in each attribute dimension in each data source;
图4为在预设的各种系统资源分配模式下,分别计算系统任务的系统资源分配量的示意流程图;FIG. 4 is a schematic flowchart of calculating the system resource allocation amounts of system tasks respectively under various preset system resource allocation modes;
图5为对历史任务进行任务集划分的示意图;FIG. 5 is a schematic diagram of task set division for historical tasks;
图6为本发明实施例中一种系统资源分配装置的一个实施例结构图;FIG. 6 is a structural diagram of an embodiment of a system resource allocation device in an embodiment of the present invention;
图7为本发明实施例中一种服务器的示意框图。Fig. 7 is a schematic block diagram of a server in an embodiment of the present invention.
具体实施方式Detailed ways
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
请参阅图1,本发明实施例中一种系统资源分配方法的一个实施例可以包括:Referring to Fig. 1, an embodiment of a system resource allocation method in an embodiment of the present invention may include:
步骤S101、接收终端设备发送的系统资源分配请求,并从所述系统资源分配请求中提取系统任务的任务标识。Step S101, receiving a system resource allocation request sent by a terminal device, and extracting a task identifier of a system task from the system resource allocation request.
用户可以通过自己的终端设备向服务器发送系统资源分配请求,以使服务器兄预设的系统资源池中为与该用户对应的系统任务分配系统资源。例如,在用户向金融机构申请贷款的场景中,金融机构所提供的所有可供贷款的资金可视作为一个系统资源池,用户申请贷款的行为可视作一个待分配系统资源的系统任务,如图2所示。The user can send a system resource allocation request to the server through his own terminal device, so that the server can allocate system resources for the system task corresponding to the user in the system resource pool preset by the server. For example, in the scenario where a user applies for a loan from a financial institution, all available loan funds provided by the financial institution can be regarded as a system resource pool, and the user's loan application behavior can be regarded as a system task to be allocated system resources, such as Figure 2 shows.
每个系统任务均有唯一的一个任务标识与之对应,该任务标识可以是用户的身份证号码、手机号码、社保号码、公积金号码或者驾驶证号码等等。Each system task has a unique task identifier corresponding to it, and the task identifier can be the user's ID card number, mobile phone number, social security number, provident fund number or driver's license number, etc.
服务器在接收到系统资源分配请求之后,即可从中提取出系统任务的任务标识。After the server receives the system resource allocation request, it can extract the task identifier of the system task therefrom.
步骤S102、根据所述任务标识从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息。Step S102. Acquire the system task information of the system task in each attribute dimension from each preset data source according to the task identifier.
各个系统任务是千差万别的,为了表征各个系统任务之间的这些差别,本实施例中可以通过多个不同属性维度上的系统任务信息来构建一个完整的系统任务,具体采用多少个属性维度,以及采用哪些属性维度,可以根据实际情况进行设置。Each system task is very different. In order to characterize these differences between each system task, in this embodiment, a complete system task can be constructed through system task information on multiple different attribute dimensions, how many attribute dimensions are used specifically, and Which attribute dimensions are used can be set according to the actual situation.
在一种具体实现中,本方案可以采用用户各方面的个人信息来作为系统任务的各个属性维度,例如,可以将每个系统任务分为保险、房贷、私家车、公积金、月收入等等属性维度。In a specific implementation, this solution can use various personal information of users as the attribute dimensions of system tasks. For example, each system task can be divided into attributes such as insurance, mortgage, private car, provident fund, monthly income, etc. dimension.
各个属性维度根据实际情况又可划分为多个子维度,例如:保险这一属性维度可以划分为已缴年限和年缴保费值这两个子维度;房贷这一属性维度可以划分为已还款月数和房贷月还款额这两个子维度;私家车这一属性维度可以划分为车价和车龄这两个子维度;公积金这一属性维度可以划分为公积金缴纳基数这一子维度;月收入这一属性维度可以划分为收入类型(工薪族、个体户/老板等类型)和月收入额这两个子维度。Each attribute dimension can be divided into multiple sub-dimensions according to the actual situation. For example, the attribute dimension of insurance can be divided into the two sub-dimensions of paid years and annual premium value; the attribute dimension of housing loan can be divided into the number of months of repayment and the sub-dimensions of housing loan monthly repayment; the attribute dimension of private car can be divided into two sub-dimensions of car price and car age; the attribute dimension of provident fund can be divided into the sub-dimension of provident fund payment base; the sub-dimension of monthly income The attribute dimension can be divided into two sub-dimensions: income type (salary family, self-employed/boss, etc.) and monthly income.
为了能够根据具体的实际情况为待处理的系统任务分配合理的系统资源,服务器首先需要获取到获取系统任务在各个属性维度上的系统任务信息,将这些属性维度上的信息作为分配系统资源的依据。In order to be able to allocate reasonable system resources for the system tasks to be processed according to the specific actual situation, the server first needs to obtain the system task information on each attribute dimension of the system task, and use the information on these attribute dimensions as the basis for allocating system resources .
在本实施例的一种具体实现中,可以通过问卷调查的形式获取这些信息,例如,服务器可以自动根据所需获取的信息生成对应的电子调查问卷,该调查问卷中包括若干个问题,每个问题均对应于系统任务的一个属性维度或子维度。服务器会将该调查问卷下发至用户的终端设备或者该用户的客户经理的终端设备上,用户只需要简单的回答这些问题,服务器即可从中抽取出所需的信息。In a specific implementation of this embodiment, the information can be obtained in the form of a questionnaire. For example, the server can automatically generate a corresponding electronic questionnaire according to the information to be obtained. The questionnaire includes several questions, each Questions correspond to an attribute dimension or subdimension of system tasks. The server will send the questionnaire to the user's terminal device or the terminal device of the user's account manager. The user only needs to answer these questions briefly, and the server can extract the required information from it.
在本实施例的另一种具体实现中,也可以在取得用户授权的情况下通过如图3所示的过程从存储用户个人信息的各个数据源中获取这些信息:In another specific implementation of this embodiment, the information can also be obtained from various data sources storing the user's personal information through the process shown in Figure 3 under the condition of obtaining the user's authorization:
步骤S1021、向所述终端设备发送数据授权请求。Step S1021, sending a data authorization request to the terminal device.
所述数据授权请求中包括服务器的设备标识,所述设备标识为唯一表征所述服务器的标识。The data authorization request includes the device identifier of the server, and the device identifier is an identifier uniquely representing the server.
步骤S1022、接收所述终端设备反馈的数据授权信息。Step S1022, receiving the data authorization information fed back by the terminal device.
所述用户的终端设备在接收到数据授权请求后,会记录下所述服务器的设备标识,并向所述执行服务器反馈所述用户的数据授权信息,所述数据授权信息中携带着用户的数字签名。After the user's terminal device receives the data authorization request, it will record the device identification of the server, and feed back the user's data authorization information to the execution server, and the data authorization information carries the user's number sign.
步骤S1023、从预设的服务器列表中选取与第sr个数据源对应的服务器作为数据服务器。Step S1023, selecting the server corresponding to the srth data source from the preset server list as the data server.
其中,每个数据源均对应至少一个属性维度上的系统任务信息,这些数据源包括但不限于户籍管理机构、劳动力管理机构、工商行政机构等等。所述服务器列表记录了各个数据源与各个服务器之间的对应关系,1≤sr≤SourceNum,SourceNum为数据源的总数,具体如下表所示:Wherein, each data source corresponds to system task information in at least one attribute dimension, and these data sources include but are not limited to household registration management agencies, labor force management agencies, industry and commerce administration agencies, and so on. The server list records the corresponding relationship between each data source and each server, 1≤sr≤SourceNum, SourceNum is the total number of data sources, as shown in the following table:
步骤S1024、向所述数据服务器发送数据请求。Step S1024, sending a data request to the data server.
所述数据请求中包括所述任务标识和所述数据授权信息,还包括所述服务器的设备标识。The data request includes the task identifier and the data authorization information, and also includes the device identifier of the server.
步骤S1025、接收所述数据服务器发送的所述系统任务的系统任务信息。Step S1025, receiving the system task information of the system task sent by the data server.
所述数据服务器在接收到所述数据请求后,对所述数据授权信息进行核对,确认数字签名的真实性,若核对无误,则根据所述任务标识在本地数据库中查找到所述系统任务的系统任务信息,并向所述执行服务器发送所述系统任务的系统任务信息。After receiving the data request, the data server checks the data authorization information to confirm the authenticity of the digital signature, and if the check is correct, finds the system task ID in the local database according to the task identifier. system task information, and send the system task information of the system task to the execution server.
通过以上过程,在获得用户授权的前提下,再从各个数据服务器中获取用户的信息,保证了用户信息的安全性。Through the above process, on the premise of obtaining the user's authorization, the user's information is obtained from each data server, which ensures the security of the user's information.
在获取到待处理的系统任务在以上各个属性维度上的系统任务信息之后,服务器可以将这些信息构造为该系统任务的任务信息向量,具体如下所示:After obtaining the system task information of the system task to be processed in the above attribute dimensions, the server can construct the information as a task information vector of the system task, as follows:
TskInfoVec=(SbDimInfo1,SbDimInfo2,...,SbDimInfodn,...,SbDimInfoDN)TskInfoVec=(SbDimInfo 1 ,SbDimInfo 2 ,...,SbDimInfo dn ,...,SbDimInfo DN )
其中,dn为各个属性维度的序号,1≤dn≤DN,DN为各个属性维度的总数,SbDimInfodn为所述系统任务在第dn个属性维度上的系统任务信息,TskInfoVec为该系统任务的任务信息向量。Among them, dn is the serial number of each attribute dimension, 1≤dn≤DN, DN is the total number of each attribute dimension, SbDimInfo dn is the system task information of the system task on the dn attribute dimension, TskInfoVec is the task of the system task information vector.
步骤S103、在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量。Step S103 , under various preset system resource allocation modes, respectively calculate the system resource allocation amounts of the system tasks according to the system task information.
在本实施例中进行系统资源分配时可以分为多种不同的系统资源分配模式,每种系统资源分配模式可以对应于一种贷款产品,例如,系统资源分配模式包括但不限于新一贷、保单贷款、小额消费贷、车抵贷、应急钱包、信用钱包等等具体的模式。In this embodiment, system resource allocation can be divided into a variety of different system resource allocation modes, and each system resource allocation mode can correspond to a loan product. For example, system resource allocation modes include but are not limited to new loan, Specific models such as policy loans, small consumer loans, car loans, emergency wallets, credit wallets, etc.
在本实施例中,将各种系统资源分配模式的总数记为TypeNum,TypeNum为大于1的整数,并将这些系统资源分配模式按照1、2、3、…、tn、…、TypeNum的序号进行标号,其中,1≤tn≤TypeNum。In this embodiment, the total number of various system resource allocation modes is recorded as TypeNum, and TypeNum is an integer greater than 1, and these system resource allocation modes are performed according to the serial numbers of 1, 2, 3, ..., tn, ..., TypeNum label, where 1≤tn≤TypeNum.
对于同一系统任务而言,如果采用不同的系统资源分配模式,其最终被分配的系统资源量可能会存在差异,本方案中会分别计算在各种不同的系统资源分配模式的情况下,待处理的系统任务的系统资源分配量,具体过程如图4所示:For the same system task, if different system resource allocation modes are adopted, the final allocated system resource amount may be different. The system resource allocation amount of the system task, the specific process is shown in Figure 4:
步骤S1031、从预设的历史数据库中分别获取在第tn种系统资源分配模式下的各个历史任务的资源分配记录。Step S1031 , respectively acquiring resource allocation records of each historical task in the tnth system resource allocation mode from a preset historical database.
本实施例进行系统资源分配的核心思想是基于对历史任务的系统资源分配情况的大数据分析,将对历史任务的系统资源分配的情况作为对当前系统任务进行系统资源分配的依据。The core idea of system resource allocation in this embodiment is based on big data analysis of system resource allocation of historical tasks, and the system resource allocation of historical tasks is used as the basis for system resource allocation of current system tasks.
本实施例中预先设置了一个历史数据库,用于对各个历史任务的资源分配情况进行记录,每个历史任务的资源分配记录均包括两部分,第一部分是该历史任务的历史任务信息,可以以任务信息向量的形式进行存储,第二部分是该历史任务的历史资源分配量。In this embodiment, a historical database is preset to record the resource allocation of each historical task. The resource allocation record of each historical task includes two parts. The first part is the historical task information of the historical task, which can be The task information is stored in the form of a vector, and the second part is the historical resource allocation amount of the historical task.
步骤S1032、按照所述历史资源分配量将各个历史任务划分为CN个等级。Step S1032. Divide each historical task into CN levels according to the historical resource allocation amount.
在本实施例中,系统任务分配到的系统资源分配量共分为CN个等级,并将这些等级按照1、2、3、…、cn、…、CN的序号进行标号,其中,1≤cn≤CN,CN为大于1的整数。每个等级均对于一个设置好的系统资源分配量区间范围,例如,可以设置CN=5,其中,等级1对应的系统资源分配量区间范围为0至1个资源单元,等级2对应的系统资源量为1至2个资源单元,…,等级5对应的系统资源量为4至5个资源单元,其中,1个资源单位可以相当于1万元的贷款金额。当然,也可以根据实际情况设置其它类似的等级对应关系,在此不做具体限定。In this embodiment, the allocation of system resources assigned to the system tasks is divided into CN levels, and these levels are labeled according to the serial numbers of 1, 2, 3, ..., cn, ..., CN, where 1≤cn ≤CN, CN is an integer greater than 1. Each level corresponds to a set system resource allocation interval range. For example, CN=5 can be set, where the system resource allocation interval range corresponding to level 1 is 0 to 1 resource unit, and the system resource allocation amount corresponding to level 2 is 0 to 1 resource unit. The amount is 1 to 2 resource units, ..., the system resource amount corresponding to level 5 is 4 to 5 resource units, and one resource unit can be equivalent to a loan amount of 10,000 yuan. Of course, other similar level correspondences may also be set according to actual conditions, which are not specifically limited here.
步骤S1033、根据所述系统任务信息和各个历史任务的历史任务信息分别计算所述系统任务与各个等级的历史任务之间的差异度。Step S1033 , according to the system task information and the historical task information of each historical task, respectively calculate the degree of difference between the system task and the historical tasks of each level.
首先,如图5所示,可以将第cn个等级的历史任务分别划分为第一任务集、第二任务集和第三任务集,所述第一任务集包括系统资源已回收的各个历史任务,所述第二任务集包括系统资源正在使用中的各个历史任务,所述第三任务集包括系统资源已损耗的各个历史任务。First, as shown in Figure 5, historical tasks at the cnth level can be divided into a first task set, a second task set, and a third task set, the first task set includes each historical task whose system resources have been recovered , the second task set includes various historical tasks that system resources are in use, and the third task set includes various historical tasks that system resources have been depleted.
将第一任务集中各个历史任务的任务信息向量记为:The task information vector of each historical task in the first task set is recorded as:
FsHsVecfn,cn=(FsHsInfofn,cn,1,FsHsInfofn,cn,2,...,FsHsInfofn,cn,dn,...,FsHsInfofn,cn,DN)FsHsVec fn,cn =(FsHsInfo fn,cn,1 ,FsHsInfo fn,cn,2 ,...,FsHsInfo fn,cn,dn ,...,FsHsInfo fn,cn,DN )
其中,fn为所述第一数据集中的各个历史任务的序号,1≤fn≤FNcn,FNcn为第cn个等级的第一任务集中的历史任务的总数,FsHsInfofn,cn,dn为第cn个等级的第一任务集中的第fn个历史任务在第dn个属性维度上的历史任务信息,FsHsVecfn,cn为第cn个等级的第一任务集中的第fn个历史任务的任务信息向量。Wherein, fn is the serial number of each historical task in the first data set, 1≤fn≤FN cn , FN cn is the total number of historical tasks in the first task set of the cnth level, FsHsInfo fn,cn,dn is the The historical task information of the fnth historical task in the first task set of the cn level on the dn attribute dimension, FsHsVec fn,cn is the task information vector of the fnth historical task in the first task set of the cn level .
将第二任务集中各个历史任务的任务信息向量记为:The task information vector of each historical task in the second task set is recorded as:
SdHsVecsn,cn=(SdHsInfosn,cn,1,SdHsInfosn,cn,2,...,SdHsInfosn,cn,dn,...,SdHsInfosn,cn,DN)SdHsVec sn,cn =(SdHsInfo sn,cn,1 ,SdHsInfo sn,cn,2 ,...,SdHsInfo sn,cn,dn ,...,SdHsInfo sn,cn,DN )
其中,sn为所述第二数据集中的各个历史任务的序号,1≤sn≤SNcn,SNcn为第cn个等级的第二任务集中的历史任务的总数,SdHsInfosn,cn,dn为第cn个等级的第二任务集中的第sn个历史任务在第dn个属性维度上的历史任务信息,SdHsVecsn,cn为第cn个等级的第二任务集中的第sn个历史任务的任务信息向量。Wherein, sn is the serial number of each historical task in the second data set, 1≤sn≤SN cn , SN cn is the total number of historical tasks in the second task set of the cnth level, SdHsInfo sn,cn,dn is the SdHsVec sn,cn is the task information vector of the sn th historical task in the second task set of the cn level .
将第三任务集中各个历史任务的任务信息向量记为:The task information vector of each historical task in the third task set is recorded as:
TdHsVecrn,cn=(TdHsInforn,cn,1,TdHsInforn,cn,2,...,TdHsInforn,cn,dn,...,TdHsInforn,cn,DN)TdHsVec rn,cn =(TdHsInfo rn,cn,1 ,TdHsInfo rn,cn,2 ,...,TdHsInfo rn,cn,dn ,...,TdHsInfo rn,cn,DN )
其中,rn为所述第三数据集中的各个历史任务的序号,1≤rn≤RNcn,RNcn为第cn个等级的第三任务集中的历史任务的总数,TdHsInforn,cn,dn为第cn个等级的第三任务集中的第rn个历史任务在第dn个属性维度上的历史任务信息,TdHsVecrn,cn为第cn个等级的第三任务集中的第sn个历史任务的任务信息向量。Wherein, rn is the sequence number of each historical task in the third data set, 1≤rn≤RN cn , RN cn is the total number of historical tasks in the third task set of the cnth level, TdHsInfo rn,cn,dn is the The historical task information of the rnth historical task in the third task set of the cn level on the dn attribute dimension, TdHsVec rn,cn is the task information vector of the sn th historical task in the third task set of the cn level .
然后,根据所述系统任务信息和各个历史任务的历史任务信息分别计算所述系统任务与各个任务集之间的差异度。Then, respectively calculate the degree of difference between the system task and each task set according to the system task information and the historical task information of each historical task.
例如,可以根据下式分别计算所述系统任务与各个任务集之间的差异度:For example, the degree of difference between the system task and each task set can be calculated according to the following formula:
其中,FsDiscn为所述系统任务与所述第一任务集之间的差异度,SdDiscn为所述系统任务与所述第二任务集之间的差异度,TdDiscn为所述系统任务与所述第三任务集之间的差异度。Wherein, FsDis cn is the degree of difference between the system task and the first task set, SdDis cn is the difference between the system task and the second task set, and TdDis cn is the difference between the system task and the second task set. The degree of difference between the third task sets.
最后,根据下式计算所述系统任务与第cn个等级的历史任务之间的差异度:Finally, the degree of difference between the system task and the historical task of the cnth level is calculated according to the following formula:
Discn=Coef1×FsDiscn+Coef2×SdDiscn+Coef3×TdDiscn Dis cn =Coef 1 ×FsDis cn +Coef 2 ×SdDis cn +Coef 3 ×TdDis cn
其中,Coef1、Coef2、Coef3分别为预设的权重系数,且满足:Discn为所述系统任务与第cn个等级的历史任务之间的差异度。由此可见,不同的任务集对于最终结果的影响程度是各个相同的,这三个权重系数的具体取值可以根据实际情况进行设置,例如,可以设置Coef1=0.7、Coef2=0.2、Coef3=0.1,也可以设置Coef1=0.5、Coef2=0.3、Coef3=0.2,还可以设置其他的取值等等。Among them, Coef 1 , Coef 2 , and Coef 3 are preset weight coefficients, and satisfy: Dis cn is the degree of difference between the system task and the historical task of the cnth level. It can be seen that different task sets have the same degree of influence on the final result. The specific values of these three weight coefficients can be set according to the actual situation. For example, Coef 1 =0.7, Coef 2 =0.2, Coef 3 = 0.1, Coef 1 = 0.5, Coef 2 = 0.3, Coef 3 = 0.2, and other values can also be set.
步骤S1034、根据所述系统任务与各个等级的历史任务之间的差异度计算所述系统任务的系统资源分配量。Step S1034, calculating the system resource allocation amount of the system task according to the degree of difference between the system task and historical tasks of each level.
首先,可以根据下式确定所述系统任务的等级:First, the level of the system task can be determined according to the following formula:
TaskClass=ArgMax(Dis1,Dis2,...,Discn,...,DisCN)TaskClass=ArgMax(Dis 1 ,Dis 2 ,...,Dis cn ,...,Dis CN )
其中,ArgMax为最大自变量函数,TaskClass为所述系统任务的等级的序号。Wherein, ArgMax is the maximum independent variable function, and TaskClass is the serial number of the class of the system task.
然后,可以根据下式计算所述系统任务的系统资源分配量:Then, the system resource allocation amount of the system task can be calculated according to the following formula:
其中,hn为第TaskClass个等级的历史任务的序号,1≤hn≤TaskNum,TaskNum为第TaskClass个等级的历史任务的总数,HsRsrQuohn为第TaskClass个等级的第hn个历史任务的历史资源分配量,RsrQuotn为在第tn种系统资源分配模式下计算得到的所述系统任务的系统资源分配量。Among them, hn is the serial number of the historical task of the TaskClass-th level, 1≤hn≤TaskNum, TaskNum is the total number of the historical tasks of the TaskClass-th level, HsRsrQuo hn is the historical resource allocation of the hn-th historical task of the TaskClass-th level , RsrQuo tn is the system resource allocation amount of the system task calculated in the tnth system resource allocation mode.
步骤S104、从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式对所述系统任务进行系统资源分配。Step S104, selecting a preferred allocation mode from various system resource allocation modes, and performing system resource allocation on the system task according to the preferred allocation mode.
所述优选分配模式为系统资源分配量最大的系统资源分配模式,即可以根据下式选取所述优选分配模式:The preferred allocation mode is the system resource allocation mode with the largest amount of system resource allocation, that is, the preferred allocation mode can be selected according to the following formula:
SelType=ArgMax(RsrQuo1,RsrQuo2,...,RsrQuotn,...,RsrQuoTypeNum)SelType=ArgMax(RsrQuo 1 ,RsrQuo 2 ,...,RsrQuo tn ,...,RsrQuo TypeNum )
其中,SelType为所述优选分配模式的序号。Wherein, SelType is the sequence number of the preferred allocation mode.
在选取出所述优选分配模式之后,即可按照所述优选分配模式对所述系统任务进行系统资源分配。After the preferred allocation mode is selected, system resources can be allocated to the system tasks according to the preferred allocation mode.
综上所述,本发明实施例通过自动化处理的方式取代了现有技术中依靠工作人员手工进行系统资源分配的方式,具体地,在接收到终端设备发送的系统资源分配请求之后,首先从所述系统资源分配请求中提取系统任务的任务标识,然后根据所述任务标识自动从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息,并在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量,最后从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式自动对所述系统任务进行系统资源分配。通过本发明实施例,使用自动化处理的方式取代了现有技术中依靠工作人员手工进行系统资源分配的方式,摆脱了对于工作人员的主观经验的依赖,大大提高了系统资源分配结果的准确率,且无需进行大量的人力投入,省时省力,大大提升了系统资源分配的效率。To sum up, the embodiment of the present invention replaces the manual system resource allocation method in the prior art by means of automatic processing. Specifically, after receiving the system resource allocation request sent by the terminal device, firstly from the Extract the task ID of the system task from the above system resource allocation request, and then automatically obtain the system task information of the system task in each attribute dimension from each preset data source according to the task ID, and obtain the system task information in each preset data source In one system resource allocation mode, the system resource allocation amount of the system task is calculated according to the system task information, and finally the optimal allocation mode is selected from various system resource allocation modes, and the optimal allocation mode is automatically allocated according to the optimal allocation mode System tasks allocate system resources. Through the embodiment of the present invention, the method of automatic processing is used instead of relying on staff to manually allocate system resources in the prior art, getting rid of the dependence on the subjective experience of staff, and greatly improving the accuracy of system resource allocation results. And it does not require a lot of manpower input, saves time and effort, and greatly improves the efficiency of system resource allocation.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
对应于上文实施例所述的一种系统资源分配方法,图6示出了本发明实施例提供的一种系统资源分配装置的一个实施例结构图。Corresponding to the method for allocating system resources described in the above embodiments, FIG. 6 shows a structural diagram of an embodiment of an apparatus for allocating system resources provided by an embodiment of the present invention.
本实施例中,一种系统资源分配装置可以包括:In this embodiment, a device for allocating system resources may include:
分配请求接收模块601,用于接收终端设备发送的系统资源分配请求,并从所述系统资源分配请求中提取系统任务的任务标识;An allocation request receiving module 601, configured to receive a system resource allocation request sent by a terminal device, and extract a task identifier of a system task from the system resource allocation request;
任务信息获取模块602,用于根据所述任务标识从预设的各个数据源中分别获取所述系统任务在各个属性维度上的系统任务信息;A task information acquisition module 602, configured to acquire the system task information of the system task in each attribute dimension from each preset data source according to the task identifier;
资源分配量计算模块603,用于在预设的各种系统资源分配模式下,根据所述系统任务信息分别计算所述系统任务的系统资源分配量;A resource allocation amount calculation module 603, configured to calculate the system resource allocation amount of the system task according to the system task information under various preset system resource allocation modes;
分配模式选取模块604,用于从各种系统资源分配模式中选取优选分配模式,并按照所述优选分配模式对所述系统任务进行系统资源分配,所述优选分配模式为系统资源分配量最大的系统资源分配模式。An allocation mode selection module 604, configured to select a preferred allocation mode from various system resource allocation modes, and allocate system resources to the system tasks according to the preferred allocation mode, and the preferred allocation mode is the one with the largest amount of system resource allocation System resource allocation mode.
进一步地,所述资源分配量计算模块可以包括:Further, the resource allocation calculation module may include:
资源分配记录获取单元,用于从预设的历史数据库中分别获取在第tn种系统资源分配模式下的各个历史任务的资源分配记录,1≤tn≤TypeNum,TypeNum为各种系统资源分配模式的总数,且TypeNum为大于1的整数,每个资源分配记录均包括历史任务信息以及历史资源分配量;The resource allocation record acquisition unit is used to respectively acquire the resource allocation records of each historical task in the tnth system resource allocation mode from the preset historical database, 1≤tn≤TypeNum, where TypeNum is the number of various system resource allocation modes Total, and TypeNum is an integer greater than 1, each resource allocation record includes historical task information and historical resource allocation;
等级划分单元,用于按照所述历史资源分配量将各个历史任务划分为CN个等级,CN为大于1的整数;A grade division unit, configured to divide each historical task into CN grades according to the historical resource allocation amount, where CN is an integer greater than 1;
差异度计算单元,用于根据所述系统任务信息和各个历史任务的历史任务信息分别计算所述系统任务与各个等级的历史任务之间的差异度;A difference calculation unit, configured to calculate the difference between the system task and the historical tasks of each level according to the system task information and the historical task information of each historical task;
分配量计算单元,用于根据所述系统任务与各个等级的历史任务之间的差异度计算所述系统任务的系统资源分配量。An allocation amount calculation unit, configured to calculate the system resource allocation amount of the system task according to the degree of difference between the system task and historical tasks of various levels.
进一步地,所述差异度计算单元可以包括:Further, the difference calculation unit may include:
任务集划分子单元,用于将第cn个等级的历史任务分别划分为第一任务集、第二任务集和第三任务集,所述第一任务集包括系统资源已回收的各个历史任务,所述第二任务集包括系统资源正在使用中的各个历史任务,所述第三任务集包括系统资源已损耗的各个历史任务,1≤cn≤CN;The task set division subunit is used to divide the historical tasks of the cnth level into a first task set, a second task set and a third task set, the first task set includes various historical tasks whose system resources have been recovered, The second task set includes various historical tasks that system resources are in use, and the third task set includes various historical tasks that system resources have been consumed, 1≤cn≤CN;
第一计算子单元,用于根据所述系统任务信息和各个历史任务的历史任务信息分别计算所述系统任务与各个任务集之间的差异度;The first calculation subunit is used to calculate the degree of difference between the system task and each task set according to the system task information and the historical task information of each historical task;
第二计算子单元,用于根据下式计算所述系统任务与第cn个等级的历史任务之间的差异度:The second calculation subunit is used to calculate the degree of difference between the system task and the historical task of the cnth level according to the following formula:
Discn=Coef1×FsDiscn+Coef2×SdDiscn+Coef3×TdDiscn Dis cn =Coef 1 ×FsDis cn +Coef 2 ×SdDis cn +Coef 3 ×TdDis cn
其中,FsDiscn为所述系统任务与所述第一任务集之间的差异度,SdDiscn为所述系统任务与所述第二任务集之间的差异度,TdDiscn为所述系统任务与所述第三任务集之间的差异度,Coef1、Coef2、Coef3分别为预设的权重系数,且满足:Discn为所述系统任务与第cn个等级的历史任务之间的差异度。Wherein, FsDis cn is the degree of difference between the system task and the first task set, SdDis cn is the difference between the system task and the second task set, and TdDis cn is the difference between the system task and the second task set. The degree of difference between the third task set, Coef 1 , Coef 2 , and Coef 3 are respectively preset weight coefficients, and satisfy: Dis cn is the degree of difference between the system task and the historical task of the cnth level.
进一步地,所述第一计算子单元具体用于根据下式分别计算所述系统任务与各个任务集之间的差异度:Further, the first calculation subunit is specifically configured to calculate the degree of difference between the system task and each task set according to the following formula:
其中,dn为各个属性维度的序号,1≤dn≤DN,DN为各个属性维度的总数,SbDimInfodn为所述系统任务在第dn个属性维度上的系统任务信息,fn为所述第一数据集中的各个历史任务的序号,1≤fn≤FNcn,FNcn为第cn个等级的第一任务集中的历史任务的总数,FsHsInfofn,cn,dn为第cn个等级的第一任务集中的第fn个历史任务在第dn个属性维度上的历史任务信息,sn为所述第二数据集中的各个历史任务的序号,1≤sn≤SNcn,SNcn为第cn个等级的第二任务集中的历史任务的总数,SdHsInfosn,cn,dn为第cn个等级的第二任务集中的第sn个历史任务在第dn个属性维度上的历史任务信息,rn为所述第三数据集中的各个历史任务的序号,1≤rn≤RNcn,RNcn为第cn个等级的第三任务集中的历史任务的总数,TdHsInforn,cn,dn为第cn个等级的第三任务集中的第rn个历史任务在第dn个属性维度上的历史任务信息。Among them, dn is the serial number of each attribute dimension, 1≤dn≤DN, DN is the total number of each attribute dimension, SbDimInfo dn is the system task information of the system task on the dn attribute dimension, fn is the first data The sequence number of each historical task in the set, 1≤fn≤FN cn , FN cn is the total number of historical tasks in the first task set of the cnth level, FsHsInfo fn,cn,dn is the number of historical tasks in the first task set of the cnth level The historical task information of the fnth historical task on the dnth attribute dimension, sn is the serial number of each historical task in the second data set, 1≤sn≤SN cn , and SN cn is the second task of the cnth level The total number of historical tasks in the set, SdHsInfo sn, cn, dn is the historical task information of the sn-th historical task in the dn-th attribute dimension of the second task set of the cn-th level, and rn is the historical task information in the third data set The serial number of each historical task, 1≤rn≤RN cn , RN cn is the total number of historical tasks in the third task set of the cnth level, TdHsInfo rn,cn,dn is the rnth of the third task set of the cnth level Historical task information of historical tasks on the dnth attribute dimension.
进一步地,所述任务信息获取模块可以包括:Further, the task information acquisition module may include:
授权请求发送单元,用于向所述终端设备发送数据授权请求;an authorization request sending unit, configured to send a data authorization request to the terminal device;
授权信息接收单元,用于接收所述终端设备反馈的数据授权信息;an authorization information receiving unit, configured to receive data authorization information fed back by the terminal device;
数据服务器选取单元,用于从预设的服务器列表中选取与第sr个数据源对应的服务器作为数据服务器,所述服务器列表记录了各个数据源与各个服务器之间的对应关系,1≤sr≤SourceNum,SourceNum为各个数据源的总数;The data server selection unit is used to select the server corresponding to the srth data source from the preset server list as the data server, and the server list records the corresponding relationship between each data source and each server, 1≤sr≤ SourceNum, SourceNum is the total number of each data source;
数据请求发送单元,用于向所述数据服务器发送数据请求,所述数据请求中包括所述任务标识和所述数据授权信息;a data request sending unit, configured to send a data request to the data server, where the data request includes the task identifier and the data authorization information;
任务信息接收单元,用于接收所述数据服务器发送的所述系统任务的系统任务信息。The task information receiving unit is configured to receive the system task information of the system task sent by the data server.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置,模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described devices, modules and units can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
图7示出了本发明实施例提供的一种服务器的示意框图,为了便于说明,仅示出了与本发明实施例相关的部分。FIG. 7 shows a schematic block diagram of a server provided by an embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.
在本实施例中,所述服务器7可以包括:处理器70、存储器71以及存储在所述存储器71中并可在所述处理器70上运行的计算机可读指令72,例如执行上述的系统资源分配方法的计算机可读指令。所述处理器70执行所述计算机可读指令72时实现上述各个系统资源分配方法实施例中的步骤,例如图1所示的步骤S101至S104。或者,所述处理器70执行所述计算机可读指令72时实现上述各装置实施例中各模块/单元的功能,例如图6所示模块601至604的功能。In this embodiment, the server 7 may include: a processor 70, a memory 71, and computer-readable instructions 72 stored in the memory 71 and operable on the processor 70, such as executing the above-mentioned system resources Computer readable instructions for the allocation method. When the processor 70 executes the computer-readable instructions 72, the steps in the above embodiments of the system resource allocation method are implemented, for example, steps S101 to S104 shown in FIG. 1 . Alternatively, when the processor 70 executes the computer-readable instructions 72, the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 601 to 604 shown in FIG. 6 , are realized.
示例性的,所述计算机可读指令72可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器71中,并由所述处理器70执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令72在所述服务器7中的执行过程。Exemplarily, the computer-readable instructions 72 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 71 and executed by the processor 70, To complete the present invention. The one or more modules/units may be a series of computer-readable instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 72 in the server 7 .
所述处理器70可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 70 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
所述存储器71可以是所述服务器7的内部存储单元,例如服务器7的硬盘或内存。所述存储器71也可以是所述服务器7的外部存储设备,例如所述服务器7上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器71还可以既包括所述服务器7的内部存储单元也包括外部存储设备。所述存储器71用于存储所述计算机可读指令以及所述服务器7所需的其它指令和数据。所述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。The storage 71 may be an internal storage unit of the server 7 , such as a hard disk or memory of the server 7 . The memory 71 can also be an external storage device of the server 7, such as a plug-in hard disk equipped on the server 7, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash card (Flash Card), etc. Further, the storage 71 may also include both an internal storage unit of the server 7 and an external storage device. The memory 71 is used to store the computer readable instructions and other instructions and data required by the server 7 . The memory 71 can also be used to temporarily store data that has been output or will be output.
在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干计算机可读指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储计算机可读指令的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several computer-readable instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc., which can store computer-readable instructions. medium.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910295784.8A CN110119310A (en) | 2019-04-12 | 2019-04-12 | Method for distributing system resource, device, computer readable storage medium and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910295784.8A CN110119310A (en) | 2019-04-12 | 2019-04-12 | Method for distributing system resource, device, computer readable storage medium and server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110119310A true CN110119310A (en) | 2019-08-13 |
Family
ID=67521016
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910295784.8A Pending CN110119310A (en) | 2019-04-12 | 2019-04-12 | Method for distributing system resource, device, computer readable storage medium and server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110119310A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110728569A (en) * | 2019-09-06 | 2020-01-24 | 深圳壹账通智能科技有限公司 | Distribution test method, device, terminal and storage medium |
| CN111209111A (en) * | 2019-12-31 | 2020-05-29 | 卓尔智联(武汉)研究院有限公司 | Resource allocation method, device, equipment and storage medium based on block chain system |
| CN112667376A (en) * | 2020-12-23 | 2021-04-16 | 数字广东网络建设有限公司 | Task scheduling processing method and device, computer equipment and storage medium |
| CN114238286A (en) * | 2022-02-28 | 2022-03-25 | 连连(杭州)信息技术有限公司 | Data warehouse data processing method and device, electronic equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102203739A (en) * | 2008-11-05 | 2011-09-28 | 松下电器产业株式会社 | Resource allocation method, program, and resource allocation apparatus |
| US20160139963A1 (en) * | 2014-11-19 | 2016-05-19 | International Business Machines Corporation | Virtual computing power management |
| CN107688492A (en) * | 2016-08-05 | 2018-02-13 | 阿里巴巴集团控股有限公司 | Control method, device and the cluster resource management system of resource |
| CN108874535A (en) * | 2018-05-14 | 2018-11-23 | 中国平安人寿保险股份有限公司 | A kind of task adjusting method, computer readable storage medium and terminal device |
| CN108984301A (en) * | 2018-07-04 | 2018-12-11 | 中国人民解放军国防科技大学 | Adaptive cloud resource allocation method and device |
-
2019
- 2019-04-12 CN CN201910295784.8A patent/CN110119310A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102203739A (en) * | 2008-11-05 | 2011-09-28 | 松下电器产业株式会社 | Resource allocation method, program, and resource allocation apparatus |
| US20160139963A1 (en) * | 2014-11-19 | 2016-05-19 | International Business Machines Corporation | Virtual computing power management |
| CN107688492A (en) * | 2016-08-05 | 2018-02-13 | 阿里巴巴集团控股有限公司 | Control method, device and the cluster resource management system of resource |
| CN108874535A (en) * | 2018-05-14 | 2018-11-23 | 中国平安人寿保险股份有限公司 | A kind of task adjusting method, computer readable storage medium and terminal device |
| CN108984301A (en) * | 2018-07-04 | 2018-12-11 | 中国人民解放军国防科技大学 | Adaptive cloud resource allocation method and device |
Non-Patent Citations (1)
| Title |
|---|
| 彭树林;汤可成;高万明;王翔;: "NAVDAT台站发射时隙集中协调与实现", 无线互联科技, no. 03, 10 February 2018 (2018-02-10) * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110728569A (en) * | 2019-09-06 | 2020-01-24 | 深圳壹账通智能科技有限公司 | Distribution test method, device, terminal and storage medium |
| CN111209111A (en) * | 2019-12-31 | 2020-05-29 | 卓尔智联(武汉)研究院有限公司 | Resource allocation method, device, equipment and storage medium based on block chain system |
| CN112667376A (en) * | 2020-12-23 | 2021-04-16 | 数字广东网络建设有限公司 | Task scheduling processing method and device, computer equipment and storage medium |
| CN114238286A (en) * | 2022-02-28 | 2022-03-25 | 连连(杭州)信息技术有限公司 | Data warehouse data processing method and device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111143339B (en) | Method, device, equipment and storage medium for distributing service resources | |
| US11272059B2 (en) | Exclusive agent pool allocation method, electronic device, and computer readable storage medium | |
| CN110119310A (en) | Method for distributing system resource, device, computer readable storage medium and server | |
| Cevik et al. | Structural transformation and tax efficiency | |
| CN108665159A (en) | A kind of methods of risk assessment, device, terminal device and storage medium | |
| CN109508901A (en) | Allocating method, device and the computer equipment for examination & approval task of providing a loan | |
| CN108320089A (en) | It attends a banquet distribution method, electronic device and computer readable storage medium | |
| CN112270580B (en) | Invoice issuing method, invoice issuing device, invoice issuing equipment and storage medium | |
| CN107784063B (en) | Algorithm generation method and terminal equipment | |
| CN109858927A (en) | A kind of trade company's checking method, device, computer readable storage medium and server | |
| CN110737917A (en) | Data sharing device and method based on privacy protection and readable storage medium | |
| CN109615172A (en) | A kind of method and terminal handling examination data | |
| CN110930238A (en) | Method, device, equipment and computer readable medium for improving audit task efficiency | |
| CN107688585B (en) | Document information input method and device | |
| CN114971412A (en) | Order distribution method, order distribution platform, order distribution system and storage medium | |
| CN110019774B (en) | Label distribution method, device, storage medium and electronic device | |
| CN116451074A (en) | Image generation method, device, computer equipment, storage medium of target object | |
| CN112348657A (en) | Method and device for determining target credit user, computer equipment and storage medium | |
| CN108734590B (en) | Policy distribution method and terminal equipment | |
| CN111178744A (en) | Distribution method, device, equipment and storage medium | |
| CN110147813A (en) | A kind of user draws a portrait construction method, device, storage medium and server | |
| US10235719B2 (en) | Centralized GAAP approach for multidimensional accounting to reduce data volume and data reconciliation processing costs | |
| CN110852392A (en) | User grouping method, device, equipment and medium | |
| CN113890948A (en) | Resource allocation method based on voice outbound robot dialogue data and related equipment | |
| CN113298447A (en) | Financing lease management system based on data processing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190813 |
|
| WD01 | Invention patent application deemed withdrawn after publication |