CN103780627A - Native APP, Web APP and Wechat-similar APP information synchronization system - Google Patents

Native APP, Web APP and Wechat-similar APP information synchronization system Download PDF

Info

Publication number
CN103780627A
CN103780627A CN201410044243.5A CN201410044243A CN103780627A CN 103780627 A CN103780627 A CN 103780627A CN 201410044243 A CN201410044243 A CN 201410044243A CN 103780627 A CN103780627 A CN 103780627A
Authority
CN
China
Prior art keywords
app
data
service end
letter
micro
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410044243.5A
Other languages
Chinese (zh)
Inventor
吴锦洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410044243.5A priority Critical patent/CN103780627A/en
Publication of CN103780627A publication Critical patent/CN103780627A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a technology based on a server terminal, and discloses a native APP, Web APP and Wechat-similar APP information synchronization system. Data interaction is carried out on different client terminals to adapt to the requirements of the different client terminals for network transmission. Data interaction is carried out on the different native APP, Web APP and Wechat-similar APP client terminals, communication interfaces are modularized according to network protocol types, and part of data are selectively synchronized to the specified client terminals. The convenient system is provided for information issuing and data maintenance of a traditional type industry, and the manual operation cost is greatly reduced through data synchronization; a flexible, convenient and rapid tool for data synchronization among the different client terminals is created for the IT same industry, the reusability of codes is improved, and the manual development cost is greatly reduced.

Description

The micro-letter of NativeAPP, WebAPP and class APP information synchronization system
Technical field
The invention belongs to mobile internet technical field, relate to one and allow Native APP, the micro-letter of Web APP and class APP carries out data synchronous system.
Background technology
At present, along with the fast development of the Internet and telecommunication technology, mobile communication and the Internet converged become mobile Internet.Promote the product of self and the optimization of operation flow for meeting industry and enterprise, sector application based on development of Mobile Internet technology is arisen at the historic moment, help industry and enterprise to reach the target such as mobile office, mobile working workflow management, thereby promote its operating efficiency and the performance of enterprises, promote managerial skills.
Mobile Internet sector application can be divided into three kinds, and a kind of is the APP moving based on local operation system, i.e. Native APP (primary APP); A kind of is the Web APP of the browser execution html5 based on intelligent terminal; A kind of is on the platform base of micro-letter, and simultaneously bound fraction web html5 technology, by many original web APP by means of browser individual ways of presentation, is the micro-letter of class APP.But these three kinds of APP itself are separate, without any common factor, do not realize automation data synchronous, have no idea to realize " one-stop renewal, multiterminal simultaneous display ".In order to address the above problem, need to be by Native APP, Web APP, micro-letter APP merges, and provides a kind of cross-terminal information synchronous system, information can be synchronized to different terminals, make user be absorbed in design in early stage and the later data statistical analysis of information, make developer can carry out on this basis secondary development, improve the reusability of code, greatly reduce cost of labor, increased work efficiency.
Summary of the invention
The object of the invention is for the problems referred to above, propose a kind of technology based on service end, carry out data interaction for different clients, adapt to the requirement of different clients on Internet Transmission; By Native APP, the micro-letter of Web APP and class APP different clients is carried out data interaction, and by communication interface according to network protocol type modularization, selectively sync section data are to the client of specifying, issue and data maintenance provides a set of system easily for traditional trade information, data synchronously greatly reduce dependent manual operation cost; Also for the IT same industry made one flexibly, the instrument of different clients synchrodata easily and efficiently, improve the reusability of code, greatly reduced artificial development cost.
Technical scheme of the present invention is as follows: a kind of Native APP, Web APP and the micro-letter of class APP information synchronization system, this system comprises following components: the micro-letter of Native APP/Web APP/class APP, on the equipment of mobile terminal, use, the application program of information demonstration or feature operation is provided; Micro-telecommunications services end (micro-telecommunications services business's self system server); System service end (end application that the present invention builds above hardware server at self).Core of the present invention, is exactly system service end, is also to realize the synchronous key of Native APP/Web APP/class micro-letter APP information.
System service end, comprises the module of communicating by letter between module, system service end and micro-telecommunications services end of communicating by letter between module, system service end and the web html5 communicating by letter between system service end and Native APP, function maintenance module and the communication data administration module of system service end.
The module of communicating by letter between described system service end and Native APP, refers to that user is according to self functional requirement, selects specific communication protocol and service end to carry out the interface module of transfer of data.In this module, provide the communication protocol of selection to have http protocol, HTTPS agreement and XMPP agreement.HTTPS agreement is generally all applicable to confidentiality and requires higher transfer of data, and such as the verification of token, http protocol is for common transfer of data, and XMPP agreement is generally in order to reach the object of real time communication, carries out transfer of data with XML form.
The module of communicating by letter between described system service end and web html5, refers to that user is according to self functional requirement, and selection is passive type or active type, thereby carries out mutual interface module with service end.In this module, passive and initiatively two types be for service end, passive type refers to that initiatively sending out request by client wants data to service end, relating to lower-layer protocols has HTTP; Active type refers to that service end active push is to client without client-requested in the situation that, and the agreement of being write as relating to has WS/WSS.
The module of communicating by letter between described system service end and micro-telecommunications services end, refers to that system service end calls the interface that micro-telecommunications services end provides, and has done secondary development encapsulation, externally issues, and the agreement that mainly relates to lower floor here has HTTPS.This module is also the bridge that the micro-letter of system service end and class APP communicates, micro-telecommunications services end itself has possessed the APP based on micro-letter platform with mono-of the micro-letter of class APP() communicate, as long as guarantee that system service end of the present invention and micro-telecommunications services end carry out real time communication, also just can indirectly reach the object of communicating by letter with the micro-letter of class APP.
The function maintenance module of described system service end, the operation interface of hommization is provided, the content showing for managing all different display ends, the startup of specific function/close, data are saved in Data Persistence Layer, be database, simultaneously according to the parameter of interface setting, can setting data be kept at the term of validity of service end.
Also has communication data administration module, telecommunication management, when data interaction too frequent (data connect and exceed the maximum number of connections that backstage configuration parameter is set), according to communication priority strategy, communication request higher priority ratio is first processed, priority lower in wait state, reach and reduce the mutual pressure of service end; Data management, monitors the data in database, when the data of database deposit exceed the term of validity just carry out timing delete.
System operating process of the present invention: first user must first register certain application message, select again client type (the micro-letter of primary android APP/primary IOS APP/WEB APP/class APP) to login in service end, such as android program must provide bag name, after being registrated successfully, will return to token, the identity documents using this as transmission and obtaining information.Such as selected multiple client types in registration, this application different clients below has also all been tied to a token.
Generally there are following two kinds of situations to carry out save data to system service end: one is the client application such as Native APP or Web APP, both do not had service end technology to support, need again to have the words of logging data port, the background interface that can directly provide with the service end function maintenance module in the present invention, operates accordingly.After successful login service end, select the agreement of communication, needs are sent to data by typing in background interface, save the data in underlying database of the present invention.
One is if client application such as Native APP or Web APP, having oneself service to bring in supports, can directly quote the communication service interface API externally issuing in the present invention, simultaneously import token into and do parameter (token generating when registration) calling API, acquiescence is to send all clients with this identify label, also can specify certain several client in parameter, save the data in underlying database of the present invention temporarily.
Need to carry out synchronous client application, only need select different API to call according to the client type of self, add the identify label token of application, the data that data are kept at temporarily to system service end extract: reach active push information by XMPP agreement or WS agreement, or reach passive request msg by calling of http protocol code, the client that the data of synchronously typing are just now applied to self.
Beneficial effect of the present invention: if present Native APP (android/ios), will realize data with web APP and the micro-letter of class APP synchronizes, be logging data information by people, so not only increase workload, also increase complex operation simultaneously; Just by the mode of programming, write with synchronizeing to bring in for specific Native APP, although this mode solves synchronous problem, not only reusability extreme difference, cost of labor also increases.In order to address these problems, the present invention optimizes on the basis of the second settling mode, simultaneously for different functional requirement application heterogeneous networks communication protocol, again operation is realized and being encapsulated, general and not malfunctioning activity, use the medium of service end database as terminal storage, in the term of validity of data, data can not be lost simultaneously, guarantee data stability.
Native APP, the synchronous system of data between the micro-letter of Web APP and class APP, externally provide two kinds of implementation patterns: one is the client application such as Native APP or Web APP, the words of supporting without service end technology, can directly operate accordingly with the background interface that the service end function maintenance module in the present invention provides, provide data temporarily to leave with, realize other client datas synchronous; Be if client according to the functional requirement of self, can directly be quoted the communication service interface API externally issuing in the present invention, do secondary development, realize other clients of specifying and communicate.
Accompanying drawing explanation
below in conjunction with accompanying drawing, the present invention is further described.
Fig. 1 is deployed position schematic diagram of the present invention.
Fig. 2 is functional block diagram of the present invention.
Fig. 3 is system flow chart of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further illustrated.
As shown in Fig. 1, for the deployed position schematic diagram being applied in system of the present invention, functional module of the present invention is as shown in Fig. 2, and it comprises the module of communicating by letter between module, service end and micro-telecommunications services end of communicating by letter between module, service end and the web html5 communicating by letter between service end and Native APP, function maintenance module and the queue communication management module of server.It as final storing media, can carry out timing deletion to the data of overtime preservation in conjunction with queue communication management module with database in bottom simultaneously.
As shown in Fig. 3, be system flow chart of the present invention, the protocol module wherein relating to has several as follows: HTTPS protocol module: be mainly available to token authentication, or transmission needs the use of the data of encrypting; Http protocol module: be to be mainly applied in the not high transfer of data of data security requirements; XMPP protocol module: be to be mainly used in the module of communicating by letter between service end and Native APP, carry out transfer of data with XML form, to reach the object of real time communication; WS or WSS protocol interface: be to be mainly used in the module of communicating by letter between service end and web html5, any time that server and client side can be in given time range, pushed information mutually, to reach the object of real time communication.
Development teams, after having introduced external synchronous API bag provided by the invention, only need to as commonsense method, call, according to API exploitation document, import designated parameter into, and the different client data of self certain money application synchronously can be got up, the reusability of code is provided, also saved staff development cost, finally allowed user energy can be placed on above the processing of logic or service code.

Claims (6)

1. Native APP, Web APP and the micro-letter of a class APP information synchronization system, comprising: the micro-letter of Native APP/Web APP/class APP, on the equipment of mobile terminal, use, and the application program of information demonstration or feature operation is provided; Micro-telecommunications services end; System service end, i.e. the end application that the present invention builds above hardware server at self, realizes the synchronous key of Native APP/Web APP/class micro-letter APP information; Described system service end, comprises the module of communicating by letter between module, system service end and micro-telecommunications services end of communicating by letter between module, system service end and the web html5 communicating by letter between system service end and Native APP, function maintenance module and the communication data administration module of system service end.
2. Native APP as claimed in claim 1, the micro-letter of Web APP and class APP information synchronization system, it is characterized in that: the module of communicating by letter between described system service end and Native APP, refer to that user is according to self functional requirement, select specific communication protocol and service end to carry out the interface module of transfer of data, in this module, provide the communication protocol of selection to have http protocol, HTTPS agreement and XMPP agreement, HTTPS agreement is generally all applicable to confidentiality and requires higher transfer of data, such as the verification of token, http protocol is for common transfer of data, and XMPP agreement is generally in order to reach the object of real time communication, carry out transfer of data with XML form.
3. Native APP as claimed in claim 1, Web APP and the micro-letter of class APP information synchronization system, it is characterized in that: the module of communicating by letter between described system service end and web html5, refer to that user is according to self functional requirement, selection is passive type or active type, thereby carry out mutual interface module with service end, in this module, passive and initiatively two types be for service end, passive type refers to that initiatively sending out request by client wants data to service end, and relating to lower-layer protocols has HTTP; Active type refers to that service end active push is to client without client-requested in the situation that, and the agreement of being write as relating to has WS/WSS.
4. Native APP as claimed in claim 1, the micro-letter of Web APP and class APP information synchronization system, it is characterized in that: the module of communicating by letter between described system service end and micro-telecommunications services end, refer to that system service end calls the interface that micro-telecommunications services end provides, do secondary development encapsulation, externally issue, here the agreement that mainly relates to lower floor has HTTPS, this module is also the bridge that the micro-letter of system service end and class APP communicates, micro-telecommunications services end itself has possessed with the micro-letter of class APP and has communicated, as long as guarantee that system service end of the present invention and micro-telecommunications services end carry out real time communication, also just can indirectly reach the object of communicating by letter with the micro-letter of class APP.
5. Native APP as claimed in claim 1, Web APP and the micro-letter of class APP information synchronization system, it is characterized in that: the function maintenance module of described system service end, the operation interface of hommization is provided, the content showing for managing all different display ends, the startup of specific function/close, data are saved in Data Persistence Layer, are databases, simultaneously according to the parameter of interface setting, can setting data be kept at the term of validity of service end; Also have communication data administration module, telecommunication management, in the time that data interaction is too frequent, according to communication priority strategy, first processes communication request higher priority ratio, priority lower in wait state, reach the mutual pressure that reduces service end; Data management, monitors the data in database, when the data of database deposit exceed the term of validity just carry out timing delete.
6. the method for operation of the micro-letter of Native APP as claimed in claim 1, Web APP and class APP information synchronization system, method is as follows: first user must first register certain application message, select again client type, login in service end, such as android program must provide bag name, after being registrated successfully, will return to token, the identity documents using this as transmission and obtaining information; Such as selected multiple client types in registration, this application different clients below has also all been tied to a token; Generally there are following two kinds of situations to carry out save data to system service end: one is the client application such as Native APP or Web APP, both do not had service end technology to support, need again to have the words of logging data port, the background interface that can directly provide with the service end function maintenance module in the present invention, operate accordingly, after successful login service end, select the agreement of communication, needs are sent to data by typing in background interface, save the data in underlying database of the present invention; One is if client application such as Native APP or Web APP, having oneself service to bring in supports, can directly quote the communication service interface API externally issuing in the present invention, simultaneously import token into and do parameter calling API, acquiescence is to send all clients with this identify label, also can specify certain several client in parameter, save the data in underlying database of the present invention temporarily; Need to carry out synchronous client application, only need select different API to call according to the client type of self, add the identify label token of application, the data that data are kept at temporarily to system service end extract: reach active push information by XMPP agreement or WS agreement, or reach passive request msg by calling of http protocol code, the client that the data of synchronously typing are just now applied to self.
CN201410044243.5A 2014-01-30 2014-01-30 Native APP, Web APP and Wechat-similar APP information synchronization system Pending CN103780627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410044243.5A CN103780627A (en) 2014-01-30 2014-01-30 Native APP, Web APP and Wechat-similar APP information synchronization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410044243.5A CN103780627A (en) 2014-01-30 2014-01-30 Native APP, Web APP and Wechat-similar APP information synchronization system

Publications (1)

Publication Number Publication Date
CN103780627A true CN103780627A (en) 2014-05-07

Family

ID=50572457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410044243.5A Pending CN103780627A (en) 2014-01-30 2014-01-30 Native APP, Web APP and Wechat-similar APP information synchronization system

Country Status (1)

Country Link
CN (1) CN103780627A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580380A (en) * 2014-12-15 2015-04-29 北京百度网讯科技有限公司 Synchronization method and system for logging status
CN105530552A (en) * 2014-10-15 2016-04-27 三星电子株式会社 Display device, server, and controlling method of display device
CN105549401A (en) * 2015-12-07 2016-05-04 青岛海尔滚筒洗衣机有限公司 Method for using washing machine to rapidly recommend goods, and washing machine
CN105610938A (en) * 2015-12-24 2016-05-25 广州爱九游信息技术有限公司 Logging status synchronization method and system
CN106059851A (en) * 2016-05-20 2016-10-26 天津海量信息技术股份有限公司 App data collection method based on cooperative work of mobile end and service end
CN107133322A (en) * 2017-05-04 2017-09-05 四川长虹电器股份有限公司 The implementation method for the common data channel that HTML is interacted with Native in Mobile solution
CN107679195A (en) * 2017-10-09 2018-02-09 杭州安恒信息技术有限公司 Half master-slave database synchronous method and system based on the transmission of HTTPS agreements
CN108200183A (en) * 2018-01-11 2018-06-22 武汉天喻教育科技有限公司 A kind of method for pushing and supplying system for educating cloud information
CN108322416A (en) * 2017-01-16 2018-07-24 腾讯科技(深圳)有限公司 A kind of safety certification implementation method, apparatus and system
CN109062626A (en) * 2018-07-09 2018-12-21 北京奇艺世纪科技有限公司 Exchange method, device and the equipment of Web page component and Native component
CN110198346A (en) * 2019-05-06 2019-09-03 北京三快在线科技有限公司 Method for reading data, device, electronic equipment and readable storage medium storing program for executing
CN110275738A (en) * 2019-06-30 2019-09-24 浪潮卓数大数据产业发展有限公司 A kind of Android bidirectional interaction method based on JsBridge
CN112988408A (en) * 2019-12-17 2021-06-18 北京沃东天骏信息技术有限公司 Multi-terminal interaction method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137136A (en) * 2010-08-13 2011-07-27 华为技术有限公司 Method, device and equipment for realizing Mashup business in business integration
US20120324556A1 (en) * 2011-06-17 2012-12-20 Ebay Inc. Passporting credentials between a mobile app and a web browser
CN102945169A (en) * 2012-12-05 2013-02-27 江苏鸿信***集成有限公司 Native APP fused Web APP development system based on Android
US20130263160A1 (en) * 2012-04-02 2013-10-03 Thomas E. Sandholm Cross-platform web-based native device feature access
CN103533006A (en) * 2012-07-06 2014-01-22 中兴通讯股份有限公司 United cloud disk client, server, system and united cloud disk service method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137136A (en) * 2010-08-13 2011-07-27 华为技术有限公司 Method, device and equipment for realizing Mashup business in business integration
US20120324556A1 (en) * 2011-06-17 2012-12-20 Ebay Inc. Passporting credentials between a mobile app and a web browser
US20130263160A1 (en) * 2012-04-02 2013-10-03 Thomas E. Sandholm Cross-platform web-based native device feature access
CN103533006A (en) * 2012-07-06 2014-01-22 中兴通讯股份有限公司 United cloud disk client, server, system and united cloud disk service method
CN102945169A (en) * 2012-12-05 2013-02-27 江苏鸿信***集成有限公司 Native APP fused Web APP development system based on Android

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530552A (en) * 2014-10-15 2016-04-27 三星电子株式会社 Display device, server, and controlling method of display device
CN105530552B (en) * 2014-10-15 2020-10-30 三星电子株式会社 Display device, server, and control method of display device
CN104580380A (en) * 2014-12-15 2015-04-29 北京百度网讯科技有限公司 Synchronization method and system for logging status
CN105549401A (en) * 2015-12-07 2016-05-04 青岛海尔滚筒洗衣机有限公司 Method for using washing machine to rapidly recommend goods, and washing machine
CN105610938A (en) * 2015-12-24 2016-05-25 广州爱九游信息技术有限公司 Logging status synchronization method and system
CN105610938B (en) * 2015-12-24 2019-02-15 广州爱九游信息技术有限公司 Logging state synchronous method and system
CN106059851A (en) * 2016-05-20 2016-10-26 天津海量信息技术股份有限公司 App data collection method based on cooperative work of mobile end and service end
CN108322416A (en) * 2017-01-16 2018-07-24 腾讯科技(深圳)有限公司 A kind of safety certification implementation method, apparatus and system
CN108322416B (en) * 2017-01-16 2022-04-15 腾讯科技(深圳)有限公司 Security authentication implementation method, device and system
CN107133322A (en) * 2017-05-04 2017-09-05 四川长虹电器股份有限公司 The implementation method for the common data channel that HTML is interacted with Native in Mobile solution
CN107679195A (en) * 2017-10-09 2018-02-09 杭州安恒信息技术有限公司 Half master-slave database synchronous method and system based on the transmission of HTTPS agreements
CN108200183A (en) * 2018-01-11 2018-06-22 武汉天喻教育科技有限公司 A kind of method for pushing and supplying system for educating cloud information
CN109062626A (en) * 2018-07-09 2018-12-21 北京奇艺世纪科技有限公司 Exchange method, device and the equipment of Web page component and Native component
CN110198346A (en) * 2019-05-06 2019-09-03 北京三快在线科技有限公司 Method for reading data, device, electronic equipment and readable storage medium storing program for executing
CN110198346B (en) * 2019-05-06 2020-10-27 北京三快在线科技有限公司 Data reading method and device, electronic equipment and readable storage medium
CN110275738A (en) * 2019-06-30 2019-09-24 浪潮卓数大数据产业发展有限公司 A kind of Android bidirectional interaction method based on JsBridge
CN112988408A (en) * 2019-12-17 2021-06-18 北京沃东天骏信息技术有限公司 Multi-terminal interaction method and device

Similar Documents

Publication Publication Date Title
CN103780627A (en) Native APP, Web APP and Wechat-similar APP information synchronization system
CN106850788B (en) Integrated framework and integrated approach towards multi-source heterogeneous geographic information resources
CN103617255B (en) A kind of business datum for power information system exchanges and synchronizes system and method
CN105227364B (en) A kind of method and device of ERP system resource-sharing
CN102841927A (en) Method and device for data interaction among a plurality of databases and distributed data interaction system
WO2010148966A1 (en) Method and apparatus for implementing data synchronization in network management
CN104536965A (en) System and method for data query and presentation under big data condition
CN106412009A (en) Interface calling method and device
US10747588B2 (en) Method for updating instance-based message maps using metadata
CN103581111A (en) Communication method and system
CN102891768A (en) Method and network element for network management
CN103491156A (en) Method and system for enabling circles and groups to be synchronous based on converged communication
KR101357135B1 (en) Apparatus for Collecting Log Information
CN109151056B (en) Method and system for pushing messages based on Canal
CN102567334A (en) Office automation system based on heterogeneous data
CN102457816A (en) Method for managing cluster information, cluster access gateway and corresponding cluster system
CN101175089A (en) Data transmission method between server and client terminal based on HTTP protocol and .NET structure
CN102629345B (en) Chain type links up collaboration method, Apparatus and system
CN106888264A (en) A kind of method for interchanging data and device
CN103685485A (en) Mobile terminal VoIP (voice over internet protocol) communication audio management system
Pullen et al. Multi-Schema and Multi-Server Advances for C2-Simulation Interoperation in MSG-085
CN105450589A (en) Remote procedure call method and system
CN109213955A (en) Data processing method and relevant device
CN103310304B (en) The management method of procedural model and device
CN108334547A (en) Data share exchange System and method for based on big data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140507

WD01 Invention patent application deemed withdrawn after publication