CN107656818A - The flow implementation method and related system of a kind of bill business - Google Patents
The flow implementation method and related system of a kind of bill business Download PDFInfo
- Publication number
- CN107656818A CN107656818A CN201611218386.9A CN201611218386A CN107656818A CN 107656818 A CN107656818 A CN 107656818A CN 201611218386 A CN201611218386 A CN 201611218386A CN 107656818 A CN107656818 A CN 107656818A
- Authority
- CN
- China
- Prior art keywords
- server
- client
- data
- event
- state machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/466—Transaction processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2365—Ensuring data consistency and integrity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2393—Updating materialised views
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/045—Payment circuits using payment protocols involving tickets
- G06Q20/0457—Payment circuits using payment protocols involving tickets the tickets being sent electronically
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5011—Pool
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5018—Thread allocation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/547—Messaging middleware
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Strategic Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Technology Law (AREA)
- Human Resources & Organizations (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
- Multi Processors (AREA)
Abstract
The invention discloses the flow implementation method and related system of a kind of bill business.Methods described includes:Application server is handled bill business flow, is obtained result and is sent to message server;When connection server receives trading processing result from message server, the data of caching are updated, and real time propelling movement gives corresponding client;Wherein, application server make use of the mode that state machine caches in advance, realize the quickly and accurately circulation of operation flow, it is easy to quickly read, improve the speed of response, and the class of the class of processing business logic and processing state machine is separated, independently execute server event handling task and execution state machine circulation task, further optimize the speed of processing;Connection server utilizes view model, can realize the real-time refreshing to user's data of concern, also, intelligently by the data real time propelling movement of user's care to client, avoid unnecessary between client and server interact.
Description
Technical field
The present invention relates to field of computer technology, the flow implementation method of more particularly to a kind of bill business and phase relation
System.
Background technology
Bill refer to that check drawer signs and issues in accordance with the law by oneself or indicate the certain amount of money of other people unconditional payments to payee or
The marketable securities of bearer, i.e., some marketable securities that can replace cash circulation.The form of bill can include paper-bill
And electronic bill.With the development of internet, many bill business platforms based on internet arise at the historic moment.
By taking bank acceptance as an example, the trade mode of existing bill business platform is as follows:User can send out on the net
Disclosure, the bank acceptance of orientation is sent to buy out formula, the interbank discount quotation of repurchase formula, response mode joins with business personnel by offering
It is to carry out further negotiated transaction under line.Or user can also be by filling in accepting bank's type, denomination, draft on the net
The information such as Expiration Date, which are entered, links up agreed-upon price etc. under line.
For one common ground of the transaction platform of above-mentioned network in process of exchange, its main function still issues transaction letter
Breath, both parties can only point-to-point carry out bill agreed-upon price, off-line transactions under line, on the one hand, bank acceptance is traded will
The key element of consideration is a lot, and oneself desired bill is found on website to be taken a long time;Still further aspect, think when finding
After the ticket to be traded will it is online under negotiated a price by the mode such as make a phone call one by one with analogue, waste time and energy also
It may fail so as to need to find suitable ticket again;Finally, because the Limited information that user grasps, so user is in transaction
Interests can not obtain expected guarantee.
Based on above mentioned problem, a kind of bill business system how is provided, realizes efficient bill business workflow, is realized
The electronization of whole bill business, solves the asymmetric problem of user-to-user information, both parties is expeditiously looked for
To bill or the dealer for itself wanting transaction, it is pushed to also, after the completion of flow processing, during by flow processing fructufy
Client, turn into urgent problem to be solved.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the flow implementation method and related system of a kind of bill business of problem.
In a first aspect, the embodiment of the present invention provides a kind of flow implementation method of bill business, including:
Step 1: application server is handled bill business flow, obtain result and be sent to messenger service
Device;
Step 2: when connection server receives the trading processing result of application server return from message server,
The data of caching are updated, and real time propelling movement gives corresponding client;
Wherein:The step 1, including:
On startup, state machine information corresponding to operation flow under all kinds of transaction is cached;When being supervised from message server
When hearing the server event of present application server processing, the server event is read;Flow is corresponded to according to the server event,
Turn engine thread by corresponding state machine flows, read the flow data defined in the state machine information of caching, determine next behaviour
Make state and handle the class of the server event;By the thread for the class for handling the server event, the server thing is handled
Part obtains result;Result is generated into server event and sent to message server, and updates the data storehouse server
In database data;
The step 2, including:When receiving the trading processing result of application server return, tied according to the processing
The Distribution List of fruit, each client view mould corresponding with the result in Distribution List described in renewal local cache
The data of type;The view model is client to needing the mirror that the form of real-time refreshing is registered in connection server in advance
Picture;The content of pages currently shown according to the client, judge whether to need the data-pushing of renewal to the client;
When needed, by occur data renewal the mark of the view model and the data-pushing of corresponding renewal to client,
So as to client according to the mark of the view model update local corresponding to form.
In one embodiment, the state machine information includes:
The mark of state machine, status indicator, Status Name, operations/events, the mark of next state corresponding to current state
Know with the title of next state and handle the class of the event.
In one embodiment, it is described that flow is corresponded to according to the server event, quoted by corresponding state machine flows and held up
Thread, the flow data defined in the state machine information of caching is read, determine next mode of operation and handle the server event
Class, including:
Transaction Information and procedure information are parsed from the server event;
From the state machine information cached, state machine information corresponding to the flow under the transaction is determined;
Turn engine thread by corresponding state machine flows, inquire about the state machine information, according to the stream under the transaction
Operations/events corresponding to the current state of journey, current state, obtain the mark of next state and handle the class of the event.
In one embodiment, after described reading server event, in addition to:By belonging to the server event
Type of message between server, the type of message of conversion cost application server processes;
The result generates server event, including:
By the result, it is packaged according to the type of message between the server, generates server event.
In one embodiment, methods described also includes:
On startup, it is respectively started to quote for the thread pool and state machine flows of processing server event and holds up thread pool;Institute
State the thread pool of processing server event and state machine flows quote the multiple lines to be called held up and predetermined number is included in thread pool
Journey;
The state machine flows turn the thread of engine thread and the class for handling the server event respectively from the service
The thread pool and state machine flows of device event, which are quoted to hold up in thread pool, to be called.
In one embodiment, methods described also includes:
When the thread of the class by handling the server event, when handling the server event success, the stream is updated
The state of journey is next state;
Transaction Information, the status information of flow and result are generated into server event and are sent to message server;
Otherwise, terminate the processing of the flow, and client is controlled in noticing.
In one embodiment, the view model is registered by following manner:
After client has logged in and is connected with connection server, when the view model registration for receiving client transmission please
It is the newly-built corresponding view model of the client when asking;The view model corresponds to the page of the client request loading
The middle form for needing to refresh in real time;
The view model registration request, by including the page for needing refreshing form in real time in the page of client request loading
Trigger in face.
In one embodiment, after client has logged in and is connected with connection server, in addition to:Distributed for client
Corresponding Conversation Model object;The Conversation Model object record has between the mark, client and connection server of client
The mark of socket connections;
It is the newly-built corresponding view mould of the client when receiving the view model registration request of client transmission
Type, specifically include:
The newly-built corresponding view model in Conversation Model object corresponding to the client.
In one embodiment, each client and the result pair in Distribution List are updated described in local cache
The data for the view model answered, including:
By the mark of the view model involved by the result and the data of corresponding renewal, the client is sent to
The Conversation Model object at end;
The result is sent to by corresponding view model by the Conversation Model object, by the view model
Update its data.
In one embodiment, methods described also includes:
When receiving the page load request of first time transmission of client, it is determined that needing the bar number of list data sent
N, and n bar list datas are sent as current display data;The first data and most is recorded in the current display page respectively
The position of a data in the table as upper vernier and lower vernier and preserves afterwards;
When receiving the table paging refresh requests of client, order the first data behind the lower vernier
Obtain n bar list datas backward, or order obtains forward n bar forms the last item data before the upper vernier
Data;The list data is sent to client;Update the upper vernier preserved and lower vernier.
In one embodiment, the data of corresponding view model in result are updated, including:Increase in view model
Addend evidence, delete data and modification data;
After increasing data in view model and deleting data, in addition to:For increased in view model or deletion
Data and the data after it, update its positional information.
In one embodiment, the content of pages currently shown according to the client, judge whether to need renewal
Data-pushing gives the client, when needed, by the data-pushing of renewal to client, including:
Position of the data for judging to update in whole form, if positioned at the upper vernier recorded and downstream
Between mark;
If so, the client will be pushed to again from the n bars list data after upper vernier.
Second aspect, the embodiment of the present invention provide a kind of flow of bill business and realize system, including:
Application server, for handling bill business flow, obtain result and be sent to message server;
Connection server, for received from message server application server return trading processing result when, it is right
The data of caching are updated, and real time propelling movement gives corresponding client;
Message server, for the message between storage and forwarding server;Wherein:
The application server, including:
Cache module, on startup, state machine information corresponding to operation flow under all kinds of transaction to be cached;
Message read module, for when the server event that present application server processing is listened to from message server
When, read the server event;
State circulation module, for corresponding to flow according to the server event, is quoted by corresponding state machine flows and holds up line
Journey, the flow data defined in the state machine information of caching is read, determine next mode of operation and handle the server event
Class;
Event processing module, for the thread of the class by handling the server event, handle the server event and obtain
To result;
Generation module, for result to be generated into server event;
Sending module, the server event for the generation module to be generated are sent to message server;
Data update module, for according to the result, updating the data the database data in the server of storehouse;
The connection server, including:
Update module, for when receive application server return trading processing result when, according to the result
Distribution List, update described in local cache each client view model corresponding with the result in Distribution List
Data;The view model is client to needing the mirror image that the form of real-time refreshing is registered in connection server in advance;
Judge module, for the content of pages currently shown according to the client, judge whether to need the number of renewal
According to being pushed to the client;
Pushing module, for when the judge module judges to need, the view model of data renewal will to occur
Mark and the data-pushing of corresponding renewal are to client, so that client updates locally according to the mark of the view model
Corresponding form.
The beneficial effect of above-mentioned technical proposal provided in an embodiment of the present invention comprises at least:
In the flow implementation method and related system of bill business provided in an embodiment of the present invention, application server is to bill
Transaction flow is handled, and is obtained result and is sent to message server, connection server receives from message server
During the trading processing result returned to application server, the data of caching are updated, and real time propelling movement gives corresponding client
End wherein application server, on the one hand, when application server is handled flow, in advance by operation flow pair under all kinds of transaction
The state machine information caching answered, when from message server reading service device event, turns engine thread by state machine flows, reads
The flow data that state machine defines, determine next mode of operation and handle the class of the server event, then by handling the service
The thread of the class of device event, handle the event and obtain result, result is issued into message by new server event
Server, and storehouse is updated the data, in whole processing procedure, state machine is make use of, realizes operation flow quickly and accurately
Circulation, also, the mode that state machine is cached in advance are easy to quickly read, and improve the speed of response, and by processing business
The class (state machine flows, which are quoted, holds up) of the class of logic and processing state machine separates, independently execute server event handling task and
State machine circulation task is performed, further optimizes the speed of processing.
On the other hand, connection server realizes the real-time refreshing of client-side transaction data, view mould using view model
Type is the mirror image that client registers the form for needing to refresh in real time in connection server in advance, when occur transaction data more
It is always consistent with the list data of the display of client when new, ensure the accuracy of table content real-time update, in necessity
When can respond rapidly to form refreshing demand;The content of pages currently shown according to client, if the content of renewal is being worked as
In data corresponding to the preceding display page, then judge the mark of the data of renewal and view model issuing client, avoid visitor
Unnecessary between family end and server to interact, intelligently by the data real time propelling movement of user's care to client, client is not
Any transaction data is stored, the data that user is concerned about only is shown, reduces the EMS memory occupation to client.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Figure 1A -1C are the flow chart of the flow implementation method of bill business provided in an embodiment of the present invention;
Fig. 2 be bill business provided in an embodiment of the present invention flow implementation method in step S13 detailed process stream
Cheng Tu;
Fig. 3 is the schematic diagram of Conversation Model object in the embodiment of the present invention;
Fig. 4 is each client and the result pair in Distribution List in renewal local cache in the embodiment of the present invention
The flow chart of the step of data for the view model answered;
Fig. 5 is another flow chart of the flow implementation method of bill business in the embodiment of the present invention;
Fig. 6 is step S12 ' and S13 ' specific implementation flow charts in the embodiment of the present invention;
Fig. 7 is the flow chart of a simple case in the embodiment of the present invention;
Fig. 8 A are that the flow of bill business provided in an embodiment of the present invention realizes the structural representation of system;
Fig. 8 B are the structured flowchart of application server provided in an embodiment of the present invention;
Fig. 8 C are the structured flowchart of connection server provided in an embodiment of the present invention;
Fig. 9 is the structured flowchart of the state circulation module in application server provided in an embodiment of the present invention;
Figure 10 is the structured flowchart of connection server update module 8201 in the embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Below in conjunction with the accompanying drawings, to the flow implementation method of bill business provided in an embodiment of the present invention and the tool of related system
Body embodiment is described in detail.
The flow implementation method of bill business provided in an embodiment of the present invention, available for bill business system, in the bill
In transaction system, comprising application server, message server and connection server etc., in same bill business system,
Application server is responsible for the server of processing business logic;Application server can have one or more, and application server has
When multiple, application server cluster can be formed each other, application server and other servers such as connection server, other should
With not direct interaction between server etc., but the transfer of message is carried out by message server, message server, which plays, to disappear
The effect of middleware is ceased, caches and forward the message (server event) needed for each server, connection server plays foundation
Session is connected with management client, to effects such as client push transaction delta data, pop-ups.
Shown in reference picture 1A, the flow implementation method of bill business provided in an embodiment of the present invention, comprise the steps:
Step S1, application server is handled bill business flow, is obtained result and is sent to messenger service
Device;
Step S2, when connection server receives the trading processing result of application server return from message server,
The data of caching are updated, and real time propelling movement gives corresponding client;
Wherein, above-mentioned steps S1, shown in reference picture 1B, following step is specifically included:
S11, on startup, state machine information corresponding to operation flow under all kinds of transaction is cached;
S12, when listened to from message server present application server processing server event when, read the server
Event;
S13, flow corresponded to according to the server event, turn engine thread by corresponding state machine flows, read caching
Flow data defined in state machine information, determine next mode of operation and handle the class of the server event;
S14, class by handling the server event thread, handle the server event and obtain result;
S15, result is generated into server event and sent to message server, and updated the data in the server of storehouse
Database data.
Wherein, above-mentioned steps S2, shown in reference picture 1C, following step is specifically included:
S11 ', when receive application server return trading processing result when, according to the distribution of the result arrange
Table, update the data of each client view model corresponding with the result in Distribution List described in local cache;
The view model is client to needing the mirror image that the form of real-time refreshing is registered in connection server in advance;
S12 ', the content of pages currently shown according to the client, judge whether need by the data-pushing of renewal to
The client;
S13 ', when needed, the mark of the view model and the data of corresponding renewal of data renewal will occur
Be pushed to client, so as to client according to the mark of view model update local corresponding to form.
In the flow implementation method of bill business provided in an embodiment of the present invention, application server enters to bill business flow
Row processing, obtains result and is sent to message server, connection server receives application service from message server
During the trading processing result that device returns, the data of caching are updated, and real time propelling movement gives corresponding client wherein to apply
Server, on the one hand, when application server is handled flow, in advance by state machine corresponding to operation flow under all kinds of transaction
Information cache, when from message server reading service device event, turn engine thread, the definition of reading state machine by state machine flows
Flow data, determine next mode of operation and handle the class of the server event, then by handling the class of the server event
Thread, handle the event and obtain result, result is issued into message server by new server event, and more
New database, in whole processing procedure, state machine is make use of, realize the quickly and accurately circulation of operation flow, also, will
The mode that state machine caches in advance, it is easy to quickly read, improves the speed of response, and by the class of processing business logic and place
The class (state machine flows, which are quoted, holds up) for managing state machine separates, independently execute server event handling task and execution state machine flows
Turn task, further optimize the speed of processing.
On the other hand, connection server realizes the real-time refreshing of client-side transaction data, view mould using view model
Type is the mirror image that client registers the form for needing to refresh in real time in connection server in advance, when occur transaction data more
It is always consistent with the list data of the display of client when new, ensure the accuracy of table content real-time update, in necessity
When can respond rapidly to form refreshing demand;The content of pages currently shown according to client, if the content of renewal is being worked as
In data corresponding to the preceding display page, then judge the mark of the data of renewal and view model issuing client, avoid visitor
Unnecessary between family end and server to interact, intelligently by the data real time propelling movement of user's care to client, client is not
Any transaction data is stored, the data that user is concerned about only is shown, reduces the EMS memory occupation to client.
In embodiments of the present invention, bill business system can realize the bill business of polymorphic type, for example, buy out, outright sale,
Positive repurchase, reverse back purchase etc..Every kind of bill business type all has unique protocol number, below every kind of type of transaction, wraps again
Include multi-exchange flow, every kind of flow all corresponds to a state machine, the state machine record information of related procedure circulation.
With reference to the example shown in table 1 below, the state machine for being identified as 32 is described as that " TEST Process ", are identified as 21
Being described as of state machine " ticket Process ", corresponds to different flows respectively.
Table 1
In one embodiment, state machine information includes a variety of, such as including:Mark, status indicator, the state of state machine
Operations/events, the title of the mark of next state and next state corresponding to title, current state and handle the event
Class.
With reference to the example shown in table 2 below, it is identified as in 32 state machine and have recorded multiple workflow information.
Table 2
In one embodiment, in above-mentioned steps S11, application server can on startup, by business under all kinds of transaction
State machine information is buffered in internal memory corresponding to flow, and when closed, deletes state machine information, releasing memory.
In one embodiment, in above-mentioned steps S12, the publisher of the message in message server is probably Connection Service
Device, either certificate server in other application server or bill business system etc., when present application server have subscribed
During this kind of message, the server event cached in message server is monitored, needs to locate with regard to present application server can be read
The server event of reason.
Correspondingly, as shown in Fig. 2 corresponding to flow according to the server event in above-mentioned steps S13, corresponding state is passed through
Machine circulation engine thread, reads the flow data defined in the state machine information of caching, determines that next mode of operation and processing should
The step of class of server event, it can be realized by following step S21-S23:
S21, Transaction Information and procedure information are parsed from server event;
Which class transaction is contained in server event is, and is which class flow under which class transaction.
S22, from each state machine information cached, determine state machine information corresponding to the flow under the transaction;
S23, turn engine thread by corresponding state machine flows, state machine information is inquired about, according to the stream under the transaction
Operations/events corresponding to the current state of journey, current state, obtain the mark of next state and handle the class of the event.
For example, according to table 2, when current state name is replied to wait, and operations/events are when determining, to inquire about state
Machine information is known that the entitled completion of next state, and the class of the alignment processing event is OKHandler.
The generation of state machine is referred to prior art corresponding to each flow, and the embodiment of the present invention will not be repeated here.
It is preferred that in above-mentioned steps S13, state machine flows turn engine thread, can quote from the state machine flows pre-actuated
Hold up in thread pool and call.
Similarly, in above-mentioned steps S14, the thread of the class of processing server event, can be used for from what is pre-actuated
Called in the thread pool of processing server event.
Application server on startup, except by corresponding to operation flow under all kinds of transaction state machine information caching in addition to,
It can also carry out following step i.e.:Start to quote for the thread pool and state machine flows of processing server event and hold up thread pool.
Comprising the multiple threads being pre-created in thread pool, when needing task to be processed to produce, can directly invoke pre-
The thread of completion is first created, it is possible to achieve multithreading performs simultaneously, substantially reduces the standby time of processor, and increase processing is single
The handling capacity of member.
Thread pool thread initialize predetermined number thread, subsequently further according to task amount number, dynamically increased
Add deduct few, increase or decrease every time can be fixed qty thread.
Thread pool is applied to that individual task processing time is shorter, but the big situation of task quantity of required processing, uses line
Cheng Chi benefit:1st, reduce in establishment and destroying threads the time spent in and thread (is pre-created by the expense of system resource
Out), if 2, without using thread pool, it is likely that cause a large amount of threads of system creation and cause to run out of Installed System Memory and
" excessively switching ".
Many server applications are all towards a large amount of short and small tasks of the processing from some remote sources.Building server should
It is with an excessively simple model of program:A new service object is created that whenever a request reaches, then new
Service object in for request service.But when there is a large amount of request Concurrencies to access, server constantly creates and destroyed object
Expense is very big.So a means for improving server efficiency are exactly to reduce the number for creating and destroying object as far as possible, especially
It is some the very Object Creation in cost source and destructions.
Thread pool is a kind of technology for being pre-created thread.Thread pool creates a fixed number before not having also task to arrive
The thread of amount, is put into idle queues.These threads are at sleep state, that is, are to start, do not consume CPU, and are
Take less memory headroom.After asking to arrive, buffer pool distributes an idle thread to current request, and request is incoming
Run, handled in this thread.When the thread being pre-created is all in running status, i.e., prefabricated thread is inadequate, and thread pool can
Freely to create a number of new thread, for handling more requests.When the systematic comparison spare time, shifting can also be passed through
Except a part is constantly in the thread of dead status.
Multithreading in thread pool is not The more the better, it is necessary to according to the hardware environment of system operation and using itself
The characteristics of determine thread pool size.If the task of processing is more, thread is likely to occur choking phenomenon when running, and can accordingly increase
The size in pond;Such as handle that task is less, can dynamically adjust the size of thread pool using adaptive algorithm if necessary, to improve
CPU effective rate of utilization and the overall performance of system.
In one embodiment, the flow implementation method of above-mentioned bill business provided in an embodiment of the present invention, in server
Between the type of message that transmits and during the type difference of application server inter-process event, read the clothes in above-mentioned steps S12
After device event of being engaged in, it is also necessary to perform following step:By the type of message between the server belonging to server event, it is converted into
The type of message of present application server processing;
Correspondingly, above-mentioned steps S15 results generation server event, is realized especially by following step:Will service
The result of event, it is packaged according to the type of message between the server, it is (different generates new server event
The server event read in step S12).
Further, the flow implementation method of above-mentioned bill business provided in an embodiment of the present invention, can also carry out following
Step:
When the thread of the class by handling the server event, when handling the server event success, the stream is updated
The state of journey is next state;
Transaction Information, the status information of flow and result are generated into server event and are sent to message server;
After being sent to message server, other servers that have subscribed this kind of server event will be from message server
The server event is further read, then further processing.
Otherwise, when the thread of the class by handling the server event, when handling the server event and occurring wrong, directly
The processing of binding Shu Suoshu flows, and control client in noticing.
, can be by way of manual intervention, to being carried out in flow the reason for error after middle control client receives notice
Investigation.
Such as the flow that bill is negotiated a price, if once processing error, directly interrupts the execution of the flow, return the flow
To starting point, i.e., the client that notice is initiated to merchandise is initiated to merchandise again, simultaneously as locked the holding position of agreed-upon price flow is also released
Put.
In one embodiment, each view model needs the form that refreshes in real time corresponding with one.Need in real time
The form of refreshing includes:It is existing hold position, daily record of holding position, transaction dynamic etc. form, the change of a bill business state may
It is related to needing the form refreshed in real time in buyer, the multiple deal maker's current display interfaces of seller, the content of this kind of form, is not required to
Want user actively to click on to refresh, it becomes possible to which intelligence refreshes, and the change of displaying transaction in real time, allows users to intuitively, rapidly
Understand current exchange quotation.View model (MVC, Model-View-Controller) is client to needing real-time refreshing
The mirror image that form is registered in connection server in advance, that is to say, that the data content of view model remains and client
Real-time synchronization, as to whether need by the data trade of renewal be pushed to client displaying, then need according to active client
The page that is shown determines.
In above-described embodiment, the Distribution List of result can be sent to connection server by application server,
The mark of each client involved by transaction data is included in Distribution List.
Further, above-mentioned view model can log in client, establish and connect with connection server, and request of loading
Register during related pages, specifically, can be registered by following manner:
After client has logged in and is connected with connection server, when the view model registration for receiving client transmission please
It is the newly-built corresponding view model of the client when asking;The view model corresponds to the page of the client request loading
The middle form for needing to refresh in real time;
After client logs in, establish and be connected with connection server, now, when client request loads certain page, and be somebody's turn to do
Have on the page it is default client can send view model registration request to connection server when needing the form refreshed in real time,
Connection server establishes the view model needed with these corresponding to the form that refreshes in real time for the client accordingly.
Further, after client logs in and is connected with connection server, connection server can also be client
Distribution session (session) model object corresponding with the client, Conversation Model object record have the mark of client, client
The mark of socket connections between end and connection server;
So, as shown in figure 3, in connection server, comprising multiple Conversation Model objects, each Conversation Model object
Corresponding with a client, Conversation Model object is used for the view model for managing each client.
Above-mentioned connection server is that the client is established and needs view model corresponding to the form that refreshes in real time with these,
It can specifically be embodied as:The newly-built corresponding view model in Conversation Model object corresponding to client.
Further, in above-mentioned steps S11 ', each client and the place in Distribution List are updated in local cache
The step of managing the data of view model corresponding to result, as shown in figure 4, can specifically be embodied as:
S41, the data for updating the mark of the view model involved by the result and correspondence, are sent to described
The Conversation Model object of client;
S42, the result is sent to by corresponding view model by the Conversation Model object, by the view
Model modification its data.
In one embodiment, the flow implementation method of above-mentioned bill business provided in an embodiment of the present invention, such as Fig. 5 institutes
Show, can also carry out following step:
When S51, the page load request sent when the first time for receiving client, it is determined that needing the list data sent
Bar number n, and n bar list datas are sent as current display data;
S52, the first data and the last item data are recorded in the current display page respectively in the complete of the form
Portion's Data Position is as upper vernier and lower vernier and preserves;
S53, when receive client table paging refresh requests when, since the first data behind the lower vernier
Order obtains n bar list datas backward, or order obtains forward n bars the last item data before the upper vernier
List data;
S54, the list data is sent to client;
The upper vernier and lower vernier that S55, renewal are preserved.
In the page that client is shown, every page all only shows n datas, in order to ensure the real time propelling movement of data, it is necessary to
It is that those data record to client current display page, once the data updated are located at what client was currently shown
In data, then need to refresh the data of client.
When receiving the table paging refresh requests of client, if the next page is translated into client selection, from described
The first data behind lower vernier starts order and obtains n bar list datas backward, if prevpage is translated into client selection,
Order obtains forward n bar list datas the last item data before the upper vernier.
Illustrated with an example, since the 1st data of the total data in view model, send 30 datas
In the case of to client, upper vernier can be designated as 1, marker downstream 30;When Connection Service end receives the refresh requests of client,
After sending next 30 data, then upper vernier is updated to 31, and lower vernier is updated to 60;If client now only has 15 datas
Transmittable, after sending 15 datas, then upper vernier is updated to 31, and lower vernier is updated to 45.
If the quantity of the total data in view model is less than or equal to n bar list datas, sent all to client
Data.
In embodiments of the present invention, the data of corresponding view model in result are updated, including:In view model
Increase data, delete data and change data;
Can cause the change of Data Entry in view model due to increasing and deleting, thus increase and delete data it
Afterwards, it is also necessary to for data that are increased in view model or deleting and the data after it, update its positional information.
Such as 1-100 datas are included in view model, it is original if increasing a data the 32nd article of this position
The 32nd data can become the 33rd data, the like, the last item data become the 101st data.
Further, above-mentioned steps S12 ' and S13 ', as shown in fig. 6, in the specific implementation, can be real by following step
It is existing:
The position of S61, the data that update of judgement in whole form, if positioned at the upper vernier recorded with
Between lower vernier;If so, perform S62;
S62, the client will be pushed to again from the n bars list data after upper vernier.
On the one hand, it is necessary in connection server view model, the data of real-time update are remained, on the other hand, this
The data of sample it is not absolutely required to real time propelling movement to client, and only the data of renewal in need are located between upstream mark and lower vernier
When, the data-pushing after renewal can just be pass by, reduce between client and server it is unnecessary interact, intelligently will
The data real time propelling movement that user is concerned about does not store any transaction data to client, client, only shows the data that user is concerned about,
Reduce the EMS memory occupation to client.
In one simply example, after the completion of application server processes transaction, number is added behind data 1 and data 2
According to 3, and by the Event Package, after being sent to message server, connection server reads the event, as shown in fig. 7, Connection Service
After device receives the event, the Conversation Model object of all users in Distribution List is sent it to, Conversation Model object is sent
To corresponding view model object, the view model object handles of the event events is received, the data of view model are entered
Row renewal, when customer end B checks the data of corresponding renewal, to client such as customer end B propelling data 1-3.
Based on same inventive concept, the embodiment of the present invention additionally provides the flow implementation method and correlation of a kind of bill business
System, by the system solves that the principle of problem is similar to the flow implementation method of foregoing bill business, therefore the system
Implementation may refer to the implementation of preceding method, repeats part and repeats no more.
A kind of flow of bill business provided in an embodiment of the present invention realizes system, as shown in Figure 8 A, including:
Application server 81, for handling bill business flow, obtain result and be sent to messenger service
Device;
Connection server 82, for received from message server application server return trading processing result when,
The data of caching are updated, and real time propelling movement gives corresponding client;
Message server 83, for the message between storage and forwarding server;Wherein:
Application server 81, as shown in Figure 8 B, including:
Cache module 8101, on startup, state machine information corresponding to operation flow under all kinds of transaction to be cached;
Message read module 8102, for when the server thing that present application server processing is listened to from message server
During part, the server event is read;
State circulation module 8103, for corresponding to flow according to the server event, is quoted by corresponding state machine flows
Thread is held up, reads the flow data defined in the state machine information of caching, next mode of operation is determined and handles the server thing
The class of part;
Event processing module 8104, for the thread of the class by handling the server event, handle the server thing
Part obtains result;
Generation module 8105, for result to be generated into server event;
Sending module 8106, the server event for the generation module 8105 to be generated are sent to message server;
Data update module 8107, for according to the result, updating the data the database data in the server of storehouse.
Connection server 82, shown in reference picture 8C, including:
Update module 8201, for when receive application server return trading processing result when, according to the processing
As a result Distribution List, each client view corresponding with the result in Distribution List described in renewal local cache
The data of model;The view model is client to needing the mirror that the form of real-time refreshing is registered in connection server in advance
Picture;
Judge module 8202, for the content of pages currently shown according to the client, judge whether to need to update
Data-pushing give the client;
Pushing module 8203, for when the judge module judges to need, the view mould of data renewal will occur
The mark of type and the data-pushing of corresponding renewal are to client, so that client updates according to the mark of the view model
Form corresponding to local.
In one embodiment, above-mentioned state machine information includes:
The mark of state machine, status indicator, Status Name, operations/events, the mark of next state corresponding to current state
Know with the title of next state and handle the class of the event.
In one embodiment, above-mentioned state circulation module 8103, shown in reference picture 9, including:
Analyzing sub-module 81031, for parsing Transaction Information and procedure information from the server event;
Determination sub-module 81032, for from the state machine information cached, determining that the flow is corresponding under the transaction
State machine information;
Submodule 81033 is inquired about, for turning engine thread by corresponding state machine flows, inquires about the state machine information,
According to operations/events corresponding to the current state of the flow under the transaction, current state, obtain next state mark and
Handle the class of the event.
In one embodiment, above-mentioned application server, shown in reference picture 8B, in addition to:Modular converter 8108, for
After message read module reads the server event, by the type of message between the server belonging to the server event,
The type of message of conversion cost application server processes;And the result for obtaining the event processing module, according to institute
The type of message stated between server is packaged, and generates server event.
In one embodiment, above-mentioned application server, shown in reference picture 8B, in addition to:Thread pool starting module 8109;
Thread pool starting module 8109 is used on startup, thread pool and shape for processing server event be respectively started
State machine circulation engine thread pond;The thread pool and state machine flows of the processing server event, which are quoted, to be held up in thread pool comprising default
Multiple threads to be called of quantity;
The state machine flows turn the thread of engine thread and the class for handling the server event respectively from the service
The thread pool and state machine flows of device event, which are quoted to hold up in thread pool, to be called.
In one embodiment, shown in reference picture 8B, above-mentioned application server, in addition to:The He of state update module 8110
Exception processing module 8111;Wherein:
Above-mentioned state update module 8110, for working as by the thread for the class for handling the server event, handle the clothes
When device event of being engaged in is successful, the state for updating the flow is next state;
Above-mentioned generation module 8105, it is additionally operable to Transaction Information, the status information of flow and result generating server
Event;
Above-mentioned exception processing module 8111, for the thread of the class by handling the server event, handle the service
When device event occurs wrong, terminate the processing of the flow, and client is controlled in noticing.
As shown in Figure 8 C, above-mentioned connection server 82, in addition to:
View Registering modules 8204, for after client has logged in and is connected with connection server, when receiving client
It is the newly-built corresponding view model of the client when holding the view model registration request sent;The view model corresponds to institute
State the form for needing to refresh in real time in the page of client request loading;The view model registration request, by client request
Triggered in the page of loading comprising the page for needing to refresh form in real time.
As shown in Figure 8 C, above-mentioned connection server 82, in addition to:Conversation Model establishes module 8205, in client
After having logged in and being connected with connection server, for Conversation Model object corresponding to client distribution;The Conversation Model object note
Record the mark of socket connections between the mark, client and connection server that have client;
Correspondingly, above-mentioned view Registering modules 8204, it is additionally operable to new in model object of being replied corresponding to the client
Build corresponding view model.
In one embodiment, above-mentioned update module 8201, as shown in Figure 10, including:
Sending submodule 82011, for the mark of the view model involved by the result and correspondence to be updated
Data, be sent to the Conversation Model object of the client;
Submodule 82012 is updated, for the result to be sent into corresponding regard by the Conversation Model object
Graph model, its data is updated by the view model.
In one embodiment, as shown in Figure 8 C, above-mentioned connection server 82, in addition to:
Pagination Display synchronization module 8206, for when receive client first time send the page load request when, really
The bar number n of list data sent is needed calmly, and sends n bar list datas as current display data;When reception client
During table paging refresh requests, order obtains n bar list datas backward the first data behind the lower vernier, or
Order obtains forward n bar list datas the last item data of the person before the upper vernier;The list data is sent out
Give client;
Vernier logging modle 8207, it is described current aobvious in Pagination Display synchronization module display data, recording respectively
Show in the page the first data and the last item data the total data position of the form as upper vernier and lower vernier simultaneously
Preserve;And when receiving the table paging refresh requests of client, update the upper vernier preserved and lower vernier.
In one embodiment, above-mentioned update module 8201, specifically for when increase data and deletion in view model
After data, for data that are increased in view model or deleting and the data after it, its positional information is updated.
In one embodiment, above-mentioned judge module 8202, specifically for judging the data that update in whole form
In position, if between the upper vernier and lower vernier;
Correspondingly, above-mentioned pushing module 8203, specifically for when judge module 8202 is judged as YES, if so, will be from upper
N bars list data after vernier is pushed to the client again.
In the flow implementation method and related system of bill business provided in an embodiment of the present invention, application server is to bill
Transaction flow is handled, and is obtained result and is sent to message server, connection server receives from message server
During the trading processing result returned to application server, the data of caching are updated, and real time propelling movement gives corresponding client
End wherein application server, on the one hand, when application server is handled flow, in advance by operation flow pair under all kinds of transaction
The state machine information caching answered, when from message server reading service device event, turns engine thread by state machine flows, reads
The flow data that state machine defines, determine next mode of operation and handle the class of the server event, then by handling the service
The thread of the class of device event, handle the event and obtain result, result is issued into message by new server event
Server, and update the data storehouse, on the one hand, in whole processing procedure, state machine is make use of, realizes the accurate of operation flow
Quickly circulation, also, the mode that state machine is cached in advance, are easy to quickly read, improve the speed of response, the opposing party
Face, the class (state machine flows, which are quoted, holds up) of the class of processing business logic and processing state machine is separated, independently execute server
Event handling task and execution state machine circulation task, further optimize the speed of processing.
On the other hand, connection server realizes the real-time refreshing of client-side transaction data, view mould using view model
Type is the mirror image that client registers the form for needing to refresh in real time in connection server in advance, when occur transaction data more
It is always consistent with the list data of the display of client when new, ensure the accuracy of table content real-time update, in necessity
When can respond rapidly to form refreshing demand;The content of pages currently shown according to client, if the content of renewal is being worked as
In data corresponding to the preceding display page, then judge the mark of the data of renewal and view model issuing client, avoid visitor
Unnecessary between family end and server to interact, intelligently by the data real time propelling movement of user's care to client, client is not
Any transaction data is stored, the data that user is concerned about only is shown, reduces the EMS memory occupation to client.
Further, in the flow implementation method of above-mentioned bill business provided in an embodiment of the present invention and related system, place
Thread used in the class of service logic and the class of processing state machine is managed from the thread pool and shape of default processing server event
State machine circulation engine thread is called in pond, using the mode of thread pool, comprising the multiple threads being pre-created in thread pool, when need
When task to be processed produces, the thread for having created completion in advance can be directly invoked, it is possible to achieve multithreading performs simultaneously, shows
The standby time for reducing processor is write, increases the handling capacity of processing unit, particularly with the very big bill business of trading volume
For system, by way of thread pool, it can further increase lifting application server processes ability, and effectively save processor
Resource.
Further, should in the flow implementation method of above-mentioned bill business provided in an embodiment of the present invention and related system
With the event of server process from message server come, still transfer to message server after the completion of processing, Servers-all it
Between event (message) by message server transfer, for the mode of cluster server, using messenger service
The mode of device transfer, it can to have each other no longer man-to-man direct interaction between two interactive servers, reduce clothes
It is engaged in the time that device waits other side to respond so that the related service that server can handle book server with pooling of resources and should handle be patrolled
Collect, improve the efficiency of business processing.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (13)
- A kind of 1. flow implementation method of bill business, it is characterised in that including:Step 1: application server is handled bill business flow, obtain result and be sent to message server;Step 2: when connection server receives the trading processing result of application server return from message server, to slow The data deposited are updated, and real time propelling movement gives corresponding client;Wherein:The step 1, including:On startup, state machine information corresponding to operation flow under all kinds of transaction is cached;When being listened to from message server During the server event of present application server processing, the server event is read;Flow is corresponded to according to the server event, passed through Corresponding state machine flows turn engine thread, read the flow data defined in the state machine information of caching, determine next operation shape State and the class for handling the server event;By the thread for the class for handling the server event, handle the server event and obtain To result;Result is generated into server event and sent to message server, and is updated the data in the server of storehouse Database data;The step 2, including:When receiving the trading processing result of application server return, according to the result Distribution List, each client view model corresponding with the result in Distribution List described in renewal local cache Data;The view model is client to needing the mirror image that the form of real-time refreshing is registered in connection server in advance;Root The content of pages currently shown according to the client, judge whether to need the data-pushing of renewal to the client;When need When wanting, by occur data renewal the mark of the view model and the data-pushing of corresponding renewal to client, so as to Client form according to corresponding to the mark of the view model updates local.
- 2. the method as described in claim 1, it is characterised in that the state machine information includes:The mark of state machine, status indicator, Status Name, operations/events corresponding to current state, the mark of next state and The title of next state and the class for handling the event.
- 3. method as claimed in claim 2, it is characterised in that it is described that flow is corresponded to according to the server event, pass through correspondingly State machine flows turn engine thread, read the flow data defined in the state machine information of caching, determine next mode of operation and The class of the server event is handled, including:Transaction Information and procedure information are parsed from the server event;From the state machine information cached, state machine information corresponding to the flow under the transaction is determined;Turn engine thread by corresponding state machine flows, inquire about the state machine information, according to the flow under the transaction Operations/events corresponding to current state, current state, obtain the mark of next state and handle the class of the event.
- 4. the method as described in claim 1, it is characterised in that after described reading server event, in addition to:By described in The type of message between server belonging to server event, the type of message of conversion cost application server processes;The result generates server event, including:By the result, it is packaged according to the type of message between the server, generates server event.
- 5. the method as described in claim 1, it is characterised in that methods described also includes:On startup, it is respectively started to quote for the thread pool and state machine flows of processing server event and holds up thread pool;The place The thread pool and state machine flows for managing server event quote the multiple threads to be called held up and predetermined number is included in thread pool;The state machine flows turn the thread of engine thread and the class for handling the server event respectively from the server thing The thread pool and state machine flows of part, which are quoted to hold up in thread pool, to be called.
- 6. the method as described in claim 1, it is characterised in that methods described also includes:When the thread of the class by handling the server event, when handling the server event success, the flow is updated State is next state;Transaction Information, the status information of flow and result are generated into server event and are sent to message server;Otherwise, terminate the processing of the flow, and client is controlled in noticing.
- 7. the method as described in claim 1, it is characterised in that the view model is registered by following manner:After client has logged in and is connected with connection server, when the view model registration request for receiving client transmission When, it is the newly-built corresponding view model of the client;The view model is corresponded in the page of the client request loading Need the form refreshed in real time;The view model registration request, by being touched in the page of client request loading comprising the page for needing to refresh form in real time Hair.
- 8. method as claimed in claim 7, it is characterised in that after client has logged in and is connected with connection server, also Including:For Conversation Model object corresponding to client distribution;The Conversation Model object record has the mark of client, client The mark that socket is connected between connection server;When receiving the view model registration request of client transmission, it is the newly-built corresponding view model of the client, has Body includes:The newly-built corresponding view model in Conversation Model object corresponding to the client.
- 9. method as claimed in claim 8, it is characterised in that each client in Distribution List described in renewal local cache The data of view model corresponding with the result, including:By the mark of the view model involved by the result and the data of corresponding renewal, the client is sent to Conversation Model object;The result is sent to by corresponding view model by the Conversation Model object, updated by the view model Its data.
- 10. the method as described in claim 1, it is characterised in that methods described also includes:When receiving the page load request of first time transmission of client, it is determined that the bar number n of list data sent is needed, and N bar list datas are sent as current display data;The first data and last are recorded in the current display page respectively The position of data in the table is as upper vernier and lower vernier and preserves;Order is backward when receiving the table paging refresh requests of client, the first data behind the lower vernier Obtain n bar list datas, or order obtains forward n bar form numbers the last item data before the upper vernier According to;The list data is sent to client;Update the upper vernier preserved and lower vernier.
- 11. the method as described in claim any one of 7-10, it is characterised in that corresponding view model in renewal result Data, including:Increase data in view model, delete data and modification data;After increasing data in view model and deleting data, in addition to:For number that is increased in view model or deleting Data according to this and its afterwards, update its positional information.
- 12. method as claimed in claim 10, it is characterised in that the content of pages currently shown according to the client, sentence It is disconnected whether to need the data-pushing of renewal to the client, when needed, by the data-pushing of renewal to client, bag Include:Judge the position of the data that update in whole form, if positioned at the upper vernier and lower vernier recorded it Between;If so, the client will be pushed to again from the n bars list data after upper vernier.
- 13. a kind of flow of bill business realizes system, it is characterised in that including:Application server, for handling bill business flow, obtain result and be sent to message server;Connection server, for received from message server application server return trading processing result when, to caching Data be updated, and real time propelling movement gives corresponding client;Message server, for the message between storage and forwarding server;Wherein:The application server, including:Cache module, on startup, state machine information corresponding to operation flow under all kinds of transaction to be cached;Message read module, for when listening to the server event of present application server processing from message server, reading Take the server event;State circulation module, for corresponding to flow according to the server event, turns engine thread by corresponding state machine flows, reads The flow data defined in the state machine information of caching is taken, next mode of operation is determined and handles the class of the server event;Event processing module, for the thread of the class by handling the server event, handle the server event and obtain everywhere Manage result;Generation module, for result to be generated into server event;Sending module, the server event for the generation module to be generated are sent to message server;Data update module, for according to the result, updating the data the database data in the server of storehouse;The connection server, including:Update module, for when receive application server return trading processing result when, according to the result point List is sent out, updates the number of each client view model corresponding with the result in Distribution List described in local cache According to;The view model is client to needing the mirror image that the form of real-time refreshing is registered in connection server in advance;Judge module, for the content of pages currently shown according to the client, judge whether to need to push away the data of renewal Give the client;Pushing module, for when the judge module judges to need, the mark of the view model of data renewal will to occur And the data-pushing of corresponding renewal locally corresponds to client so that client updates according to the mark of the view model Form.
Applications Claiming Priority (10)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610591965 | 2016-07-25 | ||
CN2016105919651 | 2016-07-25 | ||
CN2016106072619 | 2016-07-28 | ||
CN201610607261.9A CN106326016A (en) | 2016-07-28 | 2016-07-28 | Multi-thread event dispatching method and system |
CN201610606530.XA CN106227584A (en) | 2016-07-28 | 2016-07-28 | A kind of event-driven method based on state machine and system |
CN201610606530X | 2016-07-28 | ||
CN201610803509 | 2016-09-06 | ||
CN2016108035099 | 2016-09-06 | ||
CN201610841085 | 2016-09-22 | ||
CN2016108410855 | 2016-09-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107656818A true CN107656818A (en) | 2018-02-02 |
Family
ID=61126735
Family Applications (31)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611220307.8A Pending CN107656824A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611219329.2A Withdrawn CN107657420A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611220312.9A Withdrawn CN107656781A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611219323.5A Withdrawn CN107656777A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611220337.9A Pending CN107657532A (en) | 2016-07-25 | 2016-12-26 | The processing method and system of a kind of operation flow |
CN201611218394.3A Pending CN107656819A (en) | 2016-07-25 | 2016-12-26 | The processing method and related system of a kind of operation flow |
CN201611220354.2A Withdrawn CN107659549A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611218388.8A Pending CN107659547A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611220361.2A Withdrawn CN107656784A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611218372.7A Withdrawn CN107659605A (en) | 2016-07-25 | 2016-12-26 | The flow implementation method and related system of a kind of bill business |
CN201611219367.8A Pending CN107656823A (en) | 2016-07-25 | 2016-12-26 | The processing method and related system of a kind of operation flow |
CN201611220292.5A Withdrawn CN107657501A (en) | 2016-07-25 | 2016-12-26 | The method and relevant apparatus and server of a kind of data real-time update |
CN201611220330.7A Withdrawn CN107657531A (en) | 2016-07-25 | 2016-12-26 | The processing method and system of a kind of operation flow |
CN201611219325.4A Withdrawn CN107656778A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611219331.XA Withdrawn CN107656779A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and related system based on event |
CN201611220338.3A Withdrawn CN107656783A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611219350.2A Withdrawn CN107656780A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611218386.9A Pending CN107656818A (en) | 2016-07-25 | 2016-12-26 | The flow implementation method and related system of a kind of bill business |
CN201611218389.2A Withdrawn CN107657530A (en) | 2016-07-25 | 2016-12-26 | The processing method and system of a kind of operation flow |
CN201611219280.0A Withdrawn CN107657419A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611219359.3A Pending CN107656822A (en) | 2016-07-25 | 2016-12-26 | The processing method and related system of a kind of operation flow |
CN201611218373.1A Withdrawn CN107657517A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and relevant apparatus and server based on event |
CN201611219300.4A Pending CN107656820A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611218380.1A Withdrawn CN107656808A (en) | 2016-07-25 | 2016-12-26 | The flow implementation method and related system of a kind of bill business |
CN201611220324.1A Withdrawn CN107659548A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and client based on event |
CN201611220334.5A Withdrawn CN107656782A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611218383.5A Pending CN107656801A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611218348.3A Pending CN107659546A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611220322.2A Withdrawn CN107656809A (en) | 2016-07-25 | 2016-12-26 | The flow implementation method and related system of a kind of bill business |
CN201611219315.0A Pending CN107656821A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611220358.0A Withdrawn CN107657518A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and relevant apparatus and server based on event |
Family Applications Before (17)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611220307.8A Pending CN107656824A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611219329.2A Withdrawn CN107657420A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611220312.9A Withdrawn CN107656781A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611219323.5A Withdrawn CN107656777A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611220337.9A Pending CN107657532A (en) | 2016-07-25 | 2016-12-26 | The processing method and system of a kind of operation flow |
CN201611218394.3A Pending CN107656819A (en) | 2016-07-25 | 2016-12-26 | The processing method and related system of a kind of operation flow |
CN201611220354.2A Withdrawn CN107659549A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611218388.8A Pending CN107659547A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611220361.2A Withdrawn CN107656784A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611218372.7A Withdrawn CN107659605A (en) | 2016-07-25 | 2016-12-26 | The flow implementation method and related system of a kind of bill business |
CN201611219367.8A Pending CN107656823A (en) | 2016-07-25 | 2016-12-26 | The processing method and related system of a kind of operation flow |
CN201611220292.5A Withdrawn CN107657501A (en) | 2016-07-25 | 2016-12-26 | The method and relevant apparatus and server of a kind of data real-time update |
CN201611220330.7A Withdrawn CN107657531A (en) | 2016-07-25 | 2016-12-26 | The processing method and system of a kind of operation flow |
CN201611219325.4A Withdrawn CN107656778A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611219331.XA Withdrawn CN107656779A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and related system based on event |
CN201611220338.3A Withdrawn CN107656783A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611219350.2A Withdrawn CN107656780A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
Family Applications After (13)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611218389.2A Withdrawn CN107657530A (en) | 2016-07-25 | 2016-12-26 | The processing method and system of a kind of operation flow |
CN201611219280.0A Withdrawn CN107657419A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611219359.3A Pending CN107656822A (en) | 2016-07-25 | 2016-12-26 | The processing method and related system of a kind of operation flow |
CN201611218373.1A Withdrawn CN107657517A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and relevant apparatus and server based on event |
CN201611219300.4A Pending CN107656820A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611218380.1A Withdrawn CN107656808A (en) | 2016-07-25 | 2016-12-26 | The flow implementation method and related system of a kind of bill business |
CN201611220324.1A Withdrawn CN107659548A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and client based on event |
CN201611220334.5A Withdrawn CN107656782A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611218383.5A Pending CN107656801A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and system based on event |
CN201611218348.3A Pending CN107659546A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and device and server based on event |
CN201611220322.2A Withdrawn CN107656809A (en) | 2016-07-25 | 2016-12-26 | The flow implementation method and related system of a kind of bill business |
CN201611219315.0A Pending CN107656821A (en) | 2016-07-25 | 2016-12-26 | The processing method and relevant apparatus and server of a kind of operation flow |
CN201611220358.0A Withdrawn CN107657518A (en) | 2016-07-25 | 2016-12-26 | A kind of flow path processing method and relevant apparatus and server based on event |
Country Status (1)
Country | Link |
---|---|
CN (31) | CN107656824A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111880611A (en) * | 2020-06-19 | 2020-11-03 | 深圳宏芯宇电子股份有限公司 | Server for fast transaction and fast transaction data processing method |
CN112131238A (en) * | 2020-09-30 | 2020-12-25 | 江苏苏宁银行股份有限公司 | Transaction state machine design method, processing device and processing method |
Families Citing this family (61)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107122239A (en) * | 2017-04-28 | 2017-09-01 | 武汉票据交易中心有限公司 | A kind of multithreading event distributing method and system |
CN108595530A (en) * | 2018-03-30 | 2018-09-28 | 武汉楚鼎信息技术有限公司 | A kind of method and system device of background process and storage user message |
CN108519903A (en) * | 2018-04-09 | 2018-09-11 | 平安普惠企业管理有限公司 | Static resource adaptation method, device, computer equipment and storage medium |
CN108616597B (en) * | 2018-05-09 | 2021-06-15 | 四川华创世纪科技有限公司 | Distributed operation method for realizing service uninterrupted forever |
CN109032723A (en) * | 2018-06-28 | 2018-12-18 | 北京潘达互娱科技有限公司 | A kind of interface jump method, device and equipment |
CN109104297B (en) * | 2018-07-09 | 2022-01-21 | 中国银行股份有限公司 | Business process processing method and device |
CN109165994A (en) * | 2018-07-17 | 2019-01-08 | 北京知果科技有限公司 | A kind of information-pushing method and server |
CN109213495A (en) * | 2018-08-23 | 2019-01-15 | 郑州云海信息技术有限公司 | A kind of read method and device of data |
CN109144701A (en) * | 2018-09-05 | 2019-01-04 | 郑州云海信息技术有限公司 | A kind of task flow management method, device, equipment and system |
CN109376054B (en) * | 2018-09-25 | 2023-02-28 | 广州虎牙信息科技有限公司 | Data distribution method and device, terminal equipment and storage medium |
CN110968586B (en) * | 2018-09-30 | 2023-08-25 | 北京国双科技有限公司 | Distributed transaction processing method and device |
CN109542592A (en) * | 2018-11-22 | 2019-03-29 | 深圳墨世科技有限公司 | Event-handling method and device |
CN109669791A (en) * | 2018-12-22 | 2019-04-23 | 网宿科技股份有限公司 | Exchange method, server and computer readable storage medium |
CN109729410B (en) * | 2018-12-29 | 2022-03-04 | 北京字节跳动网络技术有限公司 | Live broadcast room interactive event processing method, device, equipment and storage medium |
CN109889373B (en) * | 2019-01-22 | 2022-06-21 | 视联动力信息技术股份有限公司 | Method, device and system for transmitting alarm information |
CN110009283B (en) * | 2019-04-03 | 2021-09-07 | 北京思特奇信息技术股份有限公司 | E-commerce logistics tracking method and system for service products |
CN110099111A (en) * | 2019-04-26 | 2019-08-06 | 深圳智链物联科技有限公司 | A kind of display system and its display methods of PUSH message |
CN110267228B (en) * | 2019-06-13 | 2022-03-22 | 重庆邮电大学 | V2X vehicle-mounted terminal message adaptive scheduling management system and method |
CN110532088B (en) * | 2019-07-15 | 2022-09-23 | 金蝶汽车网络科技有限公司 | Connection processing method and device, computer equipment and storage medium |
CN110490600B (en) * | 2019-08-23 | 2022-04-26 | 中国联合网络通信集团有限公司 | Method, server and terminal for processing banking business |
CN110708356B (en) * | 2019-09-06 | 2024-01-05 | 国云科技股份有限公司 | Method and system for managing third party application by registry |
CN110597867B (en) * | 2019-09-09 | 2023-04-28 | 珠海格力电器股份有限公司 | Graphic data processing method and system |
CN110995781B (en) * | 2019-11-01 | 2022-01-11 | 腾讯科技(深圳)有限公司 | Praise information processing method, device and system |
JP7385436B2 (en) * | 2019-11-12 | 2023-11-22 | 株式会社野村総合研究所 | management system |
CN110855529B (en) * | 2019-11-26 | 2021-04-23 | 广东物壹信息科技股份有限公司 | Network information security monitoring method, device, server and readable storage medium |
CN111008069B (en) * | 2019-12-02 | 2023-12-15 | 浙江大搜车软件技术有限公司 | Service processing method, device, computer equipment and storage medium |
CN111158928B (en) * | 2019-12-18 | 2024-04-05 | 东软集团股份有限公司 | Distributed system and communication method |
CN111131425B (en) * | 2019-12-18 | 2022-08-30 | 东软集团股份有限公司 | Distributed system and communication method for distributed system |
CN111144982B (en) * | 2019-12-20 | 2022-02-11 | 网联清算有限公司 | Order state transition method and device, electronic equipment and storage medium |
CN111179081A (en) * | 2019-12-24 | 2020-05-19 | 中国建设银行股份有限公司 | Message processing method and processing device |
CN111210286A (en) * | 2019-12-26 | 2020-05-29 | 大象慧云信息技术有限公司 | Tax control server-based efficient invoice issuing method and system |
CN111210288A (en) * | 2019-12-26 | 2020-05-29 | 大象慧云信息技术有限公司 | Tax control server-based invoicing batch invoicing job optimized scheduling method and system |
CN111277626B (en) * | 2020-01-07 | 2023-08-22 | 平安科技(深圳)有限公司 | Server upgrading method and device, electronic equipment and medium |
CN111352674B (en) * | 2020-02-21 | 2023-07-07 | 中国平安财产保险股份有限公司 | List circulation method, server and computer readable storage medium |
CN111367694B (en) * | 2020-03-18 | 2024-01-26 | 北京奇艺世纪科技有限公司 | Event processing method, server and computer storage medium |
CN111581114B (en) * | 2020-06-04 | 2023-10-27 | 网易(杭州)网络有限公司 | Event processing method and device, storage medium, processor and electronic device |
CN111770171B (en) * | 2020-06-29 | 2023-05-02 | 浪潮通用软件有限公司 | Multi-page function session period state management method in micro-service mode |
CN112015393B (en) * | 2020-08-25 | 2024-05-03 | ***股份有限公司 | Service processing method and device |
CN112100187B (en) * | 2020-08-31 | 2024-01-26 | 武汉美和易思数字科技有限公司 | Student learning data storage method and device based on VueJS |
CN112702270B (en) * | 2020-12-18 | 2023-05-02 | 深圳赛安特技术服务有限公司 | Node calling method, system and storage medium based on event distribution mechanism |
CN114760530B (en) * | 2020-12-25 | 2023-08-01 | 深圳Tcl新技术有限公司 | Event processing method, event processing device, television and computer readable storage medium |
CN112559535B (en) * | 2020-12-28 | 2023-08-22 | 平安银行股份有限公司 | Multithreading-based asynchronous task processing method, device, equipment and medium |
CN112667527A (en) * | 2021-01-15 | 2021-04-16 | 北京云上曲率科技有限公司 | Method for ensuring data acquisition accuracy of client and client |
CN112700310B (en) * | 2021-01-19 | 2021-09-07 | 汇通数科智能科技有限公司 | Transaction order data optimization processing method based on E-commerce platform |
CN112860454B (en) * | 2021-02-05 | 2024-04-19 | 百果园技术(新加坡)有限公司 | Service processing system and method |
CN112860460B (en) * | 2021-02-23 | 2022-01-04 | 创盛视联数码科技(北京)有限公司 | Event distribution method and system for real-time classroom |
CN112766935B (en) * | 2021-02-24 | 2024-03-01 | 中国工商银行股份有限公司 | Method, device, computing equipment and medium for processing bill business |
CN112988813A (en) * | 2021-03-16 | 2021-06-18 | 武汉卓宇诚科技有限公司 | Agricultural product information tracing method |
CN113031992B (en) * | 2021-04-27 | 2023-04-07 | 中国平安人寿保险股份有限公司 | Annoy hot update method, device, equipment and medium |
CN113204442B (en) * | 2021-05-31 | 2023-11-24 | 成都安恒信息技术有限公司 | MVVM mode-based javascript library system for operating IndexdDB |
CN113742807B (en) * | 2021-09-07 | 2024-05-14 | 广联达科技股份有限公司 | Interactive processing method and device and electronic equipment |
CN113761006A (en) * | 2021-09-10 | 2021-12-07 | 南京星邺汇捷网络科技有限公司 | Event time sequence guaranteeing method based on multiple queues |
CN114039981B (en) * | 2021-11-11 | 2024-04-02 | 中国建设银行股份有限公司 | Message processing method, device, server and storage medium |
CN113821279A (en) * | 2021-11-24 | 2021-12-21 | 深圳市永联科技股份有限公司 | State transition method and device and embedded equipment |
CN114357029B (en) * | 2022-01-04 | 2022-09-02 | 工银瑞信基金管理有限公司 | Method, device, equipment and medium for processing service data |
CN114385267B (en) * | 2022-01-13 | 2024-06-18 | 平安壹钱包电子商务有限公司 | Data pushing method for cash transaction service |
CN114615318B (en) * | 2022-01-24 | 2023-04-28 | 阿里云计算有限公司 | Data processing method and device |
CN115225633B (en) * | 2022-06-24 | 2024-04-12 | 浪潮软件集团有限公司 | State machine state transition method and system based on opposite-end network signal |
CN115309536B (en) * | 2022-10-12 | 2023-01-24 | 青岛民航凯亚***集成有限公司 | Data consistency method in high-concurrency lottery transaction scene |
CN116841772B (en) * | 2023-08-30 | 2023-11-07 | 成都中科合迅科技有限公司 | Cross-thread signal processing method and system based on event queue |
CN117215755B (en) * | 2023-11-07 | 2024-02-06 | 西安博达软件股份有限公司 | Appointment event task scheduling method and system based on time round algorithm |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201753A (en) * | 2007-12-13 | 2008-06-18 | 浪潮通信信息***有限公司 | Method for configuring and managing multimode machine supervising engine |
CN102255867A (en) * | 2010-05-18 | 2011-11-23 | 华为技术有限公司 | Service request processing method, device and system |
CN102291416A (en) * | 2011-09-14 | 2011-12-21 | 成都软智科技有限公司 | Two-way synchronizing method and system of client-side and server-side |
CN102843389A (en) * | 2011-06-21 | 2012-12-26 | 国承斌 | WEB system and method based on event driven |
CN102904887A (en) * | 2012-09-26 | 2013-01-30 | 东软集团股份有限公司 | Method and system for data synchronization of Web client and server |
CN104820701A (en) * | 2015-05-11 | 2015-08-05 | 北京瑞星信息技术有限公司 | Method and system for recording and synchronizing data |
Family Cites Families (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7441240B2 (en) * | 2003-01-07 | 2008-10-21 | Matsushita Electric Industrial Co., Ltd. | Process scheduling apparatus, process scheduling method, program for process scheduling, and storage medium recording a program for process scheduling |
CN1482566A (en) * | 2003-01-22 | 2004-03-17 | 余育新 | Distributed work-flow management platform |
CN1487446A (en) * | 2003-06-24 | 2004-04-07 | 深圳市华磊网络技术有限公司 | Method for the server and to supply user's interface for Internet explorer client end |
CN1983313B (en) * | 2006-04-07 | 2011-08-10 | 华为技术有限公司 | Workflow data processor and processing method |
CN101873334B (en) * | 2009-04-24 | 2013-01-02 | 同济大学 | State-driven executable service flow execution method |
CN101551745A (en) * | 2009-05-13 | 2009-10-07 | 山东中创软件工程股份有限公司 | Method for greatly improving performance of workflow engine |
CN101741850B (en) * | 2009-12-25 | 2012-05-30 | 北京邮电大学 | Multitask concurrent executive system and method for hybrid network service |
CN101957751B (en) * | 2010-06-04 | 2013-07-24 | 福建星网锐捷网络有限公司 | Method and device for realizing state machine |
CN102025650A (en) * | 2010-06-04 | 2011-04-20 | 西本新干线股份有限公司 | Message processing system and message processing method of enterprise service bus |
CN102340495B (en) * | 2010-07-26 | 2014-09-03 | ***通信集团广东有限公司 | Event center supporting cross-system service linkage and event processing method of event center |
CN102044089A (en) * | 2010-09-20 | 2011-05-04 | 董福田 | Method for carrying out self-adaption simplification, gradual transmission and rapid charting on three-dimensional model |
CN101982955B (en) * | 2010-11-19 | 2013-09-04 | 深圳华大基因科技有限公司 | High-performance file transmission system and method thereof |
CN102693434B (en) * | 2011-03-22 | 2015-01-28 | 中兴通讯股份有限公司 | Communication apparatus and method for interface layer of radio frequency identification device |
CN102562162B (en) * | 2011-12-14 | 2014-05-07 | 北京邮电大学 | Event-handling-based coal mine alarm system and method |
CN102594798A (en) * | 2011-12-31 | 2012-07-18 | 苏州阔地网络科技有限公司 | Agent method and system for connecting databases |
CN102572954B (en) * | 2012-01-31 | 2015-05-20 | ***(深圳)有限公司 | Roaming liquidation service scheduling method, middleware and system |
CN102664934B (en) * | 2012-04-06 | 2015-04-15 | 北京华夏电通科技股份有限公司 | Multi-thread control method and system for adaptive self-feedback of server |
US9235464B2 (en) * | 2012-10-16 | 2016-01-12 | Microsoft Technology Licensing, Llc | Smart error recovery for database applications |
CN103093342A (en) * | 2013-01-11 | 2013-05-08 | 北京掌上汇通科技发展有限公司 | Online transaction processing platform and transaction processing method thereof |
CN103197968B (en) * | 2013-03-18 | 2016-03-30 | 焦点科技股份有限公司 | A kind of thread pool disposal route and system merging synchronous asynchronous feature |
CN103179133B (en) * | 2013-04-12 | 2016-03-30 | 北京工业大学 | Based on the client of entity class and the method for server communication |
CN103366471B (en) * | 2013-06-26 | 2015-08-12 | 福建联迪商用设备有限公司 | A kind of online business concurrent processing method, system and server |
CN104253808B (en) * | 2013-06-29 | 2018-05-08 | 北京新媒传信科技有限公司 | State rendering method and state showing server in instantaneous communication system |
CN104793999A (en) * | 2014-01-21 | 2015-07-22 | 航天信息股份有限公司 | Servo server framework system |
CN103854168B (en) * | 2014-02-17 | 2016-09-28 | 湖南中烟工业有限责任公司 | Isomery flow process is pending focuses on method and processing means |
CN103927218B (en) * | 2014-04-30 | 2017-07-04 | 广州唯品会网络技术有限公司 | Event distributing method and system |
CN104615647B (en) * | 2014-12-25 | 2018-05-01 | 百度在线网络技术(北京)有限公司 | View model request, delivery method and device |
CN104618432B (en) * | 2014-12-30 | 2019-03-08 | 北京红马传媒文化发展有限公司 | A kind of processing method and processing system that event sends and receives |
CN104580226B (en) * | 2015-01-15 | 2017-07-11 | 上海瀚之友信息技术服务有限公司 | A kind of system and method for shared session data |
CN105573840B (en) * | 2015-12-08 | 2019-06-14 | 东软集团股份有限公司 | The event-handling method and device of work flow operation phase |
-
2016
- 2016-12-26 CN CN201611220307.8A patent/CN107656824A/en active Pending
- 2016-12-26 CN CN201611219329.2A patent/CN107657420A/en not_active Withdrawn
- 2016-12-26 CN CN201611220312.9A patent/CN107656781A/en not_active Withdrawn
- 2016-12-26 CN CN201611219323.5A patent/CN107656777A/en not_active Withdrawn
- 2016-12-26 CN CN201611220337.9A patent/CN107657532A/en active Pending
- 2016-12-26 CN CN201611218394.3A patent/CN107656819A/en active Pending
- 2016-12-26 CN CN201611220354.2A patent/CN107659549A/en not_active Withdrawn
- 2016-12-26 CN CN201611218388.8A patent/CN107659547A/en active Pending
- 2016-12-26 CN CN201611220361.2A patent/CN107656784A/en not_active Withdrawn
- 2016-12-26 CN CN201611218372.7A patent/CN107659605A/en not_active Withdrawn
- 2016-12-26 CN CN201611219367.8A patent/CN107656823A/en active Pending
- 2016-12-26 CN CN201611220292.5A patent/CN107657501A/en not_active Withdrawn
- 2016-12-26 CN CN201611220330.7A patent/CN107657531A/en not_active Withdrawn
- 2016-12-26 CN CN201611219325.4A patent/CN107656778A/en not_active Withdrawn
- 2016-12-26 CN CN201611219331.XA patent/CN107656779A/en not_active Withdrawn
- 2016-12-26 CN CN201611220338.3A patent/CN107656783A/en not_active Withdrawn
- 2016-12-26 CN CN201611219350.2A patent/CN107656780A/en not_active Withdrawn
- 2016-12-26 CN CN201611218386.9A patent/CN107656818A/en active Pending
- 2016-12-26 CN CN201611218389.2A patent/CN107657530A/en not_active Withdrawn
- 2016-12-26 CN CN201611219280.0A patent/CN107657419A/en not_active Withdrawn
- 2016-12-26 CN CN201611219359.3A patent/CN107656822A/en active Pending
- 2016-12-26 CN CN201611218373.1A patent/CN107657517A/en not_active Withdrawn
- 2016-12-26 CN CN201611219300.4A patent/CN107656820A/en active Pending
- 2016-12-26 CN CN201611218380.1A patent/CN107656808A/en not_active Withdrawn
- 2016-12-26 CN CN201611220324.1A patent/CN107659548A/en not_active Withdrawn
- 2016-12-26 CN CN201611220334.5A patent/CN107656782A/en not_active Withdrawn
- 2016-12-26 CN CN201611218383.5A patent/CN107656801A/en active Pending
- 2016-12-26 CN CN201611218348.3A patent/CN107659546A/en active Pending
- 2016-12-26 CN CN201611220322.2A patent/CN107656809A/en not_active Withdrawn
- 2016-12-26 CN CN201611219315.0A patent/CN107656821A/en active Pending
- 2016-12-26 CN CN201611220358.0A patent/CN107657518A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201753A (en) * | 2007-12-13 | 2008-06-18 | 浪潮通信信息***有限公司 | Method for configuring and managing multimode machine supervising engine |
CN102255867A (en) * | 2010-05-18 | 2011-11-23 | 华为技术有限公司 | Service request processing method, device and system |
CN102843389A (en) * | 2011-06-21 | 2012-12-26 | 国承斌 | WEB system and method based on event driven |
CN102291416A (en) * | 2011-09-14 | 2011-12-21 | 成都软智科技有限公司 | Two-way synchronizing method and system of client-side and server-side |
CN102904887A (en) * | 2012-09-26 | 2013-01-30 | 东软集团股份有限公司 | Method and system for data synchronization of Web client and server |
CN104820701A (en) * | 2015-05-11 | 2015-08-05 | 北京瑞星信息技术有限公司 | Method and system for recording and synchronizing data |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111880611A (en) * | 2020-06-19 | 2020-11-03 | 深圳宏芯宇电子股份有限公司 | Server for fast transaction and fast transaction data processing method |
CN111880611B (en) * | 2020-06-19 | 2022-06-28 | 深圳宏芯宇电子股份有限公司 | Server for quick transaction and quick transaction data processing method |
CN112131238A (en) * | 2020-09-30 | 2020-12-25 | 江苏苏宁银行股份有限公司 | Transaction state machine design method, processing device and processing method |
CN112131238B (en) * | 2020-09-30 | 2022-07-22 | 江苏苏宁银行股份有限公司 | Transaction state machine design method, processing device and processing method |
Also Published As
Publication number | Publication date |
---|---|
CN107657532A (en) | 2018-02-02 |
CN107659549A (en) | 2018-02-02 |
CN107657530A (en) | 2018-02-02 |
CN107656809A (en) | 2018-02-02 |
CN107656777A (en) | 2018-02-02 |
CN107656782A (en) | 2018-02-02 |
CN107659605A (en) | 2018-02-02 |
CN107657517A (en) | 2018-02-02 |
CN107656822A (en) | 2018-02-02 |
CN107657419A (en) | 2018-02-02 |
CN107656824A (en) | 2018-02-02 |
CN107656780A (en) | 2018-02-02 |
CN107656808A (en) | 2018-02-02 |
CN107659546A (en) | 2018-02-02 |
CN107656784A (en) | 2018-02-02 |
CN107657420A (en) | 2018-02-02 |
CN107656778A (en) | 2018-02-02 |
CN107656819A (en) | 2018-02-02 |
CN107656801A (en) | 2018-02-02 |
CN107657531A (en) | 2018-02-02 |
CN107659547A (en) | 2018-02-02 |
CN107656781A (en) | 2018-02-02 |
CN107656821A (en) | 2018-02-02 |
CN107656820A (en) | 2018-02-02 |
CN107656823A (en) | 2018-02-02 |
CN107659548A (en) | 2018-02-02 |
CN107656783A (en) | 2018-02-02 |
CN107657501A (en) | 2018-02-02 |
CN107657518A (en) | 2018-02-02 |
CN107656779A (en) | 2018-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107656818A (en) | The flow implementation method and related system of a kind of bill business | |
US7774798B2 (en) | Systems and methods for providing an interaction between a status management service and an audit trail service | |
US9189205B2 (en) | Prescribing a software architecture for implementing service integration | |
US20090077269A1 (en) | Distributed computing system architecture | |
CN109074384A (en) | To context metadata ranking to generate related data opinion | |
US20050108398A1 (en) | Systems and methods for using metrics to control throttling and swapping in a message processing system | |
US20080163083A1 (en) | Tailored object | |
US20020116354A1 (en) | Method and system for transforming session data | |
TW201319966A (en) | Cloud reservation system and service reservation method thereof | |
CN112948078A (en) | Revenue allocation task processing method and device based on service call | |
CA3177799A1 (en) | Computer-based systems of microservice orchestration based on bounded contexts and methods of use thereof | |
Bose et al. | Coordination of view maintenance policy adaptation decisions: A negotiation-based reasoning approach | |
CN117014458A (en) | Method, device, computer equipment and storage medium for processing business across chains | |
Phan et al. | Middleware and Performance Issues for Financial Risk Analytics on Blue Gene/L |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180202 |