CN107678737A - Method for processing business, device and self-help terminal equipment - Google Patents
Method for processing business, device and self-help terminal equipment Download PDFInfo
- Publication number
- CN107678737A CN107678737A CN201710947999.4A CN201710947999A CN107678737A CN 107678737 A CN107678737 A CN 107678737A CN 201710947999 A CN201710947999 A CN 201710947999A CN 107678737 A CN107678737 A CN 107678737A
- Authority
- CN
- China
- Prior art keywords
- event
- business
- processing
- target
- business processing
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F19/00—Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines
- G07F19/20—Automatic teller machines [ATMs]
- G07F19/206—Software aspects at ATMs
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method for processing business, device and self-help terminal equipment.Methods described includes:Process control module obtains the current value of the target variable when the value for listening to target variable changes;The process control module obtains the target handling process matched with the current value of the target variable, wherein, the handling process includes:By at least one business processing type of flow order arrangement, and business processing parameter corresponding with business processing type;The process control module is obtained the business processing type in the target handling process by flow order, and according to the corresponding business processing parameter of business processing type with currently obtaining, business processing corresponding to execution operates.By technical scheme, the separation of Business Process Control and event handler procedure can be realized, reduces the development difficulty of application program, strengthens the stability and maintainability of application software.
Description
Technical field
The present embodiments relate to computer programming, more particularly to a kind of method for processing business, device and self-service end
End equipment.
Background technology
The user interface of finance self-help terminal device at present, the form for employing picture mostly is showed, and picture circle
Nature static, the dispersiveness in face, determine these self-aided terminals when realizing operation flow, it is necessary to control program to interface element,
Service logic is realized in the polymerization that flow carries out height.
In the existing design method based on Row control and event handling, button.onrelease should carry out the place of data
Reason, will also carry out the control of flow, cause the complexity of button.onrelease to improve, and then improve program development difficulty;
The realization of operation flow is distributed in button.onrelease, also causes application software to show the trend of fragmentation in itself, is reduced
The stability and maintainability of system.
The content of the invention
The present invention provides a kind of method for processing business, device and self-help terminal equipment, to realize Business Process Control and thing
The separation of part processing procedure, reduce the development difficulty of application program, strengthen the stability and maintainability of application software.
In a first aspect, the invention provides a kind of method for processing business, including:
Process control module obtains the current of the target variable and taken when the value for listening to target variable changes
Value, wherein, the value of the target variable is updated by event processing module;
The process control module obtains the target handling process matched with the current value of the target variable, wherein,
The handling process includes:At least one the business processing type arranged by flow order, and it is corresponding with business processing type
Business processing parameter;
The process control module is obtained the business processing type in the target handling process by flow order, and according to
Business processing parameter corresponding with the business processing type currently obtained, business processing corresponding to execution operate, wherein, the industry
Business processing type includes:Interface redirects business or event processing module control execution business.
Further, the process control module is joined according to the corresponding business processing of business processing type with currently obtaining
Number, business processing corresponding to execution operate, including:
The process control module redirects the corresponding target display interface of business according to the interface with currently obtaining, and performs general
Current display interface jumps to the operation of the target display interface.
Further, the process control module is joined according to the corresponding business processing of business processing type with currently obtaining
Number, business processing corresponding to execution operate, including:
The process control module controls the corresponding event of execution business to close according to the event processing module that currently obtains
Join processing information, perform and send the event correlation processing information to the operation of the event processing module, so that the thing
The event handling operation according to corresponding to performing the event correlation processing information of part processing module.
Further, the event correlation processing information includes:Trigger the event processing module and perform setting operation
Control instruction, or the event processing module perform the setup parameter of necessary for setting operation.
Further, when process control module changes in the value for listening to target variable, the target is obtained
Before the current value of variable, in addition to:
The process control module is controlled when the value for listening to the target variable is sets default value, is controlled and is being worked as
Default interface is shown in the preceding display page.
Second aspect, present invention also offers a kind of event-handling method, including:
If event processing module receives event handling information, the thing according to corresponding to performing the event handling information
Part processing operation, wherein, the event handling information includes the event correlation processing information sent by process control module;
The result that the event processing module operates according to the event handling updates the value of target variable;
Wherein, the process control module monitors the target variable, occurs in the value for listening to the target variable
During change, the target handling process matched with the current value of the target variable is obtained, and perform and the target processing stream
The business processing operation of journey matching.
The third aspect, present invention also offers a kind of business processing device, process control module is configured at, the device bag
Include:
Variable-value acquiring unit, during for being changed in the value for listening to target variable, obtaining the target and becoming
The current value of amount, wherein, the value of the target variable is updated by event processing module;
Handling process acquiring unit, for obtaining the target handling process matched with the current value of the target variable,
Wherein, the handling process includes:By flow order arrangement at least one of business processing type, and with business processing type
Corresponding business processing parameter;
Business processing execution unit, for obtaining the business processing type in the target handling process by flow order,
And according to the corresponding business processing parameter of business processing type with currently obtaining, business processing corresponding to execution operates, wherein,
The business processing type includes:Interface redirects business or event processing module control execution business.
Further, the business processing execution unit, is specifically used for:
The corresponding target display interface of business is redirected according to the interface with currently obtaining, performs and redirects current display interface
To the operation of the target display interface.
Further, the business processing execution unit, is specifically used for:
According to the corresponding event correlation processing information of event processing module control execution business with currently obtaining, perform general
The event correlation processing information is sent to the operation of the event processing module, so that the event processing module is according to
Event handling operation corresponding to the execution of event correlation processing information.
Further, the event correlation processing information includes:Trigger the event processing module and perform setting operation
Control instruction, or the event processing module perform the setup parameter of necessary for setting operation.
Further, in addition to:
Default interface display unit, for when process control module changes in the value for listening to target variable,
Before the current value for obtaining the target variable, control when the value for listening to the target variable is sets default value,
Control shows default interface in current display page.
Fourth aspect, present invention also offers a kind of event processing apparatus, event processing module is configured at, the device bag
Include:
Event handling execution unit, if for receiving event handling information, held according to the event handling information
Event handling corresponding to row operates, wherein, the event handling information includes the event correlation sent by process control module
Manage information;
Variable-value updating block, for the value of the result renewal target variable operated according to the event handling;
Wherein, the process control module monitors the target variable, occurs in the value for listening to the target variable
During change, the target handling process matched with the current value of the target variable is obtained, and perform and the target processing stream
The business processing operation of journey matching.
5th aspect, present invention also offers a kind of self-help terminal equipment, including memory, processor and it is stored in storage
Such as the embodiment of the present invention is realized on device and the computer program that can run on a processor, during the computing device described program
In any described method for processing business.
6th aspect, present invention also offers a kind of self-help terminal equipment, including memory, processor and it is stored in storage
Such as the embodiment of the present invention is realized on device and the computer program that can run on a processor, during the computing device described program
In any described event-handling method.
The present invention by process control module when the value for listening to target variable changes, according to the target variable
Current value obtain matching target handling process, and then by flow order obtain target handling process in business processing class
Type, and the business processing operation according to corresponding to performing corresponding business processing parameter, make use of and operation flow is carried out at concentration
The advantages of reason, solve in the prior art that program is opened caused by the design method mixed with event handling using Row control
Degree of raising difficult questions is high, the stability of a system and maintainable low problem, realizes the separation of Business Process Control and event handler procedure,
Reduce the development difficulty of application program, strengthen the stability of application software and maintainable effect.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for method for processing business that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic flow sheet for event-handling method that the embodiment of the present invention two provides;
Fig. 3 is a kind of structural representation for business processing device that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural representation for event processing apparatus that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural representation for self-help terminal equipment that the embodiment of the present invention five provides.
Embodiment
The present invention 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 the present invention, rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of schematic flow sheet for method for processing business that the embodiment of the present invention one provides.This method is applicable to
The situation of business processing, this method can be performed by configuring the business processing device in process control module, and the device can
It is made up of hardware and/or software, and can be typically integrated in self-aided terminal and all ends with computer program operation function
In end.Specifically include as follows:
S110, process control module obtain the current of target variable when the value for listening to target variable changes
Value.
Wherein, the value of target variable is updated by event processing module
Optionally, process control module can be the program package blocks of Row control program, using target variable conduct
Interface is monitored and obtains the result of event processing module.The process control module can be used for carrying out the display interface of equipment
Control and/or the operation flow of equipment is controlled.Wherein, target variable can be event processing module to Row control mould
Block returns to the interface of event handling result.The purpose whether value of monitoring target variable changes is, judges at event
The whether processed Cheng Shangyi events of module are managed, the target variable updated according to event processing module so as to process control module
Value, to determine next step handling process, and perform corresponding business operation.
Exemplary, in the program development of self-aided terminal, Flash can be used as self-aided terminal UI (User
Interface, user interface) developing instrument, process control module for example can be Flash, because Flash has pole in itself
Strong pattern development ability, except the picture editing function of routine, Flash can more complete the cartoon making of a series of complex.
Such cartoon interface so that the user interface element of self-aided terminal is more abundant, and interfacial effect is also better.Other Flash
Film clip is additionally provided, each film clip includes a series of encapsulation of graphic elements, action is realized.Such encapsulation,
Program developer is allowd to be associated the specific business of film clip and self-aided terminal, map, i.e. a film clip
It can be encapsulated in an operation flow and go to realize.One film clip is not single existing, and it can cut with other films
Collect and carry out polymerization use, and the interaction of data can be carried out between each other, so, pass through the assembling to film clip, program
Developer's can combines to form more operation flows.AS that preferably, usable Flash is carried (Action Script,
Action script) control language as operation flow.AS provides the ability operated to the event of component object, complete face
To the written in code mode of object so that the developer with object-oriented development experience can rapidly adapt to the need that flow is developed
Will.In a specific example, the interface of Flash and event processing module, which is exchanged visits, passes through the FsCommand events of Flash plug-in units
Completed with SetVariable methods.Wherein, FsCommand events are the interfaces of Flash notification event processing modules, and
SetVarialbe is event processing module realizes interface by what treated data gave Flash.
S120, process control module obtain the target handling process matched with the current value of target variable, wherein, processing
Flow includes:At at least one business processing type, and business corresponding with business processing type by the arrangement of flow order
Manage parameter.
Optionally, the matching relationship between handling process and the value of target variable can be set by preset matching rule
Fixed, for example, when target variable value is " 1 ", the handling process of Corresponding matching is Card Reader interface redirect procedure;Target variable value
For " 2 " when, the handling process of Corresponding matching inputs flow for user cipher, by that analogy, will not be repeated here.Optionally, flow
Cheng Shunxu can be set according to business processing logic by computer programming, and exemplary, handling process may include by flow
A business processing type and business processing parameter corresponding with the business processing type for order arrangement, it can also include pressing
The multi-application type of flow order arrangement and business processing parameter corresponding with each business processing type difference, its
In, different business processing types may correspond to different business processing modes, thus, can be according to business processing type selecting pair
The business processing mode answered.Optionally, business processing parameter can be the picture and/or animation information or thing shown
Part triggering command information or event trigger request information etc. complete the key message required for the business, do not make herein
Limit.
In a specific example, a monitoring script monitor target variable variable in Flash, such as App_
Command variables, when App_Command variables are updated by event processing module, Flash can read App_Command value,
And the target handling process matched according to preset matching Rule with current App_Command value, for example, at the target
Reason flow is Card Reader flow, then current display interface is switched to Card Reader interface by Flash according to the flow, on the Card Reader interface
Transfer the display informations such as default animation, picture, word.
S130, process control module by flow order obtain target handling process in business processing type, and according to
Business processing parameter corresponding to the business processing type currently obtained, business processing corresponding to execution operate.
Wherein, business processing type includes:Interface redirects business or event processing module control execution business.
Optionally, because the business processing type in target handling process is arranged by flow order, thus, if
A business processing type is only included in target handling process, then process control module can obtain specific in good time according to flow order
Business processing type;If target handling process includes multi-application type, process control module can be suitable by flow
Sequence obtains each business processing type successively, wherein, the order and business processing afterwards for obtaining each business processing type are grasped
The execution sequence of work can be consistent.Business processing type can be that interface redirects business or event processing module control
Execution business processed, it can be that process control module is controlled to the content of the display interface on display screen that its median surface, which redirects business,
Make the business of operation;Event processing module control execution business can transfer to event processing module to control the business of execution.
Preferably, process control module is held according to the corresponding business processing parameter of business processing type with currently obtaining
Business processing corresponding to row operates, including:
Process control module redirects the corresponding target display interface of business according to the interface with currently obtaining, and performing will be current
Display interface jumps to the operation of target display interface.
Wherein, optionally, target display interface can redirect the adaptable function interface of business with interface, it may include text
Word, picture, animation etc. are used for the content shown on a display screen, are not limited thereto.If for example, under current process order
The business processing type of acquisition is that interface redirects business, and reads business for the magnetic card in the business, then process control module can
Interface is read according to magnetic card corresponding with the magnetic card reading business, performs and the display interface on current display screen is jumped into magnetic card
Read interface.
Preferably, process control module is held according to the corresponding business processing parameter of business processing type with currently obtaining
Business processing corresponding to row operates, including:
Process control module is controlled at the corresponding event correlation of execution business according to the event processing module that currently obtains
Information is managed, performs and sends event correlation processing information to the operation of event processing module, so that event processing module is according to thing
Event handling operation corresponding to the execution of part association process information.
Wherein, event correlation processing information can be related letter required when handling event processing module control execution business
Breath.Specifically, process control module can be sent event correlation processing information to event processing module by special interface, such as
Flash special interface can be FsCommand events.
Preferably, event correlation processing information includes:Trigger event processing module performs the control instruction of setting operation, or
Person's event processing module performs the setup parameter of necessary for setting operation.
Exemplary, if the lower business processing type obtained of current process order performs industry for event processing module control
Business, and be the Password Input business in the business, then process control module can be according to cryptographic key corresponding with Password Input business
Disk startup is asked, and the operation for sending this request to event processing module is performed, so that event processing module is according to the cryptographic key
Disk startup request performs the operation that code keypad starts.In another example if the business processing type of the lower acquisition of current process order is
Event processing module controls execution business, and is the password acceptance business in the business, then process control module can according to it is close
The transaction code information that user inputs on a display screen is obtained corresponding to code reception business, performs and sends the transaction code information to part
The operation of processing module, so that event processing module starts the operation of request execution code keypad startup according to the code keypad.
The technical scheme of the present embodiment, by process control module when the value for listening to target variable changes,
The target handling process of matching is obtained according to the current value of the target variable, and then target handling process is obtained by flow order
In business processing type, and according to corresponding business processing parameter perform corresponding to business processing operation, make use of to business
The advantages of flow is focused on, solve in the prior art because of the design method mixed using Row control with event handling
Caused by program development difficulty it is high, the stability of a system and maintainable low problem, realize Business Process Control and event
The separation of processing procedure, reduce the development difficulty of application program, strengthen the stability of application software and maintainable effect.
On the basis of above-described embodiment, in order to improve Consumer's Experience, it is necessary to ensure self-aided terminal at nobody during use
Certain content can be played.
Preferably, when process control module changes in the value for listening to target variable, target variable is obtained
Before current value, in addition to:
Process control module is controlled when the value for listening to target variable is sets default value, is controlled in currently display page
Default interface is shown in face.
Exemplary, if currently nobody uses self-aided terminal, target variable will be set to default value, when Row control mould
When block listens to the value of target variable to set default value, it is determined that corresponding target handling process is default interface display stream
Journey, the flow are specifically as follows the interface that control shows the user welcome of acquiescence in the page is shown.
Embodiment two
Fig. 2 is a kind of schematic flow sheet for event-handling method that the embodiment of the present invention two provides.This method is applicable to
The situation of event handling, this method can be performed by configuring the event processing apparatus in event processing module, and the device can
It is made up of hardware and/or software, and can be typically integrated in self-aided terminal and all ends with computer program operation function
In end.Specifically include as follows:
If S210, event processing module receive event handling information, according to corresponding to performing event handling information
Event handling operates, wherein, event handling information includes the event correlation processing information sent by process control module.
Optionally, event processing module can be the program package blocks of button.onrelease, available for carry out data processing,
And/or hardware controls, and/or the data interaction control between other equipment etc..Due to the event processing module and flow control
Molding block is to encapsulate independently of one another, only passes through interface complete call, it is thus possible to by Business Process Control and event handler procedure
Completely separated, then used by assembling, substantially increase the reusability of each package blocks, reduce program development hardly possible
Degree, improves program development efficiency, enhances the stability and maintainability of application software.
Optionally, the thing that event processing module can be sent by the use of particular event method as interface process control module
Part association process information, it can also be received by hardware (such as sensor) when user carries out specific operation to equipment and trigger generation
Event handling information.
Exemplary, can if event processing module receives the event correlation processing information of process control module transmission
The event handling operation according to corresponding to performing the event correlation processing information.For example, when event processing module is got
FsCommand events, if analyze that the FsCommand event packages contain is that code keypad starts control instruction, event handling
Module can start control instruction setting up password keyboard according to the code keypad;Carried if analyzing in the FsCommand events
Transaction code, then processing is traded according to the transaction code, it is no longer exhaustive herein.
The result that S220, event processing module operate according to event handling updates the value of target variable.
Wherein, process control module monitor target variable, when the value for listening to target variable changes, obtain with
The target handling process of the current value matching of target variable, and perform the business processing operation matched with target handling process.
Optionally, event handling operating result may correspond to the value of different target variables, if for example, Row control mould
Card Card Reader success of the block to insertion, then target variable is correspondingly updated to represent the successful value of Card Reader (such as " 1 ");If stream
Process control module to the card card read failed of insertion, then target variable is correspondingly updated to represent card read failed value (such as
“0”)。
Exemplary, when user carries out plug-in card operation, the card inductor in neck can generate the plug-in card event letter of correlation
Breath, and notify to event processing module, after event processing module receives the plug-in card event information, the plug-in card event can be used
SetVariable (" App_Command ", " Event_CardInserted ") is notified to Flash, so that Flash is according to App_
It is plug-in card event that Command current value, which analyzes the event, and the Card Reader flow of matching is obtained according to the plug-in card event, and
Perform and operated with the business processing of Card Reader flow path match, i.e., redirect current display interface for Card Reader interface.
The technical scheme of the present embodiment, when receiving event handling information by event processing module, according to event handling
Event handling operation corresponding to information execution, and according to the value of operating result renewal target variable so that event handling mould
Block is relatively independent with process control module, can realize the function of oneself respectively, so as to reduce the development difficulty of application program,
Enhance the stability and maintainability of application software.
Embodiment three
Fig. 3 is a kind of structural representation for business processing device that the embodiment of the present invention three provides.With reference to figure 3, at business
Reason device includes:Variable-value acquiring unit 310, handling process acquiring unit 320 and business processing execution unit 330, under
It is specifically described in face of each module.
Variable-value acquiring unit 310, during for being changed in the value for listening to target variable, obtain the target
The current value of variable, wherein, the value of the target variable is updated by event processing module;
Handling process acquiring unit 320, for obtaining the target processing stream matched with the current value of the target variable
Journey, wherein, the handling process includes:By at least one business processing type of flow order arrangement, and and business processing
Business processing parameter corresponding to type;
Business processing execution unit 330, for obtaining the business processing class in the target handling process by flow order
Type, and according to the corresponding business processing parameter of business processing type with currently obtaining, business processing corresponding to execution operates, its
In, the business processing type includes:Interface redirects business or event processing module control execution business.
The business processing device that the present embodiment provides, occurred by process control module in the value for listening to target variable
During change, the target handling process of matching is obtained according to the current value of the target variable, and then target is obtained by flow order
Business processing type in handling process, and the business processing operation according to corresponding to performing corresponding business processing parameter, are utilized
The advantages of being focused on to operation flow, solve in the prior art because being mixed with event handling using Row control
Program development difficulty is high caused by design method, the stability of a system and maintainable low problem, it is program control to realize Business Stream
System and the separation of event handler procedure, reduce the development difficulty of application program, strengthen the stability and maintainability of application software
Effect
Optionally, the business processing execution unit 330, specifically can be used for:
The corresponding target display interface of business is redirected according to the interface with currently obtaining, performs and redirects current display interface
To the operation of the target display interface.
Further, the business processing execution unit 330, specifically can be used for:
According to the corresponding event correlation processing information of event processing module control execution business with currently obtaining, perform general
The event correlation processing information is sent to the operation of the event processing module, so that the event processing module is according to
Event handling operation corresponding to the execution of event correlation processing information.
Further, the event correlation processing information can include:Trigger the event processing module and perform setting behaviour
The control instruction of work, or the event processing module perform the setup parameter of necessary for setting operation.
Further, can also include:
Default interface display unit, for when process control module changes in the value for listening to target variable,
Before the current value for obtaining the target variable, control when the value for listening to the target variable is sets default value,
Control shows default interface in current display page.
The said goods can perform the method for processing business that any embodiment of the present invention is provided, and possesses and performs business processing side
The corresponding functional module of method and beneficial effect.
Example IV
Fig. 4 is a kind of structural representation for event processing apparatus that the embodiment of the present invention four provides.With reference to figure 4, at event
Reason device includes:Event handling execution unit 410 and variable-value updating block 420, each module is carried out specifically below
It is bright.
Event handling execution unit 410, if for receiving event handling information, according to the event handling information
Event handling corresponding to execution operates, wherein, the event handling information includes the event correlation sent by process control module
Processing information;
Variable-value updating block 420, for the value of the result renewal target variable operated according to the event handling;
Wherein, the process control module monitors the target variable, occurs in the value for listening to the target variable
During change, the target handling process matched with the current value of the target variable is obtained, and perform and the target processing stream
The business processing operation of journey matching.
The event processing apparatus that the present embodiment provides, when receiving event handling information by event processing module, according to
Event handling operation corresponding to event handling information execution, and according to the value of operating result renewal target variable so that thing
Part processing module and process control module are relatively independent, the function of oneself can be realized respectively, so as to reduce application program
Development difficulty, enhance the stability and maintainability of application software.
The said goods can perform the event-handling method that any embodiment of the present invention is provided, and possesses and performs event handling side
The corresponding functional module of method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural representation for self-help terminal equipment that the embodiment of the present invention five provides, as shown in figure 5, this reality
A kind of self-help terminal equipment of example offer is provided, including:Processor 51 and memory 52.Processor in the self-help terminal equipment can
To be one or more, in Fig. 5 by taking a processor 51 as an example, processor 51 and memory 52 in the self-help terminal equipment
It can be connected by bus or other modes, in Fig. 5 exemplified by being connected by bus.
The business processing device of above-described embodiment offer is provided in the present embodiment in the processor 51 of self-help terminal equipment
And/or event processing apparatus.In addition, the memory 52 in the self-help terminal equipment is used as a kind of computer-readable recording medium,
Available for one or more programs are stored, described program can be software program, computer executable program and module, such as this
Programmed instruction/module corresponding to method for processing business and/or event-handling method is (for example, shown in accompanying drawing 3 in inventive embodiments
Module in business processing device, including:Variable-value acquiring unit 310, handling process acquiring unit 320 and business processing
Execution unit 330;And for example, the module in the event processing apparatus shown in accompanying drawing 4, including:Event handling execution unit 410 and
Variable-value updating block 420).Processor 51 is stored in software program, instruction and module in memory 52 by operation,
So as to perform the various function application of equipment and data processing, that is, realize in the above method embodiment method for processing business and/
Or event-handling method.
Memory 52 may include storing program area and storage data field, wherein, storing program area can storage program area, extremely
Application program needed for few One function;Storage data field can store uses created data etc. according to equipment.In addition, deposit
Reservoir 52 can include high-speed random access memory, can also include nonvolatile memory, and a for example, at least disk is deposited
Memory device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 52 can further comprise
Relative to the remotely located memory of processor 51, these remote memories can pass through network connection to equipment.Above-mentioned network
Example include but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Processor 51 is stored in the program in memory 52 by operation, so as to perform at various function application and data
Reason, realize the method for processing business that for example embodiment of the present invention one is provided:
That is, processor 51 is realized when performing described program:Process control module is sent out in the value for listening to target variable
During raw change, the current value of target variable is obtained, wherein, the value of target variable is updated by event processing module;Flow control
Molding block obtains the target handling process matched with the current value of target variable, wherein, handling process includes:By flow order
At least one business processing type of arrangement, and business processing parameter corresponding with business processing type;Process control module
The business processing type in target handling process is obtained by flow order, and it is corresponding according to the business processing type with currently obtaining
Business processing parameter, corresponding to execution business processing operate, wherein, business processing type includes:Interface redirect business or
Event processing module controls execution business.
In another example the event-handling method that the embodiment of the present invention two is provided:
That is, processor 51 is realized when performing described program:If event processing module receives event handling information,
Event handling operates according to corresponding to performing event handling information, wherein, event handling information includes being sent out by process control module
The event correlation processing information sent;The result that event processing module operates according to event handling updates the value of target variable;Its
In, process control module monitors target variable, when the value for listening to target variable changes, obtains and target variable
The target handling process of current value matching, and perform the business processing operation matched with target handling process.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, should
Realized when the business processing device that program is for example configured in process control module performs as the embodiment of the present invention one provides
Method for processing business, this method include:Process control module obtains target when the value for listening to target variable changes
The current value of variable, wherein, the value of target variable is updated by event processing module;Process control module obtains to be become with target
The target handling process of the current value matching of amount, wherein, handling process includes:By at least one business of flow order arrangement
Handle type, and business processing parameter corresponding with business processing type;Process control module obtains target by flow order
Business processing type in handling process, and according to the corresponding business processing parameter of business processing type with currently obtaining, hold
Business processing corresponding to row operates, wherein, business processing type includes:Interface redirects business or event processing module control is held
Industry is engaged in.
In another example such as the embodiment of the present invention two is realized when the event processing apparatus being configured in event processing module performs
The event-handling method of offer, this method include:If event processing module receives event handling information, at event
Event handling operation corresponding to information execution is managed, wherein, the event that event handling information includes being sent by process control module is closed
Join processing information;The result that event processing module operates according to event handling updates the value of target variable;Wherein, Row control
Module monitors target variable, when the value for listening to target variable changes, obtains the current value with target variable
The target handling process matched somebody with somebody, and perform the business processing operation matched with target handling process.
Certainly, a kind of computer-readable recording medium that the embodiment of the present invention is provided, the computer program stored thereon
It is not limited to realize method operation as described above respectively when being performed, the industry that any embodiment of the present invention is provided can also be realized
Associative operation in processing method of being engaged in and event-handling method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to realized by hardware, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words
Part can be embodied in the form of software product, and the computer software product can be stored in computer-readable recording medium
In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are causing a self-aided terminal
Equipment (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of above-mentioned business processing device and event processing apparatus, included is each
Unit and module are simply divided according to function logic, but are not limited to above-mentioned division, as long as can realize corresponding
Function;In addition, the specific name of each functional unit is also only to facilitate mutually differentiation, is not intended to limit the invention
Protection domain.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. method for processing business, it is characterised in that including:Process control module obtains the current value of the target variable when the value for listening to target variable changes, Wherein, the value of the target variable is updated by event processing module;The process control module obtains the target handling process matched with the current value of the target variable, wherein, it is described Handling process includes:By at least one business processing type of flow order arrangement, and industry corresponding with business processing type Business processing parameter;The process control module is obtained the business processing type in the target handling process by flow order, and according to working as Business processing parameter corresponding to the business processing type of preceding acquisition, business processing corresponding to execution operate, wherein, at the business Reason type includes:Interface redirects business or event processing module control execution business.
- 2. according to the method for claim 1, it is characterised in that the process control module is according to the business with currently obtaining Business processing parameter corresponding to type is handled, business processing corresponding to execution operates, including:The process control module redirects the corresponding target display interface of business according to the interface with currently obtaining, and performing will be current Display interface jumps to the operation of the target display interface.
- 3. according to the method for claim 1, it is characterised in that the process control module is according to the business with currently obtaining Business processing parameter corresponding to type is handled, business processing corresponding to execution operates, including:The process control module is controlled at the corresponding event correlation of execution business according to the event processing module that currently obtains Information is managed, performs and sends the event correlation processing information to the operation of the event processing module, so that at the event Manage module event handling operation according to corresponding to performing the event correlation processing information.
- 4. according to the method for claim 3, it is characterised in that the event correlation processing information includes:Trigger the thing Part processing module performs the control instruction of setting operation, or the event processing module performs the setting ginseng of necessary for setting operation Number.
- 5. according to the method described in claim any one of 1-4, it is characterised in that listening to target change in process control module When the value of amount changes, before the current value for obtaining the target variable, in addition to:The process control module is controlled when the value for listening to the target variable is sets default value, is controlled and is shown currently Show and default interface is shown in the page.
- A kind of 6. event-handling method, it is characterised in that including:If event processing module receives event handling information, according to corresponding to performing the event handling information at event Reason operation, wherein, the event handling information includes the event correlation processing information sent by process control module;The result that the event processing module operates according to the event handling updates the value of target variable;Wherein, the process control module monitors the target variable, is changed in the value for listening to the target variable When, the target handling process matched with the current value of the target variable is obtained, and perform and the target handling process The business processing operation matched somebody with somebody.
- 7. a kind of business processing device, is configured at process control module, it is characterised in that including:Variable-value acquiring unit, during for being changed in the value for listening to target variable, obtain the target variable Current value, wherein, the value of the target variable is updated by event processing module;Handling process acquiring unit, for obtaining the target handling process matched with the current value of the target variable, wherein, The handling process includes:At least one the business processing type arranged by flow order, and it is corresponding with business processing type Business processing parameter;Business processing execution unit, for obtaining the business processing type in the target handling process, and root by flow order According to the corresponding business processing parameter of business processing type with currently obtaining, business processing corresponding to execution operates, wherein, it is described Business processing type includes:Interface redirects business or event processing module control execution business.
- 8. a kind of event processing apparatus, is configured at event processing module, it is characterised in that including:Event handling execution unit, if for receiving event handling information, according to event handling information execution pair The event handling operation answered, wherein, the event correlation that the event handling information includes being sent by process control module handles letter Breath;Variable-value updating block, for the value of the result renewal target variable operated according to the event handling;Wherein, the process control module monitors the target variable, is changed in the value for listening to the target variable When, the target handling process matched with the current value of the target variable is obtained, and perform and the target handling process The business processing operation matched somebody with somebody.
- 9. a kind of self-help terminal equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, it is characterised in that the industry as described in any in claim 1-5 is realized during the computing device described program Business processing method.
- 10. a kind of self-help terminal equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, it is characterised in that event handling as described in claim 6 is realized during the computing device described program Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710947999.4A CN107678737B (en) | 2017-10-12 | 2017-10-12 | Service processing method and device and self-service terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710947999.4A CN107678737B (en) | 2017-10-12 | 2017-10-12 | Service processing method and device and self-service terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107678737A true CN107678737A (en) | 2018-02-09 |
CN107678737B CN107678737B (en) | 2021-01-01 |
Family
ID=61139948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710947999.4A Active CN107678737B (en) | 2017-10-12 | 2017-10-12 | Service processing method and device and self-service terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678737B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297651A (en) * | 2019-06-18 | 2019-10-01 | 广州华多网络科技有限公司 | The update method and device of the common variable of protocol interface |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106169123A (en) * | 2016-07-08 | 2016-11-30 | 上海瀚银信息技术有限公司 | A kind of operation flow dispatching patcher, method and e-commerce system |
US20170032304A1 (en) * | 2015-07-30 | 2017-02-02 | Ncr Corporation | Point-of-sale (pos) terminal assistance |
CN106484459A (en) * | 2016-09-12 | 2017-03-08 | 合智能科技(深圳)有限公司 | It is applied to flow control method and the device of JavaScript |
CN106815063A (en) * | 2017-01-11 | 2017-06-09 | 福建升腾资讯有限公司 | A kind of control platform of the automation equipment of many exchange channels |
-
2017
- 2017-10-12 CN CN201710947999.4A patent/CN107678737B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170032304A1 (en) * | 2015-07-30 | 2017-02-02 | Ncr Corporation | Point-of-sale (pos) terminal assistance |
CN106169123A (en) * | 2016-07-08 | 2016-11-30 | 上海瀚银信息技术有限公司 | A kind of operation flow dispatching patcher, method and e-commerce system |
CN106484459A (en) * | 2016-09-12 | 2017-03-08 | 合智能科技(深圳)有限公司 | It is applied to flow control method and the device of JavaScript |
CN106815063A (en) * | 2017-01-11 | 2017-06-09 | 福建升腾资讯有限公司 | A kind of control platform of the automation equipment of many exchange channels |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297651A (en) * | 2019-06-18 | 2019-10-01 | 广州华多网络科技有限公司 | The update method and device of the common variable of protocol interface |
Also Published As
Publication number | Publication date |
---|---|
CN107678737B (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107341109B (en) | Test data generation method and system | |
CN104486430A (en) | Method, device and client for realizing data sharing in mobile browser client | |
CN110335421A (en) | A kind of method, apparatus, server and the storage medium of the troubleshooting of express delivery cabinet | |
CN106096034A (en) | application log management method and device | |
CN108228444A (en) | A kind of test method and device | |
CN107147711A (en) | Application service update method and device | |
CN112434501A (en) | Work order intelligent generation method and device, electronic equipment and medium | |
CN108108158A (en) | A kind of user individual customized voice towards Android controls application process | |
CN111444090B (en) | Contract testing method and device in blockchain, electronic equipment and storage medium | |
CN110554866B (en) | MVC transaction type based intelligent contract interactive design method | |
CN114222256A (en) | Message sending method and device and electronic equipment | |
CN108550033A (en) | A kind of method and device of display Digital Object Unique Identifier | |
CN107341106A (en) | Application compatibility detection method, exploitation terminal and storage medium | |
CN103164324A (en) | Microblog test method and device | |
CN114115866A (en) | Cross-domain-based vehicle-mounted scene self-defining method, device, equipment and storage medium | |
CN107678737A (en) | Method for processing business, device and self-help terminal equipment | |
CN109669785A (en) | Page sharing method, device, server and the storage medium of terminal applies | |
CN106445479A (en) | Information pushing method and apparatus | |
CN106055367A (en) | Script file loading method and device | |
CN107038175B (en) | virtual resource object sending method and device | |
CN108763934A (en) | Data processing method and device, storage medium, server | |
US20220318032A1 (en) | Creating and exporting graphical user interfaces for video game runtime environments | |
CN114327709A (en) | Control page generation method and device, intelligent device and storage medium | |
Moebius et al. | Model-driven code generation for secure smart card applications | |
CN105915601A (en) | Resource downloading control method and terminal |
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 |