CN101866456A - Method and system for storing business model and method and system for reading business model - Google Patents

Method and system for storing business model and method and system for reading business model Download PDF

Info

Publication number
CN101866456A
CN101866456A CN201010207899A CN201010207899A CN101866456A CN 101866456 A CN101866456 A CN 101866456A CN 201010207899 A CN201010207899 A CN 201010207899A CN 201010207899 A CN201010207899 A CN 201010207899A CN 101866456 A CN101866456 A CN 101866456A
Authority
CN
China
Prior art keywords
business
xml
business model
model
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010207899A
Other languages
Chinese (zh)
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.)
Yonyou Software Co Ltd
Original Assignee
Yonyou Software 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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN201010207899A priority Critical patent/CN101866456A/en
Publication of CN101866456A publication Critical patent/CN101866456A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a system for storing a business model and a method and a system for reading a business model. The method for storing a business model comprises the following steps of: obtaining business model information from an enterprise core business system; serializing the obtained business model information into an XML (Extensible Markup Language) text and generating an XML mode of the business model; and writing the XML mode into a user defined XML part of an Office document. With the technical scheme of the invention, a business module can be stored into the Office document, thereby realizing complex business application and perform off-line application.

Description

The method of storage service model, system and read method, the system of business model
Technical field
The present invention relates to Office application-development technologies field, particularly relate to a kind of method, system of storage service model, and the method, the system that read business model.
Background technology
For a long time, the information personnel of enterprise generally adopts VBA (Visual Basic for Applications) to come self-defined Office application program, and they are mutually integrated with existing data and system.But the defective of VBA is also very obvious: VBA can't recover in case document is damaged based on document; The safety issue of VBA, the macrovirus of writing with VBA is the serious security risk of Microsoft Office document.If user's citing security concerns, with the grand forbidding of Office, then the VBA program can't be moved, and function corresponding also can't be used; At last, also be the most important, the business model that the VBA program in the document can't saved system, business model is kept in the operation system, so the VBA program can't realize that complicated service uses, and can't accomplish that also off-line uses.
Summary of the invention
The method that the invention provides a kind of method of storage service model and read business model, these methods can store business module in the Office document into, thereby can realize the complicated service application, also can accomplish the off-line application.
The system that the present invention also provides a kind of system of storage service model and read business model, these systems can store business module in the Office document into, thereby can realize the complicated service application, also can accomplish the off-line application
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method of storage service model, comprising:
Obtaining step, it obtains business model information from the enterprise core business system;
Generate step, its above-mentioned business model information sequence that will obtain changes into the expandable mark language XML text, and generates the XML pattern of business model; And
Write step is in its self-defined XML parts of client that above-mentioned XML pattern is write the Office document.
The invention also discloses a kind of method that reads business model, comprising:
Read step, it reads in the XML pattern of storing in the self-defined XML parts of client;
Analyzing step, it is resolved above-mentioned XML pattern, obtains the descriptor of business model, by unserializing, creates the corresponding service model object;
Treatment step, it is handled business datum based on above-mentioned business model object;
Preserve step, it connects the enterprise core business system, and the data of handling in the treatment step are saved in the enterprise core business system.
The invention discloses a kind of system that realizes the storage service model, comprising:
Acquiring unit is used for obtaining business model information from the enterprise core business system, and sends to generation unit;
Generation unit is used for the business model information sequence from reading unit is changed into the XML text, and generates the XML pattern of business model, and sends to writing unit;
Writing unit, the XML pattern that is used for the unit of self-generating in the future writes the self-defined XML parts of client of Office document.
The invention also discloses a kind of system that realizes reading the storage service model, comprising:
Reading unit is used for reading in the XML pattern that the self-defined XML parts of client are stored, and sends to resolution unit;
Resolution unit is used for the XML pattern from reading unit is resolved, and obtains the descriptor of business model, by unserializing, creates the corresponding service model object;
Processing unit is used for based on above-mentioned business model object business datum being handled, and the data of handling is sent to the preservation unit;
Preserve the unit, be used to connect the enterprise core business system, the described data of handling are saved in the enterprise core business system.
By as seen above-mentioned, the present invention is this to obtain business model information from the enterprise core business system, the above-mentioned business model information sequence that obtains is changed into the expandable mark language XML text, and the XML pattern of generation business model, technical scheme in the self-defined XML parts of client that above-mentioned XML pattern is write the Office document, can overcome VBA of the prior art based on document, and some problems that security brought of VBA, and can realize the complicated service application, also can accomplish the off-line application.
Description of drawings
Fig. 1 is the synoptic diagram of Office Open XML document structure;
Fig. 2 is the information flow chart of embodiment of the invention storage service model;
Fig. 3 is the information flow chart that the embodiment of the invention reads business model;
Fig. 4 is a kind of composition frame chart of realizing the system of storage service model of the embodiment of the invention;
Fig. 5 is a kind of composition frame chart of realizing reading the system of business model of the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Fig. 1 is the synoptic diagram of Office Open XML document structure.As shown in Figure 1, extend markup language (XML, Extensible Markup Language) formatted file container comprises: document properties (Document Properties), the self-defined XML of client (Custom Defined XML), chart (Chart), embedded code/grand (Embedded Code/Macros), picture (Images), video (Video), audio file (Sound files), speech SGML/tables of data SGML (WordML/SpreadsheetML) etc. and note (Comments).In the past, data are entered into the Office application program analyze very easyly, for example can enumerate the data management function of formula operation function among the Excel, statistical function, Access.But data from the Office application program, extract carry out post analysis very the difficulty, especially the business datum between the different system will realize sharing, hardly may.After the XML technical support is provided in Office, data can be incorporated into Office and analyze, be submitted to then in other process of using XML and carry out subsequent treatment, whole process seamless connection, providing a great convenience property also when greatly increasing work efficiency.
Fig. 2 is the information flow chart of embodiment of the invention storage service model.As shown in Figure 2, Office business application (OBA, Office Business Application) client application is connected with the enterprise core business system by the network connection, at this, connected mode can have a variety of, can connect or ODBC connects or other mode connects with JDBC, there is no particular limitation.
Then, from the enterprise core business system, obtain business model information, certainly, also can according to circumstances obtain related expanding and control information simultaneously.This expansion and control information comprise: the difference control information between user profile, the different business etc.Like this, the OBA client application can be with business model information according to related expanding of being obtained and control information, and binding sequence changes into business model information XML, then, the business model information XML of this production is deposited in the Office document.Here be specially: the business model information sequence that obtains is changed into the expandable mark language XML text, and generate the XML pattern of business model, and the XML pattern is write in the self-defined XML parts of client of Office document.Thus, the user just can start corresponding Office program, reads in this Office document, wants the operation carried out, realizes that relevant off-line uses.
Method shown in Figure 2 is by discharging the information in the operation system of backstage, with create collaboration type, based on the role's and wieldy solution, make the information and the function that are enclosed in the isolated system be easier to visit and operation, thereby help the usage level of employee's raising, and the final influence bigger to the successful generation of business to enterprise operation system.
For make the solution of the present invention clearer, understand, below simple the place of matchmakers XML and the OBA that relate to.
XML is the same with HTML, all is SGML (Standard Generalized Markup Language, standard generalized markup language).XML is cross-platform in the Internet environment, depends on the technology of content, is the strong instrument of current Processing Structure document information.XML is a kind of simple data storage language, use a series of simple mark data of description, and these marks can be set up with mode easily, though the XML occupation space will take more space than binary data, XML extremely simply is easy to grasp and use.In the present invention, the main application of XML except the mark that customizes various zones, also comprises the self-description of data, the exchanges data between the different system etc.Like this,, above-mentioned pattern is expanded by data relevant with model and control information etc. are also added in the XML pattern, can create collaboration type, based on the role's and be easy to use business model.
OBA is a real application platform that is structured on the 2007Microsoft Office system-based.It is based upon on the familiar 2007Microsoft Office system, by discharging the information in the operation system of backstage, with create collaboration type, based on the role's and wieldy solution, make the information and the function that are enclosed in the isolated system be easier to visit and operation, thereby help the usage level of employee's raising, and the final influence bigger to the successful generation of business to enterprise operation system.Office Business Applications (OBAs) is as SAP, the common compound application program that constitutes of Microsoft Dynamics, PeopleSoft by Office client or SharePoint Server and enterprise core business system (LOB).OBAs effectively integrates a plurality of separate systems, and simultaneously many key properties such as collaborative work, simple and direct efficient, role's driving, manageability is rolled into one.
In the present invention, the design aim of OBA is to set up the effective connection between data center and the use terminal, and the mode that the user can be adopted know or instrument is checked and deal with data, simultaneously existing line-of-business system of enterprise and Microsoft Office are integrated, can make the user with more simple and direct, mode is finished routine work efficiently.
At this, enumerate a concrete example this process is described.A total sales volume and the profit situation that the user uses the Excel of Microsoft to add up this month, the person in charge with Outlook comes statistics sent to oneself demonstrates the sales achievement of this month with PowerPoint.At first, OBA applications client program by network connect with the enterprise key system (at this, be the system of the current employee's of storage marketing information, such as management system of database, integrated ERP etc.), obtain the information of active user's marketing model, obtain simultaneously active user's information such as user identity, role, authority as required.Herein, obtaining related expanding and control information can be according to user's role or other conditional decision needs whether, specifically, if do not need to obtain a certain individual's sales situation, does not then need user's information such as identity, role, authority.Be directed to other business, equally also have similar situation.Can confirm whether need to obtain related expanding and control information as required.
Then, according to the marketing information of being obtained, according to information such as active user's identity, role, authorities, create marketing model information XML, and the marketing model information XML that will create is deposited in the Office document, like this, the active user just can be based on this Office document, utilize the statistical function of the Excel of Microsoft, add up total sales volume and the profit situation of this month, generate various forms, with the next person in charge who statistics is sent to oneself of Outlook, based on this statistics, demonstrate the sales achievement of this month with PowerPoint.And this is for the active user, need not between Office office system such as Word, Excel, Outlook and ERP, constantly to switch, thereby avoided the separation of business datum, and the repetition typing of data.
And OBA has adopted the Development Framework of complete plug-in type, and plug-in unit can be convenient be inserted and unloaded, and supports extension point, offers the user and the ISV partner expands, the enterprise-level OBA application of customized development oneself.
Fig. 3 is the information flow chart that the embodiment of the invention reads business model.As shown in Figure 3, the OBA client application is opened the Office document, read the business model information XML that is stored in wherein, the business model information XML antitone sequence that has read is changed into business model information (to be specially: read in the XML pattern of storing in the self-defined XML parts of client, above-mentioned XML pattern is resolved, obtain the descriptor of business model,, create the corresponding service model object) by unserializing.At this moment, according to circumstances, when in business model information XML, having related expanding and control information, also with this related expanding and control information unserializing.Then, business datum is handled, the off-line of promptly being correlated with is used.Then, the result that this off-line is used is input in the enterprise core business system by the network connection, certainly, as required, for more stable, preserve the enterprise core business data safely, can carry out data persistence to it and handle, make it to be imported in the database of enterprise core business system.
In the embodiment shown in fig. 3, the OBA program can read the XML pattern that is defined among the self-defining XML of client, and the business model that will be stored in this pattern becomes the business model object, based on data relevant and control information with model, create the business model object further, thus, separating between the form of expression that has realized system front end veritably and the background business logic
At this, enumerate a concrete example this process is described.User uses the Excel of Microsoft to add up, analyze total sales volume and the profit situation of this month, wants simultaneously this statistics, analysis result stored in the enterprise core business system and goes, so that use next time.At first, the OBA client application is opened the Office document, reads business model information XML, by this business model information XML antitone sequence is changed into business model information, promptly can realize relevant off-line application.Simultaneously, same as the previously described embodiments, can according to circumstances determine whether also unserializing being carried out in the related expanding and the control information of storing among the business model information XML.Like this, the user promptly can finish analysis, the statistics of the situation of total sales volume and profit in Excel, promptly realizes relevant off-line application.At last, connect by network, connect the enterprise core business system, the result that off-line is used is saved in the enterprise core business system, realizes data persistence.
Fig. 4 is a kind of composition frame chart of realizing the system of storage service model of the embodiment of the invention.As shown in Figure 4, this system comprises: acquiring unit 401, and generation unit 402 and writing unit 403, wherein:
Acquiring unit 401 is used for obtaining business model information from the enterprise core business system, and sends to generation unit 402;
Generation unit 402 is used for the business model information sequence from acquiring unit 401 is changed into the XML text, and generates the XML pattern of business model, and sends to writing unit 403;
Writing unit 403, the XML pattern that is used for the unit of self-generating in the future 402 writes the self-defined XML parts of client of Office document.
In system shown in Figure 4, generation unit 402 is used for adding data relevant with model and control information to the XML pattern, and the XML pattern is expanded.
Fig. 5 is a kind of composition frame chart of realizing reading the system of business model of the embodiment of the invention.As shown in Figure 5, comprising: reading unit 501, resolution unit 502, processing unit 503 and preservation unit 504, wherein:
Reading unit 501 is used for reading in the XML pattern that the self-defined XML parts of client are stored, and sends to resolution unit 502;
Resolution unit 502 is used for the XML pattern from reading unit 501 is resolved, and obtains the descriptor of business model, by unserializing, creates the corresponding service model object;
Processing unit 503 is used for based on above-mentioned business model object business datum being handled, and the data of handling are sent to preservation unit 504;
Preserve unit 504, be used to connect the enterprise core business system, the described data of handling are saved in the enterprise core business system.
In system shown in Figure 5, resolution unit 502 is further used for resolving above-mentioned XML pattern, obtains data relevant with model and control information, comes the business model object of the above-mentioned establishment of initialization further.
By as seen above-mentioned, the present invention is this to obtain business model information from the enterprise core business system, the above-mentioned business model information sequence that obtains is changed into the expandable mark language XML text, and the XML pattern of generation business model, technical scheme in the self-defined XML parts of client that above-mentioned XML pattern is write the Office document, can overcome VBA of the prior art based on document, and some problems that security brought of VBA, and can realize the complicated service application, also can accomplish the off-line application.In addition, the present invention is based on Office 2007 new Open XML document form and OBA frameworks sets up, can be easy to create collaboration type, based on the various enterprise solutions role, wieldy, well solved the problem (make originally be enclosed in data and function are easier to visit and operation in the isolated system) of data silo.Based on the Office interface that the user is familiar with, improve user experience, help the usage level of enterprise staff lifting enterprise operation system, excite the activity of " people " in the enterprise, and the final influence bigger to the successful generation of operation system.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. the method for a storage service model is characterized in that, comprising:
Obtaining step, it obtains business model information from the enterprise core business system;
Generate step, its above-mentioned business model information sequence that will obtain changes into the expandable mark language XML text, and generates the XML pattern of business model; And
Write step is in its self-defined XML parts of client that above-mentioned XML pattern is write the Office document.
2. method according to claim 1 is characterized in that,
Above-mentioned obtaining step, generation step and write step realize by Office business application OBA client application.
3. according to claim 1 or 2 described methods, it is characterized in that, also comprise:
Spread step, it adds data relevant with model and control information in the XML pattern to, and the XML pattern is expanded.
4. according to claim 1 or 2 described methods, it is characterized in that, also comprise:
Read step, it reads in the XML pattern of storing in the self-defined XML parts of client;
Analyzing step, it is resolved above-mentioned XML pattern, obtains the descriptor of business model, by unserializing, creates the corresponding service model object;
Treatment step, it is handled business datum based on above-mentioned business model object;
Preserve step, it connects the enterprise core business system, and the data of handling in the treatment step are saved in the enterprise core business system.
5. a method that reads business model is characterized in that, comprising:
Read step, it reads in the XML pattern of storing in the self-defined XML parts of client;
Analyzing step, it is resolved above-mentioned XML pattern, obtains the descriptor of business model, by unserializing, creates the corresponding service model object;
Treatment step, it is handled business datum based on above-mentioned business model object;
Preserve step, it connects the enterprise core business system, and the data of handling in the treatment step are saved in the enterprise core business system.
6. method according to claim 5, it is characterized in that, after the described analyzing step, and before described treatment step, also comprise: resolve above-mentioned XML pattern, obtain data relevant and control information, come the business model object of the above-mentioned establishment of initialization further with model.
7. a system that realizes the storage service model is characterized in that, comprising:
Acquiring unit is used for obtaining business model information from the enterprise core business system, and sends to generation unit;
Generation unit is used for the business model information sequence from reading unit is changed into the XML text, and generates the XML pattern of business model, and sends to writing unit;
Writing unit, the XML pattern that is used for the unit of self-generating in the future writes the self-defined XML parts of client of Office document.
8. system according to claim 7 is characterized in that,
Generation unit is used for adding data relevant with model and control information to the XML pattern, and the XML pattern is expanded.
9. the system of storage service model is read in a realization, it is characterized in that, comprising:
Reading unit is used for reading in the XML pattern that the self-defined XML parts of client are stored, and sends to resolution unit;
Resolution unit is used for the XML pattern from reading unit is resolved, and obtains the descriptor of business model, by unserializing, creates the corresponding service model object;
Processing unit is used for based on above-mentioned business model object business datum being handled, and the data of handling is sent to the preservation unit;
Preserve the unit, be used to connect the enterprise core business system, the described data of handling are saved in the enterprise core business system.
10. system according to claim 9 is characterized in that,
Resolution unit is further used for resolving above-mentioned XML pattern, obtains data relevant with model and control information, comes the business model object of the above-mentioned establishment of initialization further.
CN201010207899A 2010-06-23 2010-06-23 Method and system for storing business model and method and system for reading business model Pending CN101866456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010207899A CN101866456A (en) 2010-06-23 2010-06-23 Method and system for storing business model and method and system for reading business model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010207899A CN101866456A (en) 2010-06-23 2010-06-23 Method and system for storing business model and method and system for reading business model

Publications (1)

Publication Number Publication Date
CN101866456A true CN101866456A (en) 2010-10-20

Family

ID=42958172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010207899A Pending CN101866456A (en) 2010-06-23 2010-06-23 Method and system for storing business model and method and system for reading business model

Country Status (1)

Country Link
CN (1) CN101866456A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065211A (en) * 2011-11-09 2013-04-24 微软公司 Techniques to provide enterprise resource planning functions from an e-mail client application
CN104572894A (en) * 2014-12-24 2015-04-29 天津南大通用数据技术股份有限公司 Method for describing service model by utilizing XML (Extensible Markup Language) in business intelligence and business intelligence system
CN109343901A (en) * 2018-09-25 2019-02-15 广东电网有限责任公司 Cross-software switching method and device and electronic equipment

Citations (4)

* 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
US20080300850A1 (en) * 2007-05-31 2008-12-04 Jack Chen Method and apparatus for processing xml for display on a mobile device
US20090106742A1 (en) * 2007-10-18 2009-04-23 Microsoft Corporation Framework for Testing API of a Software Application
CN101477531A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Method for implementing flow model from testing environment issuance to manufacturing environment

Patent Citations (4)

* 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
US20080300850A1 (en) * 2007-05-31 2008-12-04 Jack Chen Method and apparatus for processing xml for display on a mobile device
US20090106742A1 (en) * 2007-10-18 2009-04-23 Microsoft Corporation Framework for Testing API of a Software Application
CN101477531A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Method for implementing flow model from testing environment issuance to manufacturing environment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065211A (en) * 2011-11-09 2013-04-24 微软公司 Techniques to provide enterprise resource planning functions from an e-mail client application
CN103065211B (en) * 2011-11-09 2016-12-21 微软技术许可有限责任公司 For the method and apparatus providing Enterprise Resources Planning function from e-mail
CN104572894A (en) * 2014-12-24 2015-04-29 天津南大通用数据技术股份有限公司 Method for describing service model by utilizing XML (Extensible Markup Language) in business intelligence and business intelligence system
CN109343901A (en) * 2018-09-25 2019-02-15 广东电网有限责任公司 Cross-software switching method and device and electronic equipment

Similar Documents

Publication Publication Date Title
Costello et al. Conservation of biodiversity through taxonomy, data publication, and collaborative infrastructures
Butler et al. Community effort in online groups: Who does the work and why?
Yates et al. Explicit and implicit structuring of genres in electronic communication: Reinforcement and change of social interaction
Ebenman et al. Community viability analysis: the response of ecological communities to species loss
Chaudhuri et al. Survey sampling: theory and methods
Tevi et al. Understanding corporate re-branding: an evolution theory perspective
US20100146639A1 (en) Online directory with contact information
CN106104596A (en) Display is for the cooperation icon of the state that cooperates
CN105956955A (en) Case tracking interaction system and method
US20140067868A1 (en) Schema Mapping Based on Data Views and Database Tables
Sanders Is CSR cognizant of the conflictuality of globalisation? A realist critique
Rosler The artistic mode of revolution: from gentrification to occupation
CN101222451A (en) Method for acquiring linkman data in instant communication instrument
CN101866456A (en) Method and system for storing business model and method and system for reading business model
Morrissey The economy of free and open source software in the preservation of digital artefacts
Zhao et al. Collaborative Management of Complex Major Construction Projects: AnyLogic‐Based Simulation Modelling
KR20150018578A (en) Method and device for displaying messages
Lee et al. Building digital resilience against crises: The case of Taiwan's COVID‐19 pandemic management
Sibbald et al. Creating, synthesizing, and sharing: The management of knowledge in public health
Chin-Yee et al. One voice, one Africa: the African group of negotiators
Batabyal et al. An analysis of resilience in complex socioeconomic systems
Larosiliere et al. An empirical study on the determinants of e-government maturity: A fit-viability perspective
Mostari What do mobiles speak in Algeria? Evidence from SMS language
Jäger Populists, producers and the politics of rentiership
Moon Gendered patterns of politeness in free/libre open source software development

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101020