CN103414705A - Method for mobile internet heterogeneous data exchange based on SAAS mode - Google Patents

Method for mobile internet heterogeneous data exchange based on SAAS mode Download PDF

Info

Publication number
CN103414705A
CN103414705A CN2013103259530A CN201310325953A CN103414705A CN 103414705 A CN103414705 A CN 103414705A CN 2013103259530 A CN2013103259530 A CN 2013103259530A CN 201310325953 A CN201310325953 A CN 201310325953A CN 103414705 A CN103414705 A CN 103414705A
Authority
CN
China
Prior art keywords
data
tenant
terminal
mobile internet
data type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103259530A
Other languages
Chinese (zh)
Other versions
CN103414705B (en
Inventor
唐雪飞
陈科
汪海良
黄冠华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201310325953.0A priority Critical patent/CN103414705B/en
Publication of CN103414705A publication Critical patent/CN103414705A/en
Application granted granted Critical
Publication of CN103414705B publication Critical patent/CN103414705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for mobile internet heterogeneous data exchange based on an SAAS mode and relates to the field of communication. The method for mobile internet heterogeneous data exchange based on the SAAS mode comprises the following steps that information is sent to a data exchange platform through the mobile internet by a mobile terminal A of a sender; a normal data type is used for serving as an intermediary agent by the data exchange platform; a data type A of the sender is firstly converted into the normal data type; then, the normal data type is converted into a data type B which can be identified by a mobile terminal B of a receiver; the data type B is finally sent to the mobile terminal B of the receiver through the mobile internet. According to the method, a user using a mobile device can conveniently conduct data exchange among heterogeneous mobile devices through the mobile internet.

Description

A kind of isomeric data of mobile internet based on SAAS pattern switching method
Technical field
The present invention relates to the communications field, relate in particular to a kind of isomeric data of mobile internet based on SAAS pattern switching method.
Background technology
Along with information network technique ground is fast-developing, network technology is constantly weeded out the old and bring forth the new, and is ceaselessly changing people's life style.The meaning of SAAS (Software-as-a-Service) is that software is namely served, and is based on the software application pattern that the Internet provides software service.The core of SAAS is that software service can be provided online; It can save the high cost that user's configuration server, purchase software product etc. will be paid, and need not as application package, carry out software upgrading and follow-up input again.
SAAS service provider builds information-based needed all-network infrastructure and software, hardware running platform for enterprise, and be responsible for the enforcement in all early stages, a series of services such as maintenance in later stage, enterprise is without buying software and hardware, building machine room etc., only need in earlier stage pay disposable project implementation expense and regular software rentals service charge, can enjoy information system by the Internet.The service provider, by effective technical measures, can guarantee fail safe and the confidentiality of every business data.Enterprise adopts the SAAS service mode substantially as broad as long with enterprise self-built information system on effect, but the fund of having saved technology and maintenance operation, thus decrease threshold and the risk of IT application in enterprises.
Mobile Internet is the product that mobile communication and the Internet combine.Conventional internet couples together formation by communication lines such as telephone wire, optical fiber by the network terminal.Because need circuit, so terminal can't move or mobile range is very little, generally be confined to indoorly, thereby network can regard fixing as.And the mobile terminals such as mobile phone are connected by wireless signal, there is no the restriction of circuit, mobile terminal can move everywhere, and they have just formed mobile Internet.Mobile Internet is convenience like this, makes it constantly accelerate in recent years to every profession and trade, each field infiltration, merge, and not only improves people's living standard, also drives conventional industries upgrading transition, injects new vitality to all trades and professions.
Internet of Things is the nearly 2 years new ideas that propose, its definition is by radio-frequency (RF) identification (Radio Frequency Identification, RFID), the information sensing equipment such as infrared inductor, global positioning system, laser scanner, agreement by agreement, any article are connected with the Internet, carry out information exchange and communicate by letter, to realize a kind of network to intellectuality identification, location, tracking, monitoring and the management of article.This has the two-layer meaning: the first, and core and the basis of Internet of Things remain the Internet, are extension on Internet basic and the network of expansion; The second, its user side extends and has expanded between any article and article, carries out information exchange and communicates by letter.As can be seen here, Internet of Things is the inevitable outcome of the Internet and mobile Internet development.
In the Internet, propagate and sharing information, between terminal, must communicate, surely can cause exchanges data thus.Take computer in the conventional internet of terminal, and between terminal, the problem of exchanges data is little, because in computer, there is various software can process many dissimilar data.But when the network terminal changes various different mobile device into, the problem of inter-terminal data exchange will be very outstanding.Different equipment is used different data type and data format, same equipment even, and manufacturer's difference, the data type of use are also different.The information that the mobile terminal None-identified is used the other-end different from the data type of oneself to send.The communication of isomery equipment room has not freely seriously restricted the development of mobile Internet and Internet of Things.
Summary of the invention
The purpose of this invention is to provide a kind of isomeric data of mobile internet based on SAAS pattern switching method, utilize the method can realize the mutual conversion between the isomeric data type, thereby solve the problem that isomeric data can't exchange, make between various types of terminals, can communicate by letter smoothly in the mobile network.
For achieving the above object, take following technical scheme: a kind of isomeric data of mobile internet based on SAAS pattern switching method, comprise the following steps: the mobile terminal A of transmit leg crosses mobile Internet by information exchange and sends to data interchange platform, data interchange platform is used a kind of standard data type to be intermediary, first convert the data type A of transmit leg to standard data type, again standard data type is converted to the data type B that recipient's mobile terminal B can identify, finally data type B is sent to recipient's mobile terminal B by mobile Internet.
Preferably: mount message administration module in mobile terminal, mobile terminal sends the discernible data format of data interchange platform or receives the data format after changing by data interchange platform by information management module.
Preferably: for each tenant of data interchange platform creates a schema, exclusive user ID and the device id of storage tenant in each schema, set up simultaneously the public sheet collection, and the map information table of being correlated with public sheet centralized stores tenant ID and tenant, by map information table, that the terminal equipment of access data switching plane is associated with the tenant.
Preferably: data interchange platform receive data exchange request and obtain transmitting terminal and the device id of receiving terminal after, use Sherwood algorithm in terminal, to search match information.
Preferably: the subsequent step of step 4 is: if there is not matched termination equipment, return to corresponding error message; If exist, the terminal equipment of concentrating by public sheet and tenant's relation mapping table further obtain tenant ID under transmitting terminal and receiving device, and comparison; If two terminal equipments do not belong to same tenant, do not allow swap data, and return to error message; Otherwise, by the mapping relations between tenant and schema, determine concrete schema.
Preferably: by the receiving terminal apparatus ID that obtains and tenant's schema name, using it as the parameter call storing process, obtain the data format that receiving terminal apparatus is supported.
Beneficial effect of the present invention is as follows: utilize the method can realize the mutual conversion between the isomeric data type, thereby solve the problem that isomeric data can't exchange, make between various types of terminals, can communicate by letter smoothly in the mobile network.The tenant of data interchange platform can obtain data exchange service easily, flexibly customized service time, without building and the service data switching plane, reduces use cost.The data interchange platform of SAAS pattern makes the platform software and hardware can be multiplexing, improves resource utilization.Exchanges data based on standard data structure is simple and convenient, and autgmentability is strong, only needs to change the replacing that the data exchange middleware module can realize normal data, convenient upgrading.
The accompanying drawing explanation
Fig. 1 is the data exchange process schematic diagram;
Fig. 2 is the data transaction schematic diagram.
Embodiment
Data interchange platform of the present invention is the platform software of being write by JAVA, is applicable to various server platforms, and uses the SAAS pattern, is once disposed by operator, is responsible for maintenance, and software user is rented the data exchange service of platform with Lease way.
Described data interchange platform is prior art, comprises with lower module:
Information management module: for receiving, process and send the information of described data interchange platform.
User management module: for managing the user profile of described data interchange platform, comprise that the user registers, the user profile inquiry, delete the user, revises user's associative operations such as user profile.
Device management module: be responsible for to use the maintenance of information of the mobile terminal device of described data interchange platform, comprise facility information storage, delete, search, the equipment associative operation such as modification.
The design of exchange middleware administration module: for managing the design of exchange middleware of described data interchange platform, comprise increase, deletion, data query conversion middleware, the design of exchange middleware that calls coupling carries out the conversion of specific data type.
Database: the data that the storage platform operation is required.
With the SaaS pattern, provide service: use the user of described data interchange platform without setting for this platform, the various hardware devices that the maintenance platform operation is required, these work are completed by the platform operation business.Platform operation business with the form of service to the use of user's open platform, after the user only need register, the data exchanging function just can usage platform provided.
Under the system of the many tenants based on SAAS, need to distinguish user and tenant's difference.
We are set as follows scene, the A of enterprise, in order to solve the exchanges data problem between employee's different terminals, has set up a data switching plane, and the employee is the user of the data interchange platform of the A of enterprise, data interchange platform is by the A of enterprise operation maintenance, many tenants of these right and wrong scene.Enterprise B has also been built an identical data interchange platform afterwards.Problem has just been come, and two data switching plane functions are identical, can only with a data switching plane, substitute? many tenants system addresses this problem.In many tenants system, the A of enterprise before and enterprise B, without the data interchange platform of building and safeguard oneself, are built and are safeguarded by data interchange platform operator.The A of enterprise and enterprise B are rented the data exchange service that the platform operation business provides, and here, the A of enterprise and enterprise B are the tenants, and the employee in two enterprises is the user.
The problem that exists the tenant to isolate under many tenants system, because what a plurality of tenants used is a platform, suppose to exist in two a plurality of tenants the terminal of same type, if do not carry out tenant's isolation, which should information send to so? the present invention isolates tenant data by the mode of prior art database cutting, and detailed process is as follows:
In database, for each registration tenant creates a schema, a schema is exactly the set of database table, view.Each tenant's user profile and terminal equipment information etc. all leave in schema separately, for tenant and schema set up mapping relations.For by tenant under the request identification terminal, need to there is the public sheet collection that the tenant has nothing to do to deposit tenant's information and some mapping relations tables.The public sheet collection should comprise tenant's information table at least, terminal equipment ID and tenant ID mapping relations table.Wherein, all terminal equipment ID of all tenants and affiliated tenant's ID thereof in the store data switching plane in terminal equipment ID and tenant ID mapping relations table.
Below by a data exchange process explanation specific embodiment of the invention step.
A kind of isomeric data of mobile internet based on SAAS pattern switching method, comprise the following steps: the mobile terminal A of transmit leg crosses mobile Internet by information exchange and sends to data interchange platform, data interchange platform is used a kind of standard data type to be intermediary, first convert the data type A of transmit leg to standard data type, again standard data type is converted to the data type B that recipient's mobile terminal B can identify, finally data type B is sent to recipient's mobile terminal B by mobile Internet.
Reach step by step specific embodiment as follows:
S1. the user is by the end message administration module, and input receiving equipment information, send data message, and the end message administration module sends to data interchange platform by the Internet by information.For example certain user need to send to the address list in mobile phone another user, and the user arranges the identifying information of receiving equipment in the end message administration module, can be unique EIC equipment identification code, can be also the possessory user name of equipment, tenant's name oil (gas) filling device name.Needing simultaneously to arrange the data format of address list, is for example CSV.After setting, the user selects to send address list, and the end message administration module sends to data interchange platform by transmitting terminal and receiving device information and data message.
S2. the listening port of data interchange platform is received data exchange request, according to predefined request form, obtains receiving equipment information and needs the data message exchanged.As adopt the JSON formal definition, can { senddev:1234567, revdev:7654321, datatype:csv}.Data interchange platform can be by the JSON Reading and writing instrument from parsing information needed easily the data of JSON form.
S3. after obtaining transmitting terminal and receiving device information, by facility information, search terminal equipment in database, due to the terminal equipment One's name is legion of access platform, use common traversal search performance excessively poor, here adopt the prior art Sherwood algorithm to carry out fast finding, specific as follows:
Sherwood algorithm is a kind of of probabilistic algorithm, and its basic thought is: establishing A is a deterministic algorithm, and be designated as t required computing time when its input example is x A(x).If the input size that Xn is algorithm A is example all of n, when the input size of problem was n, algorithm A was required average time:
Figure BDA00003594524200061
This obviously can not get rid of and exists x ∈ Xn to make
Figure BDA00003594524200062
Possibility.Therefore wish to obtain a probabilistic algorithm B, making input size to problem is that each example of n all has: t B ( x ) = t A ‾ ( n ) + s ( n ) .
In practice, the major key in the terminal equipment information table is deposited in array, during retrieval, use Sherwood algorithm to search matched termination equipment to the major key array.
If there is not matched termination equipment, return to corresponding error message.If exist, the terminal equipment of concentrating by public sheet and tenant's relation mapping table further obtain tenant ID under transmitting terminal and receiving device, and comparison.If two equipment do not belong to same tenant, do not allow swap data, return to error message.Otherwise, by the mapping relations between tenant and schema, determine concrete schema.Mapping relations can simply be set to the title that tenant ID is schema.As tenant ID, be tenent1, corresponding schema tenent1 by name.
S4. by the receiving terminal apparatus ID that obtains and tenant's schema name, using it as the parameter call storing process, obtain the data format that receiving terminal apparatus is supported.Under many tenants system, list structure in each tenant schema is identical, the content difference, and the sql statement of searching the data format that terminal equipment supports by terminal equipment ID is basically identical, but the schema difference under table, need add that the schema name is distinguished before the table name in the sql statement.Use storing process can before the sql statement is carried out, dynamically determine the schema name.
S5. carry out data transaction.By the unified data format of data interchange platform, as intermediary, by twice conversion, by the transmitting terminal Data Format Transform, be the receiving terminal data format, as shown in Figure 2.In practice, according to data type, call related converting method by design of exchange middleware and complete conversion.Detailed process is as follows: establish the address list that transmitting terminal need to send the CSV form, receiving terminal is supported the address list form of excel, and the unified XML that uses of data interchange platform is as standard data type.Two mapping sets in design of exchange middleware DataExchange class, have been maintained, as Map, be respectively the conversion method mapping set xmlto of general data type to the conversion method mapping set toxml of standard data type and standard data type to the general data type.First by toxml, search the method that CSV turns XML, the CSV address list is changed into to the XML address list, more in like manner XML is changed into to the excel address list.
After converting, the receiving terminal information according to finding before, send to receiving terminal by the excel address list, receives and point out the user by the end message administration module of receiving terminal.
Wherein, the data that mean with described standard data type can convert other all data types that described data interchange platform is supported to, otherwise, can also convert standard data type to the data of the data types to express of any described data interchange platform support.

Claims (6)

1. the isomeric data of the mobile internet based on SAAS pattern switching method, it is characterized in that: comprise the following steps: the mobile terminal A of transmit leg crosses mobile Internet by information exchange and sends to data interchange platform, data interchange platform is used a kind of standard data type to be intermediary, first convert the data type A of transmit leg to standard data type, again standard data type is converted to the data type B that recipient's mobile terminal B can identify, finally data type B is sent to recipient's mobile terminal B by mobile Internet.
2. a kind of isomeric data of mobile internet based on SAAS pattern switching method according to claim 1, it is characterized in that: mount message administration module in mobile terminal, mobile terminal sends the discernible data type of data interchange platform or receives the data type after changing by data interchange platform by information management module.
3. a kind of isomeric data of mobile internet based on SAAS pattern switching method according to claim 1 and 2, it is characterized in that: for each tenant of data interchange platform creates a schema, exclusive user ID and the device id of storage tenant in each schema, set up simultaneously the public sheet collection, and the map information table of being correlated with public sheet centralized stores tenant ID and tenant, by map information table, that the terminal equipment of access data switching plane is associated with the tenant.
4. a kind of isomeric data of mobile internet based on SAAS pattern switching method according to claim 3, it is characterized in that: data interchange platform receive data exchange request and obtain transmitting terminal and the device id of receiving terminal after, use Sherwood algorithm in terminal, to search match information.
According to claim the 4 a kind of isomeric data of mobile internet based on SAAS pattern switching methods of stating, it is characterized in that: the subsequent step of step 4 is: if there is not matched termination equipment, return to corresponding error message; If exist, the terminal equipment of concentrating by public sheet and tenant's relation mapping table further obtain tenant ID under transmitting terminal and receiving device, and comparison; If two terminal equipments do not belong to same tenant, do not allow swap data, and return to error message; Otherwise, by the mapping relations between tenant and schema, determine concrete schema.
6. a kind of isomeric data of mobile internet based on SAAS pattern switching method according to claim 5, it is characterized in that: by the receiving terminal apparatus ID that obtains and tenant's schema name, using it as the parameter call storing process, obtain the data format that receiving terminal apparatus is supported.
CN201310325953.0A 2013-07-30 2013-07-30 A kind of mobile internet heterogeneous database exchange method based on SAAS pattern Active CN103414705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310325953.0A CN103414705B (en) 2013-07-30 2013-07-30 A kind of mobile internet heterogeneous database exchange method based on SAAS pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310325953.0A CN103414705B (en) 2013-07-30 2013-07-30 A kind of mobile internet heterogeneous database exchange method based on SAAS pattern

Publications (2)

Publication Number Publication Date
CN103414705A true CN103414705A (en) 2013-11-27
CN103414705B CN103414705B (en) 2016-03-02

Family

ID=49607691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310325953.0A Active CN103414705B (en) 2013-07-30 2013-07-30 A kind of mobile internet heterogeneous database exchange method based on SAAS pattern

Country Status (1)

Country Link
CN (1) CN103414705B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055582A (en) * 2016-05-20 2016-10-26 中国农业银行股份有限公司 Method and apparatus for replacing table name of database
CN107172173A (en) * 2017-06-01 2017-09-15 智象互联(厦门)科技有限公司 The mobile Internet platform data sharing method and device of a kind of SAAS patterns
CN108920702A (en) * 2018-07-18 2018-11-30 四川师范大学 Realize that heterogeneous database synchronizes the online method exchanged and share
CN110061872A (en) * 2019-04-12 2019-07-26 武汉理工大学 A kind of data interchange platform management system based on Internet of Things
WO2021196350A1 (en) * 2020-03-30 2021-10-07 南京中诚区块链研究院有限公司 Blockchain raft + pbft hybrid consensus network algorithm and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977164A (en) * 2010-11-04 2011-02-16 杭州世导通讯有限公司 Data interactive method and system in SaaS mode
CN102413135A (en) * 2011-11-17 2012-04-11 成都康赛电子科大信息技术有限责任公司 Strong expansion network grid SaaS access control method
CN103164206A (en) * 2011-12-16 2013-06-19 上海博腾信息科技有限公司 Software customization system based on software as a service (SAAS)
CN103176988A (en) * 2011-12-21 2013-06-26 上海博腾信息科技有限公司 Data migration system based on software-as-a-service (SaaS)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977164A (en) * 2010-11-04 2011-02-16 杭州世导通讯有限公司 Data interactive method and system in SaaS mode
CN102413135A (en) * 2011-11-17 2012-04-11 成都康赛电子科大信息技术有限责任公司 Strong expansion network grid SaaS access control method
CN103164206A (en) * 2011-12-16 2013-06-19 上海博腾信息科技有限公司 Software customization system based on software as a service (SAAS)
CN103176988A (en) * 2011-12-21 2013-06-26 上海博腾信息科技有限公司 Data migration system based on software-as-a-service (SaaS)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055582A (en) * 2016-05-20 2016-10-26 中国农业银行股份有限公司 Method and apparatus for replacing table name of database
CN106055582B (en) * 2016-05-20 2019-09-24 中国农业银行股份有限公司 A kind of method and device of the table name in replacement data library
CN107172173A (en) * 2017-06-01 2017-09-15 智象互联(厦门)科技有限公司 The mobile Internet platform data sharing method and device of a kind of SAAS patterns
CN108920702A (en) * 2018-07-18 2018-11-30 四川师范大学 Realize that heterogeneous database synchronizes the online method exchanged and share
CN110061872A (en) * 2019-04-12 2019-07-26 武汉理工大学 A kind of data interchange platform management system based on Internet of Things
WO2021196350A1 (en) * 2020-03-30 2021-10-07 南京中诚区块链研究院有限公司 Blockchain raft + pbft hybrid consensus network algorithm and system

Also Published As

Publication number Publication date
CN103414705B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN104125208B (en) Data transmission method and device
CN103414705B (en) A kind of mobile internet heterogeneous database exchange method based on SAAS pattern
CN102348017B (en) Calling method of terminal application, terminal device and UICC (Universal Integrated Circuit Card)
CN102111192A (en) Bluetooth connection method and system
US10430414B2 (en) Method and apparatus for sharing environment context
US20100005155A1 (en) Standardized mechanism of remote management of embedded radio modules
CN104091228A (en) Systems for resource management, resource registering, resource inquiry and resource semantic corpus management of internet of things
WO2019179423A1 (en) Card calling method and device, information pushing method and device, and card allocation system
CN104484958A (en) Express delivery pickup method and system for intelligent express delivery cabinet
CN103617583A (en) Method and equipment for processing data of service provider
US20070129049A1 (en) System and gateway system for managing phone numbers and user IDs
CN101420681B (en) Method and apparatus for processing multi-channel request subscription under service management platform
CN104408183B (en) The data lead-in method and device of data system
CN100498780C (en) Data inquire system and method
CN113396560B (en) Method and device for establishing optical cable connection
CN102103606A (en) Technology for realizing advanced search of commodities on mobile phone client
CN103455780B (en) Be adapted to article mark recognition methods, device and the system of many application
CN116701413A (en) Main data processing method and device
CN111814020A (en) Data acquisition method and device
CN101384050A (en) Mobile terminal, method and system for resource management
CN115277707A (en) Service processing method, device, electronic equipment and storage medium
CN106506687A (en) A kind of information processing method and system
CN109543076A (en) User's managing detailed catalogue generation method and device, electronic equipment, storage medium
CN105468752B (en) A kind of data product building system
CN103379120A (en) Method for enterprise service system interacting with middleware and device manager

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant