CN108182628A - Method, system, equipment and the storage medium that tourism places an order - Google Patents

Method, system, equipment and the storage medium that tourism places an order Download PDF

Info

Publication number
CN108182628A
CN108182628A CN201810083968.3A CN201810083968A CN108182628A CN 108182628 A CN108182628 A CN 108182628A CN 201810083968 A CN201810083968 A CN 201810083968A CN 108182628 A CN108182628 A CN 108182628A
Authority
CN
China
Prior art keywords
order
process number
sub
user
newly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810083968.3A
Other languages
Chinese (zh)
Other versions
CN108182628B (en
Inventor
林明
高亮
刘泽森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Ctrip International Travel Agency Co Ltd
Original Assignee
Shanghai Ctrip International Travel Agency Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Ctrip International Travel Agency Co Ltd filed Critical Shanghai Ctrip International Travel Agency Co Ltd
Priority to CN201810083968.3A priority Critical patent/CN108182628B/en
Publication of CN108182628A publication Critical patent/CN108182628A/en
Application granted granted Critical
Publication of CN108182628B publication Critical patent/CN108182628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies

Abstract

The present invention provides method, system, equipment and the storage medium that tourism places an order, including step:Order is established, order includes order number, internal order process number and tourism product integration, and order number establishes mapping relations with unique internal order process number, and internal order process number establishes mapping relations with unique tourism product integration;Judge whether order is changed, if then more new order, updated order includes original order number, newly-generated inside order process number and newly-generated tourism product integration, original order number establishes new mapping relations with unique newly-generated inside order process number, newly-generated inside order process number establishes new mapping relations with newly-generated tourism product integration, when judging that order will be paid for, the price generation paying bill of the tourism product integration corresponding to the order process number of inside according to corresponding to order number, therefore it does not need to carry out complicated data transfer, improve operational efficiency, reduce error generation rate.

Description

Method, system, equipment and the storage medium that tourism places an order
Technical field
The present invention relates to order processing, specifically, being related to method, system, equipment and storage medium that tourism places an order.
Background technology
The process to place an order of travelling is different from lower single process of other field, it usually needs by complicated order processing step Suddenly, it needs to preserve a large amount of data, while there is a situation where that user is frequently necessary to be modified order again.In the prior art, It is checked in order to facilitate user, the front and rear order number of usual user's change remains unchanged, and passes through complicated data transfer on backstage Afterwards, it updates the data in the database, such method is there are order processing step is numerous and diverse, and treatment effeciency is low, and order data is more Newly easy the problem of mistake occurs, especially operates comparatively fast when user changes, and background data base update is not in time, it is easier to occur The problem of order payment error.
Invention content
For the problems in above-mentioned technology, travel what is placed an order in order to solve the above technical problems, The present invention provides a kind of Method, system, equipment and storage medium, by the sightless internal order process number of user, by the visible order number of user with Unique tourism product integration establishes association, when user's order variation occurs, by by original order number and newly-generated Internal order process number is established new mapping relations realization and is associated with the tourism product integration foundation after change, so as to efficiently real Existing order update.
The first aspect of the present invention provides a kind of method traveled and placed an order, and includes the following steps:S11, ordering for user is received It is single to submit information, establish an order, it is invisible that order includes a newly-generated visible order number of user, a newly-generated user Inside order process number and tourism product integration, order number establishes mapping relations with unique internal order process number, interior Portion's order process number establishes mapping relations with unique tourism product integration;S13, judge whether order is changed, if then holding Row step S14, if otherwise performing step S15;S14, the order submission information after user's change, more new order, after update are received Order include original order number, a newly-generated inside order process number and newly-generated tourism product integration, it is original Order number establish new mapping relations, newly-generated inside order process number with unique newly-generated inside order process number New mapping relations are established with newly-generated tourism product integration;S15, judge whether order will be paid for, if so then execute step Rapid S17, if otherwise return to step S15;And the tourism corresponding to S17, the inside order process number according to corresponding to order number The price generation paying bill of product mix, so that user is paid.
Preferably, step is further included after step S11 or after step S14:S12, according to internal order process number and institute it is right The tourism product integration answered generates multiple sub- orders, and each sub- order corresponds to a travelling products, by internal order process number with And the information of sub- order is stored in background data base, in subsequent step no longer the same internal order process number of secondary storage and The information of corresponding sub- order.
Preferably, step S17 includes step:Corresponding to S171, the inside order process number according to corresponding to order number The price generation paying bill of tourism product integration;After S172, paying bill are paid for, according to the corresponding internal order of paying bill Process number confirms sub- order, and the travelling products for carrying out sub- order make a reservation for.
Preferably, step S17 includes step:S173, the inside order process number according to corresponding to order number carry out son and order Single travelling products make a reservation for, and S174, generate paying bill according to sub- order, so that user is paid, paying bill includes sub- order Corresponding internal order process number.
Preferably, in step S11 or S14, order submission information is converted into extensible markup language;In step S12 In, extensible markup language is parsed, the information of the travelling products after extraction parsing is using the information as sub- order, by internal order The information of process number and sub- order is stored in background data base.
Preferably, step is further included before step S17:S161, the price for monitoring travelling products occur with the presence or absence of variation Variation performs step S162, does not change and performs step S164;S162, interruption place an order, and send prompt message to user; S163, field feedback is received, judges whether user agrees to the price after variation, then perform step S164 in this way, such as otherwise Perform step S165;S164, confirmation message is sent, is made a reservation for the travelling products for carrying out sub- order;S165 terminates order and places an order.
Preferably, step is further included after step S11:S201, message queue is created, generating asynchronous process according to order please It asks, asynchronous process request is stored in message queue;
S202, message queue is sent to execute server;S203, reception execute server perform different according to message queue It walks the execution feedback information of operation and is stored in background data base.
The second aspect of the present invention provides a kind of system traveled and placed an order, including:Predetermined module, predetermined module are used to receive The order of user submits the order after information and user's change to submit information;Order management module, order management module are used for An order is established, order includes a newly-generated visible order number of user, a newly-generated sightless internal order of user Process number and tourism product integration, order number establish mapping relations, internal order process with unique internal order process number Number establish mapping relations with unique tourism product integration, order of the order management module after user's change is received submits information Afterwards, more new order, updated order include original order number, a newly-generated inside order process number and newly-generated Tourism product integration, original order number establishes new mapping relations with unique newly-generated inside order process number, newborn Into inside order process number and newly-generated tourism product integration establish new mapping relations;Payment module, payment module are used In generating paying bill according to the price of the tourism product integration corresponding to the inside order process number corresponding to order number, to use Family is paid.
Preferably, it further includes:Sub- order module, sub- order module are produced according to internal order process number and corresponding tourism The multiple sub- orders of product combination producing, each sub- order correspond to a travelling products, by internal order process number and sub- order Information is stored in background data base.
Preferably, it further includes:Message module, message module generate asynchronous process for creating message queue, according to order Request, asynchronous process request is stored in message queue, and message queue is sent to execute server, receives execute server The execution feedback information of asynchronous operation is performed according to message queue, and is stored in feedback information is performed in background data base.
Preferably, it further includes:Price module, the price of price module monitoring travelling products become with the presence or absence of variation Change then to interrupt and place an order, send prompt message to user, price module receives the feedback information whether user agrees to change price, such as It is that confirmation message is then sent to sub- order module by order management module, is made a reservation for the travelling products for carrying out sub- order, it is such as no It is then sent to order management module and terminates order placement information.
The third aspect of the present invention also provides single device under a kind of tourism, including:Processor;Memory, wherein being stored with The executable instruction of processor;Wherein, processor is configured to perform the trip of above-mentioned first aspect via executable instruction is performed The step of swimming the method to place an order.
The fourth aspect of the present invention also provides a kind of computer readable storage medium, and for storing program, program is performed The step of method that the tourism of the above-mentioned first aspects of Shi Shixian places an order.
Method, system, equipment and storage medium provided by the present invention that place an order of travelling is receiving ordering for user each time It is single submit information after, all generate the sightless internal order process number of a user, and pass through internal order process number with it is current Tourism product integration in order establishes unique mapping, and when user's update plans single, order number and newly-generated inside are ordered One process number is associated with, and is updated so as to fulfill order.Due to introducing internal order process number, do not need to carry out complicated number According to transmission, it is not required that database Central Plains data are modified update, so as to simplify flow, improve processing speed and operation Efficiency effectively reduces error generation rate.
Description of the drawings
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon.
Fig. 1 is the flow chart of method that the tourism of one embodiment of the invention places an order;
Fig. 2 is the detail flowchart of step S16 in Fig. 1;
Fig. 3 is the detail flowchart of step S20 in Fig. 1;
Fig. 4 is the module diagram of system for including tourism and placing an order of one embodiment of the invention;
Fig. 5 is the data flow schematic diagram of system that the tourism of one embodiment of the invention places an order;
Fig. 6 is the structure diagram of equipment that the tourism of one embodiment of the invention places an order;And
Fig. 7 is the structure diagram of the computer readable storage medium of one embodiment of the invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to embodiment set forth herein.On the contrary, these embodiments are provided so that the present invention will Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.It is identical attached in figure Icon note represents same or similar structure, thus will omit repetition thereof.
In the prior art, after user changes the travelling products content of order, it usually needs carry out complicated order data It transmits, and former data is modified update in the database, such method is there are order processing step is numerous and diverse, treatment effeciency Lowly, the problem of mistake, easily occurs for order data update.
The present invention passes through internal order process number with working as by generating the sightless internal order process number of a user Tourism product integration in preceding order establishes unique mapping, when user's update plans single, by order number and newly-generated inside Order process number is associated with, and is updated so as to fulfill order.It only needs to transmit internal order process number, and no longer needs to carry out complexity Data transfer, database Central Plains data, so as to effective simple flow, improve processing speed, drop also without update of modifying The mistake caused by mistake and database original data update occurred in low data transfer.
Fig. 1 is the flow chart of method that the tourism of one embodiment of the invention places an order.As shown in Figure 1, under the tourism of the present invention Single method, includes the following steps:
S11, order is established.
Specifically, after the order for receiving user submits information, an order is established, order includes a newly-generated use The visible order number in family, the sightless internal order process number of a newly-generated user and tourism product integration, order number with Unique internal order process number establishes mapping relations, and internal order process number is established mapping with unique tourism product integration and closed System.Tourism product integration refers to multiple travelling products in an order, and travelling products include hotel, air ticket, sight spot etc..With Family identifies order, even if later stage user modifies to the content of the travelling products of the order, order by unique order number Number it will not change, consequently facilitating user is checked by order number, manages order.Newly-generated internal order process number, for As the mark of order inter-process, the tourism product integration in the sequence information that internal order process number is submitted with active user Corresponding, there are one-to-one relationships with current tourism product integration for internal order process number.Order number by internal order into Journey number establishes mapping relations with tourism product integration.
Preferably, the order of user is submitted information to be converted to extensible markup language by the present embodiment, without will directly order It is single that information is submitted to be stored in background data base in real time.Since the characteristics of tourism order is that order data content is more, usually order for one Singly it is related to the data of 50 multiple tables, order submission information is directly stored in background data base in real time, there are in any one table Data once preserve failure if user place an order failure the problem of.Order submission information is converted into extensible markup language, with It realizes temporarily storage, information and date library is submitted to preserve decoupling so as to fulfill the order for receiving user, lost even if database preserves It loses, user will not be caused to place an order unsuccessfully.
S12, the multiple sub- orders of generation simultaneously store.
Since there are multiple travelling products, in order to preferably carry out the processing of each travelling products, it is preferably carried out step S12 generates multiple sub- orders according to internal order process number and corresponding tourism product integration, and each sub- order corresponds to one The information of internal order process number and sub- order corresponding with internal order process number is stored in back-end data by travelling products Library.
Preferably, the extensible markup language in analyzing step S11, extraction parsing after travelling products information using as The information of internal order process number and sub- order is stored in background data base by the information of sub- order.
It should be noted that complete in step s 12 internal order process number and with the inside order process number pair The information for the sub- order answered preserves, even if subsequent user is modified order, also no longer secondary storage is same in subsequent step The information of one inside order process number and corresponding sub- order will not occur to carry out the former data of database preserved It preserves or changes again, so as to avoid the mistake that places an order caused by Database error.
S13, judge whether order is changed, if so then execute step S14, if otherwise performing step S15;
S14, more new order.
Specifically, the order received after user's change submits information, more new order, updated order includes original Order number, a newly-generated inside order process number and newly-generated tourism product integration, original order number with it is unique Newly-generated inside order process number establishes new mapping relations, and newly-generated inside order process number is produced with newly-generated tourism New mapping relations are established in product combination.That is, when user changes order contents, the visible order number of user is constant, and One new inside order process number is generated according to current tourism product integration, by order number and newly-generated inside order into Journey number establishes new mapping relations, since the mapping relations of order number and internal order process number are unique, order numbers With original inside order process number no longer there are mapping relations, and establish mapping with newly-generated inside order process number and close System updates so as to realize order by internal order process number.
After order update, new internal order process number is generated, step S12 is performed again and generates multiple sub- orders and deposit Storage, i.e., when user is modified order, update of not modifying in the database to former data, but ordered in the new inside of storage One process number and sub- sequence information corresponding with new inside order process number.
S15, judge whether order will be paid for, enter generation paying bill if so then execute step S17, if otherwise returning to step Rapid S15.
For the accuracy of support price, step S16 is preferably carried out before step S17, carries out price monitoring.Fig. 2 is The detail flowchart of step S16 in Fig. 1, as shown in Fig. 2, step S16 includes step:S161, monitor travelling products price be It is no to there is variation, step S162 is performed if changing, does not change and performs step S164.S162, interruption place an order, and send Prompt message is to user.S163, field feedback is received, judges whether user agrees to the price after variation, held if agreeing to Row step S164 if disagreed, performs step S165.S164, confirmation message is sent, it is pre- to carry out the travelling products of sub- order It is fixed.S165 terminates order and places an order.
The longer operating time is needed since tourism order usually places an order, the price fluctuation of travelling products is again relatively frequent, because This can effectively ensure that the accuracy of travelling products price by step S16, reduce order processing mistake.
The price generation branch of tourism product integration corresponding to S17, the inside order process number according to corresponding to order number Fu Dan, so that user is paid.
Step S17 includes step in the present embodiment:S171, the inside order process number institute according to corresponding to order number are right The price generation paying bill for the tourism product integration answered.Since order number and internal order process number are uniquely corresponding, internal order Process number is uniquely corresponding with tourism product integration, therefore the valency of current tourism product integration has been uniquely determined by order process number Lattice, and paying bill is generated, order process number is contained in paying bill.
After S172, paying bill are paid for, sub- order is confirmed according to the corresponding internal order process number of paying bill, is gone forward side by side The travelling products of the sub- order of row make a reservation for.After user's payment finishes current paying bill, due to including order process number in paying bill, Therefore the sub- order corresponding with order process number being paid for can be uniquely determined according to order process number, and carry out son and order Travelling products in list make a reservation for.Therefore, predetermined mistake can effectively be avoided by the label of order process number and transmission.
The first completion user payment of difference in this present embodiment, then carry out the travelling products of sub- order and make a reservation for, in another reality It applies in example, the travelling products that sub- order is first carried out in step S17 make a reservation for, then carry out user's payment, and S17 specifically includes step: The travelling products that S173, the inside order process number according to corresponding to order number carry out sub- order make a reservation for.S174, according to sub- order Paying bill is generated, so that user is paid, paying bill includes the corresponding internal order process number of sub- order.In the embodiment In, label and transmission again by internal order process number so as to uniquely determine sub- order and paying bill, effectively avoid order Mistake.
S20, asynchronous operation perform.In order to improve operational efficiency, reasonable distribution server resource, in the process that tourism places an order In, part operation is no longer performed by current server in single process under tourism, and is placed an order stream in tourism by external server It is performed other than journey, such operation is known as asynchronous operation, and asynchronous operation for example confirms short message including being sent to user, receives user Confirmation message sends circular mail of sub- sequence information etc. to user.
Fig. 3 is the detail flowchart of step S20 in Fig. 1, as shown in figure 3, step S20 includes step:S201, message is created Queue generates asynchronous process request according to order, asynchronous process request and information is stored in message queue.S202, general Message queue is sent to execute server.Execute server reads asynchronous process request and information in message queue, performs different Step operation.S203, execute server is received according to the execution feedback information of message queue execution asynchronous operation and is stored in backstage In database.Confirm the request of short message asynchronous process for example, generating and sending according to order, and will send and confirm that short message asynchronous process please It asks and sequence information is included in user information in message queue, the transmission that short message server is read in message queue confirms short Believe asynchronous process request and sequence information and user information, short message server sends acknowledgement of orders short message to user, receives short The execution feedback information of telecommunications services device is simultaneously stored in background data base.
It is performed other than single process under tourism by external server by step S20 so as to divide asynchronous operation, no It needs to open asynchronous thread calling interface again so that the lower single process of tourism no longer needs to stop to wait for, and improves tourism and places an order place Efficiency is managed, asynchronous operation is handled by external server, server resource is had effectively achieved and distributes rationally.Pass through message queue Storage processing request and information, effectively realize using decoupling.
In the present embodiment, step S20 is performed after step S17, is not limited to above-mentioned steps in other embodiments and is held Row order, can also after other steps, it is preceding or be performed simultaneously, need to only meet and be performed after step S11.
By the description of the above-mentioned method to place an order to tourism of the invention it is found that the present invention is receiving ordering for user each time It is single submit information after, all generate the sightless internal order process number of a user, and pass through internal order process number with it is current Tourism product integration in order establishes unique mapping, and when user's update plans single, order number and newly-generated inside are ordered One process number is associated with, and is updated so as to fulfill order.Due to introducing internal order process number, do not need to carry out complicated number According to transmission, it is not required that database Central Plains data are modified update, so as to simplify flow, improve processing speed and operation Efficiency effectively reduces error generation rate.
The present invention also provides a kind of system traveled and placed an order, the system which places an order changes the trip of order for user After swimming product content, it usually needs it carries out complicated order data and transmits, and former data are modified update in the database, So as to cause order processing step numerous and diverse, treatment effeciency is low, and the problem of wrong easily occurs, is generated by order management module Internal order process number, internal order process number establish unique mapping with the tourism product integration in current order, in user more When newly planning single, order number with newly-generated inside order process number is associated with, is updated so as to fulfill order, improving efficiency reduces Error generation rate.The system to place an order for existing tourism is excessively high there is also coupling, exists and erroneous effects locally once occur The problem of whole system, realizes decoupling by message module and external message queue.
Fig. 4 is the module diagram of system for including tourism and placing an order of one embodiment of the invention, and Fig. 5 is that the present invention one is implemented The data flow schematic diagram of system that the tourism of example places an order.With reference to Fig. 4 and Fig. 5 to the system that the tourism of the present invention places an order into Row explanation.
The system 10 that places an order of tourism of the present invention respectively with user 20, background data base 31, message queue 32 and multiple 33 data connection of execute server submits information to carry out tourism and places an order according to the order of user 20.The system 10 to place an order of travelling is wrapped Include predetermined module 11, order management module 12, at least one sub- order module 13, payment module 14, price module 15, message mould Block 16.
The order that predetermined module 11 is used to receive user submits the order after information and user's change to submit information.
For order management module 12 for establishing an order, order includes a newly-generated visible order number of user, one newly The sightless internal order process number of user and tourism product integration of generation, order number and unique internal order process number Mapping relations are established, internal order process number establishes mapping relations with unique tourism product integration.Order management module 12 exists After receiving the order submission information after user's change, more new order, updated order includes original order number, and one is newly-generated Inside order process number and newly-generated tourism product integration, original order number and unique newly-generated inside order Process number establishes new mapping relations, and newly-generated inside order process number establishes new reflect with newly-generated tourism product integration Penetrate relationship.
Sub- order module 13 is used to be ordered according to internal order process number and the multiple sons of corresponding tourism product integration generation Single, each sub- order corresponds to a travelling products, and the information of internal order process number and corresponding sub- order is stored in Background data base 31.
Payment module 14 is for the tourism product integration corresponding to the inside order process number according to corresponding to order number Price generates paying bill, so that user is paid.
Price module 15 is used to monitor the price of travelling products with the presence or absence of variation, changes, interruption places an order, and sends Prompt message is to user.Price module 15 receives the feedback information whether user agrees to change price, passes through order if agreeing to Management module 12 to sub- order module 13 send confirmation message, made a reservation for the travelling products for carrying out sub- order, if disagreeing to Order management module 12, which is sent, terminates order placement information, and the end of order management module 12 places an order.
Message module 16 is used to create message queue 32.Message module 16 generates asynchronous process request according to order, will be different Step processing request and tourism order placement information are stored in message queue 32.Message queue 32 is sent to execution by message module 16 Server 33 is read asynchronous process request and tourism order placement information in message queue 32 by execute server 33, performed different Step operation.Message module 16 receives execute server 33 and performs the execution feedback information of asynchronous operation, and will perform feedback information It is stored in background data base 31.It is not included in due to message queue 32 in the system 10 that tourism places an order, it is achieved that asynchronous Operation with the decoupling of system 10 that places an order of tourism, that is, other modules in the system 10 to place an order of travelling will not with message queue 32 or It is that external execute server 33 has an impact from each other, avoids generation once asking for erroneous effects whole system locally occurs Topic.
Fig. 5 shows a kind of embodiment of single data flow under tourism for each inside order process number.Such as Shown in Fig. 5, the order that predetermined module 11 receives user first submits information, and sends order and submit information to order management module 12.Order management module 12 establishes order, and sends internal order process number to corresponding at least one sub- order module 13.Son Order module 13 generates sub- order, and the information of internal order process number and corresponding sub- order is stored in back-end data Library 31.Price module 15 is monitored adjustment by order management module 12 to the price of travelling products.Order management module 12 When judging that order is paid for, internal order process number is sent to order module.Payment module 14 is according to internal order process number institute The price generation paying bill of corresponding tourism product integration, so that user is paid, and to order after user's payment finishes The transmission of management module 12, which is paid, successfully feeds back.Order management module 12 includes internal order process number to the transmission of sub- order module 13 The sub- sequence information of confirmation.The travelling products that sub- order module 13 carries out sub- order according to internal order process number make a reservation for.
It is understood that the system 10 that this tourism places an order further includes showing for the operation of systems 10 that other support tourisms place an order Functional module.The system 10 that the tourism that Fig. 4 is shown places an order is only an example, should not to the function of the embodiment of the present invention and Use scope brings any restrictions.
The system 10 that tourism in the present embodiment places an order is used to implement the method that above-mentioned tourism places an order, therefore for tourism The specific implementation step of system 10 to place an order is referred to the above-mentioned description of method to place an order to tourism, and details are not described herein again.
System provided by the present invention that place an order of travelling generates internal order process number by order management module, and inside is ordered One process number and tourism product integration in current order establish unique mapping, when user's update plans single, by order number with Newly-generated inside order process number association, updates, improving efficiency reduces error generation rate so as to fulfill order.
Decoupling is realized by message module and external message queue, asynchronous operation is divided and is held by execute server Row rather than the system execution to be placed an order by tourism, while no longer need to open asynchronous thread calling interface so that the stream that places an order of travelling Cheng Buzai needs to stop to wait for, and improves the lower single treatment effeciency of tourism, has effectively achieved server resource and distribute rationally.
The embodiment of the present invention also provides single device under a kind of tourism, including processor.Memory, wherein being stored with processor Executable instruction.Wherein, processor is configured to the method for being performed above-mentioned tourism via executable instruction is performed and placing an order The step of.
As above, the embodiment is by generating internal order process number, internal order process number and the tourism in current order Unique mapping is established in product mix, and when user's update plans single, order number is associated with newly-generated inside order process number, It is updated so as to fulfill order, improving efficiency reduces error generation rate.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be with specific implementation is as follows, i.e.,:It is complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as " circuit ", " module " or " platform ".
Fig. 6 be one embodiment of the invention tourism under single device structure diagram.It is described referring to Fig. 6 according to this Single device 600 under the tourism of this embodiment of invention.Single device 600 is only an example under the tourism that Fig. 6 is shown, no The function and use scope for coping with the embodiment of the present invention bring any restrictions.
As shown in fig. 6, the lower single device 600 of tourism is showed in the form of universal computing device.The group of the lower single device 600 of tourism Part can include but is not limited to:At least one processing unit 610, at least one storage unit 620, connection different platform component The bus 630 of (including storage unit 620 and processing unit 610), display unit 640 etc..
Wherein, storage unit has program stored therein code, and program code can be performed by processing unit 610 so that processing is single Member 610 perform described in this specification above-mentioned electronic prescription circulation processing method part according to the various exemplary implementations of the present invention The step of mode.For example, the step of processing unit 610 can perform as shown in fig. 1.
Storage unit 620 can include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but not limited to:Operating system, one or more application program, other program moulds Block and program data may include the realization of network environment in each or certain combination in these examples.
Bus 630 can be to represent one or more in a few class bus structures, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use the arbitrary bus structures in a variety of bus structures Local bus.
The lower single device 600 of tourism can also (such as keyboard, sensing equipment, bluetooth be set with one or more external equipments 700 It is standby etc.) communication, can also enable a user to communicate with the equipment that single device 600 interact under the tourism with one or more and/or With single device 600 communicates with one or more of the other computing device under the tourism any equipment is enabled (such as to route Device, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, under travelling Single device 600 can also pass through network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, for example, internet) communication.Network adapter 660 can pass through bus 630 and the lower single device of tourism 600 other modules communication.It should be understood that although not shown in the drawings, can combine the lower single device 600 of tourism uses other hardware And/or software module, including but not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage platform etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, program is performed reality The step of method that tourism in existing above-described embodiment places an order.In some possible embodiments, various aspects of the invention A kind of form of program product is also implemented as, including program code, when program product is run on the terminal device, journey Sequence code be used to making terminal device perform described in this specification above-mentioned electronic prescription circulation processing method part according to this hair The step of bright various illustrative embodiments.
As it appears from the above, the program of the computer readable storage medium of the embodiment is when being executed, by generating internal order Process number, internal order process number establish unique mapping with the tourism product integration in current order, and list is planned in user's update When, order number with newly-generated inside order process number is associated with, is updated so as to fulfill order, improving efficiency reduces mistake Rate.
Fig. 7 is the structure diagram of the computer readable storage medium of one embodiment of the invention.Refering to what is shown in Fig. 7, description The program product 800 for being used to implement the above method according to the embodiment of the present invention, may be used portable compact disc Read-only memory (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, this The program product of invention is without being limited thereto, and in this document, readable storage medium storing program for executing can any include or store the tangible of program Medium, the program can be commanded the either device use or in connection of execution system, device.
The arbitrary combination of one or more readable mediums may be used in program product.Readable medium can be that readable signal is situated between Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body or arbitrary above combination.More specific example (the non exhaustive row of readable storage medium storing program for executing Table) include:Electrical connection, portable disc, hard disk, random access memory (RAM), read-only storage with one or more conducting wires Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer readable storage medium can include in a base band or as a carrier wave part propagation data-signal, In carry readable program code.The data-signal of this propagation may be used diversified forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing Matter, which can send, propagate either transmit for used by instruction execution system, device or device or and its The program of combined use.The program code included on readable storage medium storing program for executing can use any appropriate medium to transmit, including but not It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
It can combine to write to perform the program that the present invention operates with the arbitrary of one or more programming languages Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It performs in equipment, partly perform on a user device, the software package independent as one performs, partly in user calculating equipment Upper part performs or is performed in remote computing device or server completely on a remote computing.It is being related to remotely counting In the situation for calculating equipment, remote computing device can be by the network of any kind, including LAN (LAN) or wide area network (WAN), be connected to user calculating equipment or, it may be connected to external computing device (such as utilizes ISP To pass through Internet connection).
Method, system, equipment and the storage medium that the tourism of the present invention places an order are sightless interior by generating a user Portion's order process number, and pass through the tourism product integration in internal order process number and current order and establish unique mapping, with When family update plans single, order number with newly-generated inside order process number is associated with, is updated so as to fulfill order.It only needs to pass Internal order process number is passed, and no longer needs to carry out complicated data transfer, database Central Plains data are also without modifying Update so as to effective simple flow, improves processing speed, reduces the mistake occurred in data transfer and database is former Mistake caused by data update.
By external message queue realize application decoupling, by asynchronous operation segmentation by execute server execution rather than It is performed by the system that tourism places an order, while no longer needs to open asynchronous thread calling interface so that the lower single process of tourism no longer needs Stop to wait for, improve the lower single treatment effeciency of tourism, have effectively achieved server resource and distribute rationally.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, it is impossible to assert The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, several simple deduction or replace can also be made, should all be considered as belonging to the present invention's Protection domain.

Claims (13)

  1. A kind of 1. method to place an order of travelling, which is characterized in that include the following steps:
    S11, the order for receiving user submit information, establish an order, and the order includes that a newly-generated user is visible to order Odd numbers, the sightless internal order process number of a newly-generated user and tourism product integration, the order number with it is unique Internal order process number establishes mapping relations, and the internal order process number is established mapping with unique tourism product integration and closed System;
    S13, judge whether the order is changed, if so then execute step S14, if otherwise performing step S15;
    S14, the order submission information after user's change is received, updates the order, the updated order includes original The order number, a newly-generated inside order process number and newly-generated tourism product integration, original order number New mapping relations, the newly-generated inside order process number are established with unique newly-generated inside order process number New mapping relations are established with the newly-generated tourism product integration;
    S15, judge whether the order will be paid for, if so then execute step S17, if otherwise return to step S15;And
    The price generation paying bill of tourism product integration corresponding to S17, the inside order process number according to corresponding to order number, So that user is paid.
  2. 2. the method to place an order of travelling as described in claim 1, which is characterized in that further included after step S11 or after step S14 Step:
    S12, multiple sub- orders, each sub- order are generated according to the internal order process number and corresponding tourism product integration The information of the internal order process number and the sub- order is stored in background data base by a corresponding travelling products, The no longer information of the same internal order process number of secondary storage and corresponding sub- order in subsequent step.
  3. 3. the method to place an order of travelling as claimed in claim 2, it is characterised in that the step S17 includes step:
    The price generation branch of tourism product integration corresponding to S171, the inside order process number according to corresponding to the order number Fu Dan;
    After S172, the paying bill are paid for, the sub- order is confirmed according to the corresponding internal order process number of paying bill, And the travelling products for carrying out the sub- order make a reservation for.
  4. 4. the method to place an order of travelling as claimed in claim 2, it is characterised in that the step S17 includes step:
    The travelling products that S173, the inside order process number according to corresponding to the order number carry out the sub- order make a reservation for,
    S174, paying bill is generated according to the sub- order, so that user is paid, the paying bill includes the sub- order pair The inside order process number answered.
  5. 5. the method to place an order of travelling as claimed in claim 2, which is characterized in that in step S11 or S14, by the order Information is submitted to be converted to extensible markup language;In step s 12, the extensible markup language is parsed, after extraction parsing The information of travelling products is preserved the information of the internal order process number and the sub- order using the information as sub- order In background data base.
  6. 6. the method to place an order of travelling as claimed in claim 2, it is characterised in that further include step before step S17:
    S161, the price for monitoring travelling products change with the presence or absence of variation and perform step S162, do not change and perform step Rapid S164;
    S162, interruption place an order, and send prompt message to user;
    S163, field feedback is received, judges whether user agrees to the price after variation, then perform step S164 in this way, such as Otherwise step S165 is performed;
    S164, confirmation message is sent, is made a reservation for the travelling products for carrying out the sub- order;
    S165 terminates the order and places an order.
  7. 7. the method to place an order of travelling as described in claim 1, it is characterised in that further include step after step S11:
    S201, message queue is created, asynchronous process request is generated according to the order, asynchronous process request is stored in institute It states in message queue;
    S202, the message queue is sent to execute server;
    S203, the execute server is received according to the execution feedback information of message queue execution asynchronous operation and is stored in In background data base.
  8. 8. a kind of system to place an order of travelling, it is characterised in that including:
    Predetermined module, the order that the predetermined module is used to receive user submit the order after information and user's change to submit letter Breath;
    Order management module, for the order management module for establishing an order, the order can including a newly-generated user The order number seen, the newly-generated sightless internal order process number of user and tourism product integration, the order number with Unique internal order process number establishes mapping relations, and the internal order process number is reflected with the foundation of unique tourism product integration Relationship is penetrated, the order management module updates the order after the order after receiving user's change submits information, updated The order includes original order number, a newly-generated inside order process number and newly-generated travelling products group It closes, original order number establishes new mapping relations with unique newly-generated inside order process number, described new The inside order process number of generation establishes new mapping relations with the newly-generated tourism product integration;
    Payment module, travelling products of the payment module corresponding to for the inside order process number according to corresponding to order number The price generation paying bill of combination, so that user is paid.
  9. 9. the system to place an order of travelling as claimed in claim 8, it is characterised in that further include:
    Sub- order module, the sub- order module are generated according to the internal order process number and corresponding tourism product integration Multiple sub- orders, each sub- order correspond to a travelling products, by the internal order process number and the letter of the sub- order Breath is stored in background data base.
  10. 10. the system to place an order of travelling as claimed in claim 8, it is characterised in that further include:
    Message module, the message module generates asynchronous process request for creating message queue, according to the order, by described in Asynchronous process request is stored in the message queue, and the message queue is sent to execute server, receives the execution Server according to the message queue perform asynchronous operation execution feedback information, and by it is described execution feedback information be stored in after In platform database.
  11. 11. the system to place an order of travelling as claimed in claim 9, it is characterised in that further include:
    Price module, the price of the price module monitoring travelling products change, interruption places an order, and sends out with the presence or absence of variation Sending prompt message, the price module receives the feedback information whether user agrees to change price, in this way then by ordering to user Menu manager module sends confirmation message to sub- order module, is made a reservation for the travelling products for carrying out the sub- order, such as otherwise to ordering Menu manager module, which is sent, terminates order placement information.
  12. 12. a kind of equipment to place an order of travelling, which is characterized in that including:
    Processor;
    Memory, wherein being stored with the executable instruction of the processor;
    Wherein, the processor is configured to come any one institute in perform claim requirement 1 to 7 via the execution executable instruction The step of stating the method that tourism places an order.
  13. 13. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power Profit require to travel described in any one in 1 to 7 the method to place an order the step of.
CN201810083968.3A 2018-01-29 2018-01-29 Method, system, equipment and storage medium for ordering travel Active CN108182628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810083968.3A CN108182628B (en) 2018-01-29 2018-01-29 Method, system, equipment and storage medium for ordering travel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810083968.3A CN108182628B (en) 2018-01-29 2018-01-29 Method, system, equipment and storage medium for ordering travel

Publications (2)

Publication Number Publication Date
CN108182628A true CN108182628A (en) 2018-06-19
CN108182628B CN108182628B (en) 2021-04-20

Family

ID=62551531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810083968.3A Active CN108182628B (en) 2018-01-29 2018-01-29 Method, system, equipment and storage medium for ordering travel

Country Status (1)

Country Link
CN (1) CN108182628B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563738A (en) * 2020-04-26 2020-08-21 特瓦特能源科技有限公司 Payment method and system
CN111630554A (en) * 2018-12-27 2020-09-04 乐天株式会社 Information processing apparatus, information processing method, payment system, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102376024A (en) * 2010-08-13 2012-03-14 中国科学院物理研究所苏州技术研究院 Customer to business (C2B) mode-based tourism electronic network reservation method and system
CN105279690A (en) * 2015-11-19 2016-01-27 上海携程商务有限公司 Travel order placing method and system
CN105631630A (en) * 2015-12-25 2016-06-01 中国民航信息网络股份有限公司 Passenger order data processing method and device
CN105956913A (en) * 2016-07-06 2016-09-21 成都中科大旗软件有限公司 Tourism e-commerce distribution open system and tourism product management method thereof
CN107424053A (en) * 2017-07-31 2017-12-01 上海携程国际旅行社有限公司 Ordering method and its system, storage medium, the electronic equipment of order

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102376024A (en) * 2010-08-13 2012-03-14 中国科学院物理研究所苏州技术研究院 Customer to business (C2B) mode-based tourism electronic network reservation method and system
CN105279690A (en) * 2015-11-19 2016-01-27 上海携程商务有限公司 Travel order placing method and system
CN105631630A (en) * 2015-12-25 2016-06-01 中国民航信息网络股份有限公司 Passenger order data processing method and device
CN105956913A (en) * 2016-07-06 2016-09-21 成都中科大旗软件有限公司 Tourism e-commerce distribution open system and tourism product management method thereof
CN107424053A (en) * 2017-07-31 2017-12-01 上海携程国际旅行社有限公司 Ordering method and its system, storage medium, the electronic equipment of order

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111630554A (en) * 2018-12-27 2020-09-04 乐天株式会社 Information processing apparatus, information processing method, payment system, and program
US11704721B2 (en) 2018-12-27 2023-07-18 Rakuten Group, Inc. Information processing device, information processing method, payment system and program
CN111563738A (en) * 2020-04-26 2020-08-21 特瓦特能源科技有限公司 Payment method and system

Also Published As

Publication number Publication date
CN108182628B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN110413533A (en) AB test method, system, equipment and storage medium
CN105556919B (en) Dual factor anthentication is carried out using service request bill
CN104765621B (en) A kind of method and system of the deployment program in clustered node
CN109741150A (en) Editing order method, system, equipment and storage medium
CN110430257A (en) Information processing method, device, system and readable storage medium storing program for executing
CN108062382A (en) Method, apparatus, equipment and the storage medium of information exchange
CN110083544A (en) Distributed automatization test system, method, electronic equipment and storage medium
CN109508805A (en) Flight changes providing method, system, storage medium and the electronic equipment of label information
CN107835181A (en) Right management method, device, medium and the electronic equipment of server cluster
CN108182628A (en) Method, system, equipment and the storage medium that tourism places an order
CN113793139A (en) Payment abnormity processing method, processing device, storage medium and electronic equipment
CN109299124A (en) Method and apparatus for more new model
CN109284452A (en) The online methods of exhibiting of electronic protocol, device, electronic equipment, storage medium
CN108390878A (en) Method, apparatus for verifying network request safety
CN109670028A (en) Table search method and device in online document
CN111723134A (en) Information processing method, information processing device, electronic equipment and storage medium
CN109741009A (en) A kind of expense reimbursement management method and device
CN109145591A (en) The plug-in loading method of application program
CN109254819A (en) Interface updating method, system, equipment and storage medium based on android system
CN115357266A (en) CAN bus-based airborne equipment upgrading method and device and storage medium
CN109917781A (en) For dispatching the method, apparatus and system of automated guided vehicle
CN114036218A (en) Data model switching method and device, server and storage medium
CN113257398A (en) Information processing system, method and device
CN112416349A (en) Form page generation method, system, equipment and storage medium
CN111158649A (en) Method and device for configuring multi-level parameters

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