CN109218338A - Information processing system, method and apparatus - Google Patents
Information processing system, method and apparatus Download PDFInfo
- Publication number
- CN109218338A CN109218338A CN201710512665.4A CN201710512665A CN109218338A CN 109218338 A CN109218338 A CN 109218338A CN 201710512665 A CN201710512665 A CN 201710512665A CN 109218338 A CN109218338 A CN 109218338A
- Authority
- CN
- China
- Prior art keywords
- node
- target
- processing node
- operating instruction
- actuating station
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Abstract
This application discloses information processing systems, method and apparatus.It includes control terminal and actuating station that one specific embodiment of the system, which includes: the system,;The control terminal, for receiving the information process request including request type mark and parameter information, identifying determination according to the request type includes the data structure for handling the logical relation of node for handling each target of the information process request, the root node indicated by the data structure, the node operating instruction for each target processing node in each target processing node is successively sent to the actuating station based on the parameter information, wherein, each target processing node is the processing node in the processing node set disposed in advance in the actuating station;The actuating station, for determining whether the processing node of target indicated by the node operating instruction received has father node, if it is not, then directly running target processing node.This embodiment improves information processing efficiencies.
Description
Technical field
This application involves field of computer technology, and in particular to Internet technical field more particularly to information processing system,
Method and apparatus.
Background technique
Currently, existing information processing system is typically based on Spring frame, (Spring frame is open source, a light weight
The Java Development Framework of grade) service request is received, carry out the differentiation of each business according to service identification, and processing is different
Service logic, it is the monomer applications of standard that all logics are all inner in an application.Information processing efficiency is carried out using monomer applications
It is usually lower.
Summary of the invention
The purpose of the application is to propose a kind of improved information processing system, method and apparatus, to solve background above
The technical issues of technology segment is mentioned.
In a first aspect, the embodiment of the present application provides a kind of information processing system, which includes: control terminal and execution
End;Above-mentioned control terminal, for receiving the information process request including request type mark and parameter information, according to above-mentioned request class
Type mark determination includes the data structure for the logical relation for handling each target processing node of above- mentioned information processing request, from
Root node indicated by above-mentioned data structure starts, and states actuating station upwards in turn based on above-mentioned parameter information and sends for each above-mentioned
Target handles the node operating instruction of each target processing node in node, wherein each above-mentioned target processing node is above-mentioned
The processing node in processing node set disposed in advance in actuating station, each processing node branch in above-mentioned processing node set
Hold different functions;Above-mentioned actuating station, for whether determining the processing of target indicated by the node operating instruction received node
There is father node, if it is not, then directly running the processing node of target indicated by the above-mentioned node operating instruction received.
In some embodiments, it is above-mentioned according to above-mentioned request type identify determinations include for handle above- mentioned information handle ask
The data structure of the logical relation for each target processing node asked, comprising: including pair of request type mark and data structure
The request type included with above- mentioned information processing request is searched in the information list that should be related to identifies identical destination request class
Type mark, obtains data structure corresponding to above-mentioned destination request type identification.
In some embodiments, the above-mentioned root node indicated by the above-mentioned data structure, it is based on above-mentioned parameter information
Actuating station is stated upwards in turn sends the node operating instruction that node is handled for each target in each above-mentioned target processing node,
It include: each time to after above-mentioned actuating station sending node operating instruction, detecting mesh indicated by transmitted node operating instruction
The operating condition of mark processing node;If detecting, the processing node of target indicated by transmitted node operating instruction has been run
At then to the transmission of above-mentioned actuating station for the section of the child node of the processing node of target indicated by transmitted node operating instruction
Point operating instruction.
In some embodiments, the above-mentioned root node indicated by the above-mentioned data structure, it is based on above-mentioned parameter information
Actuating station is stated upwards in turn sends the node operating instruction that node is handled for each target in each above-mentioned target processing node,
If including: to detect the processing node operation suspension of target indicated by transmitted node operating instruction or operation failure, weigh
Newly above-mentioned transmitted node operating instruction is sent to above-mentioned actuating station.
In some embodiments, above-mentioned actuating station is also used to: if it is determined that indicated by the above-mentioned node operating instruction received
Target processing node have father node, then further determine that target indicated by the above-mentioned node operating instruction received processing section
Whether all father nodes of point have run completion, if above-mentioned all father nodes have run completion, run above-mentioned receive
Node operating instruction indicated by target handle node.
In some embodiments, above-mentioned control terminal is also used to: each time to after above-mentioned actuating station sending node operating instruction,
Target processing node indicated by the transmitted node operating instruction of record it is at least one of following: between when operation starts, operation
End time, operating status, and the log storage server that the synchronizing information recorded is extremely connected, wherein above-mentioned fortune
Row state includes successfully, failure, suspends.
Second aspect, the embodiment of the present application provide a kind of information processing method, this method comprises: receiving includes request class
The information process request of type mark and parameter information;Identifying determination according to above-mentioned request type includes for handling at above- mentioned information
The data structure of the logical relation of each target processing node of reason request, wherein each above-mentioned target processing node is to be connected
The processing node in processing node set disposed in advance in actuating station, each processing node branch in above-mentioned processing node set
Hold different functions;The root node indicated by the above-mentioned data structure, execution is stated based on above-mentioned parameter information upwards in turn
End sends the node operating instruction for each target processing node in each above-mentioned target processing node, so that above-mentioned actuating station
Determine whether the processing node of target indicated by the node operating instruction received has father node, and straight when determining without father node
Connect target processing node indicated by the above-mentioned node operating instruction received of operation.
In some embodiments, it is above-mentioned according to above-mentioned request type identify determinations include for handle above- mentioned information handle ask
The data structure of the logical relation for each target processing node asked, comprising: including pair of request type mark and data structure
The request type included with above- mentioned information processing request is searched in the information list that should be related to identifies identical destination request class
Type mark, obtains data structure corresponding to above-mentioned destination request type identification.
In some embodiments, the above-mentioned root node indicated by the above-mentioned data structure, it is based on above-mentioned parameter information
Actuating station is stated upwards in turn sends the node operating instruction that node is handled for each target in each above-mentioned target processing node,
It include: each time to after above-mentioned actuating station sending node operating instruction, detecting mesh indicated by transmitted node operating instruction
The operating condition of mark processing node;If detecting, the processing node of target indicated by transmitted node operating instruction has been run
At then to the transmission of above-mentioned actuating station for the section of the child node of the processing node of target indicated by transmitted node operating instruction
Point operating instruction.
In some embodiments, the above-mentioned root node indicated by the above-mentioned data structure, it is based on above-mentioned parameter information
Actuating station is stated upwards in turn sends the node operating instruction that node is handled for each target in each above-mentioned target processing node,
If including: to detect the processing node operation suspension of target indicated by transmitted node operating instruction or operation failure, weigh
Newly above-mentioned transmitted node operating instruction is sent to above-mentioned actuating station.
In some embodiments, the above method further include: each time to after above-mentioned actuating station sending node operating instruction, note
Target processing node indicated by the transmitted node operating instruction of record it is at least one of following: between when operation starts, operation knot
Beam time, operating status, and the log storage server that the synchronizing information recorded is extremely connected, wherein above-mentioned operation
State includes successfully, failure, suspends.
In some embodiments, above-mentioned actuating station is also used to determining indicated by the above-mentioned node operating instruction received
When target processing node has father node, further determine that target indicated by the above-mentioned node operating instruction received handles node
All father nodes whether run completion, if above-mentioned all father nodes have run completion, run above-mentioned receive
Target indicated by node operating instruction handles node.
The third aspect, the embodiment of the present application provide a kind of information processing unit, which includes: receiving unit, configuration
For receiving the information process request including request type mark and parameter information;Determination unit is configured to be asked according to above-mentioned
Asking type identification determination includes the data knot for the logical relation for handling each target processing node of above- mentioned information processing request
Structure, wherein each above-mentioned target processing node is the processing section in the processing node set disposed in advance in connected actuating station
Point, each processing node in above-mentioned processing node set support different functions;Transmission unit is configured to from above-mentioned data
Root node indicated by structure starts, and states actuating station upwards in turn based on above-mentioned parameter information and sends for each above-mentioned target processing
The node operating instruction of each target processing node in node, so that above-mentioned actuating station determines the node operating instruction received
Whether indicated target processing node has father node, and the above-mentioned node fortune received is directly run when determining without father node
The indicated target of row instruction handles node.
In some embodiments, above-mentioned determination unit includes: acquisition subelement, is configured to including that request type identifies
Phase is identified with the request type for searching included with above- mentioned information processing request in the information list of the corresponding relationship of data structure
Same destination request type identification, obtains data structure corresponding to above-mentioned destination request type identification.
In some embodiments, above-mentioned transmission unit includes: detection sub-unit, is configured to each time to above-mentioned actuating station
After sending node operating instruction, the operating condition of the processing node of target indicated by transmitted node operating instruction is detected;The
One transmission sub-unit, if being configured to detect that the processing node of target indicated by transmitted node operating instruction has been run
At then to the transmission of above-mentioned actuating station for the section of the child node of the processing node of target indicated by transmitted node operating instruction
Point operating instruction.
In some embodiments, above-mentioned transmission unit includes: the second transmission sub-unit, if being configured to detect transmitted
Node operating instruction indicated by target processing node operation suspension or operation failure, then again to above-mentioned actuating station send on
State transmitted node operating instruction.
In some embodiments, above-mentioned apparatus further include: synchronization unit is configured to send to above-mentioned actuating station each time
After node operating instruction, at least one of following of the processing node of target indicated by transmitted node operating instruction: fortune is recorded
Row time started, end of run time, operating status, and the synchronizing information recorded is used to the log storage connected and is serviced
Device, wherein above-mentioned operating status includes successfully, failure, suspends.
In some embodiments, above-mentioned actuating station is also used to determining indicated by the above-mentioned node operating instruction received
When target processing node has father node, further determine that target indicated by the above-mentioned node operating instruction received handles node
All father nodes whether run completion, if above-mentioned all father nodes have run completion, run above-mentioned receive
Target indicated by node operating instruction handles node.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, which includes: one or more processing
Device;Storage device, for storing one or more programs;When said one or multiple programs are by said one or multiple processors
It executes, so that said one or multiple processors realize the method as described in implementation any in second aspect.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the method as described in implementation any in second aspect when above procedure is executed by processor.
It includes that request type mark and parameter are believed that information processing system provided by the embodiments of the present application is received by control terminal
The information process request of breath includes for handling the information process request so that the control terminal identifies determination according to the request type
Each target processing node logical relation data structure, and the root node indicated by the data structure, based on should
Parameter information successively sends the node for each target processing node in each target processing node to the actuating station connected
Operating instruction.Determine that target indicated by the node operating instruction received handles whether node has father node by actuating station,
So that actuating station directly runs target processing node when determining that target processing node does not have father node.To efficiently use
Determination of the control terminal to the data structure, and the node for each target processing node indicated by the data structure is transported
The successively transmission of row instruction, and actuating station is utilized to receive the node operating instruction of control terminal transmission and to the node operating instruction
It is handled, improves information processing efficiency.
Information processing method and device provided by the embodiments of the present application include request type mark and parameter letter by receiving
The information process request of breath includes each target for handling the information process request to identify determination according to the request type
Handle the data structure of the logical relation of node;Then indicated by the data structure root node, believed based on the parameter
Breath successively sends the node operation for handling node for each target in each target processing node to the actuating station connected and refers to
It enables, so that the actuating station determines whether the processing node of target indicated by the node operating instruction that receives has a father node, and
Target processing node is directly run when determining target processing node without father node.To be effectively utilized to the data structure
Determination, and to the successively transmission for the node operating instruction of each target processing node indicated by the data structure, with
And handled using actuating station receiving node operating instruction and to the node operating instruction, improve information processing efficiency.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the timing diagram according to one embodiment of the information processing system of the application;
Fig. 3 is the schematic diagram according to the digraph of the application.
Fig. 4 is the schematic diagram according to an application scenarios of the information processing system of the application;
Fig. 5 is the flow chart according to one embodiment of the information processing method of the application;
Fig. 6 is the structural schematic diagram according to one embodiment of the information processing unit of the application;
Fig. 7 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows information processing system, the reality of information processing method or information processing unit that can apply the application
Apply the exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104,106, control terminal
105 and actuating station 107.Network 104 between terminal device 101,102,103 and control terminal 105 to provide communication link
Medium.Network 106 between control terminal 105 and actuating station 107 to provide the medium of communication link.Network 104,106 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with control terminal 105, to receive or send out
It delivers letters breath etc..Various telecommunication customer end applications can be installed, such as web browser is answered on terminal device 101,102,103
With, shopping class application, game class application etc..
Terminal device 101,102,103 can be various electronic equipments, including but not limited to smart phone, tablet computer,
Pocket computer on knee and desktop computer etc..
Control terminal 105 can be to provide the server of various services, such as receiving terminal apparatus 101,102,103 is sent
Information process request, and the process flow to the information process request is controlled, corresponding node operation, which is issued, to actuating station 107 refers to
Enable etc..
Actuating station 107 can be to provide the server of various services, such as from 105 receiving node operating instruction of control terminal,
And the instruction is handled.Processing node set can be deployed in actuating station 107 in advance, it is every in the processing node set
A processing node can be hardware or software, be possibly even a function in software.
It should be noted that information processing method provided by the embodiment of the present application is generally executed by control terminal 105, accordingly
Ground, information processing unit are generally positioned in control terminal 105.
It should be understood that the number of terminal device, network, control terminal in Fig. 1 and actuating station is only schematical.According to
It realizes and needs, can have any number of terminal device, network, control terminal and actuating station.
With continued reference to Fig. 2, the timing diagram of one embodiment of the information processing system according to the application is shown.
The information processing system of the present embodiment may include: control terminal and actuating station;The control terminal includes asking for receiving
The information process request for asking type identification and parameter information, identifying determination according to the request type includes for handling at the information
The data structure of the logical relation of each target processing node of reason request, the root node indicated by the data structure, base
The node fortune for each target processing node in each target processing node is successively sent to the actuating station in the parameter information
Row instruction, wherein each target processing node is the processing node in the processing node set disposed in advance in the actuating station, at this
Each processing node in reason node set supports different functions;The actuating station, for determining that the node received operation refers to
Enable whether indicated target processing node has father node, if it is not, then directly running target processing node.
As shown in Fig. 2, in step 201, control terminal receives the information processing including request type mark and parameter information
Request.
In the present embodiment, control terminal (such as control terminal 105 shown in FIG. 1) can pass through wired connection mode or nothing
It includes request class that line connection type is received from the terminal device (such as terminal device shown in FIG. 1 101,102,103) connected
The information process request of type mark and parameter information.Wherein, request type can for example including order processing, disbursement and sattlement,
Location inquiry, Item Information upload, Item Information removal etc..Request type mark may include letter, number or combinations thereof etc..
Parameter information can Customs Assigned Number, address name, user location, use for example including the user for sending information process request
Family contact method (such as telephone number, E-mail address) or user send used electronic equipment when information process request
Device identification etc..The parameter information can also include parameter information relevant to the business that the user is handled.For example, the use
Information process request transmitted by family is the information process request for watching disbursement and sattlement online about video, then the parameter information
It can also include that the video identifier of the video, the user watch initial time and the end time of the video, or always watch duration
Deng.
In step 202, it includes each mesh for handling information process request that control terminal, which identifies determination according to request type,
The data structure of the logical relation of mark processing node.
In the present embodiment, above-mentioned control terminal is asked including request type mark and the information processing of parameter information receiving
After asking, it includes handling for handling each target of information process request that above-mentioned control terminal can identify determination according to the request type
The data structure of the logical relation of node.Wherein, which can be the actuating station that above-mentioned control terminal is connected
The processing node in processing node set disposed in advance in (such as actuating station 107 shown in FIG. 1).In the processing node set
Each processing node can support different functions.As an example, above-mentioned control terminal can first determine it is local (such as caching,
Memory and/or hard disk) whether store data structure corresponding with request type mark;If not stored, above-mentioned control terminal can
To utilize SDK (Software Development Kit, the Software Development Kit) tool disposed in advance in above-mentioned processing section
It determines that each target for handling the information process request handles node in point set, and generates and handle node comprising each target
Logical relation data structure.SDK tool is usually that some software engineers are specific software package, software frame, hardware
The set of developing instrument when platform, operating system etc. establish application software.SDK tool can be also used for maintenance request type mark
Know and is managed between node everywhere in the information process request with the indicated request type of request type mark for handling
Corresponding relationship and this it is each processing node execution sequencing.It should be pointed out that above-mentioned data structure may, for example, be
Tree structure or digraph etc..By taking digraph as an example, as shown in figure 3, Fig. 3 shows the schematic diagram of a digraph.In Fig. 3
In, processing node " A " can be the root node in the digraph, while handle father's section that node " A " is also processing node " B "
Point, i.e. processing node " B " are to handle the child node of node " A ".Processing node " B " is the father's section for handling node " C ", " D ", " E "
Point, i.e. processing node " C ", " D ", " E " are the child node for handling node " B ".Handle node " C ", " D " is processing node
The father node of " F ", i.e. processing node " F " are to handle the child node of node " C ", " D ".Here, node " E ", " F " are handled without son
Node is properly termed as leaf node.
In some optional implementations of the present embodiment, each processing node in above-mentioned processing node set can be with
With corresponding node identification.The node identification may include number, letter or combinations thereof etc..On it should be noted that
Stating processing node set can be above-mentioned control terminal in advance to disposing in above-mentioned actuating station for handling received information
The application of processing request carries out decomposing resulting processing node set.Above-mentioned control terminal can use the SDK tool disposed in advance
By the application decomposition at multiple small, independent micro services (i.e. processing node), and generate above-mentioned processing node set.Micro services
It can be the micro services based on Spring Boot, Spring Boot is a kind of completely new frame, and purpose of design is for letter
Change new Spring application initially build and development process.The frame has used specific mode to be configured, to make
Developer no longer needs to define the configuration of stereotyping.
In some optional implementations of the present embodiment, above-mentioned control terminal can be locally previously stored with including request
The information list of type identification and the corresponding relationship of data structure.Above-mentioned control terminal can be searched and be received in the information list
Request type included by the information process request arrived identifies identical destination request type identification, and obtains the destination request class
The corresponding data structure of type mark.
In step 203, control terminal root node indicated by the data structure, based on parameter information successively to execution
End sends the node operating instruction for each target processing node in each target processing node.
In the present embodiment, above-mentioned control terminal request type included by the information process request for having determined and having received
After identifying corresponding data structure, the information process request institute can be based on since root node indicated by the data structure
Including parameter information successively send to actuating station for each mesh in each target processing node indicated by the data structure
The node operating instruction of mark processing node.Here, the node for the root node is sent to above-mentioned actuating station when above-mentioned control terminal
When operating instruction, which can be for example including some or all of parameter information content.When above-mentioned control terminal
The node operation that the non-root node being directed in each target processing node indicated by the data structure is sent to above-mentioned actuating station refers to
When enabling, which may include that the father node of some or all of parameter information content and the non-root node exists
The data of output after the completion of operation, the node operating instruction can also include the node identification of the father node of the non-root node.
In some optional implementations of the present embodiment, above-mentioned control terminal sends section to above-mentioned actuating station each time
After point operating instruction, the operating condition of the processing node of target indicated by the node operating instruction can detecte.If above-mentioned control
End detects that target processing node operation is completed, then above-mentioned control terminal can send to above-mentioned actuating station and handle for the target
The node operating instruction of the child node of node.If above-mentioned control terminal detects that target processing node operation suspension or operation lose
It loses, then above-mentioned control terminal can send the node operating instruction for target processing node to above-mentioned actuating station again.Here,
Any one target can be handled the storage location that the health information write-in of node is specified by above-mentioned actuating station.Above-mentioned control
End can read corresponding information from the storage location to detect the operation conditions of any one target processing node.It needs to illustrate
, it can also be deployed with SDK in advance in above-mentioned actuating station and act on behalf of tool, above-mentioned actuating station can use the SDK and act on behalf of tool
The node operating instruction that above-mentioned control terminal is sent is received, the tool that can also act on behalf of using the SDK monitors the processing of any one target
The operation conditions of node.It is executed in addition, above-mentioned control terminal can use preset knowledge middleware to above-mentioned actuating station sending node
Instruction.Message-oriented middleware may, for example, be RabbitMQ, RocketMQ etc., and the present embodiment does not do any limit to content in this respect
It is fixed.Wherein, RabbitMQ can be one in AMQP (Advanced Message Queuing Protocol, level message team
Column agreement) on the basis of complete, reusable enterprise messaging system, it can follow open source protocol, and (such as MPL agreement, MPL be
The abbreviation of The Mozilla Public License).RocketMQ can be distributed type open message system, it is open source
The message-oriented middleware of a high-performance, high-throughput.
In some optional implementations of the present embodiment, above-mentioned control terminal sends section to above-mentioned actuating station each time
After point operating instruction, at least one of following of the processing node of target indicated by the node operating instruction: operation can also be recorded
Time started, end of run time, operating status, and the synchronizing information recorded to the log storage connected can be used
Server.Wherein, which can be for example including success, failure, pause etc..Here, above-mentioned control terminal can also record
The information (such as node identification etc.) of currently running target processing node.
In step 204, actuating station determines whether the processing node of target indicated by the node operating instruction received has
Father node, if it is not, then directly running target processing node.
In the present embodiment, after above-mentioned actuating station often receives a node operating instruction, it can determine that the node is run
Whether the indicated target processing node of instruction has father node, if it is not, then above-mentioned actuating station can directly run target processing
Node.Such as parameter information included by the node operating instruction is inputted into target processing node and runs target processing section
Point.Here, above-mentioned actuating station for example can determine the target by the way that whether the determining node operating instruction includes node identification
Whether processing node has father node, and the present embodiment does not do any restriction to content in this respect.
In some optional implementations of the present embodiment, each node received by above-mentioned actuating station is run
Instruction, if above-mentioned actuating station determines target indicated by the node operating instruction, processing node has father node, above-mentioned actuating station
It may further determine that whether all father nodes of target processing node have run completion, if so, above-mentioned actuating station can
To run target processing node.Here, above-mentioned actuating station can be for example by checking that the target run recorded is handled
The running state information of node come determine any one target processing node all father nodes whether run completion.
With continued reference to the schematic diagram that Fig. 4, Fig. 4 are according to the application scenarios of the information processing system of the present embodiment.?
In the application scenarios of Fig. 4, as shown in label 401, user can be sent to control terminal for obtaining figure first by terminal device
The information process request of piece, wherein the information process request may include request type mark and parameter information, the parameter information
It can device identification and the picture identification of the desired picture obtained of the user for example including above-mentioned terminal device.Then, as marked
Shown in numbers 402, above-mentioned control terminal can be identified according to above-mentioned request type, and determination includes for handling above- mentioned information processing request
Each target processing node logical relation data structure, it is assumed here that the data structure include target processing node A.It
Afterwards, as shown in label 403, above-mentioned control terminal can send the node operation for handling node A for target to above-mentioned actuating station and refer to
It enables, wherein the node operating instruction may include above-mentioned parameter information.Then, as shown in label 404, above-mentioned actuating station can be with
Determine that target processing node A does not have father node, above-mentioned parameter information input target can be handled node A simultaneously by above-mentioned actuating station
Operational objective handles node A, so that target, which handles node A, obtains above-mentioned picture according to above-mentioned picture identification, and is set according to above-mentioned
Acquired above-mentioned picture is sent to above-mentioned terminal device by standby mark.
The system provided by the above embodiment of the application is effectively utilized determination of the control terminal to data structure, and to being directed to
The successively transmission of the node operating instruction of each target processing node indicated by the data structure, and received using actuating station
The node operating instruction of control terminal transmission is simultaneously handled the node operating instruction, improves information processing efficiency.In addition, logical
It crosses control terminal to control the process flow of the information process request received, the processing node with new function can be made
It accesses simpler quick.By deployment process node set preparatory in actuating station, can based on different business scenarios with
Meaning combines the processing node in the processing node set, and multiplexing is functional to the greatest extent, it is possible to reduce development amount.
With further reference to Fig. 5, it illustrates the processes 500 of one embodiment of information processing method.The information processing side
The process 500 of method, comprising the following steps:
Step 501, the information process request including request type mark and parameter information is received.
In the present embodiment, the electronic equipment (such as control terminal 105 shown in FIG. 1) of information processing method operation thereon
It can be by wired connection mode or radio connection from terminal device (such as the terminal device shown in FIG. 1 connected
101,102,103) receive include request type mark and parameter information information process request.Wherein, request type can example
It such as include order processing, disbursement and sattlement, address lookup, Item Information uploads, Item Information removes.Request type mark can
To include letter, number or combinations thereof etc..Parameter information can be compiled for example including the user for the user for sending information process request
Number, address name, user location, user contact details (such as telephone number, E-mail address) or user send letter
The device identification etc. of used electronic equipment when breath processing request.The parameter information can also include being handled with the user
The relevant parameter information of business.For example, information process request transmitted by the user is to watch disbursement and sattlement online about video
Information process request, then the parameter information can also include that the video identifier of the video, the user watch rising for the video
Begin time and end time, or total viewing duration etc..
Step 502, identifying determination according to request type includes handling node for handling each target of information process request
Logical relation data structure.
In the present embodiment, above-mentioned electronic equipment is receiving the information processing including request type mark and parameter information
After request, it includes each target for handling information process request that above-mentioned electronic equipment can identify determination according to the request type
Handle the data structure of the logical relation of node.Wherein, which can be what above-mentioned electronic equipment was connected
The processing node in processing node set disposed in advance in actuating station (such as actuating station 107 shown in FIG. 1).The processing node
Each processing node in set can support different functions.It here, can be referring to Fig. 2 institute for the explanation of step 502
Show the related description of the step 202 in embodiment, details are not described herein.
Step 503, it indicated by the data structure root node, is successively directed to actuating station transmission based on parameter information
The node operating instruction of each target processing node in each target processing node, so that actuating station determines the node fortune received
Whether the indicated target processing node of row instruction has father node, and directly transports when determining target processing node without father node
The row target handles node.
In the present embodiment, above-mentioned electronic equipment request class included by the information process request for having determined and having received
After type identifies corresponding data structure, the information process request can be based on since root node indicated by the data structure
Included parameter information is successively sent to actuating station for each of each target processing node indicated by the data structure
Target handles the node operating instruction of node, so that the actuating station determines at target indicated by the node operating instruction received
Whether reason node has father node, and target processing node is directly run when determining target processing node without father node.This
In, for step 503 illustrate can referring to the related description of step 203 and step 204 in embodiment illustrated in fig. 2,
This is repeated no more.
The method provided by the above embodiment of the application is effectively utilized the determination to data structure, and to for the data
The successively transmission of the node operating instruction of each target processing node indicated by structure, and transported using actuating station receiving node
Row is instructed and is handled the node operating instruction, improves information processing efficiency.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides a kind of information processing apparatus
The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in fig. 5, which specifically can be applied to respectively
In kind electronic equipment.
As shown in fig. 6, information processing unit 600 shown in the present embodiment includes: receiving unit 601,602 and of determination unit
Transmission unit 603.Wherein, receiving unit 601 is configured to receive the information processing including request type mark and parameter information
Request;Determination unit 602 is configured to identify determination according to the request type to include for handling the information process request
Each target processing node logical relation data structure, wherein each target processing node is connected actuating station
On processing node in the processing node set disposed in advance, each processing node in the processing node set is supported different
Function;And transmission unit 603 is configured to the root node indicated by the data structure, information based on the parameter
The node operating instruction for each target processing node in each target processing node successively is sent to the actuating station,
So that the actuating station determines whether the processing node of target indicated by the node operating instruction received has father node, and true
Target processing node indicated by the node operating instruction received described in directly being run when determining without father node.
In the present embodiment, in information processing unit 600: receiving unit 601, determination unit 602 and transmission unit 603
Specific processing and its brought technical effect can be respectively with reference to step 501, step 502 and the steps in Fig. 5 corresponding embodiment
503 related description, details are not described herein.
In some optional implementations of the present embodiment, above-mentioned determination unit 602 may include: acquisition subelement
(not shown), be configured to include request type mark and data structure corresponding relationship information list in search and
The included request type of above- mentioned information processing request identifies identical destination request type identification, obtains above-mentioned destination request class
The corresponding data structure of type mark.
In some optional implementations of the present embodiment, above-mentioned transmission unit 603 may include: detection sub-unit
(not shown) is configured to each time to after above-mentioned actuating station sending node operating instruction, detecting transmitted node fortune
The operating condition of the indicated target processing node of row instruction;First transmission sub-unit (not shown), if being configured to inspection
It measures the processing node operation of target indicated by transmitted node operating instruction to complete, is then sent to above-mentioned actuating station and be directed to institute
Target indicated by the node operating instruction of transmission handles the node operating instruction of the child node of node.
In some optional implementations of the present embodiment, above-mentioned transmission unit 603 may include: that the second transmission is single
First (not shown), if being configured to detect the processing node pause fortune of target indicated by transmitted node operating instruction
Row or operation failure, then send above-mentioned transmitted node operating instruction to above-mentioned actuating station again.
In some optional implementations of the present embodiment, above-mentioned apparatus 600 can also include: synchronization unit (in figure
It is not shown), it is configured to each time to after above-mentioned actuating station sending node operating instruction, recording transmitted node operating instruction
Indicated target processing node it is at least one of following: between when operation starts, end of run time, operating status, and by institute
The log storage server that the synchronizing information of record is extremely connected, wherein above-mentioned operating status includes successfully, failure, suspends.
In some optional implementations of the present embodiment, above-mentioned actuating station can be also used for determining above-mentioned receive
Node operating instruction indicated by target processing node when having father node, further determine that the above-mentioned node operation received refers to
Enable whether all father nodes of indicated target processing node have run completion, if above-mentioned all father nodes have been run
At, then run target indicated by the above-mentioned node operating instruction received processing node.
The device provided by the above embodiment of the application is effectively utilized the determination to data structure, and to for the data
The successively transmission of the node operating instruction of each target processing node indicated by structure, and transported using actuating station receiving node
Row is instructed and is handled the node operating instruction, improves information processing efficiency.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the electronic equipment for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.Electronic equipment shown in Fig. 7 is only an example, function to the embodiment of the present application and should not use model
Shroud carrys out any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in
Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and
Execute various movements appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.
CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always
Line 704.
I/O interface 705 is connected to lower component: the importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.;
And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon
Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media
711 are mounted.When the computer program is executed by central processing unit (CPU) 701, executes and limited in the system of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the application can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this application, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In application, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include receiving unit, determination unit and transmission unit.Wherein, the title of these units is not constituted under certain conditions to the unit
The restriction of itself, for example, receiving unit is also described as, " receive includes at the information of request type mark and parameter information
Manage the unit of request ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs
When standby execution, so that the electronic equipment includes: to receive the information process request including request type mark and parameter information;According to
Above-mentioned request type mark determination includes the logical relation for handling each target processing node of above- mentioned information processing request
Data structure, wherein each above-mentioned target processing node is in the processing node set disposed in advance in connected actuating station
Node is handled, each processing node in above-mentioned processing node set supports different functions;Indicated by above-mentioned data structure
Root node start, actuating station is stated based on above-mentioned parameter information upwards in turn and is sent for every in each above-mentioned target processing node
The node operating instruction of a target processing node, so that above-mentioned actuating station determines mesh indicated by the node operating instruction received
Whether mark processing node has father node, and the above-mentioned node operating instruction meaning received is directly run when determining without father node
The target processing node shown.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (10)
1. a kind of information processing system, which is characterized in that the system comprises control terminals and actuating station;
The control terminal, for receiving the information process request including request type mark and parameter information, according to the request
Type identification determination includes the data structure for handling the logical relation of node for handling each target of the information process request,
The root node indicated by the data structure, information successively sends to the actuating station and is directed to each institute based on the parameter
State the node operating instruction of each target processing node in target processing node, wherein each target processing node is institute
State the processing node in the processing node set disposed in advance in actuating station, each processing node in the processing node set
Support different functions;
The actuating station, for determining whether the processing node of target indicated by the node operating instruction received has father node,
If it is not, target processing node indicated by the node operating instruction received described in then directly running.
2. system according to claim 1, which is characterized in that described to determine to include being used for according to request type mark
Handle the data structure of the logical relation of each target processing node of the information process request, comprising:
It is searched and the information process request in the information list of corresponding relationship for including request type mark and data structure
Included request type identifies identical destination request type identification, obtains number corresponding to the destination request type identification
According to structure.
3. system according to claim 1, which is characterized in that the root node indicated by the data structure is opened
Begin, information is successively sent to the actuating station for each target processing in each target processing node based on the parameter
The node operating instruction of node, comprising:
Each time to after the actuating station sending node operating instruction, detecting target indicated by transmitted node operating instruction
Handle the operating condition of node;
If detecting, the processing node operation of target indicated by transmitted node operating instruction is completed, and is sent out to the actuating station
Send the node operating instruction of the child node for the processing node of target indicated by transmitted node operating instruction.
4. system according to claim 3, which is characterized in that the root node indicated by the data structure is opened
Begin, information is successively sent to the actuating station for each target processing in each target processing node based on the parameter
The node operating instruction of node, comprising:
If detecting the processing node operation suspension of target indicated by transmitted node operating instruction or operation failure, again
The transmitted node operating instruction is sent to the actuating station.
5. system according to claim 1, which is characterized in that the actuating station is also used to:
If it is determined that the processing node of target indicated by the node operating instruction received has father node, then institute is further determined that
Whether all father nodes for stating the processing node of target indicated by the node operating instruction received have run completion, if described
All father nodes have run completion, then the processing node of target indicated by the node operating instruction received described in operation.
6. system described in one of -5 according to claim 1, which is characterized in that the control terminal is also used to:
Each time to after the actuating station sending node operating instruction, recording target indicated by transmitted node operating instruction
Handle at least one of following of node: between when operation starts, end of run time, operating status, and the information recorded is same
The log storage server that step is extremely connected, wherein the operating status includes successfully, failure, suspends.
7. a kind of information processing method, which is characterized in that the described method includes:
Receive the information process request including request type mark and parameter information;
Identifying determination according to the request type includes handling patrolling for node for handling each target of the information process request
The data structure for the relationship of collecting, wherein each target processing node is the processing node disposed in advance in connected actuating station
Processing node in set, each processing node handled in node set support different functions;
The root node indicated by the data structure, information is successively directed to actuating station transmission based on the parameter
The node operating instruction of each target processing node in each target processing node, so that actuating station determination receives
Node operating instruction indicated by target processing node whether have a father node, and when determining without father node directly described in operation
Target indicated by the node operating instruction received handles node.
8. a kind of information processing unit, which is characterized in that described device includes:
Receiving unit is configured to receive the information process request including request type mark and parameter information;
Determination unit is configured to identify determination according to the request type to include for handling each of the information process request
Target handles the data structure of the logical relation of node, wherein each target processing node is pre- in connected actuating station
The processing node in processing node set first disposed, each processing node handled in node set support different function
Energy;
Transmission unit, being configured to the root node indicated by the data structure, based on the parameter information successively to
The actuating station sends the node operating instruction for each target processing node in each target processing node, so that institute
It states actuating station and determines whether the processing node of target indicated by the node operating instruction received has father node, and determining without father
Target processing node indicated by the node operating instruction received described in directly being run when node.
9. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now the method for claim 7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed
It is realized when device executes the method for claim 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710512665.4A CN109218338B (en) | 2017-06-29 | 2017-06-29 | Information processing system, method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710512665.4A CN109218338B (en) | 2017-06-29 | 2017-06-29 | Information processing system, method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109218338A true CN109218338A (en) | 2019-01-15 |
CN109218338B CN109218338B (en) | 2021-05-25 |
Family
ID=64960599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710512665.4A Active CN109218338B (en) | 2017-06-29 | 2017-06-29 | Information processing system, method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218338B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321210A (en) * | 2019-06-28 | 2019-10-11 | 京东数字科技控股有限公司 | Data processing method, device, computer-readable medium and electronic equipment |
CN113283891A (en) * | 2021-05-13 | 2021-08-20 | 北京字跳网络技术有限公司 | Information processing method and device and electronic equipment |
CN114579215A (en) * | 2022-03-07 | 2022-06-03 | 首约科技(北京)有限公司 | Automatic control method for program execution logic and sequence |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645148A (en) * | 2009-06-19 | 2010-02-10 | 中国科学院声学研究所 | Construction order management method applied to operation support system and management system thereof |
CN105243521A (en) * | 2015-11-20 | 2016-01-13 | 华润电力投资有限公司河南分公司 | Workflow management method and system |
US9483387B1 (en) * | 2014-03-17 | 2016-11-01 | Amazon Technologies, Inc. | Tree comparison functionality for services |
CN106250254A (en) * | 2016-07-21 | 2016-12-21 | 腾讯科技(深圳)有限公司 | A kind of task processing method and system |
CN106408170A (en) * | 2016-08-30 | 2017-02-15 | 北京北信源软件股份有限公司 | Electronic worksheet processing method, workflow engine and electronic worksheet system |
CN106790693A (en) * | 2017-02-20 | 2017-05-31 | 北京孚耐尔科技有限公司 | The analysis method and system of a kind of network packet |
-
2017
- 2017-06-29 CN CN201710512665.4A patent/CN109218338B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645148A (en) * | 2009-06-19 | 2010-02-10 | 中国科学院声学研究所 | Construction order management method applied to operation support system and management system thereof |
US9483387B1 (en) * | 2014-03-17 | 2016-11-01 | Amazon Technologies, Inc. | Tree comparison functionality for services |
CN105243521A (en) * | 2015-11-20 | 2016-01-13 | 华润电力投资有限公司河南分公司 | Workflow management method and system |
CN106250254A (en) * | 2016-07-21 | 2016-12-21 | 腾讯科技(深圳)有限公司 | A kind of task processing method and system |
CN106408170A (en) * | 2016-08-30 | 2017-02-15 | 北京北信源软件股份有限公司 | Electronic worksheet processing method, workflow engine and electronic worksheet system |
CN106790693A (en) * | 2017-02-20 | 2017-05-31 | 北京孚耐尔科技有限公司 | The analysis method and system of a kind of network packet |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321210A (en) * | 2019-06-28 | 2019-10-11 | 京东数字科技控股有限公司 | Data processing method, device, computer-readable medium and electronic equipment |
CN113283891A (en) * | 2021-05-13 | 2021-08-20 | 北京字跳网络技术有限公司 | Information processing method and device and electronic equipment |
CN114579215A (en) * | 2022-03-07 | 2022-06-03 | 首约科技(北京)有限公司 | Automatic control method for program execution logic and sequence |
Also Published As
Publication number | Publication date |
---|---|
CN109218338B (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108614774A (en) | Automated testing method and device | |
CN109697075A (en) | File updating method, system and device | |
CN108965355A (en) | Method, apparatus and computer readable storage medium for data transmission | |
CN109995877A (en) | Information-pushing method and device | |
CN108958992A (en) | test method and device | |
CN109815105A (en) | Applied program testing method and device based on Btrace | |
CN109684188A (en) | Test method and device | |
CN109582873A (en) | Method and apparatus for pushed information | |
CN109218338A (en) | Information processing system, method and apparatus | |
US20190188010A1 (en) | Remote Component Loader | |
CN110232091A (en) | Mthods, systems and devices for synchrodata | |
CN108959087A (en) | test method and device | |
CN109376534A (en) | Method and apparatus for detecting application | |
CN110399253A (en) | Delay machine treating method and apparatus | |
CN109614549B (en) | Method and apparatus for pushed information | |
CN109819042A (en) | For providing the method and apparatus of Software Development Kit | |
CN109299124A (en) | Method and apparatus for more new model | |
CN108959102A (en) | Method and apparatus for generating test data, test application to be tested | |
CN109818994A (en) | Information processing method and device for agent side | |
CN109218024A (en) | Method and apparatus for control authority | |
CN108683531B (en) | Method and apparatus for handling log information | |
CN114285774B (en) | Flow recording method and device, electronic equipment and storage medium | |
CN109120433A (en) | Method and apparatus for containerization deployment host | |
CN111626802A (en) | Method and apparatus for processing information | |
CN114936156A (en) | Method and device for processing automatic driving simulation task |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |