CN107678737B - Service processing method and device and self-service terminal equipment - Google Patents

Service processing method and device and self-service terminal equipment Download PDF

Info

Publication number
CN107678737B
CN107678737B CN201710947999.4A CN201710947999A CN107678737B CN 107678737 B CN107678737 B CN 107678737B CN 201710947999 A CN201710947999 A CN 201710947999A CN 107678737 B CN107678737 B CN 107678737B
Authority
CN
China
Prior art keywords
processing
service
event
target
flow
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.)
Active
Application number
CN201710947999.4A
Other languages
Chinese (zh)
Other versions
CN107678737A (en
Inventor
肖艳华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201710947999.4A priority Critical patent/CN107678737B/en
Publication of CN107678737A publication Critical patent/CN107678737A/en
Application granted granted Critical
Publication of CN107678737B publication Critical patent/CN107678737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F19/00Complete 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/20Automatic teller machines [ATMs]
    • G07F19/206Software 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 service processing method and device and self-service terminal equipment. The method comprises the following steps: the method comprises the steps that when a flow control module monitors that the value of a target variable changes, the current value of the target variable is obtained; the process control module obtains a target processing flow matched with the current value of the target variable, wherein the processing flow comprises the following steps: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence; and the flow control module acquires the service processing types in the target processing flow according to the flow sequence and executes corresponding service processing operation according to the service processing parameters corresponding to the currently acquired service processing types. By the technical scheme of the invention, the separation of the business process control and the event processing process can be realized, the development difficulty of the application program is reduced, and the stability and maintainability of the application software are enhanced.

Description

Service processing method and device and self-service terminal equipment
Technical Field
The embodiment of the invention relates to a computer programming technology, in particular to a business processing method and device and self-service terminal equipment.
Background
At present, user interfaces of financial self-service terminal equipment are mostly displayed in a picture form, and the statics and the dispersibility of the picture interfaces determine that when the self-service terminals realize a business process, a control program needs to highly aggregate interface elements and the process to realize business logic.
In the existing design mode based on flow control and event processing, an event processing program needs to process data and control the flow, so that the complexity of the event processing program is improved, and the difficulty of program development is further improved; the realization of the business process is dispersed into the event processing program, so that the application software presents a fragmentation trend, and the stability and maintainability of the system are reduced.
Disclosure of Invention
The invention provides a business processing method, a business processing device and self-service terminal equipment, which are used for realizing the separation of business process control and an event processing process, reducing the development difficulty of an application program and enhancing the stability and maintainability of application software.
In a first aspect, the present invention provides a service processing method, including:
the method comprises the steps that when a flow control module monitors that the value of a target variable changes, the current value of the target variable is obtained, wherein the value of the target variable is updated by an event processing module;
the process control module obtains a target processing flow matched with the current value of the target variable, wherein the processing flow comprises the following steps: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence;
the process control module obtains the service processing type in the target processing flow according to the flow sequence, and executes the corresponding service processing operation according to the service processing parameter corresponding to the currently obtained service processing type, wherein the service processing type comprises: and the interface jump service or the event processing module controls and executes the service.
Further, the process control module executes a corresponding service processing operation according to a service processing parameter corresponding to the currently acquired service processing type, including:
and the flow control module executes the operation of skipping the current display interface to the target display interface according to the target display interface corresponding to the currently acquired interface skipping service.
Further, the process control module executes a corresponding service processing operation according to a service processing parameter corresponding to the currently acquired service processing type, including:
and the flow control module executes the operation of sending the event-related processing information to the event processing module according to the event-related processing information corresponding to the currently acquired event processing module control execution service, so that the event processing module executes the corresponding event processing operation according to the event-related processing information.
Further, the event correlation processing information includes: and triggering the event processing module to execute a control instruction of the setting operation, or triggering the event processing module to execute the setting parameters required by the setting operation.
Further, when the flow control module monitors that the value of the target variable changes, before the current value of the target variable is obtained, the method further includes:
and the flow control module controls to display a default interface in a current display page when monitoring that the value of the target variable is a set default value.
In a second aspect, the present invention further provides an event processing method, including:
if the event processing module receives event processing information, executing corresponding event processing operation according to the event processing information, wherein the event processing information comprises event related processing information sent by a flow control module;
the event processing module updates the value of the target variable according to the result of the event processing operation;
the flow control module monitors the target variable, acquires a target processing flow matched with the current value of the target variable when the value of the target variable is monitored to be changed, and executes service processing operation matched with the target processing flow.
In a third aspect, the present invention further provides a service processing apparatus configured in a flow control module, where the apparatus includes:
the device comprises a variable value obtaining unit, a variable value obtaining unit and an event processing module, wherein the variable value obtaining unit is used for obtaining the current value of a target variable when the change of the value of the target variable is monitored, and the value of the target variable is updated by the event processing module;
a processing flow acquiring unit, configured to acquire a target processing flow matched with a current value of the target variable, where the processing flow includes: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence;
a service processing execution unit, configured to acquire a service processing type in the target processing flow according to a flow sequence, and execute a corresponding service processing operation according to a service processing parameter corresponding to a currently acquired service processing type, where the service processing type includes: and the interface jump service or the event processing module controls and executes the service.
Further, the service processing execution unit is specifically configured to:
and according to a target display interface corresponding to the currently acquired interface jump service, executing the operation of jumping the current display interface to the target display interface.
Further, the service processing execution unit is specifically configured to:
and according to event related processing information corresponding to the currently acquired event processing module control execution service, executing an operation of sending the event related processing information to the event processing module so that the event processing module executes corresponding event processing operation according to the event related processing information.
Further, the event correlation processing information includes: and triggering the event processing module to execute a control instruction of the setting operation, or triggering the event processing module to execute the setting parameters required by the setting operation.
Further, the method also comprises the following steps:
and the default interface display unit is used for controlling a flow control module to display a default interface in a current display page when the flow control module monitors that the value of the target variable is changed and before the current value of the target variable is acquired and the value of the target variable is monitored to be a set default value.
In a fourth aspect, the present invention further provides an event processing apparatus configured to an event processing module, the apparatus including:
the event processing execution unit is used for executing corresponding event processing operation according to the event processing information if the event processing information is received, wherein the event processing information comprises event related processing information sent by a flow control module;
a variable value updating unit, configured to update a value of a target variable according to a result of the event processing operation;
the flow control module monitors the target variable, acquires a target processing flow matched with the current value of the target variable when the value of the target variable is monitored to be changed, and executes service processing operation matched with the target processing flow.
In a fifth aspect, the present invention further provides a self-service terminal device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the service processing method according to any one of the embodiments of the present invention when executing the program.
In a sixth aspect, the present invention further provides a self-service terminal device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the event processing method according to any one of the embodiments of the present invention when executing the program.
According to the invention, when the flow control module monitors that the value of the target variable is changed, the matched target processing flow is obtained according to the current value of the target variable, the service processing type in the target processing flow is further obtained according to the flow sequence, and the corresponding service processing operation is executed according to the corresponding service processing parameter, so that the advantage of centralized processing of the service flow is utilized, the problems of high program development difficulty, low system stability and maintainability and the like caused by the adoption of a design mode of mixing flow control and event processing in the prior art are solved, the separation of the service flow control and the event processing process is realized, the development difficulty of an application program is reduced, and the stability and maintainability of application software are enhanced.
Drawings
Fig. 1 is a schematic flowchart of a service processing method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an event processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service processing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an event processing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a self-service terminal device provided in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a service processing method according to an embodiment of the present invention. The method is applicable to the case of business processing, and can be executed by a business processing device configured in a flow control module, wherein the device can be composed of hardware and/or software and can be generally integrated in a self-service terminal and all terminals with computer program running functions. The method specifically comprises the following steps:
s110, when the change of the value of the target variable is monitored, the current value of the target variable is obtained by the process control module.
Wherein the value of the target variable is updated by the event processing module
Optionally, the process control module may be a program packaging block of the process control program, and may monitor and obtain the processing result of the event processing module by using the target variable as an interface. The process control module can be used for controlling a display interface of the equipment and/or controlling the business process of the equipment. The target variable may be an interface through which the event processing module returns the event processing result to the process control module. The purpose of monitoring whether the value of the target variable is changed is to judge whether the event processing module has processed the previous event, so that the process control module determines the next processing process according to the value of the target variable updated by the event processing module and executes corresponding business operation.
For example, in the program development of the self-service terminal, Flash can be used as a development tool of a User Interface (UI) of the self-service terminal, and the process control module can be, for example, Flash, which has a very strong graphical development capability and can more complete a series of complex animation production besides a conventional picture editing function. The animation interface enables user interface elements of the self-service terminal to be richer and the interface effect to be better. Flash also provides movie clips, each containing a package of a series of graphical elements, an implementation of actions. The packaging enables a program developer to associate and map the film clip with a specific service of the self-service terminal, namely, a film clip can be packaged in a service flow to be realized. A film clip is not unique, it can be aggregated with other film clips for use, and can interact with each other through data, so that by assembling the film clips, program developers can combine to form more business processes. Preferably, Flash's own AS (Action Script) can be used AS a control language of the business process. The AS provides the capability of operating the events of the component objects, and a completely object-oriented code writing mode enables developers with object-oriented development experience to quickly adapt to the requirements of process development. In one specific example, Flash interface interaction with the event processing module is accomplished through the FsCommand event and SetVariable methods of the Flash plug-in. The FsCommand event is an interface for notifying the event processing module by Flash, and SetVarialbe is an implementation interface for sending the processed data to Flash by the event processing module.
S120, the process control module acquires a target processing flow matched with the current value of the target variable, wherein the processing flow comprises the following steps: at least one service processing type arranged according to the flow sequence, and service processing parameters corresponding to the service processing type.
Optionally, the matching relationship between the processing flow and the value of the target variable may be set by a preset matching rule, for example, when the value of the target variable is "1", the corresponding matched processing flow is a card reading interface skip flow; when the value of the target variable is "2", the corresponding matching processing flow is a user password input flow, and so on, which is not described herein again. Optionally, the process sequence may be set by computer programming according to the service processing logic, for example, the processing flow may include one service processing type and service processing parameters corresponding to the service processing type, which are arranged in the process sequence, or may include multiple service processing types and service processing parameters corresponding to the service processing types, which are arranged in the process sequence, respectively, where different service processing types may correspond to different service processing modes, and thus, the corresponding service processing mode may be selected according to the service processing type. Optionally, the service processing parameter may be displayed picture and/or animation information, or event trigger instruction information, or key information required for completing the service, such as event trigger request information, which is not limited herein.
In a specific example, a monitoring script in Flash monitors a target variable, for example, an App _ Command variable, when the App _ Command variable is updated by an event processing module, Flash reads a value of the App _ Command and obtains a target processing flow matched with a value of the current App _ Command according to a preset matching rule, for example, if the target processing flow is a card reading flow, Flash switches a current display interface to a card reading interface according to the flow, and calls preset display information such as animation, pictures, and characters on the card reading interface.
S130, the process control module obtains the service processing type in the target processing process according to the process sequence, and executes the corresponding service processing operation according to the service processing parameter corresponding to the currently obtained service processing type.
The service processing type comprises the following steps: and the interface jump service or the event processing module controls and executes the service.
Optionally, since the service processing types in the target processing flow are arranged according to the flow sequence, if the target processing flow only includes one service processing type, the flow control module may obtain the specific service processing type in due time according to the flow sequence; if the target processing flow comprises a plurality of service processing types, the flow control module can sequentially acquire each service processing type according to the flow sequence, wherein the sequence for acquiring each service processing type can be consistent with the execution sequence of the subsequent service processing operation. The service processing type can be an interface skipping service or an event processing module control execution service, wherein the interface skipping service can be a service for controlling and operating the content of a display interface on a display screen by a process control module; the event processing module control execution service may be a service handed to the event processing module to control execution.
Preferably, the process control module executes a corresponding service processing operation according to a service processing parameter corresponding to the currently acquired service processing type, including:
and the flow control module executes the operation of skipping the current display interface to the target display interface according to the target display interface corresponding to the currently acquired interface skipping service.
Optionally, the target display interface may be a functional interface adapted to the interface jump service, and may include contents used for displaying on a display screen, such as text, pictures, and animations, which are not limited herein. For example, if the service processing type obtained in the current flow sequence is an interface skip service and is a magnetic card reading service in the service, the flow control module may perform a skip operation of the display interface on the current display screen to the magnetic card reading interface according to the magnetic card reading interface corresponding to the magnetic card reading service.
Preferably, the process control module executes a corresponding service processing operation according to a service processing parameter corresponding to the currently acquired service processing type, including:
and the flow control module executes the operation of sending the event-related processing information to the event processing module according to the event-related processing information corresponding to the currently acquired event processing module control execution service, so that the event processing module executes the corresponding event processing operation according to the event-related processing information.
The event-related processing information may be related information required when the event processing module controls and executes the service. Specifically, the process control module may send the event-related processing information to the event processing module through a specific interface, for example, the specific interface of Flash may be an FsCommand event.
Preferably, the event-related processing information includes: and triggering the event processing module to execute a control instruction of the setting operation, or triggering the event processing module to execute the setting parameters required by the setting operation.
For example, if the service processing type obtained in the current flow sequence is the event processing module control execution service and is the password input service in the service, the flow control module may execute an operation of sending the request to the event processing module according to a password keyboard start request corresponding to the password input service, so that the event processing module executes the operation of starting the password keyboard according to the password keyboard start request. For another example, if the service processing type acquired in the current flow sequence is that the event processing module controls to execute the service and is a password receiving service in the service, the flow control module may execute an operation of sending the transaction code information to the transaction processing module according to the transaction code information, which is input on the display screen by the acquiring user and corresponds to the password receiving service, so that the event processing module executes an operation of starting the password keyboard according to the password keyboard starting request.
According to the technical scheme of the embodiment, when the change of the value of the target variable is monitored by the process control module, the matched target processing flow is obtained according to the current value of the target variable, the service processing type in the target processing flow is further obtained according to the flow sequence, and the corresponding service processing operation is executed according to the corresponding service processing parameter, so that the advantage of centralized processing of the service flow is utilized, the problems that in the prior art, due to the adoption of a design mode of mixing flow control and event processing, the program development difficulty is high, the system stability and maintainability are low and the like are solved, the separation of the service flow control and the event processing process is realized, the development difficulty of an application program is reduced, and the stability and maintainability of application software are enhanced.
On the basis of the above embodiment, in order to improve the user experience, it is necessary to ensure that the self-service terminal can play the specific content during the period of no people using the self-service terminal.
Preferably, when the flow control module monitors that the value of the target variable changes, before obtaining the current value of the target variable, the method further includes:
and the flow control module controls to display a default interface in the current display page when the value of the target variable is monitored to be a set default value.
For example, if no one uses the self-service terminal at present, the target variable is set as a default value, and when the process control module monitors that the value of the target variable is the set default value, it is determined that the corresponding target processing process is a default interface display process, and the process may specifically be an interface for controlling to display a default welcome user in a display page.
Example two
Fig. 2 is a flowchart illustrating an event processing method according to a second embodiment of the present invention. The method is applicable to the event processing case, and can be executed by an event processing device configured in an event processing module, wherein the device can be composed of hardware and/or software, and can be generally integrated in a self-service terminal and all terminals with computer program running functions. The method specifically comprises the following steps:
s210, if the event processing module receives the event processing information, corresponding event processing operation is executed according to the event processing information, wherein the event processing information comprises event related processing information sent by the flow control module.
Alternatively, the event processing module may be a program packaging block of the event processing program, and may be used for performing data processing, and/or hardware control, and/or data interaction control with other devices, and the like. The event processing module and the flow control module are independently packaged and only call is completed through the interface, so that the service flow control and the event processing process can be completely separated and then assembled for use, the reusability of each packaging block is greatly improved, the program development difficulty is reduced, the program development efficiency is improved, and the stability and maintainability of application software are enhanced.
Optionally, the event processing module may receive the event-related processing information sent by the flow control module by using a specific event method as an interface, or may receive, through hardware (e.g., a sensor), event processing information generated by triggering a user to perform a specific operation on the device.
For example, if the event processing module receives the event-related processing information sent by the flow control module, the event processing module may execute the corresponding event processing operation according to the event-related processing information. For example, when the event processing module acquires an FsCommand event, if it is analyzed that the FsCommand event includes a password keyboard start control instruction, the event processing module may start the password keyboard according to the password keyboard start control instruction; if the FsCommand event is analyzed to carry the transaction code, the transaction processing is carried out according to the transaction code, and the transaction processing is not exhaustive.
And S220, updating the value of the target variable by the event processing module according to the result of the event processing operation.
The process control module monitors a target variable, acquires a target processing process matched with the current value of the target variable when the value of the target variable is monitored to be changed, and executes service processing operation matched with the target processing process.
Optionally, the event processing operation result may correspond to values of different target variables, for example, if the process control module successfully reads the card inserted, the target variable is correspondingly updated to a value (for example, "1") indicating that the card reading is successful; and if the process control module fails to read the card of the inserted card, correspondingly updating the target variable into a value (for example, '0') indicating that the card reading fails.
Illustratively, when a user performs a card insertion operation, a card sensor in the card slot generates relevant card insertion Event information and notifies the card insertion Event information to an Event processing module, and after receiving the card insertion Event information, the Event processing module notifies the card insertion Event to Flash by using SetVariable ("App _ Command", "Event _ signed"), so that Flash analyzes the Event as the card insertion Event according to a current value of App _ Command, acquires a matched card reading flow according to the card insertion Event, and executes a business processing operation matched with the card reading flow, that is, a current display interface jumps to a card reading interface.
According to the technical scheme of the embodiment, when the event processing module receives the event processing information, the corresponding event processing operation is executed according to the event processing information, and the value of the target variable is updated according to the operation result, so that the event processing module and the process control module are relatively independent, and the functions of the event processing module and the process control module can be respectively realized, thereby reducing the development difficulty of the application program and enhancing the stability and maintainability of the application software.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a service processing apparatus according to a third embodiment of the present invention. Referring to fig. 3, the service processing apparatus includes: the variable value obtaining unit 310, the processing flow obtaining unit 320, and the service processing executing unit 330, which are described in detail below.
A variable value obtaining unit 310, configured to obtain a current value of a target variable when it is monitored that a value of the target variable changes, where the value of the target variable is updated by an event processing module;
a processing flow obtaining unit 320, configured to obtain a target processing flow matched with the current value of the target variable, where the processing flow includes: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence;
a service processing execution unit 330, configured to obtain a service processing type in the target processing flow according to a flow sequence, and execute a corresponding service processing operation according to a service processing parameter corresponding to the currently obtained service processing type, where the service processing type includes: and the interface jump service or the event processing module controls and executes the service.
In the service processing apparatus provided in this embodiment, when it is monitored that the value of the target variable changes through the flow control module, the matched target processing flow is obtained according to the current value of the target variable, and then the service processing type in the target processing flow is obtained according to the flow sequence, and the corresponding service processing operation is executed according to the corresponding service processing parameter, so that the advantage of centralized processing of the service flow is utilized, the problems of high program development difficulty, low system stability and maintainability and the like caused by adopting a design mode in which the flow control and the event processing are mixed in the prior art are solved, separation of the service flow control and the event processing process is realized, the development difficulty of the application program is reduced, and the effects of enhancing the stability and maintainability of the application software are achieved
Optionally, the service processing execution unit 330 may be specifically configured to:
and according to a target display interface corresponding to the currently acquired interface jump service, executing the operation of jumping the current display interface to the target display interface.
Further, the service processing execution unit 330 may be specifically configured to:
and according to event related processing information corresponding to the currently acquired event processing module control execution service, executing an operation of sending the event related processing information to the event processing module so that the event processing module executes corresponding event processing operation according to the event related processing information.
Further, the event correlation processing information may include: and triggering the event processing module to execute a control instruction of the setting operation, or triggering the event processing module to execute the setting parameters required by the setting operation.
Further, the method can also comprise the following steps:
and the default interface display unit is used for controlling a flow control module to display a default interface in a current display page when the flow control module monitors that the value of the target variable is changed and before the current value of the target variable is acquired and the value of the target variable is monitored to be a set default value.
The product can execute the service processing method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of executing the service processing method.
Example four
Fig. 4 is a schematic structural diagram of an event processing apparatus according to a fourth embodiment of the present invention. Referring to fig. 4, the event processing apparatus includes: the event processing execution unit 410 and the variable value update unit 420 are described below in detail.
An event processing execution unit 410, configured to, if event processing information is received, execute a corresponding event processing operation according to the event processing information, where the event processing information includes event-related processing information sent by a flow control module;
a variable value updating unit 420, configured to update a value of the target variable according to a result of the event processing operation;
the flow control module monitors the target variable, acquires a target processing flow matched with the current value of the target variable when the value of the target variable is monitored to be changed, and executes service processing operation matched with the target processing flow.
In the event processing apparatus provided in this embodiment, when the event processing module receives the event processing information, the corresponding event processing operation is executed according to the event processing information, and the value of the target variable is updated according to the operation result, so that the event processing module and the process control module are relatively independent, and can respectively implement their own functions, thereby reducing the development difficulty of the application program and enhancing the stability and maintainability of the application software.
The product can execute the event processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the event processing method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a self-service terminal device according to a fifth embodiment of the present invention, and as shown in fig. 5, the self-service terminal device according to the present embodiment includes: a processor 51 and a memory 52. The number of the processors in the self-service terminal device may be one or more, fig. 5 illustrates one processor 51, the processor 51 and the memory 52 in the self-service terminal device may be connected by a bus or in other manners, and fig. 5 illustrates connection by a bus.
In this embodiment, the processor 51 of the self-service terminal device is integrated with the service processing device and/or the event processing device provided in the above embodiments. In addition, the memory 52 in the self-service terminal device serves as a computer-readable storage medium, and may be used to store one or more programs, where the programs may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the service processing method and/or the event processing method in the embodiments of the present invention (for example, the modules in the service processing apparatus shown in fig. 3 include the variable value obtaining unit 310, the processing flow obtaining unit 320, and the service processing executing unit 330; and the modules in the event processing apparatus shown in fig. 4 include the event processing executing unit 410 and the variable value updating unit 420). The processor 51 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the memory 52, namely, implements the service processing method and/or the event processing method in the above method embodiments.
The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 52 may further include memory located remotely from the processor 51, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 51 executes various functional applications and data processing by running the program stored in the memory 52, thereby implementing, for example, a service processing method provided in the first embodiment of the present invention:
that is, the processor 51 implements, when executing the program: the flow control module acquires the current value of the target variable when monitoring that the value of the target variable changes, wherein the value of the target variable is updated by the event processing module; the process control module acquires a target processing process matched with the current value of the target variable, wherein the processing process comprises the following steps: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence; the flow control module acquires the service processing type in the target processing flow according to the flow sequence, and executes corresponding service processing operation according to the service processing parameter corresponding to the currently acquired service processing type, wherein the service processing type comprises: and the interface jump service or the event processing module controls and executes the service.
For another example, the event processing method provided in the second embodiment of the present invention:
that is, the processor 51 implements, when executing the program: if the event processing module receives event processing information, corresponding event processing operation is executed according to the event processing information, wherein the event processing information comprises event correlation processing information sent by the flow control module; the event processing module updates the value of the target variable according to the result of the event processing operation; the process control module monitors a target variable, acquires a target processing process matched with the current value of the target variable when the value of the target variable is monitored to be changed, and executes service processing operation matched with the target processing process.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a service processing apparatus configured in a flow control module, for example, implements a service processing method according to an embodiment of the present invention, where the method includes: the flow control module acquires the current value of the target variable when monitoring that the value of the target variable changes, wherein the value of the target variable is updated by the event processing module; the process control module acquires a target processing process matched with the current value of the target variable, wherein the processing process comprises the following steps: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence; the flow control module acquires the service processing type in the target processing flow according to the flow sequence, and executes corresponding service processing operation according to the service processing parameter corresponding to the currently acquired service processing type, wherein the service processing type comprises: and the interface jump service or the event processing module controls and executes the service.
For another example, when executed, the event processing apparatus configured in the event processing module implements an event processing method according to a second embodiment of the present invention, where the method includes: if the event processing module receives event processing information, corresponding event processing operation is executed according to the event processing information, wherein the event processing information comprises event correlation processing information sent by the flow control module; the event processing module updates the value of the target variable according to the result of the event processing operation; the process control module monitors a target variable, acquires a target processing process matched with the current value of the target variable when the value of the target variable is monitored to be changed, and executes service processing operation matched with the target processing process.
Of course, the computer program stored on the computer-readable storage medium provided in the embodiments of the present invention is not limited to separately implement the method operations described above when being executed, and may also implement the service processing method and the related operations in the event processing method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a self-service terminal device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiments of the service processing apparatus and the event processing apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method for processing a service, comprising:
the method comprises the steps that when a flow control module monitors that the value of a target variable changes, the current value of the target variable is obtained, wherein the value of the target variable is updated by an event processing module;
the process control module obtains a target processing flow matched with the current value of the target variable, wherein the processing flow comprises the following steps: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence;
the process control module obtains the service processing type in the target processing flow according to the flow sequence, and executes the corresponding service processing operation according to the service processing parameter corresponding to the currently obtained service processing type, wherein the service processing type comprises: the interface skip service or event processing module controls and executes the service;
the process control module executes corresponding service processing operation according to the service processing parameter corresponding to the currently acquired service processing type, and the method comprises the following steps:
the flow control module executes the operation of sending the event-related processing information to the event processing module according to the event-related processing information corresponding to the currently acquired event processing module control execution service, so that the event processing module executes the corresponding event processing operation according to the event-related processing information;
and the flow control module executes the operation of skipping the current display interface to the target display interface according to the target display interface corresponding to the currently acquired interface skipping service.
2. The method of claim 1, wherein the event correlation processing information comprises: and triggering the event processing module to execute a control instruction of the setting operation, or triggering the event processing module to execute the setting parameters required by the setting operation.
3. The method according to any one of claims 1-2, wherein before the flow control module obtains the current value of the target variable when it is monitored that the value of the target variable changes, the method further comprises:
and the flow control module controls to display a default interface in a current display page when monitoring that the value of the target variable is a set default value.
4. An event processing method, comprising:
if the event processing module receives event processing information, executing corresponding event processing operation according to the event processing information, wherein the event processing information comprises event related processing information sent by a flow control module;
the event processing module updates the value of the target variable according to the result of the event processing operation;
the flow control module monitors the target variable, acquires a target processing flow matched with the current value of the target variable when monitoring that the value of the target variable is changed, and executes service processing operation matched with the target processing flow;
the process control module monitors the target variable, acquires a target processing flow matched with the current value of the target variable when monitoring that the value of the target variable changes, and executes a service processing operation matched with the target processing flow, and the process control module includes:
and the flow control module executes the operation of skipping the current display interface to the target display interface according to the target display interface corresponding to the currently acquired interface skipping service.
5. A traffic processing apparatus configured in a flow control module, comprising:
the device comprises a variable value obtaining unit, a variable value obtaining unit and an event processing module, wherein the variable value obtaining unit is used for obtaining the current value of a target variable when the change of the value of the target variable is monitored, and the value of the target variable is updated by the event processing module;
a processing flow acquiring unit, configured to acquire a target processing flow matched with a current value of the target variable, where the processing flow includes: at least one service processing type and service processing parameters corresponding to the service processing type are arranged according to the flow sequence;
a service processing execution unit, configured to acquire a service processing type in the target processing flow according to a flow sequence, and execute a corresponding service processing operation according to a service processing parameter corresponding to a currently acquired service processing type, where the service processing type includes: the interface skip service or event processing module controls and executes the service;
the service processing execution unit may specifically be configured to: according to event associated processing information corresponding to the currently acquired event processing module control execution service, executing operation of sending the event associated processing information to the event processing module so that the event processing module executes corresponding event processing operation according to the event associated processing information;
the process control module executes corresponding service processing operation according to the service processing parameter corresponding to the currently acquired service processing type, and the method comprises the following steps:
and the flow control module executes the operation of skipping the current display interface to the target display interface according to the target display interface corresponding to the currently acquired interface skipping service.
6. An event processing apparatus configured in an event processing module, comprising:
the event processing execution unit is used for executing corresponding event processing operation according to the event processing information if the event processing information is received, wherein the event processing information comprises event related processing information sent by a flow control module;
a variable value updating unit, configured to update a value of a target variable according to a result of the event processing operation;
the flow control module monitors the target variable, acquires a target processing flow matched with the current value of the target variable when monitoring that the value of the target variable is changed, and executes service processing operation matched with the target processing flow;
the process control module monitors the target variable, acquires a target processing flow matched with the current value of the target variable when monitoring that the value of the target variable changes, and executes a service processing operation matched with the target processing flow, and the process control module includes:
and the flow control module executes the operation of skipping the current display interface to the target display interface according to the target display interface corresponding to the currently acquired interface skipping service.
7. Self-service terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the business process method according to any of claims 1-3 when executing the program.
8. Self-service terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the event handling method as claimed in claim 4 when executing the program.
CN201710947999.4A 2017-10-12 2017-10-12 Service processing method and device and self-service terminal equipment Active CN107678737B (en)

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 CN107678737A (en) 2018-02-09
CN107678737B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297651B (en) * 2019-06-18 2023-06-13 广州华多网络科技有限公司 Method and device for updating common variables of protocol interface

Citations (3)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10552778B2 (en) * 2015-07-30 2020-02-04 Ncr Corporation Point-of-sale (POS) terminal assistance

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN107678737A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN108491275B (en) Program optimization method, device, terminal and storage medium
CN110162343B (en) Application starting method and device, electronic equipment and storage medium
CN108376094B (en) Notification message display method and device, computer equipment and storage medium
US20060200738A1 (en) System and method for modifying a mobile device application
CN106878361B (en) Debugging method and device for terminal application page and client
CN108021583B (en) Page loading method and client
CN110780789B (en) Game application starting method and device, storage medium and electronic device
CN103914450A (en) Method and device for presenting web graphics in mobile terminal platform
CN110888615A (en) Multi-input equipment interaction method, device and medium for double-screen different display of Android system
CN110413347B (en) Advertisement processing method and device in application program, storage medium and terminal
CN110955499B (en) Processor core configuration method, device, terminal and storage medium
CN114185508B (en) Method for left-right screen splitting on Linux compatible android system
CN106843794B (en) Split screen display method and system based on android
WO2017201965A1 (en) Notification message display method and device, and terminal
CN110275704A (en) Page data processing method and device, storage medium and electronic equipment
EP3680765A1 (en) Navigation bar control method and device
CN109218817B (en) Method and device for displaying virtual gift prompting message
CN113268286A (en) Application starting method and device, projection equipment and storage medium
CN108933947B (en) Bullet screen display method and device
CN107678737B (en) Service processing method and device and self-service terminal equipment
CN114286167A (en) Cross-device interaction method and device, electronic device and storage medium
CN112148395A (en) Page display method, device, equipment and storage medium
CN113254217A (en) Service message processing method and device and electronic equipment
CN108632069B (en) Client configuration method, system and related equipment
CN112905072B (en) Application processing method and device and electronic equipment

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