CN110321117A - Application processing method, device and server - Google Patents
Application processing method, device and server Download PDFInfo
- Publication number
- CN110321117A CN110321117A CN201810272423.7A CN201810272423A CN110321117A CN 110321117 A CN110321117 A CN 110321117A CN 201810272423 A CN201810272423 A CN 201810272423A CN 110321117 A CN110321117 A CN 110321117A
- Authority
- CN
- China
- Prior art keywords
- server
- node
- process chain
- chain
- context
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 210
- 238000012545 processing Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 19
- 238000004891 communication Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 238000010276 construction Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the present invention provides a kind of application processing method, device and server.This method comprises: first server receives the nodal operation instruction of user;The first server is instructed according to the nodal operation, generates process chain, and the process chain is made of multiple nodes;The process chain is sent to second server by the first server, and the second server is for executing the process chain to realize the corresponding application of the process chain.The embodiment of the present invention builds process chain by patterned node, so that the clear logic of the corresponding application of process chain, improves exploitation, the maintenance efficiency of application.
Description
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of application processing methods, device and server.
Background technique
In application development process, developer needs that the application of exploitation is designed, develops and is debugged.Such as it opens
Hair personnel need to write code, test code, when using when something goes wrong, developer also needs to check code, finds code
In logical problem.
When code is longer or code logic is complex, developer may need to take a long time to analyze
Logical problem in code, to reduce the exploitation of application, maintenance efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of application processing method, device and server, to improve exploitation, the maintenance effect of application
Rate.
In a first aspect, the embodiment of the present invention provides a kind of application processing method, comprising:
First server receives the nodal operation instruction of user;
The first server is instructed according to the nodal operation, generates process chain, the process chain is by multiple node structures
At;
The process chain is sent to second server by the first server, and the second server is described for executing
Process chain is to realize the corresponding application of the process chain.
Second aspect, the embodiment of the present invention provide a kind of application processing method, comprising:
Second server receives process chain from first server, and the process chain is made of multiple nodes;
The second server receives request message, and the request message is converted to context;
The second server is handled the context by the process chain.
The third aspect, the embodiment of the present invention provide a kind of server, comprising:
Receiving module, the nodal operation for receiving user instruct;
Generation module generates process chain, the process chain is by multiple node structures for instructing according to the nodal operation
At;
Sending module, for the process chain to be sent to second server, the second server is described for executing
Process chain is to realize the corresponding application of the process chain.
Fourth aspect, the embodiment of the present invention provide a kind of server, comprising:
Receiving module, for receiving process chain from first server, the process chain is made of multiple nodes;Receive request
Message;
Conversion module, for the request message to be converted to context;
Processing module, for being handled by the process chain the context.
5th aspect, the embodiment of the present invention provide a kind of server, comprising:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality
Method described in existing first aspect or second aspect.
6th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize method described in first aspect.
Application processing method, device and server provided in an embodiment of the present invention build processing by patterned node
Chain, so that the clear logic of the corresponding application of process chain, improves exploitation, the maintenance efficiency of application.
Detailed description of the invention
Fig. 1 is the schematic diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is application processing method flow chart provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of node provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of node provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of daisy chaining provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of parallel-chain provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of branched chain provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of communication system provided in an embodiment of the present invention;
Fig. 9 be another embodiment of the present invention provides application processing method flow chart;
Figure 10 be another embodiment of the present invention provides process chain structural schematic diagram;
Figure 11 be another embodiment of the present invention provides Debugging interface schematic diagram;
Figure 12 be another embodiment of the present invention provides application processing method flow chart;
Figure 13 be another embodiment of the present invention provides process chain structural schematic diagram;
Figure 14 be another embodiment of the present invention provides process chain structural schematic diagram;
Figure 15 be another embodiment of the present invention provides process chain structural schematic diagram;
Figure 16 be another embodiment of the present invention provides process chain structural schematic diagram;
Figure 17 is the structural schematic diagram of server provided in an embodiment of the present invention;
Figure 18 is the structural schematic diagram of server provided in an embodiment of the present invention;
Figure 19 is the structural schematic diagram of server provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Noun according to the present invention is explained first:
Plug-in unit: independent Service Processing Unit.
Plug-in parameter: one group of configuration of the input/output of a plug-in unit is defined.
Node: i.e. process chain node is made of plug-in unit and its plug-in parameter.
Postposition node: after node executes, the node that and then executes.
Branch node: branch node is a kind of special node, there is multiple process chains to be selected, and branch node can be according to up and down
Variate-value in text selects a process chain to continue to execute from process chain to be selected.
Parallel node: parallel node is a kind of special node, there is multiple subprocessing chains, and parallel node is each subprocessing
Context after the context of chain duplication portion oneself, executes each subprocessing chain parallel, and bundle process chain executes
It is incorporated as the context after the execution of oneself.
Process chain: the organizational form of one or more nodes or process chain, including daisy chaining, parallel-chain and branched chain.
Context: a kind of data management container can carry the input and output of plug-in unit.
Wing Worker: the existing application that can execute process chain.
Application processing method provided by the invention can be adapted for communication system shown in FIG. 1.As shown in Figure 1, the communication
System includes: access network equipment 11, terminal device 12, server 13 and server 14.It should be noted that shown in FIG. 1 logical
Letter system can be adapted for different network formats, for example, can be adapted for global system for mobile telecommunications (Global System of
Mobile communication, abbreviation GSM), CDMA (Code Division Multiple Access, referred to as
CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, abbreviation WCDMA), time division synchronous
CDMA (Time Division-Synchronous Code Division Multiple Access, abbreviation TD-
SCDMA), the network formats such as the 5G in long term evolution (Long Term Evolution, abbreviation LTE) system and future.Optionally,
Above-mentioned communication system can communicate (Ultra-Reliable and Low Latency for low time delay highly reliable in 5G communication system
Communications, abbreviation URLLC) transmission scene in system.
So optionally, above-mentioned access network equipment 11 can be base station (the Base Transceiver in GSM or CDMA
Station, abbreviation BTS) and/or base station controller, it is also possible to base station (NodeB, abbreviation NB) in WCDMA and/or wireless
Network controller (Radio Network Controller, abbreviation RNC), can also be the evolved base station in LTE
(Evolutional Node B, abbreviation eNB or eNodeB) perhaps base in relay station or access point or future 5G network
Stand (gNB) etc., and the present invention does not limit herein.
Above-mentioned terminal device 12 can be wireless terminal and be also possible to catv terminal.Wireless terminal can be directed to user and mention
For voice and/or the equipment of other business datum connectivity, there is the handheld device of wireless connecting function or be connected to wireless
Other processing equipments of modem.Wireless terminal can be through wireless access network (Radio Access Network, abbreviation
RAN it) is communicated with one or more equipments of the core network, wireless terminal can be mobile terminal, as mobile phone (or is
" honeycomb " phone) and computer with mobile terminal, for example, it may be portable, pocket, hand-held, built-in computer
Or vehicle-mounted mobile device, they exchange language and/or data with wireless access network.For another example wireless terminal can be with
It is personal communication service (Personal Communication Service, abbreviation PCS) phone, wireless phone, session setup
Agreement (Session Initiation Protocol, abbreviation SIP) phone, wireless local loop (Wireless Local
Loop, abbreviation WLL) it stands, the equipment such as personal digital assistant (Personal Digital Assistant, abbreviation PDA).It is wireless whole
End is referred to as system, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), movement station
(Mobile Station), mobile station (Mobile), distant station (Remote Station), remote terminal (Remote
Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User
Agent), user equipment (User Device or User Equipment), is not limited thereto.Optionally, above-mentioned terminal is set
Standby 12 can also be the equipment such as smartwatch, tablet computer.
Application processing method provided by the invention, it is intended to solve the technical problem as above of the prior art.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is application processing method flow chart provided in an embodiment of the present invention.The embodiment of the present invention is for the prior art
Technical problem as above provides application processing method, and specific step is as follows for this method:
Step 201, first server receive the nodal operation instruction of user.
As shown in Figure 1, terminal device 12 is connect by access network equipment 11 with server 13, server 13 specifically be can be
WEB server, user can log in by terminal device 12 and access the webpage of server 13.In the present embodiment, server 13
It can be stored with node repository, include multiple nodes in node repository, each node includes plug-in unit and plug-in parameter, and plug-in unit can be independence
Service Processing Unit.State and run time behaviour, the state of node 30 as shown in Figure 3 are when the state of node includes exploitation
State when exploitation, the node of state includes node name and plug-in unit name when exploitation.When the state of node 40 as shown in Figure 4 is operation
State, the node of run time behaviour include node name, plug-in unit name and input and output button.Wherein, server 13 can will save
Point is shown in webpage, when user accesses the webpage of server 13 by terminal device 12, can carry out clicking operation to node,
For example, after user carries out clicking operation to node 30 as shown in Figure 3 in the webpage that terminal device 12 is shown, terminal device
12 meeting pop-ups show the plug-in parameter of node 30.When user in the webpage that terminal device 12 is shown to node as shown in Figure 4
After 40 middle section carries out clicking operation, the meeting pop-up of terminal device 12 shows the plug-in parameter of node 40.When user is in terminal
After carrying out clicking operation to input button as shown in Figure 4 in the webpage that equipment 12 is shown, terminal device 12 can pop-up display section
Context before 40 operation of point, after user carries out clicking operation to output button as shown in Figure 4, terminal device 12 can pop-up
Show the postrun context of node 40.
In the present embodiment, server 13 can show multiple nodes in webpage, and user is aobvious by terminal device 12
The webpage shown operates multiple node, and terminal device 12 detects operation of the user to multiple node, generates corresponding
Operational order, and operational order of the user to multiple node is sent to server 13.For example, showing node in the webpage
1, node 2, node 3, user node 2 can be arranged in behind node 1 in webpage, after node 2 is arranged in node 3
Face, so that node 1, node 2, node 3 constitute a daisy chaining.Terminal device 12 detects user to node 1, node 2, node 3
Operation after, generate nodal operation instruction, and by nodal operation instruction be sent to server 13.
Step 202, the first server are instructed according to the nodal operation, generate process chain, the process chain is by more
A node is constituted.
For example, server 13 receive user to node 1, node 2, node 3 operational order after, generate as shown in Figure 5
Daisy chaining.
For another example including node 1, node 2, node 3, node 4 in the webpage that terminal device 12 is shown, user can be in net
Node 2 and node 3 are separately positioned on behind node 1 in page, and node 4 is arranged in behind node 2 and node 3.Clothes
Business device 13 receive user to node 1, node 2, node 3, node 4 operational order after, generate parallel-chain as shown in FIG. 6.
For another example terminal device 12 show webpage in include node 1, node 2, node 3, user can in webpage incite somebody to action
Node 2 and node 3 are separately positioned on behind node 1.Server 13 receives operation of the user to node 1, node 2, node 3
After instruction, branched chain as shown in Figure 7 is generated.
In the present embodiment, as Fig. 5, Fig. 6, process chain shown in Fig. 7 only schematically illustrate, limit process chain tool
The structure and form of body, in some embodiments, the process chain that server 13 constructs can also be Fig. 5, Fig. 6, place shown in Fig. 7
Manage the permutation and combination of chain.In addition, server 13 can construct multiple process chains, each process chain can have different structure and
Form.
The process chain is sent to second server by step 203, the first server, and the second server is used for
The process chain is executed to realize the corresponding application of the process chain.
In the present embodiment, server 13 can be the server for Construction treatment chain, and server 14 can be execution
The server of process chain.One or more process chains that server 13 can be constructed out are sent to server 14, by servicing
Device 14 executes process chain to realize the corresponding application of the process chain.In order to be distinguish to server 13 and server 14, will use
It is denoted as first server in the server 13 of Construction treatment chain, the server 14 for being used to execute process chain is denoted as second service
Device.In some embodiments, first server is other than Construction treatment chain, it can also be used to execute process chain.
In the present embodiment, multiple process chains that first server can be constructed out are deployed in different second respectively
In server.As shown in figure 8, multiple process chains that server 13 can be constructed out are deployed in server 141, service respectively
In device 142, server 143.For example, it is respectively process chain 1, process chain 2, process chain 3 that server 13, which constructs multiple process chains,;
Process chain 1 is deployed in server 141 by server 13, and process chain 2 is deployed in server 142, and process chain 3 is deployed in
In server 143.Server 141 can be realized when can be realized when executing process chain 1 using the execution process chain 2 of 1, server 142 and be answered
It can realize when executing process chain 3 with 2, server 143 using 3.In some embodiments, server 13 can also service respectively
Device 141, server 142 dispose multiple process chains in server 143, and server 141, server 142 or server 143 can lead to
It crosses multiple process chains and realizes one or more application.
The embodiment of the present invention builds process chain by patterned node, so that the logic of the corresponding application of process chain is clear
It is clear, improve exploitation, the maintenance efficiency of application.
Fig. 9 be another embodiment of the present invention provides application processing method flow chart.On the basis of the above embodiments, originally
The application processing method that embodiment provides further includes following steps:
The node that step 901, the first server receive user runs inquiry instruction.
By taking the application that the news data in searching service obtains as an example, news data acquisition first has to judgement and searches the present embodiment
Whether rope keyword triggers this application, if triggering this application, it will obtains from different channels (artificial data/machine data)
News data is taken, the data summarization that then will acquire, output.This is as shown in Figure 10 using corresponding process chain, when server 13
After generating process chain as shown in Figure 10, if the part of nodes in the process chain is there are no plug-in unit, developer can develop this
The concrete function of part of nodes plug-in unit.The process chain can be deployed in server 141 by server 13, be held by server 141
The row process chain.When server 141 executes the process chain, server 13 can also show Debugging interface, and Debugging interface is as schemed
Shown in 11.
When server 13 shows Debugging interface, as shown in figure 8, commissioning staff can click debugging circle by terminal device 81
Input button or output button in face, " obtain artificial for example, commissioning staff is clicked in Debugging interface by terminal device 81
The input button of data " node, terminal device 81 generate node operation inquiry according to clicking operation of the user to the input button
Instruction, and node operation inquiry instruction is sent to server 13.
Step 902, the first server send the node to the second server and run inquiry instruction.
After server 13 receives node operation inquiry instruction, node operation inquiry instruction is sent to server
14, server 14 returns to the context before " obtaining artificial data " node operation to server 13.
In addition, if commissioning staff clicks in Debugging interface the output of " obtaining artificial data " node by terminal device 81
Button, terminal device 81 generate node to the clicking operation of the output button according to user and run inquiry instruction, and by the node
Operation inquiry instruction is sent to server 13.After server 13 receives node operation inquiry instruction, node operation is looked into
It askes instruction and is sent to server 14, server 14 returns to " obtaining artificial data " postrun context of node to server 13.
Step 903, the first server run the interior perhaps node of front upper and lower text from the second server receiving node
Context after operation.
Specifically, server 13 from server 14 receive the context before such as " obtain artificial data " node operation or
" obtaining artificial data " postrun context of node.
The embodiment of the present invention builds process chain by patterned node, and debugging circle is shown after executing the process chain
Face, so that commissioning staff can check the context before node operation by the input button of a certain node in click process chain,
Or the output button by clicking a certain node in process chain checks the postrun context of the node, improves opening for application
Hair, maintenance efficiency.
Figure 12 be another embodiment of the present invention provides application processing method flow chart.On the basis of the above embodiments,
Application processing method provided in this embodiment specifically comprises the following steps:
Step 1201, second server receive process chain from first server, and the process chain is made of multiple nodes.
In the present embodiment, first service implement body can be the server 13 for Construction treatment chain, second server
It specifically can be the server 14 for executing process chain.Multiple process chains that server 13 can be constructed out are disposed respectively
In server 14.
For example, the process chain that server 13 constructs as shown in figure 5, server 14 when executing process chain as shown in Figure 5,
It needs from left to right successively to execute, as long as soon as centre has a node to exit, entire process chain exits.Node in the process chain
Successively context is handled, for example, output exports node 1 to node 2, node 2 after node 1 is written and read context
Context be written and read after output to node 3, the context that node 3 can export node 2 exports after being written and read, can also
The context exported with direct output node 2.
For another example the process chain that server 13 constructs is as shown in figure 13, process chain 1, process chain 2, process chain 3, process chain 4
Parallel-chain is constituted, process chain 1, process chain 2, process chain 3, process chain 4 respectively include one or more nodes.Server 13 will
Parallel-chain is deployed to before server 14 as shown in fig. 13 that, needs to be converted to parallel-chain as shown in fig. 13 that as shown in figure 14
Structure.As shown in figure 14, parallel process chain 2, process chain 3 are recorded as at two sons of a parallel node by server 13
Manage chain.
For another example the process chain that server 13 constructs is as shown in figure 15, the postposition node of process chain 1 is branch node, point
Multiple process chains are connected behind Zhi Jiedian, for example, being connected with process chain 2 and process chain 3 behind branch node.Server 13 will be as
Branched chain shown in figure 15 is deployed to before server 14, needs to be converted to branched chain as shown in figure 15 as shown in figure 16
Structure.As shown in figure 16, process chain 2 and process chain 3 are recorded as two of branch node to select chain by server 13.
Step 1202, the second server receive request message, and the request message are converted to context.
After server 14 receives request message, which is converted into context.
Step 1203, the second server are handled the context by the process chain.
Specifically, the second server is by the process chain to described upper and lower when the process chain is daisy chaining
Text is handled, comprising: the second server successively carries out the context by each node in the process chain
Processing.Such as shown in Fig. 5, node 1, node 2, node 3 are successively handled context.
When the process chain is parallel-chain, the process chain includes parallel node, and the parallel node includes parallel
Multiple subprocessing chains;The second server is handled the context by the process chain, comprising: by it is described simultaneously
Treated that context is respectively allocated to each subprocessing chain in multiple subprocessing chains handles by previous node for row node;
By the parallel node, by each subprocessing chain, treated that context merges obtains the parallel node treated
Context.As shown in figure 14, for process chain 1 to output after context processing to parallel node, parallel node will be after the processing of process chain 1
Context be copied to process chain 2 and process chain 3 respectively, process chain 2 and process chain 3 respectively to process chain 1 treated up and down
Text is handled, and when process chain 2 and process chain 3 are respectively to treated the context after treatment of process chain 1, parallel node will
Treated respectively that context merges for process chain 2 and process chain 3, and the context after merging is exported as parallel node
Context, and pass to process chain 4.
When the process chain be branched chain when, the process chain includes branch node, the branch node include it is multiple to
Select node;The second server is handled the context by the process chain, comprising: passes through the branch node
According to the parameter value in previous node treated context, a destination node is selected from multiple nodes to be selected, by described
Destination node executes the context.As shown in figure 16, process chain 1 is to output after context processing to branch node, branch's section
Point selects a process chain, by this according to the parameter value in treated the context of process chain 1 from process chain 2 and process chain 3
The process chain selected continues with the context.
The embodiment of the present invention builds process chain by patterned node, so that the logic of the corresponding application of process chain is clear
It is clear, improve exploitation, the maintenance efficiency of application.
Figure 17 is the structural schematic diagram of server provided in an embodiment of the present invention.Service implement body can described in the present embodiment
To be the first server in above-described embodiment.Server provided in an embodiment of the present invention can execute application processing method implementation
The process flow that example provides, as shown in figure 17, server 170 includes: receiving module 171, generation module 172 and sending module
173;Wherein, receiving module 171 is used to receive the nodal operation instruction of user;Generation module 172 is used to be grasped according to the node
It instructs, generates process chain, the process chain is made of multiple nodes;Sending module 173 is for the process chain to be sent to
Second server, the second server is for executing the process chain to realize the corresponding application of the process chain.
Optionally, receiving module 171 is also used to: receiving the node operation inquiry instruction of user;Sending module 173 is also used
In: Xiang Suoshu second server sends the node and runs inquiry instruction;Receiving module 171 is also used to: from the second service
Context after the interior perhaps node operation of the front upper and lower text of device receiving node operation.
Optionally, the node includes plug-in unit and plug-in parameter, and the plug-in unit is the Service Processing Unit of the application.
Optionally, the process chain includes daisy chaining, parallel-chain, branched chain.
The server of embodiment illustrated in fig. 17 can be used for executing the technical solution of above method embodiment, realization principle and
Technical effect is similar, and details are not described herein again.
Figure 18 is the structural schematic diagram of server provided in an embodiment of the present invention.Service implement body can described in the present embodiment
To be the second server in above-described embodiment.Server provided in an embodiment of the present invention can execute application processing method implementation
The process flow that example provides, as shown in figure 18, server 180 includes: receiving module 181, conversion module 182, processing module
183;Wherein, receiving module 181 is used to receive process chain from first server, and the process chain is made of multiple nodes;It receives
Request message;Conversion module 182 is used to the request message being converted to context;Processing module 183 is used to pass through the place
Reason chain handles the context.
Optionally, the process chain is daisy chaining;Processing module 183 is specifically used for: passing through each of described process chain
Node is successively handled the context.
Optionally, the process chain is parallel-chain, and the process chain includes parallel node, and the parallel node includes parallel
Multiple subprocessing chains;Processing module 183 is specifically used for: by the parallel node by previous node treated context point
The each subprocessing chain that do not distribute in multiple subprocessing chains is handled;It will be at each subprocessing chain by the parallel node
Context after reason merges to obtain the parallel node treated context.
Optionally, the process chain is branched chain, and the process chain includes branch node, and the branch node includes multiple
Node to be selected;Processing module 183 is specifically used for: by the branch node according to the ginseng in previous node treated context
Numerical value selects a destination node from multiple nodes to be selected, executes the context by the destination node.
The server of embodiment illustrated in fig. 18 can be used for executing the technical solution of above method embodiment, realization principle and
Technical effect is similar, and details are not described herein again.
Figure 19 is the structural schematic diagram of server provided in an embodiment of the present invention.Server provided in an embodiment of the present invention can
To execute the process flow of application processing method embodiment offer, as shown in figure 19, server 190 includes memory 191, processing
Device 192, computer program and communication interface 193;Wherein, computer program is stored in memory 191, and be configured as by
It manages device 192 and executes application processing method described in above-described embodiment.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter
Calculation machine program is executed by processor to realize application processing method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (18)
1. a kind of application processing method characterized by comprising
First server receives the nodal operation instruction of user;
The first server is instructed according to the nodal operation, generates process chain, and the process chain is made of multiple nodes;
The process chain is sent to second server by the first server, and the second server is for executing the processing
Chain is to realize the corresponding application of the process chain.
2. the method according to claim 1, wherein the method also includes:
The node that the first server receives user runs inquiry instruction;
The first server sends the node to the second server and runs inquiry instruction;
The first server runs context after the interior perhaps node of front upper and lower text is run from the second server receiving node
Content.
3. method according to claim 1 or 2, which is characterized in that the node includes plug-in unit and plug-in parameter, described to insert
Part is the Service Processing Unit of the application.
4. according to the method described in claim 3, it is characterized in that, the process chain includes daisy chaining, parallel-chain, branched chain.
5. a kind of application processing method characterized by comprising
Second server receives process chain from first server, and the process chain is made of multiple nodes;
The second server receives request message, and the request message is converted to context;
The second server is handled the context by the process chain.
6. according to the method described in claim 5, it is characterized in that, the process chain is daisy chaining;
The second server is handled the context by the process chain, comprising:
The second server is successively handled the context by each node in the process chain.
7. according to the method described in claim 5, the process chain includes simultaneously it is characterized in that, the process chain is parallel-chain
Row node, the parallel node include parallel multiple subprocessing chains;
The second server is handled the context by the process chain, comprising:
By the parallel node, by previous node, treated that context is respectively allocated to every height in multiple subprocessing chains
Process chain is handled;
By the parallel node, by each subprocessing chain, treated that context merges obtains the parallel node and handle
Context afterwards.
8. according to the method described in claim 5, the process chain includes point it is characterized in that, the process chain is branched chain
Zhi Jiedian, the branch node include multiple nodes to be selected;
The second server is handled the context by the process chain, comprising:
By the branch node according to the parameter value in previous node treated context, selected from multiple nodes to be selected
One destination node executes the context by the destination node.
9. a kind of server characterized by comprising
Receiving module, the nodal operation for receiving user instruct;
Generation module generates process chain, the process chain is made of multiple nodes for instructing according to the nodal operation;
Sending module, for the process chain to be sent to second server, the second server is for executing the processing
Chain is to realize the corresponding application of the process chain.
10. server according to claim 9, which is characterized in that
The receiving module is also used to: receiving the node operation inquiry instruction of user;
The sending module is also used to: Xiang Suoshu second server sends the node and runs inquiry instruction;
The receiving module is also used to: on after the interior perhaps node operation of the front upper and lower text of second server receiving node operation
Ensuing disclosure.
11. server according to claim 9 or 10, which is characterized in that the node includes plug-in unit and plug-in parameter, institute
State the Service Processing Unit that plug-in unit is the application.
12. server according to claim 11, which is characterized in that the process chain includes daisy chaining, parallel-chain, branch
Chain.
13. a kind of server characterized by comprising
Receiving module, for receiving process chain from first server, the process chain is made of multiple nodes;Request is received to disappear
Breath;
Conversion module, for the request message to be converted to context;
Processing module, for being handled by the process chain the context.
14. server according to claim 13, which is characterized in that the process chain is daisy chaining;
The processing module is specifically used for: successively being handled the context by each node in the process chain.
15. server according to claim 13, which is characterized in that the process chain is parallel-chain, the process chain packet
Parallel node is included, the parallel node includes parallel multiple subprocessing chains;
The processing module is specifically used for: by the parallel node, by previous node, treated that context is respectively allocated to is more
Each subprocessing chain in a sub- process chain is handled;By the parallel node by each subprocessing chain treated up and down
Text merges to obtain the parallel node treated context.
16. server according to claim 13, which is characterized in that the process chain is branched chain, the process chain packet
Branch node is included, the branch node includes multiple nodes to be selected;
The processing module is specifically used for: by the branch node according to the parameter in previous node treated context
Value selects a destination node from multiple nodes to be selected, executes the context by the destination node.
17. a kind of server characterized by comprising
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor to realize such as
The described in any item methods of claim 1-8.
18. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
It is executed by processor to realize the method according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810272423.7A CN110321117A (en) | 2018-03-29 | 2018-03-29 | Application processing method, device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810272423.7A CN110321117A (en) | 2018-03-29 | 2018-03-29 | Application processing method, device and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110321117A true CN110321117A (en) | 2019-10-11 |
Family
ID=68110935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810272423.7A Pending CN110321117A (en) | 2018-03-29 | 2018-03-29 | Application processing method, device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321117A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110137820A1 (en) * | 2009-12-09 | 2011-06-09 | Reisbich Julia | Graphical model-based debugging for business processes |
US20120174060A1 (en) * | 2010-12-31 | 2012-07-05 | Slava Rivkin | Graphically based method for developing connectivity drivers |
CN105229617A (en) * | 2013-05-21 | 2016-01-06 | 肯赛里克斯公司 | For the chart of navigation application code |
US20170041776A1 (en) * | 2015-08-04 | 2017-02-09 | Qualcomm Incorporated | Supporting multiple concurrent service contexts with a single connectivity context |
CN106648660A (en) * | 2016-12-22 | 2017-05-10 | 深圳怡化电脑股份有限公司 | Method and device for service development |
-
2018
- 2018-03-29 CN CN201810272423.7A patent/CN110321117A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110137820A1 (en) * | 2009-12-09 | 2011-06-09 | Reisbich Julia | Graphical model-based debugging for business processes |
US20120174060A1 (en) * | 2010-12-31 | 2012-07-05 | Slava Rivkin | Graphically based method for developing connectivity drivers |
CN105229617A (en) * | 2013-05-21 | 2016-01-06 | 肯赛里克斯公司 | For the chart of navigation application code |
US20170041776A1 (en) * | 2015-08-04 | 2017-02-09 | Qualcomm Incorporated | Supporting multiple concurrent service contexts with a single connectivity context |
CN106648660A (en) * | 2016-12-22 | 2017-05-10 | 深圳怡化电脑股份有限公司 | Method and device for service development |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110389900A (en) | A kind of distributed experiment & measurement system test method, device and storage medium | |
CN107463582A (en) | The method and device of distributed deployment Hadoop clusters | |
CN108810119A (en) | block chain processing method, device and block chain node | |
CN109067724A (en) | Block chain data trade method, apparatus, equipment and storage medium | |
CN105847460B (en) | A kind of method and apparatus for realizing two-way converting detection | |
CN110502212A (en) | It is a kind of towards the multilingual online Development Support method of high concurrent | |
CN108173915A (en) | Call chain processing method and processing device | |
CN107070782A (en) | A kind of Interface integration method, server and the system expansible based on message queue | |
CN103957204B (en) | The General adaptive method communicated with security device interfaces | |
CN107148031A (en) | A kind of method of testing of WiFi module software systems, apparatus and system | |
CN101442767B (en) | Method and apparatus for controlling multiple user terminals to implement business automatically | |
CN106027365A (en) | Information interaction method and device | |
CN107769934B (en) | Rate processing method and processing device | |
CN102594615A (en) | Method and system for simulating value-added services | |
CN110321117A (en) | Application processing method, device and server | |
CN103634290B (en) | Network (WSN) emulation system | |
CN201725324U (en) | Network print Walktone based on cloud computing | |
CN109087096A (en) | Block chain account checking method, device, equipment and storage medium | |
CN108259611A (en) | Cluster docker management methods, device, system and readable storage medium storing program for executing | |
CN110493210A (en) | A kind of configurable network security experimental system based on SDN | |
CN110532184A (en) | Method, apparatus, computer equipment and the storage medium of more scenario simulation responses | |
Le et al. | Congestion verification on abstracted wireless sensor networks with the WSN-PN tool | |
CN106034048B (en) | A kind of method and device of information configuration | |
CN108307459B (en) | A kind of handoff procedure processing method and RAN node | |
CN112532427B (en) | Planning and scheduling method of time-triggered communication network |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200423 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: Unit 01, 13 Floors, B Tower, Pingyun Plaza, 163 Xiping Yun Road, Huangpu Avenue, Tianhe District, Guangzhou City, Guangdong Province Applicant before: UC MOBILE (CHINA) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191011 |