WO2013182127A1 - 一种异构网络中的数据共享方法及装置 - Google Patents

一种异构网络中的数据共享方法及装置 Download PDF

Info

Publication number
WO2013182127A1
WO2013182127A1 PCT/CN2013/079353 CN2013079353W WO2013182127A1 WO 2013182127 A1 WO2013182127 A1 WO 2013182127A1 CN 2013079353 W CN2013079353 W CN 2013079353W WO 2013182127 A1 WO2013182127 A1 WO 2013182127A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
service data
heterogeneous network
database
heterogeneous
Prior art date
Application number
PCT/CN2013/079353
Other languages
English (en)
French (fr)
Inventor
孙爱芳
曹建福
凌志浩
高冲
袁宜峰
张志飞
祁学文
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013182127A1 publication Critical patent/WO2013182127A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/256Integrating or interfacing systems involving database management systems in federated or virtual databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database

Definitions

  • the present invention relates to the field of communications, and in particular, to a data sharing method and apparatus in a heterogeneous network.
  • Data sharing technology mainly implements data sharing by adding data sharing middleware or establishing a central database, and provides a method for how data sharing is implemented between database systems in a single network.
  • data sharing is closely related to ubiquitous business requirements and needs to be shared among heterogeneous networks.
  • the user starts from the city A to the city B.
  • GPS Global Position System
  • the user can obtain several driving routes from A to B, and determine which route is from the user.
  • the angle is considered as the optimal route.
  • the data sharing system first needs to know the user's personal preference information. Select an attribute from the attribute information such as distance, cost, and road condition as the main reference.
  • the user's terminal environment information at the user's multiple terminals.
  • the master terminal selects a master terminal, the master terminal is responsible for interacting with the data sharing system; secondly, the data sharing system needs to load the road toll information database and the traffic state information database from different networks to obtain The cost information and road condition information of each route; Finally, the data sharing system performs various operations on the data, and provides the user with an optimal route from A to B according to the user's personal preference information.
  • the traditional data sharing technology cannot meet the requirements for sharing data between heterogeneous networks.
  • the heterogeneous networks involved include: a GPS network of a navigation system, a wireless fidelity (WiFi) network of a user terminal, a 3rd generation Telecommunication (3G) network of a mobile phone, and an Internet. And the private network in the field of traffic information.
  • WiFi wireless fidelity
  • 3G 3rd generation Telecommunication
  • the embodiment of the present invention provides data sharing in a heterogeneous network.
  • the method and device are to solve at least the above problems.
  • the embodiment of the invention provides a data sharing method in a heterogeneous network, including:
  • the foregoing method further includes:
  • the foregoing context information includes at least one of the following information:
  • the step of converting the pre-acquired service data into the unified format service data includes:
  • the service data requested by the user terminal is parsed according to a preset mapping relationship table, where the mapping relationship table is used to record a correspondence between the service data and an attribute format of the service data;
  • the foregoing method further includes: Periodically detecting whether a heterogeneous network database not recorded in the mapping relationship table exists in each heterogeneous network; and when the unrecorded heterogeneous network database is detected, the unrecorded heterogeneous network database is Business data in is added to the mapping relationship table.
  • the step of adding the service data in the unrecorded heterogeneous network database to the mapping relationship table includes:
  • the foregoing method further includes:
  • the embodiment of the present invention further provides a data sharing device in a heterogeneous network, including: a receiving module, configured to: receive a service data request message from a user terminal, where the service data request message is used to request a Describe the business data in the heterogeneous network;
  • a conversion module configured to: convert the pre-acquired service data into service data in a unified format, wherein the service data is in each heterogeneous database in the heterogeneous network, triggered by the service data request message Business data;
  • a sending module configured to: send the converted service data to the user terminal.
  • the foregoing apparatus further includes:
  • the acquisition module is configured to: obtain context information that provides a basis for decision making to optimize user requirements.
  • the foregoing conversion module includes:
  • a parsing unit configured to: parse the service data requested by the user terminal according to a preset mapping relationship table, where the mapping relationship table is used to record between the service data and the attribute format of the service data Correspondence relationship;
  • a conversion unit configured to: convert the parsed business data into the unified format business data.
  • the foregoing apparatus further includes:
  • a first detecting module configured to: periodically detect whether a heterogeneous network database that is not recorded in the mapping relationship table exists in each heterogeneous network;
  • adding a module configured to: add the business data in the unrecorded heterogeneous network database to the mapping relationship table when the unrecorded heterogeneous network database is detected.
  • the foregoing apparatus further includes:
  • a second detecting module configured to: periodically detect whether the heterogeneous network has a database that exits the heterogeneous network
  • And deleting the module configured to: when detecting the exiting the database of the heterogeneous network, deleting the service data of the database that exits the heterogeneous network from the mapping relationship table.
  • the method and the device of the embodiments of the present invention solve the technical problems in the related art that there is no solution for realizing data sharing between heterogeneous networks and a scheme for systematically managing data sharing, thereby realizing different Structure data sharing between databases.
  • FIG. 1 is a flow chart of a data sharing method in a heterogeneous network according to Embodiment 1 of the present invention.
  • 2 is a block diagram showing the structure of a data sharing apparatus in a heterogeneous network according to Embodiment 1 of the present invention.
  • Figure 3 is a block diagram showing another structure of a data sharing device in a heterogeneous network according to Embodiment 1 of the present invention.
  • FIG. 4 is a block diagram of a heterogeneous data sharing system according to Embodiment 3 of the present invention.
  • Figure 5 is a block diagram showing the structure of a central data operation unit according to Embodiment 3 of the present invention.
  • FIG. 6 is a flow chart of a method for implementing heterogeneous data sharing according to Embodiment 3 of the present invention.
  • FIG. 7 is a flow chart of a database joining data sharing system in accordance with an embodiment of the present invention.
  • FIG. 8 is a flow chart of a database exit data sharing system in accordance with an embodiment of the present invention. Preferred embodiment of the invention
  • FIG. 1 is a flow chart of a data sharing method in a heterogeneous network according to Embodiment 1 of the present invention. As shown in Figure 1, the method includes the following steps.
  • Step S102 Receive a service data request message from a user terminal, where the service data request message is used to request to share service data in a heterogeneous network.
  • Step S104 The service data that is pre-acquired is converted into service data in a unified format, where the service data is service data in each heterogeneous database in the heterogeneous network.
  • Step S106 Send the converted service data to the user terminal.
  • the pre-acquired service data is converted into the unified format of the service data, data sharing between the heterogeneous networks can be realized.
  • the pre-acquisition of the business data is unified, it is equivalent to unified management of the data sharing by the third party, so the data sharing is systematically managed.
  • the context information may include at least one of the following: user requirement information (ie, user preference information), network feature information, terminal capability information, and service requirement information.
  • the method for converting the pre-acquired service data into the service data in the unified format is various.
  • the conversion can be implemented by: parsing the service data requested by the user terminal according to the preset mapping relationship table,
  • the mapping relationship table is configured to record a correspondence between the service data and the attribute format of the service data; and convert the parsed service data into a unified format of the service data.
  • a new database is added to a heterogeneous network: Periodically detect whether there is a heterogeneous network database (that is, a database newly added to the heterogeneous network) that is not recorded in the mapping relationship table in each heterogeneous network; When the heterogeneous network database is recorded, the business data in the undocumented heterogeneous network database is added to the mapping relationship table.
  • a heterogeneous network database that is, a database newly added to the heterogeneous network
  • the unrecorded heterogeneous network database is authenticated, and When the authentication is passed, the business data in the unrecorded heterogeneous network database is added to the mapping relationship table.
  • the database can periodically detect whether there is a database exiting the heterogeneous network in the heterogeneous network; when detecting the database exiting the heterogeneous network, the service data of the database exiting the heterogeneous network is mapped from the data. Deleted in the relationship table.
  • a data sharing device in a heterogeneous network is also provided, which is used to implement the foregoing embodiments and preferred embodiments.
  • the description of the content has been omitted, and the modules in the device are described below.
  • the term "module" can be a combination of software and/or hardware that implements a predetermined function.
  • the device described in the following embodiments is preferably implemented in software, Implementations through hardware, or a combination of software and hardware are also possible and contemplated.
  • FIG. 2 is a block diagram showing the structure of a data sharing apparatus in a heterogeneous network according to Embodiment 1 of the present invention. As shown in Figure 2, the device includes:
  • the receiving module 20 is connected to the conversion module 22, and is configured to receive a service data request message from the user terminal, where the service data request message is used to request to share the service data in the heterogeneous network;
  • the conversion module 22 is connected to the sending module 24, and is configured to The service data is converted into service data in a unified format, where the service data is service data in each heterogeneous database in the heterogeneous network, triggered by the service data request message;
  • the sending module 24 is arranged to transmit the converted service data to the user terminal.
  • Figure 3 is a block diagram showing another structure of a data sharing device in a heterogeneous network according to Embodiment 1 of the present invention.
  • the foregoing apparatus may further include: an obtaining module 26, which is connected to the sending module 24, and configured to obtain a context for providing a decision basis for optimizing user requirements. information.
  • the conversion module 22 further includes the following processing unit: the parsing unit 220 is connected to the converting unit 222, and configured to parse the service data requested by the user terminal according to the mapping relationship table set in advance.
  • the mapping relationship table is configured to record a correspondence between the service data and the attribute format of the service data.
  • the converting unit 222 is configured to convert the parsed service data into the unified format service data.
  • the foregoing apparatus further includes: a first detecting module 28, configured to be connected to the adding module 30, configured to periodically detect whether there is an unrecorded heterogeneous in the mapping table in each heterogeneous network.
  • the network database; the adding module 30 is connected to the conversion module 22, and is configured to add the business data in the unrecorded heterogeneous network database to the mapping relationship table when the unrecorded heterogeneous network database is detected.
  • the foregoing apparatus further includes: a second detecting module 32, connected to the deleting module 34, configured to periodically detect whether there is a database exiting the heterogeneous network in the heterogeneous network; Connected to the above-mentioned conversion module 22, and configured to detect the exit of the heterogeneous network.
  • a second detecting module 32 connected to the deleting module 34, configured to periodically detect whether there is a database exiting the heterogeneous network in the heterogeneous network
  • Connected to the above-mentioned conversion module 22, and configured to detect the exit of the heterogeneous network When the database is deleted, the business data of the database that exits the heterogeneous network is deleted from the mapping relationship table.
  • Embodiment 1 In order to better understand the above-described Embodiment 1, the following description will be made in conjunction with Embodiment 2 and Embodiment 3.
  • This embodiment provides a system for implementing data sharing between heterogeneous databases.
  • the system is mainly composed of a heterogeneous data sharing platform (corresponding to the conversion module 22, the receiving module 20, the first detecting module 28, the adding module 30, and the second detecting.
  • the module 32, and the deletion module 34), the context information search engine, and the respective databases are composed.
  • the heterogeneous data sharing platform includes a central data operation unit, a service subscription/distribution unit, a data encapsulation unit, and a security verification unit.
  • the central data operation unit includes an operation processing module, a mapping relationship module, a query customization module, and an information interaction module, and is responsible for performing arithmetic processing on the shared data and context information of the database, and providing a ubiquitous service for subscription/release.
  • Required data according to the context information search engine on the 4 ⁇ context information for processing, for the user to provide decision-making basis in the heterogeneous network switching, the main control terminal selection, etc.; store the mapping table between each database, for each database The mapping relationship is maintained; and the rule encapsulation and conversion interface is provided to the data encapsulation unit to provide a rule basis for data conversion encapsulation between databases.
  • the service subscription/release unit is responsible for providing the user with the query and customization of the ubiquitous service, and the data processed by the central data operation unit is encapsulated into a ubiquitous service and provided to the user.
  • the data encapsulation unit is responsible for shielding the heterogeneity between the databases, and converting the reported data of the database in each heterogeneous network into a unified format and reporting the data to the central data operation unit.
  • the security verification unit is responsible for verifying the identity of each database, and the verified database can be authorized to report data to the heterogeneous data sharing platform.
  • the context information search engine includes a user context information module, a service context information module, a network context information module, and a terminal context information module, and is mainly responsible for utilizing context-aware technology, respectively, from an application side, a user side, a network side, and a terminal.
  • the side dynamically obtains the context information of the service content, the user preference, the network feature, and the terminal capability, and stores and processes the context information, and provides the heterogeneous data sharing platform after the user issues the ubiquitous service request.
  • Context information to ensure the user's best quality of service (QoS) experience, coordination between heterogeneous networks, and coordination between multiple terminals.
  • QoS quality of service
  • the database includes existing database systems in heterogeneous networks, which are responsible for storing the underlying data, and providing data resources to the heterogeneous data sharing platform after the user issues a ubiquitous service request.
  • the heterogeneous data sharing system in this embodiment includes a heterogeneous data sharing platform 40, a context information search engine 42, and a database 44.
  • the heterogeneous data sharing platform 40 performs arithmetic processing on the information provided by the context information search engine 42 and the database 44 according to the business requirements proposed by the ubiquitous service requester 46 to form a ubiquitous service for the user.
  • the heterogeneous data sharing platform 40 includes a service subscription/distribution unit 400, a central data operation unit 402, a data encapsulation unit 404, and a security authentication unit 406.
  • the service subscription/publishing unit 400 provides the user with the query and customization of the ubiquitous service, and encapsulates the data processed by the central data operation unit 402 into a ubiquitous service and provides it to the user.
  • the central data operation unit 402 performs arithmetic processing on the shared data and the context information of the database 44 to provide the required data for the ubiquitous service of the service subscription/release unit 400; and performs arithmetic processing based on the context information reported by the context information search engine 42.
  • the user provides a decision basis in terms of heterogeneous network switching, master terminal selection, etc.; stores a mapping relationship table between the respective databases 44, maintains a mapping relationship between the databases 44; and provides rule query and conversion to the data encapsulating unit 404.
  • the interface provides a rule basis for data conversion encapsulation between databases 44.
  • the data encapsulation unit 404 shields the data heterogeneity between the respective databases 44, and converts the reported data of the heterogeneous database under the ubiquitous network condition into a unified format data and reports it to the central data operation unit 402.
  • the security authentication unit 406 verifies the identity of each database 44, and the verified database can be authorized to report data to the heterogeneous data sharing platform 40.
  • the context information search engine 42 includes a user context information module, a service context information module, a network context information module, and a terminal context information module, and mainly utilizes context aware technology. Dynamically obtaining context information of service content, user preferences, network features, and terminal capabilities from the application side, the user side, the network side, and the terminal side, and storing and processing the context information, when the user issues a ubiquitous service request,
  • the heterogeneous data sharing platform 40 is provided with context information to ensure the best QoS experience for users, coordination between heterogeneous networks, and coordination between multiple terminals.
  • the database 44 includes existing database systems in the heterogeneous network, and is responsible for storing ubiquitous service data, and providing data resources to the heterogeneous data sharing platform 40 after the user issues a ubiquitous service request.
  • FIG. 5 is a block diagram showing the structure of a central data operation unit 402 according to Embodiment 3 of the present invention. As shown in FIG. 5, the central data operation unit 402 is divided into an operation processing module 4020, a mapping relationship module 4022, a query customization module 4024, and an information interaction module 4026.
  • the operation processing module 4020 performs arithmetic processing on the shared data and the context information of the database 44, and provides the required data for the ubiquitous service of the service subscription/release unit 400; and performs arithmetic processing according to the context information reported by the context information search engine 42. Users provide decision-making basis in terms of heterogeneous network switching and main control terminal selection.
  • the mapping relationship module 4022 stores a mapping relationship table between the respective databases 44, and maintains the mapping relationship between the databases 44.
  • the query customization module 4024 provides a rule query and conversion interface to provide a rule basis for data conversion encapsulation between databases 44.
  • the information interaction module 4026 provides an interface for the contextual search between the context information search engine 42 and the database 44 and the heterogeneous data sharing platform 40, monitors the join and exit of the database 44, and receives context information provided by the context information search engine 42.
  • FIG. 6 is a flow chart of a method for implementing heterogeneous data sharing according to Embodiment 3 of the present invention. As shown in FIG. 6, the method for implementing heterogeneous data sharing provided by this embodiment includes the following processing steps.
  • Step S602 the user issues a ubiquitous service request.
  • the user sends a ubiquitous service request to the data sharing system through the terminal.
  • Step S604 the context information search engine configures context information for the ubiquitous service.
  • the context information search engine configures context information for the ubiquitous service request of the user according to the ubiquitous service request information sent by the user, and the context information includes selection of the master terminal, selection of the access network, and user Preferences and more.
  • the service subscription/publishing unit receives the request information and the context information.
  • the service subscription/publishing unit receives the ubiquitous service request from the user and the context information sent by the context information search engine.
  • Step S608 the service subscription/release unit configures the ubiquitous service subscription information and sends it to the central data operation unit.
  • the service subscription/publishing unit configures the service according to the received request information and the context information, and forms service subscription information to be sent to the central data operation unit.
  • Step S610 the central data operation unit receives the information, searches the database, and acquires the data.
  • the central data operation unit receives the service subscription information, searches the related database according to the content of the service subscription information, and acquires data required for the ubiquitous service.
  • Step S612 the central data operation unit processes the service data and sends it to the service subscription/distribution unit.
  • the central data operation unit performs operation processing on the context information and the original data obtained through the database to obtain ubiquitous service data, and sends the ubiquitous service data to the service subscription/release unit for encapsulation.
  • Step S614 the service subscription/release unit encapsulates the ubiquitous service data to form a ubiquitous service and returns it to the user.
  • the service subscription/distribution unit encapsulates the ubiquitous service data obtained according to the user preference and service requirements, and obtains the ubiquitous service required by the user and provides it to the user.
  • FIG. 7 is a flow chart of a database joining data sharing system in accordance with an embodiment of the present invention. As shown in Figure 7, the process of joining the database to the data sharing system mainly includes the following steps.
  • step S702 the interaction module discovers a new database.
  • the information interaction module in the central data operation unit periodically scans various heterogeneous network environments, and when a new database is found, the information interaction module sends a response.
  • Step S704 The interaction module sends an instruction to join the data sharing system to the database.
  • the interaction module finds that a new database exists, and sends an instruction to join the data sharing system to the database, where the instruction includes an authentication key assigned by the data sharing system to the new database.
  • Step S706 The database receives the instruction, and sends a join application to the data sharing platform.
  • the database receives the join instruction, and sends the join application information to the data sharing platform, where the application information includes the verification key assigned by the data sharing system and the attribute format information of the database.
  • Step S708 The security verification unit verifies the joining application.
  • the security verification unit verifies whether the key information in the joining application is consistent with the key information in the joining instruction sent by the information interaction module to the database. If yes, the process goes to step S710. If not, the process goes to step S716.
  • Step S710 The data encapsulating unit converts and encapsulates the attribute format information of the database.
  • the data encapsulating unit encapsulates the attribute format information provided by the database according to the conversion rule provided by the query customization module, and uploads it to the central data operation unit.
  • Step S712 the central data operation unit receives the information, and updates the mapping relationship table.
  • the central data operation unit after receiving the attribute format information of the database, the central data operation unit firstly classifies the database according to the domain involved in the database through the mapping relationship module, and then inserts the attribute format information of the database into the mapping relationship table to complete the mapping relationship table. Update.
  • Step S714 the new database is added to the data sharing system.
  • FIG. 8 is a flow chart of a database exit data sharing system in accordance with an embodiment of the present invention. As shown in Figure 8, the process of the database exiting the data sharing system mainly includes the following steps.
  • Step S802 the interaction module discovers that the database exits the data sharing system.
  • the information interaction module in the central data operation unit periodically scans the database to which it belongs, and when it is found that the database exits the data sharing system, the information interaction module sends a response.
  • Step S804 the interaction module sends a request to modify the mapping relationship table to the mapping relationship module.
  • the interaction module when the interaction module finds that the database exits the data sharing system, it issues a request to modify the mapping relationship table to the mapping relationship module, and the request information includes the name attribute information of the database.
  • Step S806 the mapping relationship module deletes the information of the database, and updates the mapping relationship table.
  • mapping relationship module deletes the sharing information related to the database according to the request information sent by the interaction module, and updates the mapping relationship table.
  • Step S808 the data sharing platform completes the exit operation of the database.
  • the data sharing system selects an optimal line as an example to describe the data sharing between the heterogeneous databases.
  • the embodiment relates to how the multi-terminal user selects the main control terminal, the access network selection in the interaction process between the main control terminal and the data sharing system, how the GPS network data is shared in the heterogeneous network such as the WiFi network and the Internet, and the road toll collection system. Automatic loading of information databases and other content.
  • the purpose of this embodiment is to use the data sharing system to provide users with the best driving route from A to B from the perspective of the user by cooperating with the heterogeneous networks.
  • the context information search engine according to the ubiquitous service request sent by the user, according to the terminal device capabilities (including the operation speed, display capability, transmission capability and other indicators) in multiple terminals of the user, access network performance (including network bandwidth, coverage) Scope, signal strength and other indicators) Select the main control terminal, here select the ZTE mobile terminal as the main control terminal, and interact with the data sharing platform through the WiFi access network.
  • the main control terminal reports the two line information and the ubiquitous service request obtained by the user to the service subscription/distribution unit. After receiving the information uploaded by the main control terminal, the service subscription/distribution unit enters the information. The row is encapsulated, and the ubiquitous service subscription information is sent to the central data operation unit.
  • the central data operation unit searches for the relevant database according to the received service subscription information, and finds that the data sharing system does not have the highway toll system information database in the process, and then the central data operation unit finds the road toll system in the traffic information network.
  • the information database at the same time, the highway toll system information database sends its own attribute information (including departure city, arrival city, road name, distance, cost) to the central data operation unit, and the central data operation unit updates the mapping relationship table to complete the road. Loading of the charging information system database.
  • the central data operation unit processes the acquired charging information, line information, and context information to obtain a line with the least cost, and returns the result to the service subscription/distribution unit.
  • the service subscription/publishing unit encapsulates the result and provides the user with the user context information and the service context information provided by the search engine according to the context information.
  • the embodiments of the present invention achieve the following beneficial effects: Implementing a method for data sharing between heterogeneous networks, and overcoming the common data sharing method can only complete data sharing in a single network, but cannot The lack of data sharing between heterogeneous networks.
  • the embodiment of the present invention not only data sharing between heterogeneous databases is realized, but also data sharing in network access mechanism and context information management is implemented for ubiquitous service requirements.
  • the data sharing system finds that the database joins and exits, the data sharing system can be updated in time to meet the requirements of the data sharing system scalability under the ubiquitous network condition.
  • a storage medium is further provided, and the storage medium includes the above-mentioned software, and the storage medium includes: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or They are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
  • the method and the device of the embodiments of the present invention solve the technical problems in the related art that there is no solution for realizing data sharing between heterogeneous networks and a scheme for systematically managing data sharing, thereby realizing different Structure data sharing between databases.

Abstract

一种异构网络中的数据共享方法及装置。上述方法包括:接收来自于用户终端的业务数据请求消息,其中,业务数据请求消息用于请求共享异构网络中的业务数据;在业务数据请求消息的触发下,将预先获取的业务数据转换为统一格式的业务数据,其中,业务数据为异构网络中各个异构数据库中的业务数据;以及将转换后的业务数据发送给用户终端。釆用本发明实施例的方法及装置,解决了相关技术中,尚无如何实现异构网络间的数据共享的解决方案以及尚无对数据共享进行系统性管理的方案的技术问题,从而实现了异构数据库之间的数据共享。

Description

一种异构网络中的数据共享方法及装置
技术领域
本发明涉及通信领域,尤其涉及一种异构网络中的数据共享方法及装置。
背景技术
随着网络技术的发展以及人们对于网络服务质量和业务体验越来越高的 要求, 过去单一的网络和系统已经无法满足这种日益增长的需求。 相关技术 中数据共享技术主要釆用添加数据共享中间件或建立中央数据库的方式实现 数据共享, 提供了在单一网络中数据库系统之间如何实现数据共享的方法。 然而, 在泛在网络条件下, 数据共享是与泛在业务需求紧密相关的, 需要在 各种异构网络之间都实现共享。
例如, 在车域网中, 用户从城市 A 出发到城市 B , 通过全球定位系统 ( Global Position System, 简称为 GPS ) , 用户能够获得 A到 B的若干条行 车路线, 要判断哪一条路线从用户角度考虑为最优路线, 数据共享系统首先 需要知道用户的个人偏好信息, 从距离、 费用、 路况等属性信息中选择一个 属性作为主要参考, 要了解用户的终端环境信息, 在用户的多个终端间 (例 如, 导航设备、 手机、 ipad等)选择一个主控终端, 主控终端负责与数据共 享系统进行交互; 其次数据共享系统需要从不同网络中加载公路收费信息数 据库、 交通路况信息数据库, 获得各条路线的费用信息和路况信息; 最后数 据共享系统将各种数据进行运算处理, 根据用户的个人偏好信息, 为用户提 供一条由 A到 B的最优路线。
从上述应用场景可以看出, 传统的数据共享技术无法满足业务数据在异 构网络间实现共享的要求。 上述应用场景中, 涉及的异构网络包括: 导航系 统的 GPS网络, 用户终端的无线保真( Wireless Fidelity, WiFi ) 网络, 手机 的第 3代移动通信 ( the 3rd Generation Telecommunication , 3G )网络, Internet, 以及交通信息领域的专用网络等, 传统共享技术中, 仅仅涉及到单一网络中 各数据库之间的数据共享, 对于在泛在网协同条件下, 数据共享系统如何实 现异构网络间的数据共享的问题还没有提出有效的解决方案。 另外, 在泛在网条件下, 随着异构数据库系统、 上下文信息的增多, 数 据共享系统的负荷越来越大, 数据共享装置也越来越多, 而目前的解决方案 中缺少系统管理机制, 这将极大地影响异构网络中数据共享系统的性能。
针对相关技术中的上述问题, 目前尚未提出有效的解决方案。 发明内容
针对相关技术中, 尚无如何实现异构网络间的数据共享的解决方案以及 尚无对数据共享进行系统性管理的方案的技术问题, 本发明实施例提供了一 种异构网络中的数据共享方法及装置, 以至少解决上述问题。
本发明实施例提供了一种异构网络中的数据共享方法, 包括:
接收来自于用户终端的业务数据请求消息, 其中, 所述业务数据请求消 息用于请求共享所述异构网络中的业务数据;
在所述业务数据请求消息的触发下, 将预先获取的业务数据转换为统一 格式的业务数据, 其中, 所述业务数据为所述异构网络中各个异构数据库中 的业务数据; 以及
将转换后的业务数据发送给所述用户终端。
可选地, 上述方法还包括:
获取为优化用户需求提供决策依据的上下文信息。
可选地, 上述上下文信息包括以下信息至少之一:
用户需求信息、 网络特征信息、 终端能力信息、 以及业务需求信息。 可选地, 所述将预先获取的业务数据转换为统一格式的业务数据的步骤 包括:
根据预先设置的映射关系表对所述用户终端请求的业务数据进行解析, 其中, 所述映射关系表用于记录所述业务数据与所述业务数据的属性格式之 间的对应关系;
将解析后的业务数据转换为所述统一格式的业务数据。
可选地, 上述方法还包括: 周期性地检测各个异构网络中是否存在所述映射关系表中未记录的异构 网络数据库; 以及 在检测到所述未记录的异构网络数据库时, 将所述未记录的异构网络数 据库中的业务数据添加到所述映射关系表中。
可选地, 所述将所述未记录的异构网络数据库中的业务数据添加到所述 映射关系表中的步骤包括:
对所述未记录的异构网络数据库进行鉴权, 并在鉴权通过时, 将所述未 记录的异构网络数据库中的业务数据添加到所述映射关系表中。
可选地, 上述方法还包括:
周期性地检测所述异构网络中是否有退出异构网络的数据库; 以及 在检测到所述退出异构网络的数据库时, 将所述退出所述异构网络的数 据库的业务数据从所述映射关系表中删除。
本发明实施例还提供了一种异构网络中的数据共享装置, 包括: 接收模块, 其设置成: 接收来自于用户终端的业务数据请求消息, 其中, 所述业务数据请求消息用于请求所述共享异构网络中的业务数据;
转换模块, 其设置成: 在所述业务数据请求消息的触发下, 将预先获取 的业务数据转换为统一格式的业务数据, 其中, 所述业务数据为所述异构网 络中各个异构数据库中的业务数据; 以及
发送模块, 其设置成: 将转换后的业务数据发送给所述用户终端。
可选地, 上述装置还包括:
获取模块, 其设置成: 获取为优化用户需求提供决策依据的上下文信息。 可选地, 上述转换模块包括:
解析单元, 其设置成: 根据预先设置的映射关系表对所述用户终端请求 的业务数据进行解析, 其中, 所述映射关系表用于记录所述业务数据与所述 业务数据的属性格式之间的对应关系;
转换单元, 其设置成: 将解析后的业务数据转换为所述统一格式的业务 数据。 可选地, 上述装置还包括:
第一检测模块, 其设置成: 周期性地检测各个异构网络中是否存在所述 映射关系表中未记录的异构网络数据库;
添加模块, 其设置成: 在检测到所述未记录的异构网络数据库时, 将所 述未记录的异构网络数据库中的业务数据添加到所述映射关系表中。
可选地, 上述装置还包括:
第二检测模块, 其设置成: 周期性地检测所述异构网络中是否有退出所 述异构网络的数据库;
删除模块, 其设置成: 在检测到所述退出所述异构网络的数据库时, 将 所述退出所述异构网络的数据库的业务数据从所述映射关系表中删除。
通过本发明实施例的方法及装置, 解决了相关技术中, 尚无如何实现异 构网络间的数据共享的解决方案以及尚无对数据共享进行系统性管理的方案 的技术问题, 从而实现了异构数据库之间的数据共享。 附图概述
此处所说明的附图用来提供对本发明实施例的进一步理解, 构成本申请 的一部分, 本发明的示意性实施例及其说明用于解释本发明技术方案, 并不 构成对本发明技术方案的不当限定。 在附图中:
图 1为根据本发明实施例 1的异构网络中的数据共享方法的流程图。 图 2为根据本发明实施例 1的异构网络中的数据共享装置的结构框图。 图 3为根据本发明实施例 1的异构网络中的数据共享装置的另一结构框 图。
图 4为根据本发明实施例 3的异构数据共享系统的架构图。
图 5为根据本发明实施例 3的中央数据运算单元的结构框图。
图 6为根据本发明实施例 3的实现异构数据共享的方法的流程图。
图 7为根据本发明实施例的数据库加入数据共享系统的流程图。
图 8为根据本发明实施例的数据库退出数据共享系统的流程图。 本发明的较佳实施方式
下文中将参考附图来详细说明本发明实施例。 需要说明的是, 在不冲突 的情况下 , 本申请中的实施例及实施例中的特征可以相互组合。
考虑到相关技术中, 尚无如何实现异构网络间的数据共享的解决方案以 及尚无对数据共享进行系统性管理的方案的技术问题, 以下结合实施例提供 了相关的解决方案, 并对本发明实施方式进行详细说明。
实施例 1
图 1为根据本发明实施例 1的异构网络中的数据共享方法的流程图。 如 图 1所示, 该方法包括如下步骤。
步骤 S102, 接收来自于用户终端的业务数据请求消息, 其中, 该业务数 据请求消息用于请求共享异构网络中的业务数据。
步骤 S104, 在业务数据请求消息的触发下, 将预先获取的业务数据转换 为统一格式的业务数据, 其中, 上述业务数据为异构网络中各个异构数据库 中的业务数据。
步骤 S106, 将转换后的业务数据发送给用户终端。
通过上述处理步骤, 由于将预先获取的业务数据转换为统一格式的业务 数据, 因此, 可以实现异构网络间的数据共享。 另外, 由于是对预先获取的 业务数据进行统一处理, 相当于通过第三方对数据共享进行统一管理, 因此, 数据共享得到了系统性管理。
对于泛在网络中的数据共享,不仅需要实现异构数据库之间的数据共享, 还需要实现网络接入机制、 上下文信息管理、 以及业务平台管理等方面的数 据共享, 因此, 传统的数据共享方法无法满足在泛在网络条件下实现异构数 据库间的数据共享的要求。
例如, 传统的数据共享技术中无法提供包括用户偏好、 网络特征、 终端 能力和业务需求在内的上下文信息的共享和管理。 传统的数据共享技术面向 的是各种专业数据库系统, 且关注它们之间如何实现数据的共享, 但对于包 括用户偏好、 网络特征、 终端能力和业务需求在内的上下文信息并没有提供 有效的共享机制。
为了实现上下文信息的管理, 在本实施例中, 还需要获取为优化用户需 求提供决策依据的上下文信息。 在本实施例中, 上述上下文信息可以包括以 下信息至少之一: 用户需求信息 (即, 用户偏好信息) 、 网络特征信息、 终 端能力信息、 业务需求信息。
在步骤 S104中,将预先获取的业务数据转换为统一格式的业务数据的方 式有多种, 例如, 转换可以通过以下方式实现: 根据预先设置的映射关系表 对用户终端请求的业务数据进行解析, 其中, 映射关系表用于记录业务数据 与业务数据的属性格式之间的对应关系; 将解析后的业务数据转换为统一格 式的业务数据。
传统的数据共享技术无法满足泛在网络扩展性的要求。 当系统中有数据 库加入和退出以及已有数据库的数据格式发生变化时, 通过传统方法无法对 共享系统自动做出调整。
对于新的数据库加入异构网络的的情况: 周期性地检测各个异构网络中 是否存在映射关系表中未记录的异构网络数据库(即, 新加入异构网络的数 据库) ; 在检测到未记录的异构网络数据库时, 将未记录的异构网络数据库 中的业务数据添加到映射关系表中。
此时, 对于每个新加入的数据库, 为了保证系统的安全性, 在将异构网 络数据库中的业务数据添加到映射关系表中之前, 对未记录的异构网络数据 库进行鉴权, 并在鉴权通过时, 将未记录的异构网络数据库中的业务数据添 加到映射关系表中。
对于数据库退出异构网络的情况, 可以周期性地检测异构网络中是否有 退出异构网络的数据库; 在检测到退出异构网络的数据库时, 将退出异构网 络的数据库的业务数据从映射关系表中删除。
在本实施例中还提供了一种异构网络中的数据共享装置, 用于实现上述 实施例及优选实施方式, 已经进行过说明内容的不再赘述, 下面对该装置中 的模块进行说明。 以下所使用的, 术语 "模块" 可以为实现预定功能的软件 和 /或硬件的组合。 尽管以下实施例所描述的装置较佳地以软件来实现, 但是 通过硬件, 或者软件和硬件的组合的实现也是可能并被构想的。
图 2为根据本发明实施例 1的异构网络中的数据共享装置的结构框图。 如图 2所示, 该装置包括:
接收模块 20连接至转换模块 22, 设置成接收来自于用户终端的业务数 据请求消息, 其中, 业务数据请求消息用于请求共享异构网络中的业务数据; 转换模块 22连接至发送模块 24, 设置成在业务数据请求消息的触发下, 将预先获取的业务数据转换为统一格式的业务数据, 其中, 业务数据为异构 网络中各个异构数据库中的业务数据;
发送模块 24设置成将转换后的业务数据发送给用户终端。
通过上述各个模块实现的功能, 同样可以实现异构网络间的数据共享, 以及对数据共享进行系统性管理。
图 3为根据本发明实施例 1的异构网络中的数据共享装置的另一结构框 图。 如图 3所示, 在本实施例中, 为了实现上下文信息的共享和管理, 上述 装置还可以包括: 获取模块 26, 其与发送模块 24相连, 设置成获取为优化 用户需求提供决策依据的上下文信息。
可选地, 如图 3所示, 上述转换模块 22, 还包括以下处理单元: 解析单 元 220, 其连接至转换单元 222, 设置成根据预先设置的映射关系表对用户终 端请求的业务数据进行解析, 其中, 映射关系表用于记录业务数据与业务数 据的属性格式之间的对应关系; 转换单元 222, 设置成将解析后的业务数据 转换为统一格式的业务数据。
可选地, 如图 3所示, 上述装置还包括: 第一检测模块 28, 其与添加模 块 30相连,设置成周期性地检测各个异构网络中是否存在映射关系表中未记 录的异构网络数据库; 添加模块 30, 其与上述转换模块 22相连, 设置成在 检测到未记录的异构网络数据库时, 将未记录的异构网络数据库中的业务数 据添加到映射关系表中。
可选地, 如图 3所示, 上述装置还包括: 第二检测模块 32, 其与删除模 块 34相连, 设置成周期性地检测异构网络中是否有退出异构网络的数据库; 删除模块 34, 其与上述转换模块 22相连, 设置成在检测到退出异构网络的 数据库时, 将退出异构网络的数据库的业务数据从映射关系表中删除。
为了更好地理解上述实施例 1 , 以下结合实施例 2和实施例 3进行详细 说明。
实施例 2
本实施例提供一种在异构数据库间实现数据共享的系统, 该系统主要由 异构数据共享平台 (相当于转换模块 22、 接收模块 20、 第一检测模块 28、 添加模块 30、 第二检测模块 32、 以及删除模块 34 ) 、 上下文信息搜索引擎 和各个数据库组成。
在本实施例中, 异构数据共享平台包括中央数据运算单元、 服务订阅 /发 布单元、 数据封装单元和安全验证单元。
在本实施例中, 中央数据运算单元包括运算处理模块、 映射关系模块、 查询定制模块和信息交互模块, 负责对数据库的共享数据和上下文信息进行 运算处理, 为订阅 /发布的泛在业务提供所需要的数据; 根据上下文信息搜索 引擎上 4艮的上下文信息进行运算处理, 为用户在异构网络切换、 主控终端选 择等方面提供决策依据; 存储各个数据库之间的映射关系表, 对各数据库间 的映射关系进行维护; 以及向数据封装单元提供规则查询和转换接口, 为各 数据库之间的数据转换封装提供规则依据。 服务订阅 /发布单元负责向用户提供泛在业务的查询和定制, 将中央数据 运算单元处理好的数据, 封装成为泛在业务, 提供给用户。
数据封装单元负责屏蔽各个数据库之间的异构性, 将各个异构网络中的 数据库的上报数据转换为统一格式的数据上报给中央数据运算单元。
安全验证单元负责对各数据库的身份进行验证, 验证通过的数据库可以 被授权向异构数据共享平台上报数据。
在本实施例中, 上下文信息搜索引擎包括用户上下文信息模块、 业务上 下文信息模块、 网络上下文信息模块和终端上下文信息模块, 主要负责利用 上下文感知技术, 分别从应用侧、 用户侧、 网络侧和终端侧动态地获取业务 内容、 用户偏好、 网络特征以及终端能力的上下文信息, 并对这些上下文信 息进行存储与处理, 当用户发出泛在业务请求后, 为异构数据共享平台提供 上下文信息, 从而保证用户的最佳服务质量(Quality of Service, QoS )体验、 异构网络之间的协调和多终端之间的协同。
数据库包括各异构网络中的已有数据库系统, 负责存储基础数据, 在用 户发出泛在业务请求后, 向异构数据共享平台提供数据资源。
实施例 3
图 4为根据本发明实施例 3的异构数据共享系统的架构图。如图 4所示, 本实施例中的异构数据共享系统包括异构数据共享平台 40、 上下文信息搜索 引擎 42和数据库 44。
异构数据共享平台 40根据泛在业务请求方 46提出的业务需求, 对上下 文信息搜索引擎 42和数据库 44提供的信息进行运算处理, 形成泛在业务提 供给用户。
其中, 异构数据共享平台 40包括服务订阅 /发布单元 400、 中央数据运算 单元 402、 数据封装单元 404和安全认证单元 406。
服务订阅 /发布单元 400向用户提供泛在业务的查询和定制, 将中央数据 运算单元 402处理好的数据, 封装成为泛在业务, 提供给用户。
中央数据运算单元 402对数据库 44的共享数据和上下文信息进行运算处 理, 为服务订阅 /发布单元 400的泛在业务提供所需要的数据; 根据上下文信 息搜索引擎 42上报的上下文信息进行运算处理, 为用户在异构网络切换、 主 控终端选择等方面提供决策依据; 存储各个数据库 44之间的映射关系表, 对 各数据库 44间的映射关系进行维护; 以及向数据封装单元 404提供规则查询 和转换接口, 为各数据库 44之间的数据转换封装提供规则依据。
数据封装单元 404屏蔽各个数据库 44之间的数据异构性,将泛在网条件 下的异构数据库的上报数据转换为统一格式的数据上报给中央数据运算单元 402。
安全认证单元 406对各数据库 44的身份进行验证,验证通过的数据库可 以被授权向异构数据共享平台 40上报数据。
上下文信息搜索引擎 42 包括用户上下文信息模块、 业务上下文信息模 块、 网络上下文信息模块和终端上下文信息模块, 主要利用上下文感知技术, 分别从应用侧、 用户侧、 网络侧和终端侧动态地获取业务内容、 用户偏好、 网络特征以及终端能力的上下文信息,并对这些上下文信息进行存储与处理, 当用户发出泛在业务请求后, 为异构数据共享平台 40提供上下文信息, 从而 保证用户的最佳 QoS体验、 异构网络之间的协调和多终端之间的协同。
数据库 44包括异构网络中已有的数据库系统, 负责存储泛在业务数据, 在用户发出泛在业务请求后, 向异构数据共享平台 40提供数据资源。
图 5为根据本发明实施例 3的中央数据运算单元 402的结构框图。 如图 5所示, 中央数据运算单元 402分为运算处理模块 4020、映射关系模块 4022、 查询定制模块 4024和信息交互模块 4026。
运算处理模块 4020对数据库 44的共享数据和上下文信息进行运算处理, 为服务订阅 /发布单元 400的泛在业务提供所需要的数据; 以及根据上下文信 息搜索引擎 42上报的上下文信息进行运算处理, 为用户在异构网络切换、 主 控终端选择等方面提供决策依据。
映射关系模块 4022存储各个数据库 44之间的映射关系表, 对各数据库 44间的映射关系进行维护。
查询定制模块 4024提供规则查询和转换接口, 为各数据库 44之间的数 据转换封装提供规则依据。
信息交互模块 4026为上下文信息搜索引擎 42和数据库 44与异构数据共 享平台 40之间的信息交互提供接口, 监测数据库 44的加入和退出, 并接收 上下文信息搜索引擎 42提供的上下文信息。
图 6为根据本发明实施例 3的实现异构数据共享的方法的流程图。 如图 6所示, 本实施例提供的实现异构数据共享的方法包括以下处理步骤。
步骤 S602, 用户发出泛在业务请求。
本步骤中, 用户通过终端向数据共享系统发出泛在业务请求。
步骤 S604, 上下文信息搜索引擎为泛在业务配置上下文信息。
本步骤中, 上下文信息搜索弓 )擎根据用户所发出的泛在业务请求信息, 为用户的泛在业务请求配置上下文信息,该上下文信息包括主控终端的选择, 接入网络的选择、 以及用户偏好信息等等。 步骤 S606, 服务订阅 /发布单元接收到请求信息和上下文信息。
本步骤中, 服务订阅 /发布单元接收到来自用户发出的泛在业务请求以及 上下文信息搜索引擎发来的上下文信息。
步骤 S608,服务订阅 /发布单元配置泛在业务订阅信息并发送到中央数据 运算单元。
本步骤中, 服务订阅 /发布单元根据接收的请求信息和上下文信息, 对业 务进行配置, 形成业务订阅信息发送给中央数据运算单元。
步骤 S610, 中央数据运算单元接收信息, 查找数据库, 获取数据。
本步骤中, 中央数据运算单元接收到业务订阅信息, 根据业务订阅信息 的内容, 对相关数据库进行查找, 获取泛在业务所需的数据。
步骤 S612,中央数据运算单元处理得到业务数据并发送到服务订阅 /发布 单元。
本步骤中, 中央数据运算单元对上下文信息以及通过数据库获得的原始 数据进行运算处理, 得到泛在业务数据, 并将泛在业务数据发送到服务订阅 / 发布单元进行封装。
步骤 S614,服务订阅 /发布单元对泛在业务数据进行封装形成泛在业务并 返回给用户。
本步骤中, 服务订阅 /发布单元将最终得到的泛在业务数据根据用户偏 好、 业务需求等上下文信息进行封装, 得到用户所需的泛在业务, 提供给用 户。
在异构网络间实现数据共享, 向用户提供泛在业务的过程中, 由于泛在 网络的扩展性, 可能导致新的数据库加入或旧的数据库退出, 这些因素关系 到数据共享系统能否正常工作, 以便向用户提供最佳的泛在业务体验。 因此, 在异构网络间进行数据共享过程中, 数据共享系统需要能够实现数据库的加 入与退出。
图 7为根据本发明实施例的数据库加入数据共享系统的流程图。 如图 7 所示, 数据库加入数据共享系统的流程主要包括如下步骤。
步骤 S702, 交互模块发现新的数据库。 本步骤中, 中央数据运算单元中的信息交互模块周期性地扫描各种异构 网络环境, 当发现新的数据库时, 信息交互模块发出响应。
步骤 S704 , 交互模块向数据库发送加入数据共享系统的指令。
本步骤中, 交互模块发现有新数据库存在, 向所述数据库发送加入数据 共享系统的指令, 指令中包含有数据共享系统分配给新数据库的验证密钥。
步骤 S706 , 数据库接收到指令, 向数据共享平台发出加入申请。
本步骤中,数据库接收到加入指令, 向数据共享平台发出加入申请信息, 申请信息中包含有数据共享系统分配的验证密钥以及数据库的属性格式信 息。
步骤 S708 , 安全验证单元对加入申请进行验证。
本步骤中, 安全验证单元验证加入申请中的密钥信息是否与信息交互模 块发送给数据库的加入指令中的密钥信息一致,如果一致,则转向步骤 S710 , 如果不一致, 则转向步骤 S716。
步骤 S710 , 数据封装单元对数据库的属性格式信息进行转换封装。
本步骤中, 数据封装单元按照查询定制模块提供的转换规则对数据库提 供的属性格式信息进行封装, 上传到中央数据运算单元。
步骤 S712 , 中央数据运算单元接收信息, 并更新映射关系表。
本步骤中, 中央数据运算单元接收数据库的属性格式信息后, 首先通过 映射关系模块按照数据库所涉及的领域对数据库进行初步分类, 再将数据库 的属性格式信息插入映射关系表中, 完成映射关系表的更新。
步骤 S714 , 新的数据库加入数据共享系统。
步骤 S716 , 拒绝数据库加入数据共享系统。
图 8为根据本发明实施例的数据库退出数据共享系统的流程图。 如图 8 所示, 数据库退出数据共享系统的流程主要包括如下步骤。
步骤 S802 , 交互模块发现数据库退出数据共享系统。
本步骤中, 中央数据运算单元中的信息交互模块周期性地扫描所属的数 据库, 当发现有数据库退出数据共享系统时, 信息交互模块发出响应。 步骤 S804, 交互模块向映射关系模块发出修改映射关系表的请求。
本步骤中, 交互模块发现有数据库退出数据共享系统时, 向映射关系模 块发出修改映射关系表的请求, 请求信息包括数据库的名称属性信息。
步骤 S806, 映射关系模块删除数据库的信息, 更新映射关系表。
本步骤中, 映射关系模块根据交互模块发来的请求信息, 删除与数据库 相关的共享信息, 更新映射关系表。
步骤 S808, 数据共享平台完成数据库的退出操作。
实施例 4
本实施例中, 以在车域网中, 用户从城市 A出发到城市 B时, 通过数据 共享系统选择一条最优线路为例, 对异构数据库间的数据共享进行说明。
本实施例涉及多终端用户如何选择主控终端、 主控终端与数据共享系统 交互过程中的接入网选择、 GPS网络数据如何在 WiFi网络和 Internet等异构 网络中实现共享、 以及公路收费系统信息数据库的自动加载等内容。 本实施 例的目的是使用数据共享系统, 通过协同各异构网络, 从用户角度出发, 为 用户提供 A到 B的最佳行车线路。
此实例的数据共享过程说明如下:
1 )用户通过导航系统的 GPS网络查找到两条由城市 A到城市 B的线路。
2 )通过车域网, 用户将导航系统中的线路信息共享到泛在终端上。
3 )用户通过泛在终端发出查询由 A到 B的最优线路的泛在业务请求, 并要求费用最低。
4 )上下文信息搜索引擎根据用户发出的泛在业务请求, 在用户的多个终 端中按照终端设备能力 (包括运算速度、 显示能力、 传输能力等指标) 、 接 入网性能 (包括网络带宽、 覆盖范围、 信号强弱等指标)选择主控终端, 这 里选择 ZTE手机终端为主控终端, 通过 WiFi接入网络与数据共享平台进行 交互。
5 )主控终端将用户查询得到的两条线路信息和泛在业务请求上报给服务 订阅 /发布单元,服务订阅 /发布单元接收到主控终端上传的信息后,对信息进 行封装, 形成泛在业务订阅信息发送给中央数据运算单元。
6 )中央数据运算单元根据收到的业务订阅信息, 查找相关数据库, 并在 这过程中发现数据共享系统没有公路收费系统信息数据库, 之后, 中央数据 运算单元在交通信息网络中查找到公路收费系统信息数据库, 同时公路收费 系统信息数据库将自己的属性信息 (包括出发城市、 到达城市、 道路名称、 距离、 费用)发送到中央数据运算单元, 中央数据运算单元对映射关系表进 行更新, 完成对公路收费信息系统数据库的加载。
7 )中央数据运算单元将获取的收费信息、 线路信息和上下文信息进行运 算处理, 得到一条费用最少的线路, 并将结果返回给服务订阅 /发布单元。
8 )服务订阅 /发布单元根据上下文信息搜索引擎提供的用户上下文信息 和业务上下文信息, 对结果进行封装, 提供给用户。
通过上述实施例可以看出, 本发明实施例实现了以下有益效果: 实现了在异构网络间进行数据共享的方法, 并克服了普通数据共享方法 仅能够完成单一网络中的数据共享, 而无法实现各种异构网络之间数据共享 的不足。 本发明实施例中不仅实现了异构数据库之间的数据共享, 针对泛在 业务需求, 还实现了在网络接入机制、 上下文信息管理等方面的数据共享。 同时, 在数据共享系统发现有数据库加入和退出的情况下, 通过该方法能够 及时地对数据共享系统进行更新, 满足在泛在网条件下对数据共享系统扩展 性的要求。
在另外一个实施例中, 还提供了一种软件, 该软件用于执行上述实施例 及优选实施方式中描述的技术方案。
在另外一个实施例中, 还提供了一种存储介质, 该存储介质中存储有上 述软件, 该存储介质包括: 光盘、 软盘、 硬盘、 以及可擦写存储器等。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明实施例不限制于任何特定的硬件 和软件结合。
以上仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明实施例可以有各种更改和变化。 凡在本发明的精神 和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保 护范围之内。
工业实用性
通过本发明实施例的方法及装置, 解决了相关技术中, 尚无如何实现异 构网络间的数据共享的解决方案以及尚无对数据共享进行系统性管理的方案 的技术问题, 从而实现了异构数据库之间的数据共享。

Claims

权 利 要 求 书
1、 一种异构网络中的数据共享方法, 包括:
接收来自于用户终端的业务数据请求消息, 其中, 所述业务数据请求消 息用于请求共享所述异构网络中的业务数据;
在所述业务数据请求消息的触发下, 将预先获取的业务数据转换为统一 格式的业务数据, 其中, 所述业务数据为所述异构网络中各个异构数据库中 的业务数据; 以及
将转换后的业务数据发送给所述用户终端。
2、 根据权利要求 1所述的方法, 还包括:
获取为优化用户需求提供决策依据的上下文信息。
3、 根据权利要求 2所述的方法, 其中, 所述上下文信息包括以下信息至 少之一:
用户需求信息、 网络特征信息、 终端能力信息、 以及业务需求信息。
4、 根据权利要求 1至 3任一项所述的方法, 其中, 所述将预先获取的业 务数据转换为统一格式的业务数据的步骤包括:
根据预先设置的映射关系表对所述用户终端请求的业务数据进行解析, 其中, 所述映射关系表用于记录所述业务数据与所述业务数据的属性格式之 间的对应关系;
将解析后的业务数据转换为所述统一格式的业务数据。
5、 根据权利要求 4所述的方法, 还包括:
周期性地检测各个异构网络中是否存在所述映射关系表中未记录的异构 网络数据库; 以及 在检测到所述未记录的异构网络数据库时, 将所述未记录的异构网络数 据库中的业务数据添加到所述映射关系表中。
6、 根据权利要求 5所述的方法, 其中, 所述将所述未记录的异构网络数 据库中的业务数据添加到所述映射关系表中的步骤包括:
对所述未记录的异构网络数据库进行鉴权, 并在鉴权通过时, 将所述未 记录的异构网络数据库中的业务数据添加到所述映射关系表中。
7、 根据权利要求 4所述的方法, 还包括:
周期性地检测所述异构网络中是否有退出所述异构网络的数据库; 以及 在检测到所述退出所述异构网络的数据库时, 将所述退出所述异构网络 的数据库的业务数据从所述映射关系表删除。
8、 一种异构网络中的数据共享装置, 包括:
接收模块, 其设置成: 接收来自于用户终端的业务数据请求消息, 其中, 所述业务数据请求消息用于请求共享所述异构网络中的业务数据;
转换模块, 其设置成: 在所述业务数据请求消息的触发下, 将预先获取 的业务数据转换为统一格式的业务数据, 其中, 所述业务数据为所述异构网 络中各个异构数据库中的业务数据; 以及
发送模块, 其设置成: 将转换后的业务数据发送给所述用户终端。
9、 根据权利要求 8所述的装置, 还包括:
获取模块, 其设置成: 获取为优化用户需求提供决策依据的上下文信息。
10、 根据权利要求 8或 9所述的装置, 其中, 所述转换模块包括: 解析单元, 其设置成: 根据预先设置的映射关系表对所述用户终端请求 的业务数据进行解析, 其中, 所述映射关系表用于记录所述业务数据与所述 业务数据的属性格式之间的对应关系;
转换单元, 其设置成: 将解析后的业务数据转换为所述统一格式的业务 数据。
11、 根据权利要求 10所述的装置, 还包括:
第一检测模块, 其设置成: 周期性地检测各个异构网络中是否存在所述 映射关系表中未记录的异构网络数据库;
添加模块, 其设置成: 在检测到所述未记录的异构网络数据库时, 将所 述未记录的异构网络数据库中的业务数据添加到所述映射关系表中。
12、 根据权利要求 10所述的装置, 还包括:
第二检测模块, 其设置成: 周期性地检测所述异构网络中是否有退出所 述异构网络的数据库;
删除模块, 其设置成: 在检测到所述退出所述异构网络的数据库时, 将 所述退出所述异构网络的数据库的业务数据从所述映射关系表删除。
PCT/CN2013/079353 2012-09-19 2013-07-15 一种异构网络中的数据共享方法及装置 WO2013182127A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210349010.7 2012-09-19
CN201210349010.7A CN103685411A (zh) 2012-09-19 2012-09-19 异构网络中的数据共享方法及装置

Publications (1)

Publication Number Publication Date
WO2013182127A1 true WO2013182127A1 (zh) 2013-12-12

Family

ID=49711411

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079353 WO2013182127A1 (zh) 2012-09-19 2013-07-15 一种异构网络中的数据共享方法及装置

Country Status (2)

Country Link
CN (1) CN103685411A (zh)
WO (1) WO2013182127A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135581A (zh) * 2014-08-15 2014-11-05 国家电网公司 一种通信方法及装置
CN106980672A (zh) * 2017-03-28 2017-07-25 中国电子科技集团公司第二十九研究所 一种异构环境下面向对象的数据存储系统及方法
CN113992751A (zh) * 2021-10-27 2022-01-28 北京八分量信息科技有限公司 异构网络中资源共享方法、装置及相关产品

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2017414413B2 (en) * 2017-05-18 2021-01-28 Honor Device Co., Ltd. Search method and apparatus
CN113992572B (zh) * 2021-10-27 2023-10-27 北京八分量信息科技有限公司 异构网络中共享存储资源路径的路由方法、装置及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009002A (zh) * 2007-02-06 2007-08-01 华为技术有限公司 在异构系统间实现数据共享的方法和系统
US20090234823A1 (en) * 2005-03-18 2009-09-17 Capital Source Far East Limited Remote Access of Heterogeneous Data
CN101957865A (zh) * 2010-10-27 2011-01-26 杭州新中大软件股份有限公司 一种异构系统间数据交换与共享技术
CN102271156A (zh) * 2011-07-20 2011-12-07 武汉爱迪智能工程有限公司 基于物联网的数据共享服务系统
CN102567378A (zh) * 2010-12-28 2012-07-11 上海杉达学院 基于异构数据的信息检索系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090234823A1 (en) * 2005-03-18 2009-09-17 Capital Source Far East Limited Remote Access of Heterogeneous Data
CN101009002A (zh) * 2007-02-06 2007-08-01 华为技术有限公司 在异构系统间实现数据共享的方法和系统
CN101957865A (zh) * 2010-10-27 2011-01-26 杭州新中大软件股份有限公司 一种异构系统间数据交换与共享技术
CN102567378A (zh) * 2010-12-28 2012-07-11 上海杉达学院 基于异构数据的信息检索系统
CN102271156A (zh) * 2011-07-20 2011-12-07 武汉爱迪智能工程有限公司 基于物联网的数据共享服务系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135581A (zh) * 2014-08-15 2014-11-05 国家电网公司 一种通信方法及装置
CN104135581B (zh) * 2014-08-15 2016-05-04 国家电网公司 一种通信方法及装置
CN106980672A (zh) * 2017-03-28 2017-07-25 中国电子科技集团公司第二十九研究所 一种异构环境下面向对象的数据存储系统及方法
CN113992751A (zh) * 2021-10-27 2022-01-28 北京八分量信息科技有限公司 异构网络中资源共享方法、装置及相关产品

Also Published As

Publication number Publication date
CN103685411A (zh) 2014-03-26

Similar Documents

Publication Publication Date Title
CN105813079B (zh) 一种终端接入方法
WO2017133535A1 (zh) 一种网络切片选择方法、策略生成方法及网络节点
KR101977441B1 (ko) 가상화 브로커 및 콘텍스트 정보를 이용한 자원들의 가상화를 위한 방법 및 장치
CN107113182B (zh) 用于在服务层处支持协商服务的方法、装置和联网的系统
CN104904186A (zh) 上下文化信息总线
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
CN107615791B (zh) 用于添加m2m服务的装置和方法
CN113596191A (zh) 一种数据处理方法、网元设备以及可读存储介质
WO2013182127A1 (zh) 一种异构网络中的数据共享方法及装置
CN113572835B (zh) 一种数据处理方法、网元设备以及可读存储介质
US8665849B2 (en) Methods and systems for implementing inter-network roam, querying and attaching network
CN113572864B (zh) 一种数据处理方法、网元设备以及可读存储介质
Picone et al. A decentralized smartphone based traffic information system
US9374710B2 (en) Mediation server, control method therefor, communication device, control method therefor, communication system, and computer program
CN107950005B (zh) 服务元素主机选择
WO2016101163A1 (zh) 统一机器到机器系统中数据传输的方法和公共服务实体
CN115226103A (zh) 一种通信方法及装置
Hagenauer et al. Cars as a main ICT resource of smart cities
Tourani et al. Distributed data-gathering and-processing in smart cities: An information-centric approach
KR20150066475A (ko) M2M시스템에서 DNS 기반노드 등록 및 PoA 설정 방법 및 이를 위한 장치
CN111200514A (zh) 网元的信息处理方法、装置、网络平台及存储介质
CN114258154B (zh) 会话方法、终端及会话功能实体设备
WO2024067148A1 (zh) 边缘互通业务执行方法、装置、系统、电子设备和介质
US20230422142A1 (en) Collaboration Between Mobile Network Operators for Mobile Edge Computing Applications
US20230252023A1 (en) Systems and methods for off-chain action orchestration using blockchain events

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13800975

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13800975

Country of ref document: EP

Kind code of ref document: A1