CN105630752B - The method for supporting business model quickly to change - Google Patents

The method for supporting business model quickly to change Download PDF

Info

Publication number
CN105630752B
CN105630752B CN201510994071.2A CN201510994071A CN105630752B CN 105630752 B CN105630752 B CN 105630752B CN 201510994071 A CN201510994071 A CN 201510994071A CN 105630752 B CN105630752 B CN 105630752B
Authority
CN
China
Prior art keywords
xml
model
formula
formula model
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510994071.2A
Other languages
Chinese (zh)
Other versions
CN105630752A (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.)
China Travelsky Technology Co Ltd
Original Assignee
China Travelsky Technology 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 China Travelsky Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
Priority to CN201510994071.2A priority Critical patent/CN105630752B/en
Publication of CN105630752A publication Critical patent/CN105630752A/en
Application granted granted Critical
Publication of CN105630752B publication Critical patent/CN105630752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Finance (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Document Processing Apparatus (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of method for supporting that business model quickly changes, including:Step 1:WebService services are become into XML client.Step 2:The call XML client in regulation engine, obtains request/response XML message, and is combined.Step 3:The corresponding file that defines of XML message is stated that formula model editor is converted into XML and states formula model by XML.Step 4:Assignment is carried out to XML statement formula models according to XML incoming messages, completes commodity logical process;Step 5:The definition of formula model is stated according to XML, states formula model conversion into the statement formula model of regulation engine standard XML.The present invention realizes the response and processing that change to model by being updated to rule file, the susceptibility to the change of profession model is reduced, so as to improve the ability of " on-demand " of system to a greater degree.

Description

The method for supporting business model quickly to change
Technical field
It is more particularly to a kind of to support business model the present invention relates to the tourism product integration process of airline's direct selling channel The method quickly changed.
Background technology
The needs of can buying other travelling products and service to meet passenger when purchasing the air ticket, airline Wish to improve its one-stop travelling products sales force on its B2C website, need to access polytype travelling products for this, And carry out package sale.
Traditional product treatment pattern is:
1st, the Web Service services that supplier provides are docked, product model is constructed by senior business expert;
2nd, product model and service are packaged into corresponding static program code;
3rd, according to relevant business demand, logic adjustment is carried out to multiple product price by program;
4th, it is supplied to B2C websites to be shown final products.
In order to increase " on-demand " ability of system, it is however generally that, IT vendor can be by introducing regulation engine, by product Discounting calculating logic by rule into Mobile state management.But for the structure of underlying model, because being related to corresponding industry Deep layer professional knowledge, can only by business expert using static mode build, static mode structure execution step include:
1st, data are sent to server-side with XML message;
2nd, XML is converted into Java Bean and XML parsing generation by server-side first with Open-Source Tools such as XML Bean Code;
3rd, the Java Bean changed in second step are inserted into match in regulation engine and performed;
4th, back-end services are called, obtain initial data;
5th, obtain and return the result;
6th, initial data is handled according to XML request, including the operation such as filters, sorts, polymerizeing;
7th, Java Bean are converted into by XML by XML Bean, return to client.
Above-mentioned pattern is suitable for the longer scene of industry period of change, and with the development of internet, various industries are by " interconnection Net " is changed, and industry rapidly constantly bring forth new ideas by change, and business change is more frequent.Once business change causes model to change, such as Attribute increases and decreases or dependence change, will all cause whole marketing system needs modification or even reconstruct.
The content of the invention
In view of this, the method proposed by the present invention for supporting business model quickly to change can be centered on XML message, profit The access and processing of whole product are realized with regulation engine, and the structure of model is carried out using dynamical fashion, so as to product mould The change of type is responded and handled.
A kind of method for supporting that business model quickly changes proposed by the present invention, including:
Step 1:By Web Service service become XML client, that is, call service client ask Ask/response contents are all XML messages.
Step 2:The call XML client in regulation engine, obtains request/response XML message, right according to business demand Each request/response XML message is combined.
Step 3:In regulation engine, using graphical editing machine, by the corresponding definition file of XML message after combination (XML Schema files) states that formula model editor is converted into XML and states formula model (Declarative by XML Model)。
Step 4:Formula model treatment is stated using business rule (Business Rule) processor and XML of regulation engine Device, carries out assignment to XML statement formula models according to XML incoming messages, completes commodity logical process;
Step 5:Formula model processor is stated by the XML, the definition of formula model is stated according to XML, XML is stated into formula Statement formula model of the model conversion into regulation engine standard.
The XML statements formula model processor is to be mapped to XML statement formula models in the operation phase to meet regulation engine The statement formula model of standard.
In step 4, the discount management of commodity is realized using the business rule processor of the regulation engine.
The XML statement formulas model editor provides Web editing interfaces, by described in click and/or drag operation generation XML states the data file of formula model.
The XML Schema files describe the structure of XML document, the XML Schema files pair The structure of XML message is answered, with tree-shaped display in XML states formula model editor.
The XML statements formula model is user by stating that formula model editor is provided on Web editing interfaces from the XML Schema arborescences in select what required attribute generated, it is also XML format that it, which describes file,.
In conclusion system code caused by for changing because of model changes and then what is produced upgrades demand, the present invention Method by directly rule file is updated realize to model change response and processing, specifically, the present invention XML message is directly handled by DOM technologies inside regulation engine, the characteristic loaded automatically using the rule of regulation engine should Change to model data processing.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly or scheme of the prior art, below will be to required in embodiment The attached drawing used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the flow diagram for the method that the support business model that one embodiment of the invention provides quickly changes;
Fig. 2 is the schematic diagram of the web editing interfaces that XML states formula model editor in Fig. 1 embodiments;
Fig. 3 is the tree-shaped schematic diagram of XML Schema files in Fig. 1 embodiments;
Fig. 4 is the structure diagram that XML states formula model in Fig. 1 embodiments.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, clear, complete description is carried out to the technical solution in the embodiment of the present invention, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The all other embodiments obtained on the premise of creative work is not made, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of method for supporting business model quickly to change is present embodiments provided, including:
Step 1:By Web Service service become XML client, that is, call service client ask Ask/response contents are all XML messages.The method of the present invention requirement and provider system communication are XML clients, rather than general Web Service clients (such as Axis of Apache), this is because Axis Web Service can be mapped directly to for Java Bean objects, once so that supplier interface service change, just must the corresponding client of manual construction.
Step 2:The call XML client in regulation engine, obtains request/response XML message, right according to business demand Each request/response XML message is combined.
Step 3:In regulation engine, using graphical editing machine, by the corresponding definition file (XML of XML message Schema files) by XML state formula model editor be converted into XML state formula model (Declarative Model).Its In, the XML statements formula model editor is that XML definition File Mapping is stated formula model into XML in the design phase.It is described XML statement formula model editors provide Web editing interfaces, and generating the XML by click and/or drag operation states formula model Data file.Fig. 2 gives the schematic diagram of the web editing interfaces of XML statement formula model editors.Table one states formula for XML Mapping relations used by model editor generation XML statement formula models.
Table one
XML states formula model editor Statement formula model structure
HotelRTRQ Model:FactMetaModel:name
Field name FieldMetaModel:name
DisplayName FieldMetaModel:displayName
Type FieldMetaModel:type
Xpath FieldMetaModel:xpath
Scope FieldMetaModel:scope
Restriction FieldMetaModel:regex
Further, as shown in figure 3, the XML Schema files describe the structure of XML document, It has corresponded to the structure of XML message, with tree-shaped display in XML states formula model editor.
Further, the XML statements formula model is user by stating that formula model editor provides Web from the XML Select what required attribute generated in Schema arborescences on editing interface, it is also XML format that it, which describes file,.Fig. 4 is provided The structure diagram of the XML statements formula model.XML statement formula models are that the original statement formula model of regulation engine is changed Into being extended on the basis of original statement formula model, table two gives the content of extension:
Table two
Step 4:Formula model treatment is stated using business rule (Business Rule) processor and XML of regulation engine Device, carries out assignment to XML statement formula models according to XML incoming messages, completes commodity logical process.Wherein, to commodity logic Processing includes realizing the discount management of commodity.
Step 5:Formula model processor is stated by the XML, the definition of formula model is stated according to XML, XML is stated into formula Statement formula model of the model conversion into regulation engine standard.
Further, the XML statements formula model processor is to be mapped to XML statement formula models in the operation phase to meet The statement formula model of regulation engine standard.Table three states that the generation of formula model processor meets the statement of regulation engine standard for XML Mapping relations used by formula model.
Table three
XML states formula model editor Statement formula model structure
FieldMetaModel:name @Parameter@
FieldMetaModel:type @ParameterType@
FieldMetaModel:xpath
Wherein ,@ParameterType@are the data types of Java, including the type that table four is listed, and are passed through FieldMetaModel:Type can directly map.
Table four
Type Description
byte Byte
shot Short
int Integer
long Long
float Floating type
double Double precision
char Character type
boolean Boolean type
Java.util.List;Java.util.Map The object type that Java is supported
Now illustrating the XML statement formula model processors states formula model conversion into regulation engine standard XML Statement formula model:
It is the storage organization of XML statement formula models below:
Now state that XML above is stated formula model conversion into rule by formula model processor based on mapping relations by XML The statement formula model that engine is supported, obtains the statement formula model for meeting regulation engine standard:
In conclusion the method for the present invention states formula based on the system constructing principle using XML processing as core by XML Model engineer and XML statement formula model processors, coordinate the business rule of regulation engine, reduce and profession model is become The susceptibility of change, so as to improve the ability of " on-demand " of system to a greater degree.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used To modify to the technical solution described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic, And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and Scope.

Claims (7)

  1. A kind of 1. method for supporting that business model quickly changes, it is characterised in that the described method includes:
    Step 1:Web Service services are become into XML client, that is, call request/sound of the client of service It is all XML message to answer content;
    Step 2:The call XML client in regulation engine, obtains request/response XML message, according to business demand, to respectively please Ask/respond XML message to be combined;
    Step 3:In regulation engine, the corresponding XML Schema files of XML message after combination are stated into formula model by XML Editing machine is converted into XML statement formula models (Declarative Model);
    Step 4:Formula model processor, root are stated using business rule (Business Rule) processor and XML of regulation engine Assignment is carried out to XML statement formula models according to XML incoming messages, completes commodity logical process;
    Step 5:Formula model processor is stated by the XML, the definition of formula model is stated according to XML, XML is stated into formula model It is converted into the statement formula model of regulation engine standard.
  2. 2. the method according to claim 1 for supporting business model quickly to change, it is characterised in that the XML states formula Model editor is that XML Schema File Mappings are stated formula model into XML in the design phase.
  3. 3. the method according to claim 1 for supporting business model quickly to change, it is characterised in that the XML states formula Model processor is that XML statement formula models are mapped to the statement formula model for meeting regulation engine standard in the operation phase.
  4. 4. the method according to claim 1 for supporting business model quickly to change, it is characterised in that in step 4, utilize The business rule processor of the regulation engine realizes the discount management of commodity.
  5. 5. the method according to claim 1 for supporting business model quickly to change, it is characterised in that the XML states formula Model editor provides Web editing interfaces, and generating the XML by click and/or drag operation states that the data of formula model are literary Part.
  6. 6. the method according to claim 1 for supporting business model quickly to change, it is characterised in that the XML Schema File describes the structure of XML document, and the XML Schema files correspond to the structure of XML message, With tree-shaped display in XML statement formula model editors.
  7. 7. the method according to claim 1 for supporting business model quickly to change, it is characterised in that the XML states formula Model is that user is selected by stating that formula model editor is provided in the Schema arborescences on Web editing interfaces from the XML Required attribute generation, it is also XML format that it, which describes file,.
CN201510994071.2A 2015-12-25 2015-12-25 The method for supporting business model quickly to change Active CN105630752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510994071.2A CN105630752B (en) 2015-12-25 2015-12-25 The method for supporting business model quickly to change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510994071.2A CN105630752B (en) 2015-12-25 2015-12-25 The method for supporting business model quickly to change

Publications (2)

Publication Number Publication Date
CN105630752A CN105630752A (en) 2016-06-01
CN105630752B true CN105630752B (en) 2018-05-04

Family

ID=56045714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510994071.2A Active CN105630752B (en) 2015-12-25 2015-12-25 The method for supporting business model quickly to change

Country Status (1)

Country Link
CN (1) CN105630752B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131744A (en) * 2006-08-22 2008-02-27 华为技术有限公司 Method and system for implementing automatic adaptation of data object model
CN101221556A (en) * 2008-02-01 2008-07-16 中国建设银行股份有限公司 Method and device for XML document analysis
US7542982B2 (en) * 2006-09-05 2009-06-02 International Business Machines Corporation Message validation model
CN101853163A (en) * 2010-06-01 2010-10-06 中科软科技股份有限公司 Industry application software system construction method based on assembly business modeling
CN102385527A (en) * 2010-09-01 2012-03-21 中兴通讯股份有限公司 Device and method for improving execution efficiency of service scripts
CN102508658A (en) * 2011-10-21 2012-06-20 南京邮电大学 Method for realizing model language capable of describing IOT (internet of things) service
CN103095823A (en) * 2013-01-09 2013-05-08 大唐软件技术股份有限公司 Object description method and object information interaction system in Internet of Things system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060317A1 (en) * 2003-09-12 2005-03-17 Lott Christopher Martin Method and system for the specification of interface definitions and business rules and automatic generation of message validation and transformation software
CN101634982A (en) * 2008-07-24 2010-01-27 国际商业机器公司 Method and system used for verifying XML document

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131744A (en) * 2006-08-22 2008-02-27 华为技术有限公司 Method and system for implementing automatic adaptation of data object model
US7542982B2 (en) * 2006-09-05 2009-06-02 International Business Machines Corporation Message validation model
CN101221556A (en) * 2008-02-01 2008-07-16 中国建设银行股份有限公司 Method and device for XML document analysis
CN101853163A (en) * 2010-06-01 2010-10-06 中科软科技股份有限公司 Industry application software system construction method based on assembly business modeling
CN102385527A (en) * 2010-09-01 2012-03-21 中兴通讯股份有限公司 Device and method for improving execution efficiency of service scripts
CN102508658A (en) * 2011-10-21 2012-06-20 南京邮电大学 Method for realizing model language capable of describing IOT (internet of things) service
CN103095823A (en) * 2013-01-09 2013-05-08 大唐软件技术股份有限公司 Object description method and object information interaction system in Internet of Things system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于XML的异构数据交换系统的研究与实现";杨剑;《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》;20051015(第6期);论文全文 *
"异构服务组装平台中执行引擎的设计与实现";陈硒;《中国优秀硕士学位论文全文数据库 信息科技辑》;20071215(第6期);论文全文 *

Also Published As

Publication number Publication date
CN105630752A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
Platenius-Mohr et al. File-and API-based interoperability of digital twins by model transformation: An IIoT case study using asset administration shell
CN108664638B (en) report generation method and device based on index system
CN102779164B (en) The rendering intent of a kind of operation system and dynamic page thereof
US20120216122A1 (en) Application store topics
US20120131445A1 (en) Template-based content creation
US20120078961A1 (en) Representing and Processing Inter-Slot Constraints on Component Selection for Dynamic Ads
US9760552B2 (en) Document renewal and translation
US20160224999A1 (en) Recommending common website features
US20170169474A1 (en) Internet-based display material system and internet-based display material producing method
Paredes‐Valverde et al. A systematic review of tools, languages, and methodologies for mashup development
CN104956289A (en) Systems and methods for a service based social network using tagging technology
US20160224991A1 (en) Evaluating features for a website within a selected industry vertical
US10659546B2 (en) Controlling usages of channels of a user experience ecosystem
US9189544B2 (en) Graphically representing tags in a networked computing environment
CN105630752B (en) The method for supporting business model quickly to change
US20120271779A1 (en) Unifying domain model for internet business systems
WO2023045412A1 (en) Page creation method, apparatus and system, computer device and storage medium
Do et al. Propagation of engineering changes to multiple product data views using history of product structure changes
US20210350247A1 (en) Hybrid decision tree machine learning systems and methods
KR101642107B1 (en) Manufacturing support system based on knowledge-intensive digital model
Xu et al. Interactive design of personalized website search interface based on visual communication
US20170236133A1 (en) System and methods for lead generation
Nogueira et al. The importance of technology and digital media to promote Tourism destinations: A conceptual review
US11093572B2 (en) Hierarchical modeling for network sites
US20170124602A1 (en) Demand matching method on network and workspace trading platform using such method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 100085 Yumin Street, Houshayu Town, Shunyi District, Beijing

Patentee after: CHINA TRAVELSKY HOLDING Co.

Address before: 100010, Beijing, Dongcheng District East Fourth Street, West 157

Patentee before: CHINA TRAVELSKY HOLDING Co.

CP02 Change in the address of a patent holder