CN101009002A - Method and system for realizing data sharing between isomer systems - Google Patents
Method and system for realizing data sharing between isomer systems Download PDFInfo
- Publication number
- CN101009002A CN101009002A CNA2007100035369A CN200710003536A CN101009002A CN 101009002 A CN101009002 A CN 101009002A CN A2007100035369 A CNA2007100035369 A CN A2007100035369A CN 200710003536 A CN200710003536 A CN 200710003536A CN 101009002 A CN101009002 A CN 101009002A
- Authority
- CN
- China
- Prior art keywords
- data
- user
- source data
- application system
- processing system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供了一种在异构系统间实现数据共享的方法和系统,应用系统向处理系统发送查询请求,处理系统根据接收到的查询请求提取用户的源数据,然后发送给应用系统,应用系统将接收到的源数据转换为目的数据,提供给用户。不需要在处理系统中设置对目的数据的存储空间,降低了存储设备上的成本,且处理系统和应用系统间的数据传递不需要人工干预,降低了维护人员上的成本,以此降低了在异构系统间实现数据共享时所需要的成本。且应用系统和处理系统间通过网络服务传送数据,不需要拷贝所有的用户数据,传输速度很快延时少。用户可以根据自己的喜好,使目的数据的样式展现更加灵活。
The present invention provides a method and system for realizing data sharing between heterogeneous systems. The application system sends a query request to the processing system, and the processing system extracts the user's source data according to the received query request, and then sends it to the application system. The application system Convert the received source data into target data and provide it to the user. There is no need to set the storage space for the purpose data in the processing system, which reduces the cost of the storage device, and the data transfer between the processing system and the application system does not require manual intervention, which reduces the cost of maintenance personnel, thereby reducing the cost of The cost required for data sharing between heterogeneous systems. In addition, data is transmitted between the application system and the processing system through network services, without copying all user data, and the transmission speed is fast and the delay is small. Users can make the presentation of the target data more flexible according to their preferences.
Description
技术领域technical field
本发明涉及数据共享技术,特别涉及一种在异构系统间实现数据共享的方法和系统。The invention relates to data sharing technology, in particular to a method and system for realizing data sharing among heterogeneous systems.
背景技术Background technique
随着Internet技术的发展和跨平台需求的日益增加,异构平台间的数据共享业务与日俱增,在通常的情况下实现数据共享是采用人工干预的方式,如硬盘数据拷贝、文件传输协议(FTP,File Transfer Protocol)传输等。随着网络服务(WS,Web Services)技术的不断推广和演进,采用WS技术解决异构系统间的数据传输成为可能。With the development of Internet technology and the increasing demand for cross-platform, the data sharing business among heterogeneous platforms is increasing day by day. In general, data sharing is realized by manual intervention, such as hard disk data copy, file transfer protocol (FTP, File Transfer Protocol) transmission, etc. With the continuous promotion and evolution of Web Services (WS, Web Services) technology, it is possible to use WS technology to solve data transmission between heterogeneous systems.
WS主要是在现有各种异构平台的基础上构建一个通用的与平台无关、语言无关的技术层,各种不同平台之上的应用依靠这个技术层来实现彼此的连接和集成。WS is mainly to build a common platform-independent and language-independent technical layer on the basis of various existing heterogeneous platforms. Applications on various platforms rely on this technical layer to realize mutual connection and integration.
一般情况下,处理系统,用来完成各种用户数据的管理、业务数据的计算等操作;应用系统,为具体业务提供服务平台。为了使用户能够通过应用系统获得所要查询的用户数据,则需要在处理系统和应用系统间实现数据共享。例如:处理系统可以为业务运营支撑系统(BOSS,Business OperationSupport System),应用系统可以为电子账单(eBill)系统、客户关怀(eCare)系统等。BOSS系统可以每月定时对系统中的用户做出帐操作,在计算出每个用户当月的消费金额、优惠金额、缴费金额的同时生成用户消费的明细可扩展标记语言(XML,eXtensible Markup Language)账单。该账单文件的生成依据了BOSS系统中的账单样式定义。用户可以通过eBill系统对账单进行查询,就需要在BOSS系统和eBill系统之间实现数据共享。In general, the processing system is used to complete various user data management, business data calculation and other operations; the application system provides a service platform for specific businesses. In order to enable users to obtain the user data they want to query through the application system, it is necessary to realize data sharing between the processing system and the application system. For example: the processing system can be a business operation support system (BOSS, Business Operation Support System), and the application system can be an electronic bill (eBill) system, a customer care (eCare) system, etc. The BOSS system can regularly perform accounting operations on the users in the system every month, and generate detailed Extensible Markup Language (XML, eXtensible Markup Language) for each user's consumption while calculating the consumption amount, discount amount, and payment amount of each user in the current month bill. The generation of the bill file is based on the bill style definition in the BOSS system. Users can query bills through the eBill system, and data sharing between the BOSS system and the eBill system is required.
目前,为了使用户能够在处理系统外部使用数据文件,往往在处理系统内部设置批量样式转换单元。以BOSS系统为例,在BOSS系统中设置一个批量样式转换单元,维护人员通过输入命令的方式将所有的XML账单一次性转换成超文本链接标示语言(HTML,Hypertext Makeup Language)账单。其中,XML账单仅供BOSS系统内的用户的查询和使用,HTML账单供其它应用系统的拷贝和使用。BOSS系统中保存了所有的XML账单和HTML账单。然后,为了用户在BOSS系统外得到用户账单,需要将在BOSS系统内生成的HTML账单拷贝到应用系统中,以供用户查询和使用。用户可以通过应用系统中的交互单元,在页面上对HTML文件进行浏览。At present, in order to enable users to use data files outside the processing system, a batch style conversion unit is often set inside the processing system. Taking the BOSS system as an example, a batch style conversion unit is set up in the BOSS system, and maintenance personnel convert all XML bills into Hypertext Makeup Language (HTML, Hypertext Makeup Language) bills at one time by inputting commands. Among them, the XML bill is only for query and use by users in the BOSS system, and the HTML bill is for copying and use by other application systems. All XML bills and HTML bills are saved in the BOSS system. Then, in order for the user to obtain the user bill outside the BOSS system, the HTML bill generated in the BOSS system needs to be copied to the application system for the user to query and use. Users can browse HTML files on the page through the interactive unit in the application system.
上述现有技术中在异构系统间实现数据共享的系统如图1所示,其中,处理系统100包括:业务处理单元101、存储单元102、以及样式转换单元103。The system for implementing data sharing between heterogeneous systems in the above prior art is shown in FIG. 1 , wherein the
业务处理单元101,用于用户数据的管理、计算等相关操作,生成XML数据存放在存储单元102中;样式转换单元103读取存储单元102中的XML数据,并根据处理系统100中设定的XML样式语言(XSL,eXtensibleStylesheet Language)样式将其转换为HTML数据存放在存储单元102中,然后发送给应用系统110。The
应用系统110包括交互单元111、以及存储单元112。用户通过交互单元111输入查询索引,交互单元通过查询索引从存储单元112中读取用户所查找的HTML数据,然后回馈给用户。存储单元112,用来存储处理单元100发送来的HTML数据。The
上面所述的技术方案虽然实现了异构系统间的数据共享,却存在着以下缺点:当处理系统中的用户数量庞大时,需要在处理系统中存储所有的XML数据和HTML数据,这就需要大量的存储空间,增加了对存储设备的投入。另外,每次处理系统与应用系统中的数据拷贝都要在人工干预的情况下进行,例如,对存储空间进行查看,输入命令进行拷贝等,这就增加了维护成本。所以现有技术中实现异构系统间的数据共享需要较高的成本。Although the technical solution mentioned above realizes data sharing between heterogeneous systems, it has the following disadvantages: when the number of users in the processing system is huge, it is necessary to store all XML data and HTML data in the processing system, which requires A large amount of storage space increases the investment in storage equipment. In addition, each data copy in the processing system and application system must be performed under the condition of manual intervention, for example, checking the storage space, inputting commands to copy, etc., which increases maintenance costs. Therefore, realizing data sharing between heterogeneous systems in the prior art requires relatively high costs.
发明内容Contents of the invention
有鉴于此,本发明实施例第一目的:提供一种在异构系统间实现数据共享的方法,以便于降低异构系统间数据共享所需要的成本。In view of this, the first purpose of the embodiments of the present invention is to provide a method for implementing data sharing among heterogeneous systems, so as to reduce the cost required for data sharing among heterogeneous systems.
本发明实施例第二目的:提供一种提供共享数据的方法,以便于降低异构系统间数据共享所需要的成本。The second purpose of the embodiments of the present invention is to provide a method for providing shared data, so as to reduce the cost required for data sharing among heterogeneous systems.
本发明实施例第三目的:提供一种在异构系统间实现数据共享的系统,以便于降低异构系统间数据共享所需要的成本。The third object of the embodiments of the present invention is to provide a system for realizing data sharing among heterogeneous systems, so as to reduce the cost required for data sharing among heterogeneous systems.
本发明实施例第四目的:提供一种处理系统,以便于降低异构系统间数据共享所需要的成本。The fourth object of the embodiments of the present invention is to provide a processing system to reduce the cost required for data sharing among heterogeneous systems.
本发明实施例第五目的:提供一种应用系统,以便于降低异构系统间数据共享所需要的成本。The fifth object of the embodiment of the present invention is to provide an application system to reduce the cost required for data sharing among heterogeneous systems.
为了实现上述第一个目的,本发明实施例提供了一种在异构系统间实现数据共享的方法,该方法为:应用系统向处理系统发送查询请求;处理系统根据接收到的查询请求提取用户的源数据,然后将源数据发送给应用系统;应用系统将接收到的源数据转换为目的数据,提供给用户。In order to achieve the above first objective, the embodiment of the present invention provides a method for realizing data sharing between heterogeneous systems, the method is as follows: the application system sends a query request to the processing system; the processing system extracts the user data according to the received query request source data, and then send the source data to the application system; the application system converts the received source data into target data and provides it to the user.
为了实现上述第二个目的,本发明实施例提供了一种提供共享数据的方法,其特征在于,接收查询请求,根据该查询请求提取用户的源数据,然后将源数据发送。In order to achieve the above second objective, an embodiment of the present invention provides a method for providing shared data, which is characterized in that a query request is received, user's source data is extracted according to the query request, and then the source data is sent.
为了实现上述第三个目的,本发明实施例提供了一种在异构系统间实现数据共享的系统,该系统包括:处理系统和应用系统;In order to achieve the above third objective, an embodiment of the present invention provides a system for realizing data sharing between heterogeneous systems, the system includes: a processing system and an application system;
应用系统向处理系统发送查询请求;应用系统将接收到的源数据转换为目的数据;The application system sends a query request to the processing system; the application system converts the received source data into target data;
处理系统,根据接收到的查询请求提取用户的源数据,发送给应用系统。The processing system extracts the user's source data according to the received query request and sends it to the application system.
为了实现上述第四个目的,本发明实施例提供了一种处理系统,该处理系统包括:WS服务端、业务处理单元及存储单元;In order to achieve the fourth objective above, an embodiment of the present invention provides a processing system, which includes: a WS server, a business processing unit, and a storage unit;
WS服务端,接收查询请求,解析出查询请求中的查询索引,根据查询索引从存储单元中读取用户要查询的源数据,然后将用户要查询的源数据发送出去;The WS server receives the query request, parses out the query index in the query request, reads the source data that the user wants to query from the storage unit according to the query index, and then sends the source data that the user wants to query;
业务处理单元,对用户数据进行管理和计算,将用户的源数据存放在存储单元中;The business processing unit manages and calculates user data, and stores the user's source data in the storage unit;
存储单元,用于存放用户的源数据。The storage unit is used to store user's source data.
为了实现上述第五个目的,本发明实施例还提供了一种应用系统,该应用系统包括:交互单元、WS客户端及转换单元;In order to achieve the above fifth objective, the embodiment of the present invention also provides an application system, the application system includes: an interaction unit, a WS client and a conversion unit;
交互单元,将用户输入的查询索引发送给WS客户端;将转换单元发送来的目的数据提供给用户;The interaction unit sends the query index input by the user to the WS client; provides the purpose data sent by the conversion unit to the user;
WS客户端,接收到交互单元发送来的查询索引后,向处理系统发送查询请求;接收到源数据后,将源数据发送给转换单元;WS client, after receiving the query index sent by the interaction unit, sends a query request to the processing system; after receiving the source data, sends the source data to the conversion unit;
转换单元,接收WS客户端发送来的源数据,并将其转换为目的数据,发送给交互单元。The conversion unit receives the source data sent by the WS client, converts it into destination data, and sends it to the interaction unit.
由以上技术方案可以看出,本发明实施例所提供的方法和系统,不需要在处理系统中设置对目的数据的存储空间,降低了在存储设备上的成本;且处理系统和应用系统间的数据传递不需要人工干预即可完成,降低了维护成本,以此降低了在异构系统间实现数据共享时所需要的成本。It can be seen from the above technical solutions that the method and system provided by the embodiments of the present invention do not need to set a storage space for the target data in the processing system, which reduces the cost on the storage device; and the processing system and the application system Data transmission can be completed without manual intervention, reducing maintenance costs, thereby reducing the cost required for data sharing among heterogeneous systems.
附图说明Description of drawings
图1为现有技术中在异构系统间实现数据共享的系统结构图;FIG. 1 is a system structure diagram for realizing data sharing between heterogeneous systems in the prior art;
图2为本发明实施例提供的在异构系统间实现数据共享的系统结构图;FIG. 2 is a system structure diagram for realizing data sharing between heterogeneous systems provided by an embodiment of the present invention;
图3为本发明实施例提供的在异构系统间实现数据共享的方法流程图;FIG. 3 is a flowchart of a method for realizing data sharing between heterogeneous systems provided by an embodiment of the present invention;
图4为本发明实施例提供的实现异构系统间账单共享的方法流程图;FIG. 4 is a flowchart of a method for implementing bill sharing among heterogeneous systems provided by an embodiment of the present invention;
图5为本发明实施例提供的XML账单结构示意图。Fig. 5 is a schematic diagram of an XML bill structure provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案、以及优点更加的清楚,下面结合附图和具体实施例对本发明进行详细的描述。In order to make the purpose, technical solution, and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
本发明实施例所提供的方法主要是:应用系统向处理系统发送查询请求,处理系统根据接收到的查询请求提取用户的源数据,然后发送给应用系统,应用系统将接收到的源数据转换为目的数据提供给用户。The method provided by the embodiment of the present invention mainly includes: the application system sends a query request to the processing system, and the processing system extracts the source data of the user according to the received query request, and then sends it to the application system, and the application system converts the received source data into The purpose data is provided to the user.
其中,提供共享数据的方法为:接收查询请求,根据该查询请求提取用户的源数据,然后将源数据发送。Wherein, the method for providing shared data is: receiving a query request, extracting the user's source data according to the query request, and then sending the source data.
所述源数据可以是XML数据,所述目的数据可以是HTML数据。下面实施例均以XML数据和HTML数据为例进行描述。但并不局限于所述实施例,同样适用于其它形式的源数据和目的数据。The source data may be XML data, and the target data may be HTML data. The following embodiments are described by taking XML data and HTML data as examples. But it is not limited to the above embodiment, and it is also applicable to other forms of source data and target data.
首先对本发明所提供的在异构系统间实现数据共享的系统进行描述。如图2所示,该系统包括处理系统200和应用系统210。First, the system for realizing data sharing among heterogeneous systems provided by the present invention is described. As shown in FIG. 2 , the system includes a
应用系统210向处理系统200发送查询请求,处理系统200根据接收到的查询请求提取用户的XML数据,发送给应用系统210,应用系统210将接收到的XML数据转换为HTML数据提供给用户。The
其中应用系统210包括:交互单元211、WS客户端212、以及转换单元213。The
交互单元211,将用户输入的查询索引发送给WS客户端212;将转换单元213发送来的HTML数据提供给用户。The
所述交互单元可以为浏览器,能够为用户提供查询页面,方便查询索引的输入;HTML数据也可以通过页面提供给用户。The interactive unit can be a browser, which can provide users with query pages to facilitate the input of query indexes; HTML data can also be provided to users through pages.
例如,在eBill系统中,所述查询索引可以是用户的电话号码和月份;在订货量的查询系统中,所述查询索引可以是货品名称和日期。可以在eBill系统上通过页面输入用户的电话号码和月份,进行话费的查询。For example, in the eBill system, the query index may be the user's phone number and month; in the order quantity query system, the query index may be the product name and date. You can enter the user's phone number and month through the page on the eBill system to inquire about the call fee.
WS客户端212,接收到交互单元211发送来的查询索引后,向处理系统200发送查询请求;接收到处理系统200发送来的XML数据后,将XML数据发送给样式转换单元213。The
所述查询请求可以为数据包的形式发送,该查询请求的数据包中包含了查询索引的信息。The query request may be sent in the form of a data packet, and the data packet of the query request includes the information of the query index.
所述XML数据即为处理系统回复给应用系统的用户所要查询的相关数据。The XML data is the relevant data that the processing system replies to the user of the application system to query.
转换单元213,接收WS客户端发送来的XML数据,并将其转换为HTML数据,发送给交互单元211。The
其中,所述转换单元213可以包括:样式转换单元223和存储单元233;Wherein, the
样式转换单元223,用于接收WS客户端212发送来的XML数据,并将其转换为HTML数据,存放到存储单元233中;The
存储单元233,用于存放样式转换单元223转换后得到的HTML数据,并提交给交互单元211。在此,存储单元可以方便用户对HTML数据的长期使用。The
转换单元213也可以只包括样式转换单元223,将转换后的HTML数据直接提交给交互单元211。The
所述交互单元211,还用于将用户选择的转换程序标识发送给样式转换单元223。The
其中,所述样式转换单元223包括两部分:转换器和转换程序存储子单元。转换程序存储子单元用来存放转换程序。转换器,接收WS客户端212发送的XML数据,根据交互单元211发送来的转换程序标识读取转换程序存储单元中对应的转换程序,将XML数据转换成所选择转换程序对应样式的HTML数据,发送给交互单元211。Wherein, the
转换器可以是XML样式转换(XSLT,eXtensible Stylesheet LanguageTranslate)处理器。转换程序为XSL样式,可以选择不同的转换程序,每一种转换程序对应一种XSL样式,可以将XML数据转换成不同样式的HTML数据。The converter may be an XML style transformation (XSLT, eXtensible Stylesheet LanguageTranslate) processor. The conversion program is XSL style, and different conversion programs can be selected. Each conversion program corresponds to an XSL style, and XML data can be converted into HTML data of different styles.
XSL是为XML设计的样式语言,因为目前大多数浏览器仍然不支持XML,所以要利用XSL实现XML到HTML的转换。XSL is a style language designed for XML, because most browsers still do not support XML, so XSL should be used to convert XML to HTML.
例如,在账单查询系统中,用户可以选择转换程序,选择自己喜爱的HTML账单样式,比如,将账单样式设置为黄色背景,或者简约的显示风格。For example, in the bill query system, the user can select a conversion program and choose his favorite HTML bill style, for example, setting the bill style to a yellow background or a simple display style.
所述处理系统200包括:WS服务端201、业务处理单元202、以及存储单元203。The
WS服务端201,接收应用系统210发送来的查询请求,解析出查询请求中的查询索引,根据查询索引从存储单元203中读取用户要查询的XML数据,发送给应用系统210。The
其中,发送给应用系统的XML数据可以是以XML数据流的形式发送,将XML数据流放在应答包中返回给应用系统;也可以是以XML文件的形式发送。Wherein, the XML data sent to the application system may be sent in the form of an XML data stream, and the XML data stream is returned to the application system in a response packet; it may also be sent in the form of an XML file.
业务处理单元202,对用户数据进行管理和计算,将用户的XML数据存放在存储单元203中。The
所述XML包含了标记语言使用的元素和特性、排序与嵌套的方法、以及数据类型。The XML contains elements and attributes used by markup languages, methods of sorting and nesting, and data types.
存储单元203,用于存放用户的XML数据。The
上述处理系统200与应用系统210之间的数据传输,也就是WS服务端201和WS客户端212之间的数据传输,是通过Web服务描述语言(WSDL,Web Services Definition Language)来实现的。The above-mentioned data transmission between the
所述WSDL包含了WS服务端和WS客户端之间通信时使用的消息格式、Internet协议、以及地址。The WSDL includes message formats, Internet protocols, and addresses used in communication between the WS server and the WS client.
WS客户端向WS服务端发送的是查询请求,其中包含了查询索引;WS服务端向WS客户端发送的是查询应答,其中包含了整个XML数据,以此实现了用户数据的传递。What the WS client sends to the WS server is a query request, which includes the query index; what the WS server sends to the WS client is a query response, which includes the entire XML data, so as to realize the transfer of user data.
下面对本发明所提供的在异构系统间实现数据共享的方法进行描述。如图3所示,主要包括以下步骤:The method for realizing data sharing among heterogeneous systems provided by the present invention is described below. As shown in Figure 3, it mainly includes the following steps:
步骤301:应用系统向处理系统发送查询请求。Step 301: the application system sends a query request to the processing system.
本步骤中,用户首先向应用系统输入查询索引,例如,通过浏览器在页面上输入查询索引,然后,应用系统根据用户输入的查询索引向处理系统发送查询请求。In this step, the user first inputs a query index to the application system, for example, enters the query index on the page through a browser, and then the application system sends a query request to the processing system according to the query index input by the user.
所述应用系统向处理系统发送的查询请求可以封装在数据包中发送,该查询请求的数据包中包含了查询索引的信息。The query request sent by the application system to the processing system may be encapsulated in a data packet and sent, and the data packet of the query request includes the information of the query index.
为了实现本步骤,可以首先在应用系统中设置WS客户端,通过WS客户端向处理系统发送查询请求。In order to realize this step, a WS client may first be set in the application system, and a query request is sent to the processing system through the WS client.
步骤302:处理系统根据接收到的查询请求提取用户的XML数据,然后发送给应用系统。Step 302: The processing system extracts the user's XML data according to the received query request, and then sends it to the application system.
本步骤中,可以首先在处理系统中设置WS服务端,通过WS服务端接收应用系统发送来的查询请求,解析出查询请求中的查询索引,根据该查询索引提取用户要查询的XML数据,并发送给应用系统。In this step, the WS server can be set in the processing system first, and the query request sent by the application system can be received through the WS server, and the query index in the query request can be parsed out, and the XML data to be queried by the user can be extracted according to the query index, and sent to the application system.
所述发送给应用系统的XML数据可以是以XML数据流的形式发送,将XML数据流放在应答包中返回给应用系统;也可以是以XML文件的形式发送,可以将XML文件拷贝到应用系统中。The XML data sent to the application system can be sent in the form of an XML data stream, and the XML data stream is returned to the application system in a response packet; it can also be sent in the form of an XML file, and the XML file can be copied to the application system middle.
所述XML包含了标记语言使用的元素和特性、排序与嵌套的方法、以及数据类型。The XML contains elements and attributes used by markup languages, methods of sorting and nesting, and data types.
上述步骤301与步骤302中,应用系统与处理系统之间的数据是通过网络传输的,该数据传送是网络服务描述语言(WSDL,Web Services DefinitionLanguage)来实现的。所述WSDL包含了应用系统与处理系统之间通信时使用的消息格式、Internet协议、以及地址。In the
步骤303:应用系统将接收到的XML数据转换为HTML数据,提供给用户。Step 303: the application system converts the received XML data into HTML data and provides it to the user.
本步骤中,应用系统接收XML数据,结合不同的转换程序,通过转换器,将XML数据转换为与转换程序对应的HTML数据。In this step, the application system receives the XML data, combines different conversion programs, and converts the XML data into HTML data corresponding to the conversion program through the converter.
所述转换器可以是XML样式转换(XSLT,eXtensible StylesheetLanguage Translate)处理器。The converter may be an XML style transformation (XSLT, eXtensible StylesheetLanguage Translate) processor.
其中所述转换程序为XSL样式。XLS是专门为XML设计的样式语言,用户可以根据自己的需要和喜好,选择不同的XSL样式来转换成不同样式的HTML数据。在现有技术中,处理系统中使用了同一的XSL样式而使得用户看到的HTML数据样式都相同,而在本发明的方案中,使用了在应用系统中使用XSL样式的方式,使得HTML数据的展现更加的方便灵活。Wherein the conversion program is an XSL style. XLS is a style language specially designed for XML. Users can choose different XSL styles to convert into different styles of HTML data according to their own needs and preferences. In the prior art, the same XSL style is used in the processing system so that the HTML data style seen by the user is all the same, but in the solution of the present invention, the method of using the XSL style in the application system is used, so that the HTML data The display is more convenient and flexible.
应用系统可以通过浏览器,以页面的形式将生成的HTML数据提供给用户。The application system can provide the generated HTML data to the user in the form of a page through the browser.
下面以运营商提供用户话费账单查询服务为例,对本发明所提供的方法进行详细地描述。此时运营商提供的处理系统为BOSS系统,应用系统为eBill系统,用户欲查询某月份的话费账单。其流程如图4所示,主要包括以下步骤:The method provided by the present invention will be described in detail below by taking the operator's provision of user telephone charge bill inquiry service as an example. At this time, the processing system provided by the operator is the BOSS system, and the application system is the eBill system. The user wants to inquire about the telephone bill of a certain month. The process is shown in Figure 4, mainly including the following steps:
步骤401:将电话号码和月份输入eBill系统。Step 401: Enter phone number and month into eBill system.
在此以要查询的电话号码和月份为查询索引。Here, the telephone number and month to be queried are used as the query index.
步骤402:eBill系统中的WS客户端被触发,通过网络向BOSS系统发送账单查询请求。Step 402: The WS client in the eBill system is triggered to send a bill query request to the BOSS system through the network.
本步骤中,eBill系统通过网络向BOSS系统发送账单查询请求(GetCustomerBillRequest),其中包含了被查询的电话号码和被查询的月份。In this step, the eBill system sends a bill query request (GetCustomerBillRequest) to the BOSS system through the network, which includes the queried phone number and the queried month.
步骤403:BOSS系统中的WS服务端收到查询请求后解析出被查询的电话号码和月份,并根据电话号码和月份查到用户的XML账单。Step 403: The WS server in the BOSS system parses out the inquired phone number and month after receiving the query request, and finds the user's XML bill according to the phone number and month.
其中,所述XML账单中包含了:账单项目名称和特性、账单项目的排序和嵌套、以及账单项目的数据类型。Wherein, the XML bill includes: billing item names and characteristics, sorting and nesting of billing items, and data types of billing items.
例如,在图5所示的XML账单中,首先包含了账单的根节点bill,在子节点中包含了费用信息、用户信息、按服务类别汇总用量的结构、以及描述详细账单信息的结构等。其中,费用信息可以包含上期结余、本期应缴、以及付费规则等。用户信息可以包含用户押金、用户号码、帐期等相关用户信息。按服务类别汇总用量的结构可以包含:费用汇总组合、用量汇总组合等。For example, in the XML bill shown in Figure 5, the root node bill of the bill is first included, and the child nodes include fee information, user information, a structure for summarizing usage by service category, and a structure for describing detailed bill information, etc. Wherein, the fee information may include the balance of the previous period, the payable of the current period, and payment rules. User information may include user deposit, user number, account period and other related user information. The structure of summarizing usage by service category can include: fee summarization combination, usage summarization combination, etc.
步骤404:BOSS系统中的WS服务端将XML账单放在应答包中返回给eBill系统。Step 404: The WS server in the BOSS system puts the XML bill in a response packet and returns it to the eBill system.
BOSS系统返回给eBill系统账单查询应答(GetCustomerBillReply),以应答包的形式发送,其中包含了整个XML账单。The BOSS system returns the eBill system bill query response (GetCustomerBillReply) in the form of a response packet, which contains the entire XML bill.
步骤405:eBill系统收到XML账单后,根据用户选择的账单样式确定XSL样式,利用XSLT处理器将XSL样式与XML账单相结合,生成HTML账单。Step 405: After receiving the XML bill, the eBill system determines the XSL style according to the bill style selected by the user, and uses the XSLT processor to combine the XSL style with the XML bill to generate an HTML bill.
例如:用户选择账单样式为黄色背景,简约风格,eBill系统收到XML账单后,根据用户选择的账单样式可以生成符合用户需求的HTML账单。For example: the user selects the bill style as a yellow background and a simple style. After the eBill system receives the XML bill, it can generate an HTML bill that meets the user's needs according to the bill style selected by the user.
步骤406:话费账单在浏览器上以页面的形式展现。Step 406: The phone bill is displayed in the form of a page on the browser.
用户此时可以浏览到自己所查询的话费账单,可以将其打印或下载到外部设备中。At this time, the user can browse to the telephone charge bill that he inquired, and can print or download it to an external device.
本发明基于WS技术,应用系统向处理系统发送查询请求,处理系统根据接收到的查询请求提取用户的源数据,然后发送给应用系统,由应用系统转换为目的数据提供给用户,以此完成异构系统间数据的共享,不需要在处理系统中设置对目的数据的存储空间,降低了存储设备上的成本;且处理系统和应用系统间的数据传递不需要人工干预即可完成,降低了维护人员上的成本,以此降低了在异构系统间实现数据共享时所需要的成本。The present invention is based on WS technology, the application system sends a query request to the processing system, and the processing system extracts the source data of the user according to the received query request, and then sends it to the application system, and the application system converts it into target data and provides it to the user, thereby completing the different The sharing of data between structural systems does not need to set up storage space for the purpose data in the processing system, which reduces the cost of storage devices; and the data transfer between the processing system and the application system can be completed without manual intervention, reducing maintenance The cost of personnel, thereby reducing the cost required for data sharing among heterogeneous systems.
更进一步地,因为应用系统和处理系统间的数据传输是通过网络以WDSL实现的,传输速度很快,且在用户查询时仅将用户查询的信息传输给应用系统,而在现有技术中需要拷贝所有的用户数据,所以解决了现有技术中需要拷贝大量数据而造成的时间延时。Furthermore, because the data transmission between the application system and the processing system is realized by WDSL through the network, the transmission speed is very fast, and only the information inquired by the user is transmitted to the application system when the user inquires, while in the prior art it is necessary to All user data is copied, so the time delay caused by the need to copy a large amount of data in the prior art is solved.
更进一步地,用户可以根据自己的需要和喜好选择目的数据的样式,应用不同的转换程序,相比较现有技术中在处理系统中批量样式转换单元中使用统一的转换程序,使目的数据的样式展现更加灵活。Furthermore, users can select the style of the target data according to their own needs and preferences, and apply different conversion programs. Compared with the prior art, the unified conversion program is used in the batch style conversion unit in the processing system, so that the style of the target data Show more flexibility.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2007100035369A CN101009002A (en) | 2007-02-06 | 2007-02-06 | Method and system for realizing data sharing between isomer systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2007100035369A CN101009002A (en) | 2007-02-06 | 2007-02-06 | Method and system for realizing data sharing between isomer systems |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101009002A true CN101009002A (en) | 2007-08-01 |
Family
ID=38697413
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2007100035369A Pending CN101009002A (en) | 2007-02-06 | 2007-02-06 | Method and system for realizing data sharing between isomer systems |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101009002A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102081656A (en) * | 2011-01-12 | 2011-06-01 | 江苏梦兰神彩科技发展有限公司 | Data acquisition and distribution system of cross-platform heterogeneous database |
| WO2013182127A1 (en) * | 2012-09-19 | 2013-12-12 | 中兴通讯股份有限公司 | Data sharing method and device in heterogeneous network |
| CN113992693A (en) * | 2021-10-22 | 2022-01-28 | 中国科学院计算机网络信息中心 | Data transmission method and system |
-
2007
- 2007-02-06 CN CNA2007100035369A patent/CN101009002A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102081656A (en) * | 2011-01-12 | 2011-06-01 | 江苏梦兰神彩科技发展有限公司 | Data acquisition and distribution system of cross-platform heterogeneous database |
| WO2013182127A1 (en) * | 2012-09-19 | 2013-12-12 | 中兴通讯股份有限公司 | Data sharing method and device in heterogeneous network |
| CN103685411A (en) * | 2012-09-19 | 2014-03-26 | 中兴通讯股份有限公司 | Data sharing method and device in heterogeneous network |
| CN113992693A (en) * | 2021-10-22 | 2022-01-28 | 中国科学院计算机网络信息中心 | Data transmission method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2583197B1 (en) | Unified collection and distribution of data | |
| TW561751B (en) | Counting and billing mechanism for web-services based on a SOAP-communication protocol | |
| US7127455B2 (en) | Taxonomy for mobile e-services | |
| US7877682B2 (en) | Modular distributed mobile data applications | |
| CN101609415B (en) | Universal service calling system and method based on middleware | |
| JP2004334866A (en) | Conversion of web site summary through tag rib | |
| CN102663009B (en) | Web-service integration method supporting data privatization of enterprise users | |
| US20040225724A1 (en) | RPC type SOAP service access via taglibs for dynamic web content | |
| US9031991B2 (en) | Web service interface for order management system | |
| CN102761532A (en) | Information processing system and method for network video | |
| CN103533043B (en) | A kind of charging method of the cloud stores service based on REST | |
| CN101009002A (en) | Method and system for realizing data sharing between isomer systems | |
| JP2002132836A (en) | File generation device, file generation method, data management method, and information communication terminal device | |
| US20040225959A1 (en) | Appearance properties for web applications using TagLibs | |
| CN102929845B (en) | A kind of server and method for realizing network reading | |
| KR100759186B1 (en) | Web service providing system and method for providing various information of unstructured web document and database as web service | |
| EP2015528B1 (en) | Messaging interface system for serving a message to a target system | |
| CN103593473A (en) | Form displaying method and system | |
| CN100596143C (en) | Data sharing method and client device in WEB page flow | |
| JP2003141022A (en) | Web content delivery method and system and web content editing program | |
| JP2003216639A (en) | Information distribution system, information distribution method, and information distribution program | |
| JP4309088B2 (en) | Distributed document management service system, distributed document management service method, and distributed document management service program | |
| Boles et al. | The MeDoc system—A digital publication and reference service for computer science | |
| Mrissa et al. | Using context to enable semantic mediation in web service communities | |
| EP2172854A1 (en) | At least partially automised providing of information for the use by a terminal operable in a communication network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20070801 |