CN107578289B - Method and system for settling accounts of machine + X products - Google Patents
Method and system for settling accounts of machine + X products Download PDFInfo
- Publication number
- CN107578289B CN107578289B CN201710818080.5A CN201710818080A CN107578289B CN 107578289 B CN107578289 B CN 107578289B CN 201710818080 A CN201710818080 A CN 201710818080A CN 107578289 B CN107578289 B CN 107578289B
- Authority
- CN
- China
- Prior art keywords
- settlement
- products
- order data
- plug
- product
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Devices For Checking Fares Or Tickets At Control Points (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a settlement method and system for machine + X products. The settlement method comprises the following steps: s1Acquiring a settlement request of each product in the machine + X products; the settlement request includes order data; s2And carrying out settlement processing on each product according to the order data and based on an MEF method. The invention solves the complexity problem of the settlement of a plurality of X products, reuses a universal settlement process by utilizing an MEF method, avoids repeated codes and greatly reduces the maintenance cost.
Description
Technical Field
The invention relates to a settlement method and a settlement system for machine + X products.
Background
In recent years, various airlines have successively introduced "machine + X" products, such as machine + hotel, machine + car, machine + travel, and so on, in order to increase the overall profit. The machine + X product has a plurality of combined products, and the settlement process of each X product is similar but different. Currently, for order settlement of machine + X products, an independent settlement system needs to be developed for each product, and the complexity and maintenance cost of the settlement system sharply increase as the number of products increases.
Disclosure of Invention
The invention provides a settlement method and system for machine + X products, aiming at overcoming the defects of high complexity and high maintenance cost caused by the fact that different settlement systems need to be developed aiming at different products in the prior art.
The invention solves the technical problems through the following technical scheme:
a machine + X settlement method, characterized in that the settlement method comprises:
S1acquiring a settlement request of each product in the machine + X products; the settlement request includes order data;
S2and carrying out settlement processing on each product according to the order data and based on an MEF method.
Preferably, said order data includes a product type of said product;
in step (b)Step S1Before, still include:
correspondingly setting a plug-in for each product type;
step S2The method specifically comprises the following steps:
S21judging the product type of each product;
S22calling a corresponding plug-in according to the product type to acquire order data to be settled, which is matched with the product type, from the order data, and sending the order data to a supplier platform matched with the product type for auditing;
S23and receiving the auditing result sent by the supplier platform, and calling the plug-in when the auditing is judged to be passed so as to carry out settlement processing according to the order data to be settled and generate a settlement result.
Preferably, in step S23And calling the plug-in when the audit is not passed, so as to generate an order data modification prompt.
Preferably, step S23In, still include:
invoking the plug-in to store the settlement results in a database matching the product type.
The invention also includes a machine + X settlement system, characterized in that the settlement system comprises:
the settlement request acquisition module is used for acquiring a settlement request of each product in the machine + X products; the settlement request includes order data;
and the MEF settlement module is used for performing settlement processing on each product according to the order data and based on an MEF method.
Preferably, said order data includes a product type of said product;
the settlement system further comprises:
the plug-in setting module is used for correspondingly setting a plug-in for each product type;
the MEF settlement module includes:
a judging unit for judging the product type of each product;
the control unit is used for calling the corresponding plug-in according to the product type;
the plug-in is used for acquiring order data to be settled, which is matched with the product type, from the order data and sending the order data to be settled to a supplier platform matched with the product type for auditing;
the control unit is also used for receiving the auditing result sent by the supplier platform and calling the plug-in when the auditing is judged to be passed;
and the plug-in is also used for carrying out settlement processing according to the order data to be settled and generating a settlement result.
Preferably, the control unit is further configured to call the plug-in when it is determined that the audit is not passed;
the plug-in is also used for generating an order data modification prompt.
Preferably, when the control unit judges that the audit is passed, the plug-in is further configured to store the settlement result in a database matching the product type.
The positive progress effects of the invention are as follows: the invention solves the complexity problem of the settlement of a plurality of X products, reuses a universal settlement process by utilizing an MEF method, avoids repeated codes and greatly reduces the maintenance cost.
Drawings
Fig. 1 is a first flowchart of a settlement method of machine + X according to embodiment 1 of the present invention.
Fig. 2 is a second flowchart of the settlement method of machine + X according to embodiment 1 of the present invention.
Fig. 3 is a block diagram of a settlement system of machine + X according to embodiment 2 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The settlement method of machine + X of this embodiment is used for realizing the settlement of machine + X product, and machine + X product possess a plurality of combination products, also have a plurality of product types, and specific X product can be hotel, admission ticket, train ticket etc.. As shown in fig. 1, the settlement method includes the steps of:
The order data includes, among other things, the product type of the product and the parameters required to make the settlement, such as product price, quantity, etc.
Specifically, as shown in fig. 2, in this embodiment, before step 110, the method further includes:
and step 121, judging the product type of each product.
And step 122, calling a corresponding plug-in according to the product type to acquire order data to be settled, which is matched with the product type, from the order data, and sending the order data to a supplier platform matched with the product type for auditing.
The plug-in is developed by using an agreed protocol (interface), and the plug-in calling mode is as follows: automatically scanning the appointed folder and automatically importing according to the protocol. The X product automatic settlement defines a universal settlement data pushing, inquiring and other interface protocol. And various X products such as train tickets and rest rooms realize respective customization processes according to defined contracts, and are uniformly managed, loaded and executed by the MEF. When a new X product needs to be accessed into the automatic settlement system, the access can be completed only by realizing the customized flow of the new product according to the defined interface protocol.
And step 123, receiving the auditing result sent by the supplier platform.
and step 125, calling the plug-in to perform settlement processing according to the order data to be settled and generate a settlement result, and storing the settlement result in a database matched with the product type.
Step 125', invoke the plug-in to generate a modified order data alert. If the system administrator checks and modifies the order data, the step 110 is executed again.
Therefore, the method and the device solve the problem of the complexity of settlement of a plurality of X products, realize the access of a plug-in mode by utilizing the MEF technology, multiplex a general settlement flow, avoid repeated codes and facilitate system maintenance.
Example 2
As shown in fig. 3, the settlement system of machine + X of the present embodiment includes a settlement request obtaining module 1, an MEF settlement module 2, and a plug-in setting module 3. The plug-in setting module is used for setting a plug-in for the product types of different products in advance. The settlement request acquisition module is used for acquiring a settlement request of each product in the machine + X products. The settlement request includes order data including a product type of the product. And the MEF settlement module is used for performing settlement processing on each product according to the order data and based on an MEF method.
Specifically, the MEF settlement module includes: a judging unit and a control unit. The judging unit is used for judging the product type of each product. The control unit is used for calling the corresponding plug-in unit according to the product type so as to obtain order data to be settled, which is matched with the product type, from the order data, and sending the order data to a supplier platform matched with the product type for auditing. The control unit is also used for receiving the auditing result sent by the supplier platform, calling the plug-in when the auditing is judged to be passed, carrying out settlement processing according to the order data to be settled and generating a settlement result, and storing the settlement result in a database matched with the product type. The control unit is further used for calling the plug-in when the audit is not passed, so that an order data modification prompt is generated.
In this embodiment, the plug-in is developed using a well-agreed protocol (interface), and the plug-in calling mode is as follows: automatically scanning the appointed folder and automatically importing according to the protocol. The X product automatic settlement defines a universal settlement data pushing, inquiring and other interface protocol. And various X products such as train tickets and rest rooms realize respective customization processes according to defined contracts, and are uniformly managed, loaded and executed by the MEF. When a new X product needs to be accessed into the automatic settlement system, the access can be completed only by realizing the customized flow of the new product according to the defined interface protocol, thereby greatly simplifying the system development, solving the complexity problem of the settlement of a plurality of X products, reusing the general settlement flow, avoiding repeated codes and facilitating the system maintenance.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (6)
1. A machine + X settlement method, comprising:
S1acquiring a settlement request of each product in the machine + X products; the settlement request includes order data;
S2carrying out settlement processing on each product according to the order data and based on an MEF method;
the order data includes a product type of the product;
in step S1Before, still include:
correspondingly setting a plug-in for each product type;
step S2The method specifically comprises the following steps:
S21judging the product type of each product;
S22calling a corresponding plug-in according to the product type to acquire order data to be settled, which is matched with the product type, from the order data, and sending the order data to a supplier platform matched with the product type for auditing;
S23receiving an auditing result sent by the supplier platform, and calling the plug-in when the auditing result is judged to be passed so as to enter the order according to the order data to be settledPerforming settlement processing and generating a settlement result;
the machine + X products comprise air ticket products and X products, and the X products comprise at least one of hotel products, entrance ticket products, ticket products and travel products.
2. The settlement method according to claim 1, wherein in step S23And calling the plug-in when the audit is not passed, so as to generate an order data modification prompt.
3. The settlement method according to claim 1, wherein step S23In, still include:
invoking the plug-in to store the settlement results in a database matching the product type.
4. A machine + X settlement system, comprising:
the settlement request acquisition module is used for acquiring a settlement request of each product in the machine + X products; the settlement request includes order data;
the MEF settlement module is used for performing settlement processing on each product according to the order data and based on an MEF method;
the order data includes a product type of the product;
the settlement system further comprises:
the plug-in setting module is used for correspondingly setting a plug-in for each product type;
the MEF settlement module includes:
a judging unit for judging the product type of each product;
the control unit is used for calling the corresponding plug-in according to the product type;
the plug-in is used for acquiring order data to be settled, which is matched with the product type, from the order data and sending the order data to be settled to a supplier platform matched with the product type for auditing;
the control unit is also used for receiving the auditing result sent by the supplier platform and calling the plug-in when the auditing is judged to be passed;
the plug-in is also used for carrying out settlement processing according to the order data to be settled and generating a settlement result;
the machine + X products comprise air ticket products and X products, and the X products comprise at least one of hotel products, entrance ticket products, ticket products and travel products.
5. The settlement system of claim 4, wherein the control unit is further configured to invoke the plug-in upon determining that the audit has failed;
the plug-in is also used for generating an order data modification prompt.
6. The settlement system of claim 4, wherein the plug-in is further adapted to store the settlement results in a database that matches the product type when the control unit determines that the audit is passed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710818080.5A CN107578289B (en) | 2017-09-12 | 2017-09-12 | Method and system for settling accounts of machine + X products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710818080.5A CN107578289B (en) | 2017-09-12 | 2017-09-12 | Method and system for settling accounts of machine + X products |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107578289A CN107578289A (en) | 2018-01-12 |
CN107578289B true CN107578289B (en) | 2020-10-27 |
Family
ID=61036339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710818080.5A Active CN107578289B (en) | 2017-09-12 | 2017-09-12 | Method and system for settling accounts of machine + X products |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107578289B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124538A (en) * | 2019-12-20 | 2020-05-08 | 百望股份有限公司 | Plug-in management method and client in invoice field |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103578032A (en) * | 2013-11-14 | 2014-02-12 | 中国银行股份有限公司 | Data processing system |
CN105956913A (en) * | 2016-07-06 | 2016-09-21 | 成都中科大旗软件有限公司 | Tourism e-commerce distribution open system and tourism product management method thereof |
CN106022863A (en) * | 2016-05-09 | 2016-10-12 | 上海携程商务有限公司 | Automatic settlement system and method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136094A (en) * | 2007-09-29 | 2008-03-05 | 腾讯科技(深圳)有限公司 | Electronic commerce trade method and system |
CN103093339A (en) * | 2011-11-02 | 2013-05-08 | 腾讯科技(深圳)有限公司 | Data transferring method and device |
CN102364518A (en) * | 2011-11-04 | 2012-02-29 | 康佳集团股份有限公司 | Payment system and payment method used for smart television online mall |
CN104123654B (en) * | 2013-04-28 | 2017-06-23 | 腾讯科技(深圳)有限公司 | A kind of many order batch processing methods and device |
CN103279355B (en) * | 2013-06-04 | 2016-03-30 | 沈琼茂 | Create the system and method in Mobile solution shop |
CN103985052A (en) * | 2014-05-29 | 2014-08-13 | 中国农业银行股份有限公司 | Interest settlement system and method |
CN104240072A (en) * | 2014-09-27 | 2014-12-24 | 武钢集团昆明钢铁股份有限公司 | Multi-channel network integrated payment system and multi-channel network integrated payment method |
CN106651492A (en) * | 2016-09-07 | 2017-05-10 | 深圳市分期乐网络科技有限公司 | Installment commodity order method and device |
CN106709584A (en) * | 2017-03-20 | 2017-05-24 | 携程旅游网络技术(上海)有限公司 | Method and system for issuing ticket for air ticket order |
-
2017
- 2017-09-12 CN CN201710818080.5A patent/CN107578289B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103578032A (en) * | 2013-11-14 | 2014-02-12 | 中国银行股份有限公司 | Data processing system |
CN106022863A (en) * | 2016-05-09 | 2016-10-12 | 上海携程商务有限公司 | Automatic settlement system and method |
CN105956913A (en) * | 2016-07-06 | 2016-09-21 | 成都中科大旗软件有限公司 | Tourism e-commerce distribution open system and tourism product management method thereof |
Non-Patent Citations (1)
Title |
---|
基于MEF技术的"插件式"应用系统解决方案;李凤桐;《计算机安全与维护》;20150430(第4期);第93-94页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107578289A (en) | 2018-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020948B (en) | A kind of process dispatch method and device | |
US20190019186A1 (en) | Systems and methods for automated decentralized multilateral transaction processing | |
US10621651B2 (en) | Automatic recharge system and method, and server | |
CN111128170B (en) | Voice vehicle access method, device, system and storage medium | |
CN112085531A (en) | Resource processing method, server, terminal, device, system and storage medium | |
CN107578289B (en) | Method and system for settling accounts of machine + X products | |
CN111145762A (en) | Electronic certificate verification method and system based on voiceprint recognition | |
CN102841843B (en) | Compatible determination methods and device | |
CN110717782A (en) | Electronic resource allocation method and device | |
CN104637093A (en) | Information management apparatus, terminal, and information management system | |
CN111784931B (en) | Method and apparatus for sharing distribution boxes | |
CN111724206A (en) | Advertisement processing method, responsibility chain object generation method, device, equipment and medium | |
CN113497735A (en) | Open interface management method, electronic device and storage medium | |
CN111045725A (en) | Control method, device and storage medium of code management system | |
CN112995188A (en) | Message conversion method, intermediate adaptation device, storage medium and electronic equipment | |
US20050261978A1 (en) | Method for tendering for remaining seats of higher class in an airliner which is about to take off or has just taken off | |
CN112636954A (en) | Server upgrading method and device | |
CN108170407B (en) | Method and device for acquiring target data | |
CN111179014A (en) | System and method for securely creating a list of devices on a device online marketplace platform | |
US20240185196A1 (en) | Reduced memory resources for proactive monitoring of electronic transactions | |
CN115037471B (en) | Method, device and storage medium for checking job qualification | |
CN116226495B (en) | Task execution method and device | |
CN114281831A (en) | Data construction method and related equipment | |
CN110874361A (en) | Data processing method, data processing device, storage medium and computer equipment | |
CN114968918A (en) | Method and device for processing files in batches |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |