CN102546819A - Cross-platform system and method in mobile terminal application - Google Patents

Cross-platform system and method in mobile terminal application Download PDF

Info

Publication number
CN102546819A
CN102546819A CN2012100321094A CN201210032109A CN102546819A CN 102546819 A CN102546819 A CN 102546819A CN 2012100321094 A CN2012100321094 A CN 2012100321094A CN 201210032109 A CN201210032109 A CN 201210032109A CN 102546819 A CN102546819 A CN 102546819A
Authority
CN
China
Prior art keywords
client
data
service
module
message
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
CN2012100321094A
Other languages
Chinese (zh)
Other versions
CN102546819B (en
Inventor
薄满辉
唐红武
佟业新
高栋
李长杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Mobile Technology Co Ltd
Original Assignee
China Travelsky Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
Priority to CN201210032109.4A priority Critical patent/CN102546819B/en
Publication of CN102546819A publication Critical patent/CN102546819A/en
Application granted granted Critical
Publication of CN102546819B publication Critical patent/CN102546819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a cross-platform system in a mobile terminal application. The cross-platform system is composed of a client, a service terminal and a message notification system, wherein the client comprises a client and html5 (hypertext markup language 5) interactive module, a client data request module and a client data caching module; the service terminal comprises a service terminal decryption module and a service terminal service providing module; and the message notification system comprises a message notification module.

Description

Cross platform system and method thereof that a kind of portable terminal is used
Technical field
The present invention relates to cross platform system and method thereof that a kind of portable terminal is used; The cross platform system that this portable terminal is used has taken into full account the strengths and weaknesses of NATIVE pattern and traditional WEB application; Merge the advantage of two kinds of patterns, reduce the cell-phone customer terminal applied version as far as possible and change, application provider can upgrade and promote the use of in real time; Improve the respond of user's request, reduce popularization cost and the difficulty used.
Background technology
Move application software at present and adopt the NATIVE pattern more.The advantage of this pattern is that user experience is good, response speed is fast.Same shortcoming is also apparent in view, mainly is to upgrade inconvenience, and different client side is incompatible on the different mobile platform.Cell phone platform is more, and cross-platform development cost is high, and version updating is complicated with change.Be unfavorable for exploitation and popularization that large scale business enterprise uses.
Compare the NATIVE pattern, the html5 mode can compensate its defect just, also has its shortcoming certainly, like the encryption of data, and compression, interactive experience and vision etc.
The advantage of these two kinds of patterns is merged in the present invention well; Cross-platform mobile application and development is proposed; Solved the coupled problem of mobile application display interface and mobile phone itself; Realized the cross-platform of mobile phone application, the efficient communication of data and service end resource access mobile phone local function form preliminary mobile development technique framework and standard.
Summary of the invention
The cross platform system that portable terminal of the present invention is used is made up of client, service end and message informing system.Wherein client comprises client and html5 interactive module, client data request module, client-side data cache module; Service end comprises service end deciphering module and service end service providing module; The message informing system comprises the message informing module.
Client and html5 interactive module are made up of webkit engine and html5; Utilize html page layout design and cross-platform on advantage and native in the advantage aspect calling system function and the systematic function; Be reduced in the development difficulty on cross-platform, improve exploitation and move the efficient of using.
The client data request module is after the user passes through client UI transmission request, in data exchange process, to adopt the DES symmetric encipherment algorithm to carry out encryption to request msg, improves Information Security.
The client-side data cache module with the metadata cache of user capture in the client terminal local database; The user is after visit first; Follow-up all give tacit consent to from the client terminal local database obtain data, have only as the explicit Shi Caihui that refreshes of user and obtain data again from service end.In process of caching, before at first judging whether identical data is arranged, if having, buffer memory not then, if do not have, buffer memory then.In obtaining data procedures, data are lost the effect time judge, if spend the out-of-service time, then can't obtain data, if do not spend the out-of-service time, then return data is given the page.
The service end deciphering module is after server end receives the request of client transmission, before data are handled, it to be deciphered, and in order to improve fail safe, service end will regularly be sent secret sign indicating number to client, the real-time update of maintenance password.
The message informing module is based on XMPP (scalable message is handled on-the-spot agreement) consensus standard, realizes service end and client is notified each other and the propelling movement of the asynchronous message of unstable network.
Cross-platform method according to portable terminal of the present invention is used comprises the steps:
Step 1, running client software, whether the real-time monitoring of client receives the prompting message that server end sends;
Step 2 if client detects the prompting message that server end sends, shows at customer terminal webpage, if not, then return step 1;
Step 3, according to the function command that client is selected, client and html5 interactive module are called the mobile application system corresponding function, obtain request msg;
Step 4, if obtain the request msg success, the request msg that the client data request module is sent client is encrypted, if not, then return step 1;
Step 5 sends to server end to the request msg after encrypting;
Step 6 is if server end receives the message that client is sent, then to the data deciphering, according to sending it back client after the practical business processing;
Step 7 judges whether client obtains the data success, if not, then return step 1;
Step 8, the client-side data cache module is gone into client database with metadata cache.
Use XMPP (scalable message is handled on-the-spot agreement) consensus standard quasi real time to survey in step 2 client through the pattern realization IM (instant message) and the online scene of data channel; If monitor the prompting message that server end sends; Then remind at the customer terminal webpage display message; If no, then continue monitoring.
In step 3 client call client and html5 interactive module; When selection function is instructed; To complicated service, the generation of UI is accomplished by server end, adopts web exploitation dwr operating data mode commonly used to show through the class WEB page; To application simple, that renewal is not frequent, UI directly generates in client.
In step 5, the request msg that client is generated adopts the DES symmetric encipherment algorithm to encrypt, if the password expire of data encryption, client is then obtained password from server end, with the password update of client.
If obtain data from service end, server end at first receives the services request that client sends in step 7, and next judges whether service end has this service; If do not have; Then return error message and give client,, judge again and should serve the whether open client of giving if having; Give client if no, then return error message.If obtain data from client, the client-side data cache module at first judges to wait to obtain and data cachedly whether spends the out-of-service time, if mistake, then return data not.Said step 7 comprises following substep:
Step 7.1, if obtain data from service end, the service end service providing module receives the services request that client sends over;
Step 7.2 has judged whether this service, if service end should not served, then returns error message, and gets back to step 7.1; If service is arranged, then get into next step;
Step 7.3, the service that judges whether is open gives client, if service is not open, then returns error message, and gets back to step 7.1; If serve openly, then get into next step;
Step 7.4 will ask service data to return to client.
Step 7.5, the client-side data cache module is obtained data from client database;
Step 7.6 is judged data cached whether lost efficacy (expired), if lost efficacy, then returns the sky data;
Step 7.7, if lost efficacy, return data then.
In step 8, whether existing the client-side data cache module at first judge client database identical data, if existing, then buffer memory not if do not have, is then gone into client database with metadata cache.And at the customer terminal webpage video data.Said step 8 comprises following substep:
Step 8.1, the client-side data cache module will deposit client database in from the data that service end gets access to;
Step 8.2 is judged data cached whether the existence, if exist, and buffer memory not then;
Step 8.3, if do not exist, buffer memory then.
Description of drawings
The cross platform system block diagram that Fig. 1 uses for portable terminal of the present invention;
Fig. 2 is the overview flow chart of the cross-platform method of portable terminal application of the present invention;
Fig. 3 is the prompting message flow chart of the cross-platform method of portable terminal application of the present invention;
Fig. 4 is the client-side data cache flow chart of the cross-platform method of portable terminal application of the present invention;
Embodiment
As shown in Figure 1, the cross platform system that the cross platform system that portable terminal of the present invention is used is used by portable terminal of the present invention is made up of client, service end and message informing system.Comprising client and html5 interactive module, client data request module, client-side data cache module, service end deciphering module and message informing module.Form application server cluster by two IBM minicomputers, two minicomputers constitute HTTP access server, a minicomputer composition data storehouse system.The HTTP access server is responsible for receiving all requests, according to load balancing request is assigned to wherein one of application server cluster then.
Client and html5 interactive moduleForm by webkit engine and html5, utilize html page layout design and cross-platform on advantage and native in the advantage aspect calling system function and the systematic function, be reduced in the development difficulty on cross-platform, improve exploitation and move the efficient of using.
The client data request moduleBe after the user passes through client UI transmission request, in data exchange process, to adopt the DES symmetric encipherment algorithm to carry out encryption, improve Information Security request msg.
The client-side data cache moduleWith the metadata cache of user capture in the client terminal local database, the user after visit first, follow-up all give tacit consent to from the client terminal local database obtain data, have only as the explicit Shi Caihui that refreshes of user and obtain data again from service end.In process of caching, before at first judging whether identical data is arranged, if having, buffer memory not then, if do not have, buffer memory then.In obtaining data procedures, data are lost the effect time judge, if spend the out-of-service time, then can't obtain data, if do not spend the out-of-service time, then return data is given the page.
The service end deciphering moduleBe after server end receives the request of client transmission, before data are handled, it to be deciphered, in order to improve fail safe, service end will regularly be sent secret sign indicating number to client, the real-time update of maintenance password.
The message informing moduleBe based on XMPP (scalable message is handled on-the-spot agreement) consensus standard, realize service end and client is notified each other and the propelling movement of the asynchronous message of unstable network.
Cross platform system as shown in Figure 2, that portable terminal of the present invention is used, the cross-platform method that its portable terminal is used comprises the steps:
Step 1, running client software, whether the real-time monitoring of client receives the prompting message that server end sends;
Step 2 if client detects the prompting message that server end sends, shows at customer terminal webpage, if not, then return step 1;
Step 3: according to the function command that client is selected, client and html5 interactive module are called the mobile application system corresponding function, obtain request msg;
Step 4: if obtain the request msg success, the request msg that the client data request module is sent client is encrypted, if not, then return step 1;
Step 5: send to server end to the request msg after encrypting;
Step 6 is if server end receives the message that client is sent, then to the data deciphering, according to sending it back client after the practical business processing;
Step 7 judges whether to obtain the data success, if not, then return step 1;
Step 8, the client-side data cache module is gone into client database with metadata cache.
Fig. 3 is the prompting message flow chart of the cross-platform method of portable terminal application of the present invention; Fig. 4 is the client-side data cache flow chart of the cross-platform method of portable terminal application of the present invention.
Cross-platform method as shown in Figure 3, that portable terminal of the present invention is used, its prompting message module is operated between the client and server end as follows:
Step 1, running client software, whether the real-time monitoring of client receives the prompting message that server end sends;
Step 2 client uses XMPP (scalable message is handled on-the-spot agreement) consensus standard quasi real time to survey through the pattern realization IM (instant message) and the online scene of data channel; If monitor the prompting message that server end sends; Then remind at the customer terminal webpage display message; If no, then continue monitoring.
Cross-platform method as shown in Figure 4, that portable terminal of the present invention is used, its client-side data cache module is operated as follows:
Step 7.1, if obtain data from service end, the service end service providing module receives the services request that client sends over;
Step 7.2 has judged whether this service, if service end should not served, then returns error message, and gets back to step 7.1; If service is arranged, then get into next step;
Step 7.3, the service that judges whether is open gives client, if service is not open, then returns error message, and gets back to step 7.1; If serve openly, then get into next step;
Step 7.4 will ask service data to return to client.
Step 7.5, the client-side data cache module is obtained data from client database;
Step 7.6 is judged data cached whether lost efficacy (expired), if lost efficacy, then returns the sky data;
Step 7.7, if lost efficacy, return data then.
Step 8.1, the client-side data cache module will deposit client database in from the data that service end gets access to;
Step 8.2 is judged data cached whether the existence, if exist, and buffer memory not then;
Step 8.3, if do not exist, buffer memory then.As shown in Figure 4.

Claims (14)

1. the cross platform system that portable terminal is used is characterized in that said system is made up of client, service end and message informing system; Wherein,
Said client comprises client and html5 interactive module, client data request module, client-side data cache module;
Said service end comprises service end deciphering module and service end service providing module;
Said message informing system comprises the message informing module.
2. system according to claim 1; Wherein said client and html5 interactive module are made up of webkit engine and html5; Utilize html page layout design and cross-platform on advantage and native in the advantage aspect calling system function and the systematic function; Be reduced in the development difficulty on cross-platform, improve exploitation and move the efficient of using.
3. system according to claim 1, wherein said client data request module after the user passes through client UI transmission request, in data exchange process, adopt the DES symmetric encipherment algorithm to carry out encryption to request msg, improve Information Security.
4. system according to claim 1; Wherein said client-side data cache module with the metadata cache of user capture in the client terminal local database; The user is after visit first; Follow-up all give tacit consent to from the client terminal local database obtain data, have only as the explicit Shi Caihui that refreshes of user and obtain data again from service end;
In process of caching, before at first judging whether identical data is arranged, if having, buffer memory not then, if do not have, buffer memory then.In obtaining data procedures, data are lost the effect time judge, if spend the out-of-service time, then can't obtain data, if do not spend the out-of-service time, then return data is given the page.
5. system according to claim 1; Wherein said service end deciphering module; Be after server end receives the request of client transmission, before data are handled, it to be deciphered, in order to improve fail safe; Service end will regularly be sent secret sign indicating number to client, keep the real-time update of password.
6. system according to claim 1, wherein said message informing module is based on the XMPP consensus standard, realizes service end and client is notified each other and the propelling movement of the asynchronous message of unstable network.
7. the cross-platform method that portable terminal is used is characterized in that, comprises the steps:
Step 1, running client software, whether the real-time monitoring of client receives the prompting message that server end sends;
Step 2 if client detects the prompting message that server end sends, shows at customer terminal webpage, if not, then return step 1;
Step 3, according to the function command that client is selected, client and html5 interactive module are called the mobile application system corresponding function, obtain request msg;
Step 4, if obtain the request msg success, the request msg that the client data request module is sent client is encrypted, if not, then return step 1;
Step 5 sends to server end to the request msg after encrypting;
Step 6 is if server end receives the message that client is sent, then to the data deciphering, according to sending it back client after the practical business processing;
Step 7 judges whether client obtains the data success, if not, then return step 1;
Step 8, the client-side data cache module is gone into client database with metadata cache.
8. method according to claim 7, wherein,
In said step 2; Client uses the XMPP consensus standard quasi real time to survey through the pattern realization IM instant message and the online scene of data channel, if monitor the prompting message that server end sends, then reminds at the customer terminal webpage display message; If no, then continue monitoring.
9. method according to claim 7, wherein,
In said step 3 client call client and html5 interactive module; When selection function is instructed; To complicated service, the generation of UI is accomplished by server end, adopts web exploitation dwr operating data mode commonly used to show through the class WEB page; To application simple, that renewal is not frequent, UI directly generates in client.
10. method according to claim 7, wherein,
In said step 5, the request msg that client is generated adopts the DES symmetric encipherment algorithm to encrypt, if the password expire of data encryption, client is then obtained password from server end, with the password update of client.
11. method according to claim 7, wherein, in said step 7,
If obtain data from service end, server end at first receives the services request that client sends, and next judges whether service end has this service; If do not have; Then return error message and give client,, judge again and should serve the whether open client of giving if having; Give client if no, then return error message;
If obtain data from client, the client-side data cache module at first judges to wait to obtain and data cachedly whether spends the out-of-service time, if mistake, then return data not.
12. method according to claim 7, wherein, said step 7 comprises following substep:
Step 7.1, if obtain data from service end, the service end service providing module receives the services request that client sends over;
Step 7.2 has judged whether this service, if service end should not served, then returns error message, and gets back to step 7.1; If service is arranged, then get into next step;
Step 7.3, the service that judges whether is open gives client, if service is not open, then returns error message, and gets back to step 7.1; If serve openly, then get into next step;
Step 7.4 will ask service data to return to client;
Step 7.5, the client-side data cache module is obtained data from client database;
Step 7.6 is judged data cached whether lost efficacy (expired), if lost efficacy, then returns the sky data;
Step 7.7, if lost efficacy, return data then.
13. method according to claim 7, wherein, in said step 8,
Whether existing the client-side data cache module at first judge client database identical data, if existing, then buffer memory not if do not have, is then gone into client database with metadata cache; And at the customer terminal webpage video data.
14. method according to claim 7, wherein, said step 8 comprises following substep:
Step 8.1, the client-side data cache module will deposit client database in from the data that service end gets access to;
Step 8.2 is judged data cached whether the existence, if exist, and buffer memory not then;
Step 8.3, if do not exist, buffer memory then.
CN201210032109.4A 2012-02-14 2012-02-14 Cross-platform system and method in mobile terminal application Active CN102546819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210032109.4A CN102546819B (en) 2012-02-14 2012-02-14 Cross-platform system and method in mobile terminal application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210032109.4A CN102546819B (en) 2012-02-14 2012-02-14 Cross-platform system and method in mobile terminal application

Publications (2)

Publication Number Publication Date
CN102546819A true CN102546819A (en) 2012-07-04
CN102546819B CN102546819B (en) 2014-09-10

Family

ID=46352765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210032109.4A Active CN102546819B (en) 2012-02-14 2012-02-14 Cross-platform system and method in mobile terminal application

Country Status (1)

Country Link
CN (1) CN102546819B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605525A (en) * 2013-11-29 2014-02-26 深圳市中兴移动通信有限公司 Achievement method and device of desktop application program
CN105873030A (en) * 2015-01-22 2016-08-17 卓望数码技术(深圳)有限公司 Method for performing countersigning on an application of terminal
CN106453590A (en) * 2016-10-31 2017-02-22 车智互联(北京)科技有限公司 IOS end_rear-end configurable commonly-used information system
CN107248969A (en) * 2016-06-13 2017-10-13 苏州海博智能***有限公司 Safe encryption device Communication processing system and method
CN107895120A (en) * 2017-11-06 2018-04-10 聚好看科技股份有限公司 Data processing method, device, electronic equipment and storage medium in cross-platform
CN108476219A (en) * 2016-01-13 2018-08-31 西门子股份公司 Method and apparatus for data exchange
CN109889510A (en) * 2019-01-30 2019-06-14 重庆农村商业银行股份有限公司 Multiple encryption method for service provider transmission services message

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100037046A1 (en) * 2008-08-06 2010-02-11 Verisign, Inc. Credential Management System and Method
CN101997927A (en) * 2010-11-18 2011-03-30 厦门市美亚柏科信息股份有限公司 Method and system for caching data of WEB platform
CN102129746A (en) * 2010-12-30 2011-07-20 中国民航信息网络股份有限公司 Mobile phone check-in subscription system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100037046A1 (en) * 2008-08-06 2010-02-11 Verisign, Inc. Credential Management System and Method
CN101997927A (en) * 2010-11-18 2011-03-30 厦门市美亚柏科信息股份有限公司 Method and system for caching data of WEB platform
CN102129746A (en) * 2010-12-30 2011-07-20 中国民航信息网络股份有限公司 Mobile phone check-in subscription system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605525A (en) * 2013-11-29 2014-02-26 深圳市中兴移动通信有限公司 Achievement method and device of desktop application program
CN105873030A (en) * 2015-01-22 2016-08-17 卓望数码技术(深圳)有限公司 Method for performing countersigning on an application of terminal
CN108476219A (en) * 2016-01-13 2018-08-31 西门子股份公司 Method and apparatus for data exchange
US11146610B2 (en) 2016-01-13 2021-10-12 Siemens Aktiengesellschaft Method and device for data exchange
CN108476219B (en) * 2016-01-13 2021-11-09 西门子股份公司 Method and apparatus for data exchange
CN107248969A (en) * 2016-06-13 2017-10-13 苏州海博智能***有限公司 Safe encryption device Communication processing system and method
CN106453590A (en) * 2016-10-31 2017-02-22 车智互联(北京)科技有限公司 IOS end_rear-end configurable commonly-used information system
CN107895120A (en) * 2017-11-06 2018-04-10 聚好看科技股份有限公司 Data processing method, device, electronic equipment and storage medium in cross-platform
CN109889510A (en) * 2019-01-30 2019-06-14 重庆农村商业银行股份有限公司 Multiple encryption method for service provider transmission services message
CN109889510B (en) * 2019-01-30 2021-05-11 重庆农村商业银行股份有限公司 Multiple encryption method for service provider transmitting service message

Also Published As

Publication number Publication date
CN102546819B (en) 2014-09-10

Similar Documents

Publication Publication Date Title
US10057734B2 (en) System and method for transmitting and receiving media messages
CN102546819B (en) Cross-platform system and method in mobile terminal application
US20130246504A1 (en) Method for subscribing to notification, apparatus and system
US20200341712A1 (en) Systems and methods configured to provide the improved real time user experience involving mobile computing devices, a back-end server and nfc-coupled interactive posters including encryption, network operation and/or other features
CN103188207B (en) A kind of cross-domain single sign-on realization method and system
JP5081297B2 (en) Ubiquitous notification method and system for providing 3A-based push-type events
CN103095852A (en) Cloud storage file sharing method based on two-dimensional code
US10164970B1 (en) Secure cross-domain page generation
CN105956143B (en) Data bank access method and database broker node
CN102202100A (en) Method for processing network data by micro browser, micro browser and server thereof
CN102882974A (en) Method for saving website access resource by website identification version number
Chen et al. iMobile EE–An Enterprise Mobile Service Platform
US20200228611A1 (en) System and method for coupling two separate applications to an application session within a serverless infrastructure
CN103491156A (en) Method and system for enabling circles and groups to be synchronous based on converged communication
US9332405B2 (en) Short message backup method, mobile terminal, and server
CN102065573A (en) WAP gateway agent service data processing method and server
CN103023901A (en) Login method and login system of mobile terminal
CN112491955B (en) Method and system for realizing iframe system data exchange based on proxy server
CN100382493C (en) System and method for realizing service
CN101778122A (en) Method, device and system for implementing message service
EP2584752A1 (en) Method, apparatus, terminal and system for channel encryption
CN113489706B (en) Data processing method, device, system, equipment and storage medium
TW201121275A (en) Cookie processing device, cookie processing method, cookie processing program, cookie processing system and information communication system
CN101742477A (en) Information processing system, equipment and method
KR20120066668A (en) Management of a communication device via a telecommunications 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
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: CHINA TRAVELSKY MOBILE TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: CHINA TRAVELSKY HOLDING COMPANY

Effective date: 20150324

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100010 DONGCHENG, BEIJING TO: 100029 CHAOYANG, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20150324

Address after: 100029 Beijing City, Chaoyang District Hui New Street No. 4 Fusheng building block 1

Patentee after: MOBILE TECHNOLOGY COMPANY, CHINA TRAVELSKY HOLDING COMPANY

Address before: 100010 Beijing city Dongcheng District East West Street No. 157

Patentee before: China TravelSky Technology Co., Ltd.