The present application claims priority to Chinese Patent Application No. 201810621213.4, filed Jun. 15, 2018, and entitled “Method, Apparatus, and Computer Program Product for Processing Computing Task,” which is incorporated by reference herein in its entirety.
Embodiments of the present disclosure generally relate to a computing system including dedicated computing resources, and more specifically, to a method, an apparatus and a computer program product for processing a computing task by using a dedicated computing resource in the computing system.
Applications on the client can be designed to complete various processing or analyzing tasks such as processing and storage resources by using computing resources. As the requirement and complexity of the tasks such as machine learning, deep learning, and data mining continuously grow, a large amount of and/or variable computing resources are required to satisfy operations of the corresponding application. This can be fulfilled by a machine or system having multiple dedicated computing resources, where the application can be scheduled to operate on one or more dedicated computing resources of the machine or system. For example, a cloud-based computing system has already been developed, and this computing system includes a machine having one or more dedicated computing resources. Different clients can rent computing resources (for example, dedicated computing resources) of the system as required to operate their own applications.
With the development of computer technologies, there is an increasing variety of computing resources, and computing resources are no longer limited to traditional ones like central processing units. For example, currently the computing capability of the graphics processing units (GPUs) has increased significantly. GPUs are particularly suitable to execute computing tasks in deep learning, high performance computing, machine learning and so on by virtue of their distinctive properties. However, for ordinary client devices and conventional cloud computing devices, their graphic processing units are rather limited in performance and lack a high performance processing capability. At this point, the question of how to process a computing task using the computing capability of a graphic processing unit of another device (e.g., remotely) has become a focus of research.
However, some existing technical solutions fail to effectively determine which remote computing resource(s) (e.g., computing resource(s) in a computing resource pool) will be selected for processing a computing task. Therefore, it is desirable to provide a technical solution for easily and effectively processing a computing task using multiple computing resources in the resource pool.
Embodiments of the present disclosure provide a method, a device and a corresponding computer program product for processing a computing task.
According to a first aspect of the present disclosure, there is provided a method for processing a computing task. The method comprises: dividing multiple computing resources into multiple groups on the basis of topology information describing a connection relationship between the multiple computing resources; selecting at least one computing resource from at least one group of the multiple groups; determining processing performance of processing the computing task with the selected at least one computing resource; and allocating the at least one computing resource on the basis of the processing performance to process the computing task.
According to a second aspect of the present disclosure, there is provided an apparatus for processing a computing task, comprising: at least one processor; a volatile memory; and a memory coupled to the at least one processor, the memory having instructions stored thereon, the instructions, when executed by the at least one processor, causing the apparatus to perform acts. The acts include: dividing multiple computing resources into multiple groups on the basis of topology information describing a connection relationship between the multiple computing resources; selecting at least one computing resource from at least one group of the multiple groups; determining processing performance of processing the computing task with the selected at least one computing resource; and allocating the at least one computing resource on the basis of the processing performance to process the computing task.
According to a third aspect of the present disclosure, there is provided a computer program product. The computer program product is tangibly stored on a computer readable medium and comprises machine executable instructions which, when executed, cause the machine to implement a method according to the first aspect.
The Summary is to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the present disclosure, nor is it intended to be used to limit the scope of the present disclosure.
Through the following more detailed description of the example embodiments of the present disclosure with reference to the accompanying drawings, the above and other objectives, features, and advantages of the present disclosure will become more apparent, wherein the same reference sign usually refers to the same component in the example embodiments of the present disclosure.
Preferred embodiments of the present disclosure will be described in more detail with reference to the drawings. Although the drawings illustrate preferred embodiments of the present disclosure, it should be appreciated that the present disclosure can be implemented in various manners and should not be limited to the embodiments explained herein. On the contrary, the embodiments are provided to make the present disclosure more thorough and complete and to fully convey the scope of the present disclosure to those skilled in the art.
As used herein, the term “includes” and its variants are to be read as open-ended terms that mean “includes, but is not limited to.” The term “or” is to be read as “and/or” unless the context clearly indicates otherwise. The term “based on” is to be read as “based at least in part on.” The terms “one example embodiment” and “one embodiment” are to be read as “at least one example embodiment.” The term “a further embodiment” is to be read as “at least a further embodiment.” The terms “first”, “second” and so on can refer to same or different objects. The following text also can comprise other explicit and implicit definitions.
As described above, dedicated computing resources can be provided locally at the client or by a remote machine or system. In some examples, a cloud-based computing system may be deployed, which includes a plurality of machines having one or more dedicated computing resources. The dedicated computing resources of the computing system can be utilized by different clients based on their needs to dispatch the corresponding applications to operate on available dedicated computing resources.
In the example of
In the context of the present disclosure, examples of the dedicated computing resource 160 may include, but are not limited to, a GPU, a Field Programmable Gate Array (FPGA), or the like. For the sake of discussion, some embodiments will use GPU as the example of the dedicated computing resources. In addition to the dedicated computing resource 160, the server 110 may further include, for example, one or more general processing units such as a central processing unit or CPU (not shown).
To quickly and efficiently run these applications and/or save local computing resources, the client 120 may request the dedicated computing resource 160 of the server 110 to run these applications 150. In such an embodiment, the client 120 may be connected via an interconnected network 130 to one or more servers 110 and hand over the application 150 to run by one or more dedicated computing resources 160 of the server 110. The interconnected network 130 can support different types of wired or wireless connections based on various network transmission techniques, for example, remote direct memory access (RDMA), transmission control protocol (TCP) or the like, depending on interfaces supported by the client 120, the server 110 and/or the dedicated computing resource 160.
It should be understood that the device and/or arrangement as shown in
To describe in a clear and concise manner, example embodiments of the present disclosure will be described in detail by mainly using the GPU kernel as an example. It is known that a GPU, as a dedicated processor, has strong computing capability due to a large number of kernels and high-bandwidth memory. In the GPU hardware architecture, one GPU usually has a large number of GPU kernels, such as 5120 or up to 10000 kernels. The GPU kernel, as a dedicated computing resource, is the most basic processing unit, which is also known as a stream processor (SP). Instructions and tasks are eventually processed on the GPU kernel. A plurality of GPU kernels simultaneously execute instructions to implement parallel computing of the GPU. A plurality of SPs, in addition to other resources such as register and shared memory, can compose one stream multiprocessor (SM).
However, it should be understood that a GPU is only an example dedicated computing resource, and shall not limit the scope of the present disclosure. Spirits and principles described herein can be applied to other dedicated computing resources, for example computing resources in an accelerator such as an FPGA currently known or to be developed in the future, without limiting to the GPU kernel only.
With the development of cloud computing, cloud architecture based technical solutions for processing a computing task have been proposed. For example, the application 120 at the client 150 may request the computing resource 160 in the server 110. It is noteworthy that due to the complexity of a computing task, usually multiple computing resources need to be called. More details of the embodiment of the present disclosure will be described by using a neural network model-based computing task as a specific example.
It will be understood that technical solutions for processing a neural network model-based computing task have been provided by now. In one technical solution, a set of computing resources with lower workloads may be selected according to the configuration of multiple computing resources. However, this technical solution fails to effectively evaluate the processing performance of the selected set of computing resources.
In another technical solution, it may be determined in the pilot run process which computing resources 160 will be selected for processing the computing task 210. In the pilot run process, one or more computing resources may be selected in multiple rounds by permutation and combination, and the processing performance associated with the selected one or more computing resources may be determined. Subsequently, one or more computing resources associated with the optimal processing performance may be allocated for processing the computing task 210. However, when the resource pool comprises a large number of computing resources, a wide variety of combinations might emerge, so that it is difficult to determine in a short time which computing resources will be selected. In view of the drawbacks in the prior art, the present disclosure proposes a method for processing a computing task.
In this embodiment, relevant topology information may be collected from the topology structures as shown in
Returning to
At block 430, processing performance of processing the computing task with the selected at least one computing resource is determined. In this embodiment, an operation associated with the computing task 210 may be deployed at the selected at least one computing resource, and processing performance of executing the operation with the selected at least one computing resource may be tested. At block 440, at least one computing resource is allocated on the basis of the processing performance so as to process the computing task. In this embodiment, preferably, a computing resource associated with higher processing performance may be selected for processing the computing task 210.
With the above example embodiments, by diving the multiple computing resources 160 into multiple groups, one computing resource may be selected from each group among the multiple groups in the subsequent selecting process, so that the number of possible combinations during selection may be reduced. In this way, the time and other resource overheads in the pilot run process may be reduced significantly, and further the efficiency of processing the computing task 210 may be improved.
Specifically, suppose the resource pool 310 contains 4 computing resources, and the 4 computing resources may be divided into two different groups according to embodiments of the present disclosure, then at this point computing resources are selected from the 2 different groups. According to example embodiments of the present disclosure, the number of combinations is C21+C22=2+1=3. Compared with the number of combinations (C41+C42+C43+C44=4+6+6+1=17) in the pilot run based on the traditional technical solution, overheads involved in the pilot run according to embodiments of the present disclosure will be greatly reduced. Here, the formula Cxy represents the number of possible combinations of selecting y elements from x elements.
According to example embodiments of the present disclosure, the topology information describes the type of a combination between the multiple computing resources. In order to divide the multiple computing resources into multiple groups on the basis of the topology information, distances between the multiple computing resources may be determined; and the multiple computing resources may be divided into the multiple groups on the basis of the distances.
While processing the computing task 210, since data needs to be transmitted between the multiple computing resources 160 frequently, the type of a connection between the multiple computing resources becomes a key factor affecting the processing performance for the computing task 210. With the above example embodiments, distances between the various computing resources 160 may be determined on the basis of the type of a connection, and further the multiple computing resources 160 may be divided into different groups easily and effectively. Table 1 schematically shows types of possible connections below.
On the basis of connection types shown in Table 1, the topology information between the multiple computing resources 160 may be represented as shown in Table 2 below. It will be understood that Table 2 shows topology information on the topology structure shown in
Table 2 shows types of connections between the computing resources 160-1, 160-2, 160-3 and 160-4. It will be understood that the intersection between a row and a column represents the connection type between two correlated computing resources. Specifically, the intersection between the second row and the third column represents the connection type between the computing resources 160-1 and 160-2 is a PIX connection. The intersection between the second row and the second column represents the computing resource 160-1 has no connection with itself, and thus is shown as null.
According to example embodiments of the present disclosure, in order to determine a distance between the multiple computing resources on the basis of the type, a bandwidth of the connection between the multiple computing resources may be determined on the type of the type; and the distance may be determined on the basis of the bandwidth, the distance being inversely proportional to the bandwidth. It will be understood that the higher a bandwidth of the connection between two computing resources 160, the shorter the time for transmitting the same amount of data. Thereby, it may be considered that the bandwidth is an indicator indicative of the distance between two computing resources 160, and the higher the bandwidth, the shorter the distance. With the example embodiments, the distance between the multiple computing resources may be determined quickly and effectively.
For example, a distance between two computing resources 160 with a connection relationship therebetween may be determined on the basis of a bandwidth between the two computing resources 160. If there is a direct connection between the two computing resources 160, then the distance may be determined on the basis of the bandwidth of the direct connection. If there is an indirect connection between the two computing resources 160, then the distance may be determined on the basis of bandwidths of multiple direct connections between the indirect connection.
According to example embodiments of the present disclosure, the connection types may be simply mapped to different distance scores. It will be understood that the distance score schematically represents the scale of a distance between two computing resources, rather than an accurate value of the distance. According to example embodiments of the present disclosure, a distance score associated with each type may be determined using contents shown in Table 3.
Distances between the multiple computing resources connected according to different topology structures may be determined on the basis of the determined connection types between the multiple computing resources and the mapping between types and distance scores as recorded in Table 3 above. Specifically, Table 4 below shows distances between the multiple computing resources 160 connected according to the topology structure shown in
Table 4 shows distance scores between the computing resources 160-1, 160-2, 160-3 and 160-4. It will be understood that the intersection between a row and a column represents the distance score between two correlated computing resources. Specifically, the intersection between the second row and the third column represents the distance score between the computing resources 160-1 and 160-2 is 2. The intersection between the second row and the second column represents the distance score between the computing resource 160-1 and itself is 0.
Table 5 shows distance scores between the computing resources 160-1, 160-2, 160-3 and 160-4. It will be understood that the intersection between a row and a column represents the distance score between two correlated computing resources. Specifically, the intersection between the second row and the third column represents the distance score between the computing resources 160-1 and 160-2 is 1. The intersection between the second row and the second column represents the distance score between the computing resource 160-1 and itself is 0.
According to example embodiments of the present disclosure, the multiple computing resources 160 may be divided into different groups according to values of the distance scores.
According to example embodiments of the present disclosure, the grouping may be implemented in different ways. For example, a graph describing distances between the multiple computing resources may be built on the basis of contents shown in Table 4. In the graph, a node represents a computing resource, and the weight of an edge represents the distance between two computing resources. Subsequently, the grouping may be implemented on the basis of the graph theory, which is not detailed herein.
How to divide the multiple computing resources 160 into different groups has been described with reference to
According to example embodiments of the present disclosure, at least one part of operations are selected from multiple operations associated with the computing task; and the selected at least one part of operations are executed with the selected at least one computing resource so as to obtain the processing performance. With the example embodiments, during pilot run only a part of operations of the computing task need to be executed, and by deployed the part of operations on the selected computing resource to run, the processing performance of deploying all operations of the computing task 210 on the selected computing resource to run may be predicted. For example, suppose the computing task 210 involves one hundred thousand operations, then at this point only 5000 or a further number of operations need to be selected. In this way, the time and overheads in other aspects may be greatly reduced in the pilot run stage.
According to example embodiments of the present disclosure, a measured value of the time for executing the at least one part of operations with the selected at least one computing resource or the number of operations to be executed per unit time may be determined. For example, continuing the above example, the time for running 5000 selected operations may be measured, or the number of operations processed per second may be measured while running 5000 selected operations. Subsequently, the processing performance may be determined on the basis of the measured value. It will be understood that the shorter the running time, the higher the processing performance, and the larger the number of operations executed per unit time, the higher the processing performance. With the above example embodiments, the processing performance associated with the selected computing resource may be determined quantitatively, and further whether the processing performance is high or low may be measured more accurately and effectively.
According to example embodiments of the present disclosure, a first set of computing resources and a second set of computing resources may be selected from different numbers of groups in different stages. For example, a first set of computing resources may be selected from a first number of first groups, and a second set of computing resources may be selected from a second number of group groups. In order to allocate the at least one computing resource on the basis of the processing performance to process the computing task, the second set of computing resources is allocated to process the computing task if first processing performance of processing the computing task with the first set of computing resources is not above second processing performance of processing the computing task with the second set of computing resources.
According to example embodiments of the present disclosure, selecting the at least one computing resource from at least one group of the multiple groups may comprise multiple stages. For example, in a first stage, one computing resource may be selected from one group of the multiple groups. Suppose the multiple computing resources 160 have been divided into 4 groups, then in the first stage, one computing resource may be selected from a first group among the 4 groups, and relevant processing performance 1-1 may be determined. Subsequently, one computing resource may be selected from a second, third and fourth group respectively, and relevant processing performance 1-2, 1-3 and 1-4 may be determined. By comparing values of the performance 1-1, 1-2, 1-3 and 1-4, a computing resource associated with the optimal processing performance may be allocated to process the computing task 210.
According to example embodiments of the present disclosure, after completion of the first stage, the number of selected computing resources 160 may be gradually increased in the subsequent pilot run. Continuing the above example, in a second stage, one computing resource may be selected from 2 of the 4 groups respectively, and relevant processing performance may be determined. Next, by comparing values of the determined multiple processing performance, computing resources associated with the optimal processing performance may be allocated to process the computing task 210. With the above example embodiments, the number of computing resources for processing the computing task 210 may be continuously increased, and further it is ensured that combinations of the selected at least one computing resource can represent various typical combinations.
It will be understood the larger the number of selected computing resources 160, the more overhead for data transmission between selected computing resources 160. Therefore, with the increase of the number, the processing performance might be reduced. In other words, the processing performance associated with more computing resources might possibly be below the processing performance associated with less computing resources.
According to example embodiments of the present disclosure, a third computing resource is selected from a third group among the multiple groups if processing performance of processing the computing task with the first computing resource and the second computing resource is not below processing performance of processing the computing task with the first computing resource. With the above example embodiments, when the processing performance associated with a subsequent stage is found to decrease, it is considered that the optimal processing performance has been found, and hence the selecting process stops.
Continuing the above example, suppose the processing performance associated with 2 computing resources is below the processing performance associated with 1 computing resource, then at this point the selecting process ends. Suppose the processing performance associated with 2 computing resources is above the processing performance associated with 1 computing resource, then a third stage of selection may start. Specifically, in the third stage, one computing resource may be selected from 3 of 4 groups respectively, and relevant processing performance may be determined. Next, by comparing values of the determined multiple processing performance, a computing resource associated with the optimal processing performance may be allocated to process the computing task 210. Suppose the processing performance associated with 3 computing resources is below the processing performance associated with 2 computing resources, then at this point the selecting process ends. In this embodiment, the processing performance associated with 2 computing resources 160 is the optimal processing performance, so combinations of computing resources for processing the computing task 210 may be determined on the basis of computing resources that result in the optimal processing performance.
With reference to
According to example embodiments of the present disclosure, the multiple computing resources are multiple graphics processing units. It will be understood although in the context of the present disclosure multiple example embodiments of the present disclosure are described by taking graphics processing units as an example, in other application environments the computing resources may further comprise, but are not limited to, field programmable gate arrays and other computing resources. According to example embodiments of the present disclosure, the computing task is a neural network model-based computing task. After it is determined which computing resources 160 will be used to process the computing task 210, operations associated with the computing task 210 may be deployed to determined computing resources 160.
As shown in
According to example embodiments of the present disclosure, first statistics may be determined on the number of parameters involved in each layer, so that a computing resource may first be allocated for a layer with a larger number of parameters. For example, based on the parameter data 830 as shown in
As examples of the method according to the present disclosure have been described in detail with reference to
A plurality of components in the apparatus 900 is connected to the I/O interface 905, including: an input unit 906, such as keyboard, mouse and the like; an output unit 907, e.g., various kinds of display and loudspeakers etc.; a storage unit 908, such as magnetic disk and optical disk etc.; and a communication unit 909, such as network card, modem, wireless transceiver and the like. The communication unit 909 allows the apparatus 900 to exchange information/data with other devices via the computer network, such as Internet, and/or various telecommunication networks.
The above described each procedure and processing, such as the method 400, can also be executed by the processing unit 901. For example, in some embodiments, the method 400 can be implemented as a computer software program tangibly included in the machine-readable medium, e.g., the storage unit 908. In some embodiments, the computer program can be partially or fully loaded and/or mounted to the apparatus 900 via ROM 902 and/or the communication unit 909. When the computer program is loaded to the RAM 903 and executed by the CPU 901, one or more steps of the above described method 400 can be implemented. Alternatively, in other embodiments, the CPU 901 also can be configured in other suitable manners to realize the above procedure/method.
According to example embodiments of the present disclosure, there is provided an apparatus for processing a computing task, comprising: at least one processor; a volatile memory; and a memory coupled to the at least one processor, the memory having instructions stored thereon, the instructions, when executed by the at least one processor, causing the apparatus to perform acts. The acts include: dividing multiple computing resources into multiple groups on the basis of topology information describing a connection relationship between the multiple computing resources; selecting at least one computing resource from at least one group of the multiple groups; determining processing performance of processing the computing task with the selected at least one computing resource; and allocating the at least one computing resource on the basis of the processing performance to process the computing task.
According to example embodiments of the present disclosure, the topology information describes a type of a combination between the multiple computing resources, and dividing the multiple computing resources into multiple groups on the basis of the topology information comprises: determining distances between the multiple computing resources on the basis of the type; and dividing the multiple computing resources into the multiple groups on the basis of the distances, a distance from a first computing resource comprised in a first group among the multiple groups to a further resource in the first group being below a distance from the first computing resource to a further resource in a second group among the multiple groups.
According to example embodiments of the present disclosure, determining distances between the multiple computing resources on the basis of the type comprises: determining a bandwidth of the connection between the multiple computing resources on the basis of the type; and determining the distance on the basis of the bandwidth, the distance being inversely proportional to the bandwidth.
According to example embodiments of the present disclosure, selecting at least one computing resource from at least one group among the multiple groups comprises: selecting a first computing resource from a first group among the multiple groups.
According to example embodiments of the present disclosure, selecting at least one computing resource from at least one group among the multiple groups further comprises: selecting a second computing resource from a second group among the multiple groups.
According to example embodiments of the present disclosure, selecting at least one computing resource from at least one group among the multiple groups further comprises: selecting a third computing resource from a third group among the multiple groups in response to processing performance of processing the computing task with the first computing resource and the second computing resource not being below processing performance of processing the computing task with the first computing resource.
According to example embodiments of the present disclosure, determining processing performance of processing the computing task with the selected at least one computing resource comprises: selecting at least one part of operations from multiple operations associated with the computing task; and executing the selected at least one part of operations with the selected at least one computing resource so as to obtain the processing performance.
According to example embodiments of the present disclosure, obtaining the processing performance comprises: determining a measured value of the time for executing the at least one part of operations with the selected at least one computing resource or the number of operations executed per unit time; and determining the processing performance on the basis of the measured value.
According to example embodiments of the present disclosure, selecting at least one computing resource from at least one group of the multiple groups comprises: selecting a first set of computing resources from a first number of first groups, and selecting a second set of computing resources from a second number of second groups; and allocating the at least one computing resource on the basis of the processing performance to process the computing task comprises: allocating the second set of computing resources to process the computing task in response to first processing performance of processing the computing task with the first set of computing resources not being above second processing performance of processing the computing task with the second set of computing resources.
According to example embodiments of the present disclosure, the multiple computing resources are multiple graphics processing units, and the computing task is a neural network model-based computing task.
According to example embodiments of the present disclosure, there is provided a computer program product. The computer program product is tangibly stored on a computer readable medium and comprises machine executable instructions which, when executed, cause the machine to implement the method according to the present disclosure.
According to example embodiments of the present disclosure, there is provided a computer readable medium. The computer readable medium is stored with machine executable instructions thereon, the machine executable instructions, when executed by at least one processor, causing the at least one processor to implement the method according to the present disclosure.
The present disclosure can be method, device, system and/or computer program product. The computer program product can include a computer-readable storage medium, on which the computer-readable program instructions for executing various aspects of the present disclosure are loaded.
The computer-readable storage medium can be a tangible apparatus that maintains and stores instructions utilized by the instruction executing apparatuses. The computer-readable storage medium can be, but not limited to, such as electrical storage device, magnetic storage device, optical storage device, electromagnetic storage device, semiconductor storage device or any appropriate combinations of the above. More concrete examples of the computer-readable storage medium (non-exhaustive list) include: portable computer disk, hard disk, random-access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash), static random-access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical coding devices, punched card stored with instructions thereon, or a projection in a slot, and any appropriate combinations of the above. The computer-readable storage medium utilized here is not interpreted as transient signals per se, such as radio waves or freely propagated electromagnetic waves, electromagnetic waves propagated via waveguide or other transmission media (such as optical pulses via fiber-optic cables), or electric signals propagated via electric wires.
The described computer-readable program instruction can be downloaded from the computer-readable storage medium to each computing/processing device, or to an external computer or external storage via Internet, local area network, wide area network and/or wireless network. The network can include copper-transmitted cable, optical fiber transmission, wireless transmission, router, firewall, switch, network gate computer and/or edge server. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium of each computing/processing device.
The computer program instructions for executing operations of the present disclosure can be assembly instructions, instructions of instruction set architecture (ISA), machine instructions, machine-related instructions, micro-codes, firmware instructions, state setting data, or source codes or target codes written in any combinations of one or more programming languages, wherein the programming languages consist of object-oriented programming languages, e.g., Smalltalk, C++ and so on, and traditional procedural programming languages, such as “C” language or similar programming languages. The computer-readable program instructions can be implemented fully on the user computer, partially on the user computer, as an independent software package, partially on the user computer and partially on the remote computer, or completely on the remote computer or server. In the case where remote computer is involved, the remote computer can be connected to the user computer via any type of networks, including local area network (LAN) and wide area network (WAN), or to the external computer (e.g., connected via Internet using the Internet service provider). In some embodiments, state information of the computer-readable program instructions is used to customize an electronic circuit, e.g., programmable logic circuit, field programmable gate array (FPGA) or programmable logic array (PLA). The electronic circuit can execute computer-readable program instructions to implement various aspects of the present disclosure.
Various aspects of the present disclosure are described here with reference to flow chart and/or block diagram of method, apparatus (system) and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flow chart and/or block diagram and the combination of various blocks in the flow chart and/or block diagram can be implemented by computer-readable program instructions.
The computer-readable program instructions can be provided to the processing unit of general-purpose computer, dedicated computer or other programmable data processing apparatuses to manufacture a machine, such that the instructions that, when executed by the processing unit of the computer or other programmable data processing apparatuses, generate an apparatus for implementing functions/actions stipulated in one or more blocks in the flow chart and/or block diagram. The computer-readable program instructions can also be stored in the computer-readable storage medium and cause the computer, programmable data processing apparatus and/or other devices to work in a particular manner, such that the computer-readable medium stored with instructions contains an article of manufacture, including instructions for implementing various aspects of the functions/actions stipulated in one or more blocks of the flow chart and/or block diagram.
The computer-readable program instructions can also be loaded into computer, other programmable data processing apparatuses or other devices, so as to execute a series of operation steps on the computer, other programmable data processing apparatuses or other devices to generate a computer-implemented procedure. Therefore, the instructions executed on the computer, other programmable data processing apparatuses or other devices implement functions/actions stipulated in one or more blocks of the flow chart and/or block diagram.
The flow chart and block diagram in the drawings illustrate system architecture, functions and operations that may be implemented by system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each block in the flow chart or block diagram can represent a module, a part of program segment or code, wherein the module and the part of program segment or code include one or more executable instructions for performing stipulated logic functions. In some alternative embodiments, it should be noted that the functions indicated in the block can also take place in an order different from the one indicated in the drawings. For example, two successive blocks can be in fact executed in parallel or sometimes in a reverse order dependent on the involved functions. It should also be noted that each block in the block diagram and/or flow chart and combinations of the blocks in the block diagram and/or flow chart can be implemented by a hardware-based system exclusive for executing stipulated functions or actions, or by a combination of dedicated hardware and computer instructions.
Various embodiments of the present disclosure have been described above and the above description is only exemplary rather than exhaustive and is not limited to the embodiments of the present disclosure. Many modifications and alterations, without deviating from the scope and spirit of the explained various embodiments, are contemplated. The selection of terms in the text aims to best explain principles and actual applications of each embodiment and technical improvements made in the market by each embodiment, or enable other ordinary skilled in the art to understand embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201810621213.4 | Jun 2018 | CN | national |