CN109445774A - Method for processing business and device based on pelization operation - Google Patents

Method for processing business and device based on pelization operation Download PDF

Info

Publication number
CN109445774A
CN109445774A CN201811243182.XA CN201811243182A CN109445774A CN 109445774 A CN109445774 A CN 109445774A CN 201811243182 A CN201811243182 A CN 201811243182A CN 109445774 A CN109445774 A CN 109445774A
Authority
CN
China
Prior art keywords
pel
algorithm
layout
algorithm assembly
assembly
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
Application number
CN201811243182.XA
Other languages
Chinese (zh)
Inventor
王素梅
王顺广
弓备
薛琪
李铮
徐皓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811243182.XA priority Critical patent/CN109445774A/en
Publication of CN109445774A publication Critical patent/CN109445774A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Abstract

The invention discloses a kind of method for processing business and device based on pelization operation.Wherein, method includes: the selection operation at least one algorithm assembly pel for monitoring user and executing in pel operation interface;According to editing operation of the user in pel operation interface at least one algorithm assembly pel, corresponding pel layout figure is generated;It determines the corresponding algorithm assembly of each algorithm assembly pel that pel layout figure includes, and determines the syntagmatic of at least one algorithm assembly according to the layout relationship that pel layout figure includes;According at least one algorithm assembly and combinations thereof relationship, business processing is carried out.This programme is not necessarily to developer's compiled code, can realize the processing to business, to realize that business processing without code, is conducive to the whole of business processing efficiency and is promoted, and the visualization and operation convenience of business processing can be improved, promotes user experience.

Description

Method for processing business and device based on pelization operation
Technical field
The present invention relates to field of computer technology, and in particular to a kind of method for processing business and dress based on pelization operation It sets.
Background technique
With the continuous development of science and technology and society, the quantity of each business is also constantly being promoted in computer field.Currently, being The processing of realization business usually needs developer to compile corresponding service code according to demand, and according to the service code of compiling Carry out business processing.
However, business processing is carried out, to drop significantly due to needing developer voluntarily to compile service code in the prior art The low treatment effeciency of business, and increase the cost of labor of business processing.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the method for processing business and device based on pelization operation of problem.
According to an aspect of the invention, there is provided a kind of method for processing business based on pelization operation, comprising:
The selection operation at least one algorithm assembly pel that monitoring user executes in pel operation interface;
According to editing operation of the user in pel operation interface at least one algorithm assembly pel, generation pair The pel layout figure answered;
Determine the corresponding algorithm assembly of each algorithm assembly pel that the pel layout figure includes, and according to the figure The layout relationship that first layout figure includes determines the syntagmatic of at least one algorithm assembly;
According at least one algorithm assembly and combinations thereof relationship, business processing is carried out.
According to another aspect of the present invention, a kind of business processing device based on pelization operation is provided, comprising:
Monitoring modular is directed at least one algorithm assembly pel what pel operation interface executed suitable for monitoring user Selection operation;
Generation module, suitable for according to user in pel operation interface to the volume of at least one algorithm assembly pel Row's operation, generates corresponding pel layout figure;
Determining module is adapted to determine that the corresponding algorithm assembly of each algorithm assembly pel that the pel layout figure includes, And the syntagmatic of at least one algorithm assembly is determined according to the layout relationship that the pel layout figure includes;
Processing module is suitable for carrying out business processing according at least one algorithm assembly and combinations thereof relationship.
According to another aspect of the invention, provide a kind of calculating equipment, comprising: processor, memory, communication interface and Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor The corresponding operation of method for processing business based on pelization operation.
In accordance with a further aspect of the present invention, provide a kind of computer storage medium, be stored in the storage medium to A few executable instruction, the executable instruction execute processor such as the above-mentioned method for processing business pair based on pelization operation The operation answered.
The method for processing business and device based on pelization operation provided according to the present invention, monitoring user is in pel first Change the selection operation at least one algorithm assembly pel that operation interface executes;According to user in pel operation interface Editing operation at least one algorithm assembly pel generates corresponding pel layout figure;Determine that pel layout figure includes each The corresponding algorithm assembly of a algorithm assembly pel, and at least one algorithm is determined according to the layout relationship that pel layout figure includes The syntagmatic of component;Finally according at least one algorithm assembly and combinations thereof relationship, business processing is carried out.Using this programme, Without developer's compiled code, the processing to business can be realized, to realize that business processing without code, is conducive to business The whole for the treatment of effeciency is promoted, and the visualization and operation convenience of business processing can be improved, and promotes user experience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of method for processing business based on pelization operation provided according to an embodiment of the present invention Flow diagram;
Fig. 2 shows a kind of method for processing business based on pelization operation provided according to a further embodiment of the invention Flow diagram;
Fig. 3 shows a kind of operation interface schematic diagram provided according to a further embodiment of the invention;
Fig. 4 shows a kind of business processing device based on pelization operation provided according to an embodiment of the present invention Structural schematic diagram;
Fig. 5 shows a kind of structural schematic diagram of the calculating equipment provided according to an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows a kind of method for processing business based on pelization operation provided according to an embodiment of the present invention Flow diagram.As shown in Figure 1, this method comprises:
Step S110, the selection at least one algorithm assembly pel that monitoring user executes in pel operation interface Operation.
Different from the prior art in business development, code compilation interface is provided for user, the present invention provides one for user Pel operation interface.Polyalgorithm component pel, each algorithm assembly pel pair are presented in the pel operation interface An algorithm assembly is answered, which is that the algorithm packaging according to involved in business procession forms.
Polyalgorithm component pel in pel operation interface selects for user according to actual business demand. It then in this step, can the choosing at least one algorithm assembly pel that is executed in pel operation interface of real-time monitoring user Select operation.Wherein, the present invention to concrete type of the selection operation etc. without limitation, for example, selection operation can for click behaviour Work and/or drag operation etc..
Step S120, according to editing operation of the user in pel operation interface at least one algorithm assembly pel, Generate corresponding pel layout figure.
After user selects at least one algorithm assembly pel, can further in pel operation interface to this at least One algorithm assembly pel carries out layout, such as the connection relationship etc. being arranged between at least one algorithm assembly pel.Also, This step can generate corresponding according to editing operation of the user in pel operation interface at least one algorithm assembly pel Pel layout figure.
Step S130, determines the corresponding algorithm assembly of each algorithm assembly pel that pel layout figure includes, and according to The layout relationship that pel layout figure includes determines the syntagmatic of at least one algorithm assembly.
It include at least one algorithm assembly primitive information and at least one algorithm assembly pel in pel layout figure Between layout relationship, and the corresponding algorithm assembly of each algorithm assembly pel, so, can be determined by pel layout figure should The syntagmatic of at least one corresponding algorithm assembly of pel layout figure and at least one algorithm assembly.
Step S140 carries out business processing according at least one algorithm assembly and combinations thereof relationship.
Specifically, according to the syntagmatic of at least one algorithm assembly, each algorithm assembly is successively executed, and then realize industry Business processing.
It can be seen that the present embodiment monitors user first is directed at least one algorithm groups what pel operation interface executed The selection operation of part pel;According to editing operation of the user in pel operation interface at least one algorithm assembly pel, Generate corresponding pel layout figure;Determine the corresponding algorithm assembly of each algorithm assembly pel that pel layout figure includes, and The syntagmatic of at least one algorithm assembly is determined according to the layout relationship that pel layout figure includes;Finally according at least one calculation Method component and combinations thereof relationship carries out business processing.Using this programme, it is not necessarily to developer's compiled code, can be realized to industry The processing of business to realize that business processing is conducive to the whole of business processing efficiency and is promoted without code, and can be improved at business The visualization and operation convenience of reason, promote user experience.
Fig. 2 shows a kind of method for processing business based on pelization operation provided according to a further embodiment of the invention Flow diagram.As shown in Fig. 2, this method comprises:
Step S210, the selection at least one algorithm assembly pel that monitoring user executes in pel operation interface Operation, and receive the business scenario configuration information of user's input.
Firstly, being constructed in advance in the present embodiment to make user operate the processing that can be realized to business by pelization There is polyalgorithm component, wherein multiple algorithm assembly is that the algorithm packaging according to involved in business procession forms, and It can be stored in preset algorithm assembly library.
In a kind of optional embodiment, for improve user operation convenience, and make be in pel operation interface Existing polyalgorithm component pel is able to satisfy the business processing demand of more users, and the algorithm assembly in the present embodiment specifically includes Multiple fine-grained basic algorithm components.The basic algorithm component include extract class algorithm assembly, conversion class algorithm assembly and/or Loading classes algorithm assembly.Wherein, extract class algorithm assembly may include MySQL extraction assembly, HDFS extraction assembly and Hive again Extraction assembly;Conversion class algorithm assembly may include filter assemblies, replacement component, sequencing assembly, connection component, polymerizing component, And/or combining block;Loading classes algorithm assembly includes MySQL charging assembly, HDFS charging assembly and/or Hive charging assembly. Here, it will be apparent to a skilled person that the present invention is not construed as limiting concrete type of algorithm assembly etc., ability Field technique personnel can according to actual demand to business needed for algorithm carry out partition by fine granularities, encapsulation obtain it is multiple fine-grained Basic algorithm component.
In another optional embodiment, for the operation convenience for improving user, algorithm assembly can also include Template algorithm component, which can be the set of at least one basic algorithm component, for solving at least one Specific business demand.For example, calculating PV (Page View, page access amount)-UV in actual business procession (Unique Visitor, independent visitor) is usually a common business demand, to avoid user from commonly using business demand to this Repeat to compile, in the present embodiment can based on basic algorithm component and required basic algorithm component needed for calculating PV-UV it Between logical relation, PVUV template algorithm component is encapsulated as, to be directly realized by the calculating to PV-UV by the component.
In another optional embodiment, for the individual demand for meeting certain customers, algorithm assembly can also be wrapped Include custom algorithm component.The custom algorithm component can voluntarily be compiled by user.Specifically, custom algorithm component can pass through Following steps generate: firstly, monitoring generates the trigger action of custom algorithm component, obtaining user according to open system API institute The compiling data of offer generate compiling data packet.Wherein, the trigger action for generating custom algorithm component can be for for default The clicking operation of hot-zone, the present invention to the concrete type of the trigger action without limitation.Also, in compiling data packet generating process In, system is provided at least one Compilation Method, which may include initial method, execution method and/or output Method etc..The Compilation Method is the further encapsulation to the native interface of computing engines, and user can be API pairs by open system At least one Compilation Method provided is compiled, to avoid user directly certain not to the native interface progress of computing engines Benefit operation.So compiling data packet is specifically at least one Compilation Method according to user by open system API to offer Compilation operations and obtain.Further, after generating compiling data packet, by each processing of the compiling packet delivery to cluster In device, for being called according to the path for the custom algorithm component Configuration in subsequent use custom algorithm component Corresponding compiling data packet carries out business execution.Further alternative, after generating custom algorithm component, can also be should be certainly It defines algorithm assembly and configures corresponding authority information, to only be matched in user identity with the authority information of custom algorithm component In the case where, allow user to select custom algorithm component pel.
After constructing polyalgorithm component, it can be showed in the pel operation interface provided for user and multiple calculation The corresponding algorithm assembly pel of method component, so that user passes through at least one algorithm groups needed for the selection of preset selection operation Part pel, thus by component pel this it is visual in a manner of Representation algorithm component, to improve visualization and the behaviour of business processing Make convenience.Wherein, the present embodiment is not construed as limiting the concrete type etc. of selection operation, for example, selection operation can be click Operation and/or moving operation etc..Optionally, due to the algorithm assembly pel that is presented in pel operation interface in advance construct Algorithm assembly is corresponding, then algorithm assembly pel include basic algorithm component pel, template algorithm component pel, and/or from Define algorithm assembly pel.Wherein, basic algorithm component pel include extract class component pel, conversion class component pel and/or Loading classes component pel.
It further, also include for user's incoming traffic scene configuration in the pel operation interface provided for user The entrance of information.Business scenario configuration information includes business description information, data source information and computing engines information.Wherein, The present invention to concrete type of business scenario configuration information etc. without limitation, for example, the business scenario configuration information of input can be with For json type, specifically, user after selecting at least one algorithm assembly pel, can be further advanced by it is default input into Mouth inputs business scenario configuration information corresponding at least one algorithm assembly, for ensureing business in the next steps Smoothly execute.
For example, pel operation interface as shown in Figure 3 includes in the 3-1 of region in the pel operation interface There is polyalgorithm component pel, specifically, multiple algorithm assembly pel includes: basic algorithm component pel, template algorithm group Part pel and custom algorithm component pel.The algorithm assembly in each component pel and system provided in pel operation interface It is corresponding.Wherein, basic algorithm component pel includes: to extract class component pel, conversion class component pel and/or load class component Pel.Extract class algorithm assembly may include MySQL extraction assembly, HDFS extraction assembly and Hive extraction assembly again;Convert class Algorithm assembly may include filter assemblies, replacement component, sequencing assembly, connection component, polymerizing component, and/or combining block;Add Carrying class algorithm assembly includes MySQL charging assembly, HDFS charging assembly and/or Hive charging assembly.The operation of pelization shown in Fig. 3 Template algorithm component pel in interface is PVUV template component pel.
User can drag selection Hive extraction assembly pel, replacement component pel, PVUV template component pel and MySQL and add Carry component pel into region 3-2, user by Hive extraction assembly pel, replacement component pel, PVUV template component pel And in MySQL charging assembly pel to region 3-2, that is, show algorithm assembly, i.e. Hive needed for user has selected business processing Extraction assembly, replacement component, PVUV template component and MySQL charging assembly.Also, when in the algorithm assembly for choosing a certain selection After pel, the business scenario configuration information for the algorithm assembly can be inputted, it, can be such as after choosing Hive extraction assembly pel Input is directed to the business scenario configuration information of Hive extraction assembly pel in the 3-3 of region.Also, the line table between component pel Show that there are data dependence and/or execution order dependents between the corresponding algorithm assembly of component pel.
Step S220, according to editing operation of the user in pel operation interface at least one algorithm assembly pel, Generate corresponding pel layout figure.
After selecting at least one algorithm assembly pel to user, user can be further monitored at least one algorithm The editing operation of component pel, and the layout of at least one algorithm assembly pel is grasped in pel operation interface according to user Make, generates corresponding pel layout figure.Wherein, the present invention to the concrete type of editing operation without limitation, such as editing operation It can be clicking operation and/or moving operation.Optionally, the pel layout figure of generation can be stored in the form of json.
Still by taking Fig. 3 as an example, in user by business needed for the corresponding algorithm assembly pel of algorithm assembly be moved to region 3-2 Afterwards, user can carry out layout to the algorithm assembly pel of selection in the area, so that layout result meets industry set by user Business logic.
Optionally, it also can receive the modification operation for the pel layout figure generated, modify to pel layout figure, from And determine that each algorithm assembly pel that modified pel layout figure includes is corresponding in subsequent step (corresponding step S230) Algorithm assembly, and at least one algorithm assembly is determined according to the layout relationship that the modified pel layout figure includes Syntagmatic.
Step S230, determines the corresponding algorithm assembly of each algorithm assembly pel that pel layout figure includes, and according to The layout relationship that pel layout figure includes determines the syntagmatic of at least one algorithm assembly.
Specifically, which can determine according to the pel layout figure of generation, And the syntagmatic of at least one algorithm assembly.Optionally, for convenient for the subsequent group based at least one algorithm assembly Conjunction relationship carries out business processing, and the syntagmatic at least one algorithm assembly that the present embodiment determines can be forward direction sing data knot Structure.Forward direction star belongs to one kind in DAG (Directed AcyclicGraph, directed acyclic graph), is a kind of to store side Mode stores the data structure of figure, without being directed toward lower a line with pointer as adjacency list, consequently facilitating raising business Treatment effeciency.
Step S240, according at least one algorithm assembly and combinations thereof relationship and with business scenario configuration information, carry out Business processing.
Since the syntagmatic of at least one algorithm assembly is not the optimal execution logic for being business procession, direct root The execution that each algorithm assembly is carried out according to the syntagmatic of at least one algorithm assembly of input, easily causes business execution efficiency It reduces.So the present embodiment carries out business processing especially by following steps to further increase business processing efficiency:
Firstly, parsing the syntagmatic of at least one algorithm assembly, obtains the corresponding business of at least one algorithm assembly and patrol Collect topological relation.Specifically, the combination of at least one algorithm assembly of the forward direction sing data structure obtained in analyzing step S230 Relationship carries out topological sorting at least one algorithm assembly, and it is corresponding to obtain at least one algorithm assembly according to topological sorting result Service logic topological relation.Wherein, the present embodiment to specific topological sorting method without limitation, for example, can be used in DAG AOE (Activity On Edge Network) algorithm carry out topological sorting.Here, it should be understood by those skilled in the art that , the processing result of business processing is carried out according to service logic topological relation and directly according to the group of at least one algorithm assembly The processing result that conjunction relationship carries out business processing is identical, to promote business in the case where guaranteeing the identical situation of service processing result Treatment effeciency.For example, if the algorithm assembly of user's input has component A, B and C, the syntagmatic of component A, B and C of input For A → B → C ordinal relation, closed however, passing through the data dependence relation between resolution component A, B and C and executing order dependent It is found after system, component A and component B is simultaneously not present data dependence and executes order dependent, i.e. component A and component B can be held parallel Row, then service logic topological relation can be A → C ← B, based on this service logic topological relation carry out business processing can have compared with High treatment effeciency.
Further, task is handled according to business scenario configuration information and service logic topological relation creation.Specifically, will Business procession is the execution for being converted at least one processing task, to pass through the execution of the processing task to creation Realize the processing to business.Specifically, during creating processing task, in this step (such as by the preset kind of user's input Json type) business scenario configuration information combination service logic topological relation, be created that for engine identification processing task Information executes processing task for engine so that the processing mission bit stream is transferred to engine.
Finally, corresponding computing engines is called to execute processing task.Wherein, computing engines can be multiple, as Spark draws It holds up and/or Flink engine etc..It optionally, is the treatment effeciency of support mission and the accuracy of processing result, in computing engines Before formal execution processing task, the initialization process of running environment can be carried out previously according to business scenario configuration information.Wherein, The present embodiment to specific init processing method without limitation.
In a kind of optional embodiment, after creating processing task, to keep reason task everywhere in creation orderly It is effectively carried out, the processing task that can further create is scheduled processing, and corresponding computing engines is called to execute processing task. Optionally, in scheduling process, place is not scheduled to postposition task when previous task does not complete to save scheduling resource Reason only carries out the execution of postposition task after previous task processing is completed.
In another optional embodiment, during computing engines execute processing task, it can acquire and store The engine output data of each algorithm assembly.For example, during computing engines execute processing task, gathering algorithm component A Engine output data, and the engine output data of algorithm assembly A is stored in default memory space, if computation module B number According to algorithm assembly A is depended on, then in the processing task of execution computation module B, then the acquisition algorithm group from default memory space The engine output data of part A executes processing task.It is further alternative, it can also be stored in default memory space defeated with engine The corresponding source data of data out, to meet the data adaptation demand of different computing engines.Specifically, due to different meters Data format needed for calculating engine etc. is not quite similar, and when same data circulate in different computing engines, need to be converted to corresponding Engine data format, so that active data and corresponding engine data need to be carried during computing engines execute processing task Two class data, thus increase the storage overhead of computing engines, and the present invention is then to be stored in source data and engine output data In default memory space, is preset when computing engines need to obtain data from this and obtain corresponding data in memory space, to save Province's system storage overhead.
In another optional embodiment, user can enter task commissioning mode by predetermined manner.In task tune In survey mode, monitoring user is directed to the breakpoint insertion operation of any algorithm assembly, and commissioning breakpoint is arranged for the algorithm assembly;Locating In the implementation procedure of reason task, capture setting has the engine input data and engine output number of the algorithm assembly of commissioning breakpoint According to;And the engine input data and engine output data are exported, so that user carries out commissioning.Optionally, the engine input of output Data and engine output data can be presented dimension from least one and be presented.Wherein, present dimension include: time dimension, Test data ratio dimension, and/or commissioning result dimension etc..It is corresponding so as to be presented according to user to the selection that dimension is presented Test data.It is further alternative, when engine input data and larger engine output data data volume, engine can be inputted Data and engine output data store in a distributed fashion.
In another optional embodiment, to realize business rule during handling task execution and executing logic Decoupling, the present embodiment can also execute processing task by means of regulation engine.Specifically, rule base is constructed first, i.e., to obtaining The regular data taken carries out syntactic verification, wherein regular data includes that rule condition data and rule condition data are corresponding Rules results data;If regular data syntactic verification is qualified, regular data is stored in default rule library, then it is preset It include at least one regular data in rule base;After constructing rule base, processing task data is obtained, number of tasks will be handled It is matched according to at least one rule condition data in default rule library, what the determining and processing task data matched Goal rule condition data;Rules results data corresponding with goal rule condition data are determined as and the processing number of tasks According to corresponding processing result.It optionally, can be by least one rule condition in default rule library during rule match Data are converted to the rule set of default tree structure (such as RETE tree structure), thus according to the rule set of default tree structure, Determine the goal rule condition data to match with processing task data.It is further alternative, when determination and pending data phase When matched goal rule condition data is a plurality of, then need to determine that pending data is corresponding using preset conflict resolution algorithm Processing result.Wherein, preset collision algorithm can be PRI conflict solution annual reporting law, such as agenda conflict resolution algorithm Deng.Optionally, corresponding access authority can be configured for each rule in rule set, thus according to access authority to processing task Data carry out rule match.
It can be seen that the present embodiment monitors user first is directed at least one algorithm groups what pel operation interface executed The selection operation of part pel;According to editing operation of the user in pel operation interface at least one algorithm assembly pel, Generate corresponding pel layout figure;Determine the corresponding algorithm assembly of each algorithm assembly pel that pel layout figure includes, and The syntagmatic of at least one algorithm assembly is determined according to the layout relationship that pel layout figure includes;Finally according at least one calculation Method component and combinations thereof relationship carries out business processing.Using this programme, it is not necessarily to developer's compiled code, can be realized to industry The processing of business to realize that business processing is conducive to the whole of business processing efficiency and is promoted without code, and can be improved at business The visualization and operation convenience of reason, promote user experience.
Fig. 4 shows a kind of business processing device based on pelization operation provided according to an embodiment of the present invention Structural schematic diagram.As shown in figure 4, the device includes: monitoring modular 41, generation module 42, determining module 43 and processing module 44.
Monitoring modular 41 is directed at least one algorithm assembly pel what pel operation interface executed suitable for monitoring user Selection operation;
Generation module 42, suitable for according to user in pel operation interface at least one algorithm assembly pel Editing operation generates corresponding pel layout figure;
Determining module 43 is adapted to determine that the corresponding algorithm groups of each algorithm assembly pel that the pel layout figure includes Part, and determine according to the layout relationship that the pel layout figure includes the syntagmatic of at least one algorithm assembly;
Processing module 44 is suitable for carrying out business processing according at least one algorithm assembly and combinations thereof relationship.
Optionally, device further include: receiving module (not shown), the business scenario suitable for receiving user's input are matched Confidence breath;
Processing module 44 is further adapted for: according at least one algorithm assembly and combinations thereof relationship and with it is described Business scenario configuration information carries out business processing.
Optionally, the algorithm assembly pel include: basic algorithm component pel, template algorithm component pel, and/or from Define algorithm assembly pel.
Optionally, the basic algorithm component pel includes at least a kind of in following component pel: extracting class component figure Member, conversion class component pel and loading classes component pel.
Optionally, processing module 44 is further adapted for:
The syntagmatic for parsing at least one algorithm assembly obtains the corresponding service logic of at least one described algorithm assembly Topological relation;
Task is handled according to the business scenario configuration information and the service logic topological relation creation;
Corresponding computing engines are called to execute processing task.
Optionally, the device further include: modified module (not shown), suitable for receiving for the pel layout figure generated Modification operation, modify to the pel layout figure;
Determining module 43 is further adapted for: determining that each algorithm assembly pel that modified pel layout figure includes is corresponding Algorithm assembly, and at least one algorithm assembly is determined according to the layout relationship that the modified pel layout figure includes Syntagmatic.
Optionally, editing operation includes moving operation and/or clicking operation.
Wherein, the specific implementation process of each module can refer in embodiment of the method shown in Fig. 1 or Fig. 2 in the present embodiment device The description of corresponding steps, this will not be repeated here for the present embodiment.
It can be seen that the present embodiment monitors user first is directed at least one algorithm groups what pel operation interface executed The selection operation of part pel;According to editing operation of the user in pel operation interface at least one algorithm assembly pel, Generate corresponding pel layout figure;Determine the corresponding algorithm assembly of each algorithm assembly pel that pel layout figure includes, and The syntagmatic of at least one algorithm assembly is determined according to the layout relationship that pel layout figure includes;Finally according at least one calculation Method component and combinations thereof relationship carries out business processing.Using this programme, it is not necessarily to developer's compiled code, can be realized to industry The processing of business to realize that business processing is conducive to the whole of business processing efficiency and is promoted without code, and can be improved at business The visualization and operation convenience of reason, promote user experience.
A kind of nonvolatile computer storage media is provided according to an embodiment of the present invention, and the computer storage is situated between Matter is stored with an at least executable instruction, the computer executable instructions can be performed in above-mentioned any means embodiment based on figure The method for processing business of memberization operation.
Fig. 5 shows a kind of structural schematic diagram of the calculating equipment provided according to an embodiment of the present invention, present invention tool Body embodiment does not limit the specific implementation for calculating equipment.
As shown in figure 5, the calculating equipment may include: processor (processor) 502, communication interface (Communications Interface) 504, memory (memory) 506 and communication bus 508.
Wherein:
Processor 502, communication interface 504 and memory 506 complete mutual communication by communication bus 508.
Communication interface 504, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 502 can specifically execute the above-mentioned business processing side based on pelization operation for executing program 510 Correlation step in method embodiment.
Specifically, program 510 may include program code, which includes computer operation instruction.
Processor 502 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for storing program 510.Memory 506 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 510 specifically can be used for so that processor 502 executes following operation:
The selection operation at least one algorithm assembly pel that monitoring user executes in pel operation interface;
According to editing operation of the user in pel operation interface at least one algorithm assembly pel, generation pair The pel layout figure answered;
Determine the corresponding algorithm assembly of each algorithm assembly pel that the pel layout figure includes, and according to the figure The layout relationship that first layout figure includes determines the syntagmatic of at least one algorithm assembly;
According at least one algorithm assembly and combinations thereof relationship, business processing is carried out.
In a kind of optional embodiment, program 510 specifically can be used for so that processor 502 executes following operation:
Receive the business scenario configuration information of user's input;
According at least one algorithm assembly and combinations thereof relationship and with the business scenario configuration information, carry out Business processing.
In a kind of optional embodiment, the algorithm assembly pel includes: basic algorithm component pel, template algorithm Component pel, and/or custom algorithm component pel.
In a kind of optional embodiment, the basic algorithm component pel includes at least one in following component pel Class: class component pel, conversion class component pel and loading classes component pel are extracted.
In a kind of optional embodiment, program 510 specifically can be used for so that processor 502 executes following operation:
The syntagmatic for parsing at least one algorithm assembly obtains the corresponding service logic of at least one described algorithm assembly Topological relation;
Task is handled according to the business scenario configuration information and the service logic topological relation creation;
Corresponding computing engines are called to execute processing task.
In a kind of optional embodiment, program 510 specifically can be used for so that processor 502 executes following operation:
The modification operation for the pel layout figure generated is received, is modified to the pel layout figure;
The corresponding algorithm assembly of each algorithm assembly pel that the determination pel layout figure includes, and according to institute It states the layout relationship that pel layout figure includes and determines that the syntagmatic of at least one algorithm assembly further comprises:
Determine the corresponding algorithm assembly of each algorithm assembly pel that modified pel layout figure includes, and according to institute State the syntagmatic that the layout relationship that modified pel layout figure includes determines at least one algorithm assembly.
In a kind of optional embodiment, the editing operation includes moving operation and/or clicking operation.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize the business based on pelization operation according to embodiments of the present invention The some or all functions of some or all components in processing unit.The present invention is also implemented as executing here Some or all device or device programs of described method are (for example, computer program and computer program produce Product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or to appoint What other forms provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The invention discloses: a kind of method for processing business based on pelization operation of A1., comprising:
The selection operation at least one algorithm assembly pel that monitoring user executes in pel operation interface;
According to editing operation of the user in pel operation interface at least one algorithm assembly pel, generation pair The pel layout figure answered;
Determine the corresponding algorithm assembly of each algorithm assembly pel that the pel layout figure includes, and according to the figure The layout relationship that first layout figure includes determines the syntagmatic of at least one algorithm assembly;
According at least one algorithm assembly and combinations thereof relationship, business processing is carried out.
A2. method according to a1, wherein the method also includes: the business scenario for receiving user's input matches confidence Breath;
Then described according at least one algorithm assembly and combinations thereof relationship, carrying out business processing further comprises:
According at least one algorithm assembly and combinations thereof relationship and with the business scenario configuration information, carry out Business processing.
A3. method according to a1 or a2, wherein the algorithm assembly pel includes: basic algorithm component pel, mould Plate algorithm assembly pel, and/or custom algorithm component pel.
A4. method according to a3, wherein the basic algorithm component pel include in following component pel at least It is a kind of: to extract class component pel, conversion class component pel and loading classes component pel.
A5. the method according to A2, wherein it is described according at least one algorithm assembly and combinations thereof relationship, carry out industry Business processing further comprises:
The syntagmatic for parsing at least one algorithm assembly obtains the corresponding service logic of at least one described algorithm assembly Topological relation;
Task is handled according to the business scenario configuration information and the service logic topological relation creation;
Corresponding computing engines are called to execute processing task.
A6. the method according to any one of A1-A5, wherein after the corresponding pel layout figure of the generation, institute State method further include:
The modification operation for the pel layout figure generated is received, is modified to the pel layout figure;
The corresponding algorithm assembly of each algorithm assembly pel that the determination pel layout figure includes, and according to institute It states the layout relationship that pel layout figure includes and determines that the syntagmatic of at least one algorithm assembly further comprises:
Determine the corresponding algorithm assembly of each algorithm assembly pel that modified pel layout figure includes, and according to institute State the syntagmatic that the layout relationship that modified pel layout figure includes determines at least one algorithm assembly.
A7. the method according to any one of A1-A6, wherein the editing operation includes moving operation and/or click Operation.
The invention also discloses: a kind of business processing device based on pelization operation of B8., comprising:
Monitoring modular is directed at least one algorithm assembly pel what pel operation interface executed suitable for monitoring user Selection operation;
Generation module, suitable for according to user in pel operation interface to the volume of at least one algorithm assembly pel Row's operation, generates corresponding pel layout figure;
Determining module is adapted to determine that the corresponding algorithm assembly of each algorithm assembly pel that the pel layout figure includes, And the syntagmatic of at least one algorithm assembly is determined according to the layout relationship that the pel layout figure includes;
Processing module is suitable for carrying out business processing according at least one algorithm assembly and combinations thereof relationship.
B9. the device according to B8, wherein described device further include:
Receiving module, suitable for receiving the business scenario configuration information of user's input;
The processing module is further adapted for: according at least one algorithm assembly and combinations thereof relationship and with institute Business scenario configuration information is stated, business processing is carried out.
B10. the device according to B8 or B9, wherein the algorithm assembly pel include: basic algorithm component pel, Template algorithm component pel, and/or custom algorithm component pel.
B11. device according to b10, wherein the basic algorithm component pel include in following component pel extremely Few one kind: class component pel, conversion class component pel and loading classes component pel are extracted.
B12. the device according to B9, wherein the processing module is further adapted for:
The syntagmatic for parsing at least one algorithm assembly obtains the corresponding service logic of at least one described algorithm assembly Topological relation;
Task is handled according to the business scenario configuration information and the service logic topological relation creation;
Corresponding computing engines are called to execute processing task.
B13. the device according to any one of B8-B12, wherein described device further include:
Modified module carries out the pel layout figure suitable for receiving the modification operation for the pel layout figure generated Modification;
The determining module is further adapted for: determining each algorithm assembly pel pair that modified pel layout figure includes The algorithm assembly answered, and at least one algorithm assembly is determined according to the layout relationship that the modified pel layout figure includes Syntagmatic.
B14. the device according to any one of B8-B13, wherein the editing operation includes moving operation and/or point Hit operation.
The invention also discloses: a kind of calculating equipment of C15., comprising: processor, memory, communication interface and communication are total Line, the processor, the memory and the communication interface complete mutual communication by the communication bus;
The memory executes the processor such as storing an at least executable instruction, the executable instruction The corresponding operation of method for processing business based on pelization operation described in any one of A1-A7.
The invention also discloses a kind of computer storage medium of D16., being stored at least one in the storage medium can be held Row instruction, the executable instruction execute processor at the business based on pelization operation as described in any one of A1-A7 The corresponding operation of reason method.

Claims (10)

1. a kind of method for processing business based on pelization operation, comprising:
The selection operation at least one algorithm assembly pel that monitoring user executes in pel operation interface;
According to editing operation of the user in pel operation interface at least one algorithm assembly pel, generate corresponding Pel layout figure;
It determines the corresponding algorithm assembly of each algorithm assembly pel that the pel layout figure includes, and is compiled according to the pel The layout relationship that row's figure includes determines the syntagmatic of at least one algorithm assembly;
According at least one algorithm assembly and combinations thereof relationship, business processing is carried out.
2. according to the method described in claim 1, wherein, the method also includes: receive the business scenario configuration of user's input Information;
Then described according at least one algorithm assembly and combinations thereof relationship, carrying out business processing further comprises:
According at least one algorithm assembly and combinations thereof relationship and with the business scenario configuration information, carry out business Processing.
3. method according to claim 1 or 2, wherein the algorithm assembly pel include: basic algorithm component pel, Template algorithm component pel, and/or custom algorithm component pel.
4. according to the method described in claim 3, wherein, the basic algorithm component pel include in following component pel extremely Few one kind: class component pel, conversion class component pel and loading classes component pel are extracted.
5. it is described according at least one algorithm assembly and combinations thereof relationship according to the method described in claim 2, wherein, it carries out Business processing further comprises:
The syntagmatic for parsing at least one algorithm assembly obtains the corresponding service logic topology of at least one described algorithm assembly Relationship;
Task is handled according to the business scenario configuration information and the service logic topological relation creation;
Corresponding computing engines are called to execute processing task.
6. method according to any one of claims 1-5, wherein after the corresponding pel layout figure of the generation, The method also includes:
The modification operation for the pel layout figure generated is received, is modified to the pel layout figure;
The corresponding algorithm assembly of each algorithm assembly pel that the determination pel layout figure includes, and according to the figure The layout relationship that first layout figure includes determines that the syntagmatic of at least one algorithm assembly further comprises:
It determines the corresponding algorithm assembly of each algorithm assembly pel that modified pel layout figure includes, and is repaired according to described The layout relationship that pel layout figure after changing includes determines the syntagmatic of at least one algorithm assembly.
7. method according to claim 1 to 6, wherein the editing operation includes moving operation and/or point Hit operation.
8. a kind of business processing device based on pelization operation, comprising:
Monitoring modular, the selection at least one algorithm assembly pel executed suitable for monitoring user in pel operation interface Operation;
Generation module, suitable for being grasped in pel operation interface to the layout of at least one algorithm assembly pel according to user Make, generates corresponding pel layout figure;
Determining module is adapted to determine that the corresponding algorithm assembly of each algorithm assembly pel that the pel layout figure includes, and The syntagmatic of at least one algorithm assembly is determined according to the layout relationship that the pel layout figure includes;
Processing module is suitable for carrying out business processing according at least one algorithm assembly and combinations thereof relationship.
9. a kind of calculating equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of method for processing business based on pelization operation described in any one of 1-7.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Execute processor such as the method for processing business corresponding behaviour of any of claims 1-7 based on pelization operation Make.
CN201811243182.XA 2018-10-24 2018-10-24 Method for processing business and device based on pelization operation Pending CN109445774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811243182.XA CN109445774A (en) 2018-10-24 2018-10-24 Method for processing business and device based on pelization operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811243182.XA CN109445774A (en) 2018-10-24 2018-10-24 Method for processing business and device based on pelization operation

Publications (1)

Publication Number Publication Date
CN109445774A true CN109445774A (en) 2019-03-08

Family

ID=65548116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811243182.XA Pending CN109445774A (en) 2018-10-24 2018-10-24 Method for processing business and device based on pelization operation

Country Status (1)

Country Link
CN (1) CN109445774A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457029A (en) * 2019-08-13 2019-11-15 中国核动力研究设计院 A kind of Logical Configuration icon configuration method based on SCADE basic algorithm block
CN111722842A (en) * 2020-05-29 2020-09-29 北京宝兰德软件股份有限公司 Pipeline arranging method and device, electronic equipment and storage medium
CN112000326A (en) * 2020-08-20 2020-11-27 第四范式(北京)技术有限公司 Service providing method and device, electronic equipment and storage medium
CN112764721A (en) * 2021-01-15 2021-05-07 南京中兴力维软件有限公司 Data processing method, device, system and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294475A (en) * 2013-06-08 2013-09-11 北京邮电大学 Automatic service generating system and automatic service generating method both of which are based on imaging service scene and field template
CN104020997A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Extensible graphical rule application system
CN104216691A (en) * 2013-05-31 2014-12-17 华为技术有限公司 Application creating method and device
CN106020811A (en) * 2016-05-13 2016-10-12 乐视控股(北京)有限公司 Development method and device of algorithm model
CN106775617A (en) * 2016-11-09 2017-05-31 深圳市中润四方信息技术有限公司 The service logic collocation method and configuration system of a kind of application software
US9720655B1 (en) * 2013-02-01 2017-08-01 Jpmorgan Chase Bank, N.A. User interface event orchestration

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9720655B1 (en) * 2013-02-01 2017-08-01 Jpmorgan Chase Bank, N.A. User interface event orchestration
CN104216691A (en) * 2013-05-31 2014-12-17 华为技术有限公司 Application creating method and device
CN103294475A (en) * 2013-06-08 2013-09-11 北京邮电大学 Automatic service generating system and automatic service generating method both of which are based on imaging service scene and field template
CN104020997A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Extensible graphical rule application system
CN106020811A (en) * 2016-05-13 2016-10-12 乐视控股(北京)有限公司 Development method and device of algorithm model
CN106775617A (en) * 2016-11-09 2017-05-31 深圳市中润四方信息技术有限公司 The service logic collocation method and configuration system of a kind of application software

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457029A (en) * 2019-08-13 2019-11-15 中国核动力研究设计院 A kind of Logical Configuration icon configuration method based on SCADE basic algorithm block
CN110457029B (en) * 2019-08-13 2022-06-28 中核控制系统工程有限公司 Logic configuration icon configuration method based on SCADE basic algorithm block
CN111722842A (en) * 2020-05-29 2020-09-29 北京宝兰德软件股份有限公司 Pipeline arranging method and device, electronic equipment and storage medium
CN112000326A (en) * 2020-08-20 2020-11-27 第四范式(北京)技术有限公司 Service providing method and device, electronic equipment and storage medium
CN112764721A (en) * 2021-01-15 2021-05-07 南京中兴力维软件有限公司 Data processing method, device, system and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109324793A (en) Support the processing system and method for algorithm assembly
CN109445774A (en) Method for processing business and device based on pelization operation
WO2021114530A1 (en) Hardware platform specific operator fusion in machine learning
CN109445797A (en) Handle task executing method and device
CN107450972B (en) Scheduling method and device and electronic equipment
US10509683B2 (en) Modeling resource usage for a job
JP6763072B2 (en) Compile data processing graph
CN106502720B (en) A kind of data processing method and device
US10671607B2 (en) Pipeline dependent tree query optimizer and scheduler
CN109189572B (en) Resource estimation method and system, electronic equipment and storage medium
CN109343856A (en) The generation method and device of custom algorithm component
US20050137839A1 (en) Methods, apparatus and programs for system development
Bellettini et al. Mardigras: Simplified building of reachability graphs on large clusters
CN109934507A (en) A kind of method and device of operation flow scheduling
CN106648839A (en) Method and device for processing data
CN109214692B (en) E-book methods of marking and electronic equipment based on user's timing behavior
CN109634714A (en) A kind of method and device of intelligent scheduling
CN116011468A (en) Reasoning method, machine translation method and device of deep learning model
JP2015219906A (en) Software verification method and processor
CN109117381A (en) The adjusting, measuring method and device of processing task
CN103853554A (en) Software reconstruction position determination method and software reconstruction position identification device
CN105224649A (en) A kind of data processing method and device
CN109643307A (en) Stream processing system and method
Da Col et al. Large-scale benchmarks for the job shop scheduling problem
CN107256158B (en) Method and system for detecting load reduction of power system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308