CN102014164A - Method of mobile access platform - Google Patents

Method of mobile access platform Download PDF

Info

Publication number
CN102014164A
CN102014164A CN 201010580970 CN201010580970A CN102014164A CN 102014164 A CN102014164 A CN 102014164A CN 201010580970 CN201010580970 CN 201010580970 CN 201010580970 A CN201010580970 A CN 201010580970A CN 102014164 A CN102014164 A CN 102014164A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
mobile
server
request
step
mobile access
Prior art date
Application number
CN 201010580970
Other languages
Chinese (zh)
Inventor
朱馗
葛戈
Original Assignee
向心力信息技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The invention discloses a method of a mobile access platform, comprising the following steps: 1, initiating a hyper text transport protocol (HTTP) simulation request to a mobile access platform server by a mobile terminal; 2, processing according to the configuration information of re-developers after the request reaches the mobile access platform server, obtaining new data parameters after the processing is completed, and then forwarding the HTTP simulation request to a target server; 3, returning a result through certain processing after the target server receives the request; and 4, after the result influenced by the target server is obtained, analyzing and reconstructing a page once again according to the configuration information of the re-developers, and finally generating a new page suitable for being displayed on the mobile terminal. By using the method, a browser/server (B/S) system can be quickly transplanted to a phone mobile platform, the access speed is fast, the development cost is low and the maintenance is easy.

Description

一种移动接入平台的方法 A method for a mobile access platform

技术领域 FIELD

[0001] 本发明涉及一种接入方法,具体涉及一种移动接入平台的方法。 [0001] The present invention relates to an access method, particularly relates to a method for a mobile access platform. 背景技术 Background technique

[0002] 随着办公自动化系统的普及,电子化、数据化的办公方式已进入越来越多的企业和政府单位,信息化的办公系统在企事业内部编织起一套高效、畅通的信息互联体系,极大推动了企事业单位生产力的发展。 [0002] With the popularity of office automation systems, electronic, data-oriented approach has to enter the office more and more enterprises and government agencies, information-based office systems wove within enterprises and an efficient, smooth flow of information on the Internet system, which greatly promoted the development of productive enterprises.

[0003] 但与此同时,由于需要依赖固定的办公场所和固定的办公配套设备,信息化的极盛又开始凸显一些新办公模式的问题:如何才能打破这些时空上的信息束缚限制,跳出固化的信息化建设窠臼,建立一套可以随时、随地、随手使用的信息系统,使得公司管理者、业务人员不管置身何地,都能随心所欲地和企事业内部系统关联,成为当前急需解决的问题。 [0003] At the same time, due to the need to rely on a fixed office space and fixed office equipment, information technology heyday began to highlight some of the problems of the new office model: how to break the shackles of information on these constraints of time, out of cured instead of focusing on information technology, establish a set of anytime, anywhere, using information systems readily, making the company managers, business people no matter where exposure, and can be arbitrarily associated enterprises within the system, become the problem need to be resolved.

[0004] 而就在各种办公系统移动化的市场需求越来越迫切的当下,需要一套产品能够快速做到在移动终端上实现OA办公、内部邮件收发、事务处理、协同工作、信息交互等功能。 [0004] The mobile office system in a variety of market demand for more and more urgent moment, needed a product to rapidly achieve achieve OA office, internal mail, transactions on the mobile terminal, collaborative work, information exchange and other functions.

[0005] 现有技术主要是对原有系统进行重写,需要对手机移动应用部分进行重新设计和实现。 [0005] prior art primarily to rewrite the original system, the need for re-design and implementation of mobile phones Mobile Application Part.

[0006] 但在重写过程中,因为主要只是对现有系统源代码进行修改,对需要展示的数据内容及界面重新进行设计,提高了系统缺陷的发生率。 [0006] However, in the rewriting process, it is mainly because existing systems modify the source code, the content data to be presented to the interface and re-designed to improve the defect rate of the system. 并且由于大多系统上线时间较长、人事变动、售后服务到期等原因,导致系统开发慢,资源欠缺等问题。 And because of a long line of time on most systems, personnel changes, service expiration, leading to slow development of the system, lack of resources and other issues.

发明内容 SUMMARY

[0007] 本发明的目的在于提供一种移动接入平台的方法,可基于Http协议将任何基于B/S架构的应用系统在不修改源代码和不调用任何接口的前提下将相关业务应用移植到手机终端的中间件系统,使各种应用系统可移动化。 [0007] The object of the present invention is to provide a method for a mobile access platform, based on any protocol application Http B / S-based architecture without modifying the source code of the interface and do not call any precondition related business application transplantation middleware systems to mobile terminals, so that various application systems can be mobile.

[0008] 本发明的技术方案是以下述方法实现的: 一种移动接入平台的方法,包括如下步骤: [0008] The aspect of the present invention is implemented in the following manner: a mobile access platform, comprising the steps of:

步骤一,通过移动终端向移动接入平台服务器发起一个HTTP的模拟请求; 步骤二,请求到达移动接入平台服务器以后会根据二次开发人员的配置信息进行处理,处理完成后得到新的数据参数,然后通过对HTTP的模拟请求转发到目标服务器中; A step of initiating a HTTP request simulated mobile access to the internet server through the mobile terminal; step two, the access request reaches the mobile internet server according to configuration information will be processed after the secondary developer, obtained after processing the new data parameter then forwarded to the destination server by the HTTP request for simulated;

步骤三,目标服务器接到请求后会经过一定的处理返回结果; 步骤四,得到目标服务器所影响的结果后,再次根据二次开发人员的配置信息对页面进行分析与重组,最后将生成一个适合在移动终端上进行展示的新页面。 Step three, the server will return the target upon request after a certain processing result; Step four, the results obtained are affected by the target server, and again analyzed pages according to the configuration of the secondary recombinant developer, and finally generate a suitable new page displayed on the mobile terminal.

[0009] 作为本发明的一种优选方式,步骤四中设置提示,提示用户当前处于内网状态,如需切换,则关闭系统,并重置机械开关状态,然后重新进行启动。 [0009] As a preferred embodiment of the present invention, the Step 4 is provided a prompt to prompt the user currently within the network state. For handover, the system is closed, a mechanical switch and a reset state, and then re-started. [0010] 作为本发明的一种优选方式,步骤五中设置提示,提示用户目前在外网状态, 如需切换,则关闭计算机,并重置机械开关。 [0010] As a preferred embodiment of the present invention, step 5 is provided a prompt to prompt the user is currently outside the network state, To switch, turn off the computer, and reset the mechanical switch.

[0011] 本发明技术方案的有益效果是: [0011] Advantageous effects of the technical solutions of the present invention is:

由于本发明设置有移动接入平台服务器,通过该服务器对请求和结果进行处理,建立起移动终端和目标服务器的通信桥梁,手机或移动终端可以通过浏览器将信息发送到互联网,通过互联网定位到移动接入平台服务器,移动接入平台服务器上的移动接入平台通过端口镜像访问目标服务器,从而对请求进行响应。 Since the present invention there is provided a mobile internet access server, the request by the server and the result of the processing, the mobile terminal and the target server to establish a communication bridge, a mobile phone or mobile terminal may send information to the Internet browser, via the Internet to locate mobile access platform server, a mobile access platform on the mobile internet access via port mirroring server to access the target server, which responds to the request.

[0012] 本方法实现了快速将B/S系统移植到手机移动平台的目的,接入速度快、开发成本低、容易维护。 [0012] The present method achieves the object quickly B / S system ported to mobile phone platform, fast access speeds, the development of low cost, easy to maintain.

[0013] 本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述, 并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。 [0013] Additional advantages, objects and features of the present invention will be to some extent set forth in the description which follows and, in part, based on a study of the following investigation to those skilled in the art will be apparent, or it may be learned from practice of the invention. 本发明的目标和其他优点可以通过下面的说明书或者附图中所特别指出的结构来实现和获得。 Other objects and advantages of the invention may be realized and obtained by the following description or illustrated in the drawings the structure particularly pointed out.

附图说明 BRIEF DESCRIPTION

[0014] 图1是本发明的示意图; 图2是本发明的逻辑框图。 [0014] FIG. 1 is a schematic diagram of the present invention; FIG. 2 is a logic diagram of the present invention.

具体实施方式 detailed description

[0015] 下面结合附图和实施例对本发明作进一步描述: 如图1所示,本发明包括如下步骤: [0015] The following embodiments in conjunction with the drawings and embodiments of the present invention is further described: 1, the present invention comprises the steps of:

步骤一,通过手机向移动接入平台服务器发起一个HTTP的模拟请求; 步骤二,请求到达移动接入平台服务器以后会根据二次开发人员的配置信息进行处理,处理完成后得到新的数据参数,然后通过对HTTP的模拟请求转发到目标服务器中; A step of initiating a HTTP request simulated mobile access to the internet server through the mobile phone; step two, the request will be handled according to the configuration information of the second developer after reaching mobile internet access server, after processing the data to obtain new parameters, and then forwarded to the destination server by the HTTP request for simulated;

步骤三,目标服务器接到请求后会经过一定的处理返回结果; 步骤四,得到目标服务器所影响的结果后,再次根据二次开发人员的配置信息对页面进行分析与重组,最后将生成一个适合在移动终端上进行展示的新页面。 Step three, the server will return the target upon request after a certain processing result; Step four, the results obtained are affected by the target server, and again analyzed pages according to the configuration of the secondary recombinant developer, and finally generate a suitable new page displayed on the mobile terminal.

[0016] 如图2所示,移动接入平台服务器主要分为Service、PublicComponent和Result 三大部分,当移动终端发起一个HTTP请求到移动接入平台服务器,接受到请求后会分解请求参数,然后将所有的请求信息都转入Service层进行处理。 [0016] As shown in FIG 2, the mobile access platform is divided into server Service, PublicComponent Result three parts and, when the mobile terminal initiates an HTTP request to a mobile internet access server, after receiving the request will break request parameters, and All requests information transfer process Service layer.

[0017] Service层主要有三个执行步骤,第一,Action会根据分解后的请求参数将不同的请求类型,如:HTTP中的POST、GET、Download等进行归类,并转入Operations 包进行处理。 [0017] Service layer perform three main steps, first, Action will be different request types, such as the request of the decomposition parameters: HTTP in the POST, GET, Download classify the like, and transferred to the packet processing Operations . 第二,Operations根据请求类型找出对应的PublicComponent中的AdapterConfig配置进行逻辑处理,然后通过Client包模拟请求到目标服务器。 Second, find the corresponding PublicComponent the Operations AdapterConfig configuration in logic processing according to the request type and the request packet to the destination server via Client simulation. 第三, Client主要是通过HTTPClient进行HTTP请求转发,在目标服务器进行响应以后,将响应的结果转给Result层,这时Service的工作就已经结束。 Third, Client mainly through HTTPClient HTTP request is forwarded, after responding to the target server, the response of the results forwarded to Result layer, then work the Service has ended.

[0018] 由于模拟请求返回的结果是适合在PC机上进行展示的页面数据,鉴于PC机和手机的差异,因此需要对数据进行过滤和页面重新布局。 [0018] Since the simulation result of the request returns the page data suitable for display on a PC, in view of the difference between PC and mobile phone, it is necessary to filter the data and layout the page again. Result层定义了两套处理方法。 Result layer defines two treatment methods.

[0019] Result它会根据PublicComponent中的AdapterConfig中的标签配置进行方法选择。 [0019] Result it PublicComponent configuration method in AdapterConfig in tag selection.

[0020] 第一套方法是将原页面数据通过编写XSLT和XP ath的方式进行数据提取和布局,最后通过DOM转换器进行页面生成。 [0020] The first method is to set the original page layout data through data extraction and preparation of XSLT and XP ath, and finally generated by the page DOM converter. 因为XSLT和XPath需要在同一文件中编写, 这样可以方便、快速的进行模板编写,但降低了可读性和维护性。 Because XSLT and XPath need to write in the same file, so you can easily and quickly be written template, but reduces the readability and maintainability.

[0021] 第二套方法使用了Document、脚本引擎、模板引擎三大块进行了数据过滤和页面布局,也比较推荐使用此方法。 [0021] The second set method uses Document, scripting engine, template engine were three large data filtering and page layout, and more recommended to use this method. Document将原始页面转换成标准的DOM标签格式, 使用了第三方框架HTMLParser做为基础支持,并提供了一系列的数据提取接口供脚本引擎进行调用。 Document to convert the original page into a standard DOM label format, using a third-party framework as a basis for HTMLParser support, and offers a range of interfaces for data extraction script engine invoked. 脚本引擎负责执行编写好的脚本文件,脚本代码可以根据Document的接口来获取需要提取的数据,脚本引擎执行完成后会将提取的数据传入模板引擎中,模板引擎会根据编写的模板文件将数据渲染成相应的页面并返回给客户端。 Data scripting engine is responsible for the implementation of writing good scripts, script code can be used to obtain the data to be extracted based on Document interface, scripting engine will be executed after completion of the extraction of the incoming template engine, template engine according to the data prepared by the template file render to the corresponding page and return to the client.

[0022] 在前两层都有用到Public Component层组件,这里只介绍AdapterConfig的配置。 [0022] Public Component are useful to the front two-layer assembly, here only AdapterConfig configuration. AdapterConfig是整个Adapter的核心依赖配置,它是一个由系统严格规定格式的XML配置文件,是二次开发人员适配系统所用,在适配过程中不同的页面请求对应不同的标签,所有标签由系统自动进行解析和处理。 Adapter AdapterConfig entire configuration dependent core, which is a strictly prescribed by the XML configuration file system format, is adapted to the second developer system used, the adaptation of the different page request process corresponding to different labels, all labels by the system automatic parsing and processing. 适配系统时,二次开发人员会需要移植的页面通过标签来进行描述,系统启动时将配置项加载到内容中进行存储。 When adapting system, developers will need secondary migration of pages to be described by the label, the configuration items loaded into the content stored in the system startup.

Claims (3)

  1. 1. 一种移动接入平台的方法,其特征在于:包括如下步骤:步骤一,通过移动终端向移动接入平台服务器发起一个HTTP的模拟请求;步骤二,请求到达移动接入平台服务器以后会根据二次开发人员的配置信息进行处理,处理完成后得到新的数据参数,然后通过对HTTP的模拟请求转发到目标服务器中;步骤三,目标服务器接到请求后会经过一定的处理返回结果;步骤四,得到目标服务器所影响的结果后,再次根据二次开发人员的配置信息对页面进行分析与重组,最后将生成一个适合在移动终端上进行展示的新页面。 1. A method for a mobile access platform, characterized by: comprising the following steps: Step 1, initiating a HTTP request simulated mobile access to the internet server through the mobile terminal; step two, the access request reaches the mobile internet server will later according to the configuration information of the secondary process developer, obtained after processing the new data parameters, and then by simulating the HTTP request forwarded to the target server; step three, the target server will return the results through a certain process, upon request; step four, after obtaining the results of the impact of the target server, the page is again based on the configuration information analysis and restructuring of secondary developers, the last page will generate a new suit on display on a mobile terminal.
  2. 2.根据权利要求1所述的一种移动接入平台的方法,其特征在于:步骤四中设置提示,提示用户当前处于内网状态,如需切换,则关闭系统,并重置机械开关状态,然后重新进行启动。 The method according to claim 1. A mobile access platform as claimed in claim, wherein: the step of setting four prompt to prompt the user currently within the network state. For handover, the system is closed, a mechanical switch and a reset state and then re-start.
  3. 3.根据权利要求1所述的一种移动接入平台的方法,其特征在于:步骤五中设置提示,提示用户目前在外网状态,如需切换,则关闭计算机,并重置机械开关。 3. The method of claim 1 for a mobile access platform according to claim, wherein: step 5 is provided a prompt to prompt the user is currently outside the network state, To switch, turn off the computer, and reset the mechanical switch.
CN 201010580970 2010-12-09 2010-12-09 Method of mobile access platform CN102014164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010580970 CN102014164A (en) 2010-12-09 2010-12-09 Method of mobile access platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010580970 CN102014164A (en) 2010-12-09 2010-12-09 Method of mobile access platform

Publications (1)

Publication Number Publication Date
CN102014164A true true CN102014164A (en) 2011-04-13

Family

ID=43844172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010580970 CN102014164A (en) 2010-12-09 2010-12-09 Method of mobile access platform

Country Status (1)

Country Link
CN (1) CN102014164A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248709A (en) * 2013-05-23 2013-08-14 网宿科技股份有限公司 Wireless signal automatic simulation method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272543A (en) * 2008-04-25 2008-09-24 巴别塔(北京)科技有限公司 Wireless data transmission method
CN101286211A (en) * 2007-04-12 2008-10-15 中国移动通信集团公司 Mobile office system and method
CN101583072A (en) * 2008-05-15 2009-11-18 北京凯思昊鹏软件工程技术有限公司 Middleware product for realizing Mobile Internet and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286211A (en) * 2007-04-12 2008-10-15 中国移动通信集团公司 Mobile office system and method
CN101272543A (en) * 2008-04-25 2008-09-24 巴别塔(北京)科技有限公司 Wireless data transmission method
CN101583072A (en) * 2008-05-15 2009-11-18 北京凯思昊鹏软件工程技术有限公司 Middleware product for realizing Mobile Internet and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248709A (en) * 2013-05-23 2013-08-14 网宿科技股份有限公司 Wireless signal automatic simulation method and system
CN103248709B (en) * 2013-05-23 2016-03-16 网宿科技股份有限公司 Wireless signal simulation method and system automation

Similar Documents

Publication Publication Date Title
US8073857B2 (en) Semantics-based data transformation over a wire in mashups
US20080276229A1 (en) Incremental model refinement and transformation in generating commerce applications using a model driven architecture
US20110185016A1 (en) Enhanced website tracking system and mehod
US20110202854A1 (en) Metadata Capture for Screen Sharing
US20140082511A1 (en) Method and system for emulating desktop software applications in a mobile communication network
US20130031457A1 (en) System for Creating and Editing Temporal Annotations of Documents
CN101694629A (en) Context sensing application platform based on main body and work method thereof
CN101079041A (en) Dynamic web page updating method and system
CN101853158A (en) Method and device for adjusting Widget window
US20120233589A1 (en) Software development kit for blended services
CN101515300A (en) Method and system for grabbing Ajax webpage content
Boulos et al. Web GIS in practice VIII: HTML5 and the canvas element for interactive online mapping
CN101583072A (en) Middleware product for realizing Mobile Internet and method thereof
US20140164400A1 (en) Personal assistant context building
CN101620536A (en) Method and device for invoking performance function
CN102495855A (en) Automatic login method and device
CN102682014A (en) Open-type plug-in module management platform implemented on browser and open-type plug-in module management method
US20130031449A1 (en) System for Linking to Documents with Associated Annotations
CN101937469A (en) Information capture method of video website
US20120197718A1 (en) Systems, methods, and media for web content management
CN101599015A (en) Method and system for analyzing component
CN101695157A (en) Self-adapting method of display of mobile terminal screen in network application and system thereof
CN101980152A (en) Mobile middleware system and implementation method thereof
US20070143751A1 (en) SCORM manifest reconciliation
CN102387463A (en) Method, device and mobile terminal for issuing microblog,

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)