WO2015176443A1 - 企业互联网应用的处理方法及装置 - Google Patents

企业互联网应用的处理方法及装置 Download PDF

Info

Publication number
WO2015176443A1
WO2015176443A1 PCT/CN2014/087231 CN2014087231W WO2015176443A1 WO 2015176443 A1 WO2015176443 A1 WO 2015176443A1 CN 2014087231 W CN2014087231 W CN 2014087231W WO 2015176443 A1 WO2015176443 A1 WO 2015176443A1
Authority
WO
WIPO (PCT)
Prior art keywords
internet application
enterprise internet
access
enterprise
application
Prior art date
Application number
PCT/CN2014/087231
Other languages
English (en)
French (fr)
Inventor
董劲
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015176443A1 publication Critical patent/WO2015176443A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for processing an enterprise Internet application.
  • the related art lacks a technical solution that can quickly complete the mobilization of enterprise Internet applications.
  • the embodiment of the invention provides a method and a device for processing an enterprise internet application, so as to at least solve the problem that the related technology cannot realize the rapid completion of enterprise internet application mobility.
  • a method of processing an enterprise internet application is provided.
  • the processing method of the enterprise internet application includes: obtaining an access path of the enterprise internet application to be mobilized; accessing the enterprise internet application by using the access path, and part of the content to be mobilized according to the page content of the enterprise internet application Write enterprise Internet application page conversion templates, where enterprises The networked application page conversion template is used to extract part of the content; the mapping relationship between the access path and the storage path of the enterprise Internet application page conversion template is established.
  • writing the enterprise internet application page conversion template according to the partial content comprises: obtaining the page content; determining whether there is partial content in the page content; if yes, writing an extended style sheet conversion language (XLST) template for extracting the partial content.
  • XLST extended style sheet conversion language
  • the method further includes: writing the mapping relationship to the configuration file; compressing the configuration file and the enterprise internet application page conversion template; and uploading the compressed configuration file and the enterprise internet application page conversion template.
  • the method further includes: receiving an access request from the terminal, wherein the access request is used to access the enterprise internet application; searching for an access path from the configuration file, and forwarding the access request to the enterprise according to the access path
  • the Internet application receives an access response corresponding to the access request from the enterprise Internet application, wherein the access response carries the response data; the response data is processed by using the XLST template, and the processed response data is sent to the terminal.
  • the method before receiving the access request, further includes: receiving a management operation request from the terminal for the client application, where the client application is used to initiate access to the enterprise internet application, and the management operation request includes one of the following: providing The download channel of the client application, the version check of the client application that has been installed on the terminal, the upgrade of the client application that has been installed on the terminal, and the operation corresponding to the management operation request.
  • a processing apparatus for an enterprise internet application is provided.
  • the processing device of the enterprise internet application includes: an obtaining module, configured to acquire an access path of the enterprise internet application to be mobilized; and a writing module configured to access the enterprise internet application by using the access path, according to the enterprise internet application
  • the part of the content of the page to be mobilized is to write an enterprise internet application page conversion template, wherein the enterprise internet application page conversion template is used to extract part of the content; the establishment module is set to establish an access path and a storage path of the enterprise internet application page conversion template. Mapping relationship.
  • the writing module comprises: an obtaining unit configured to acquire page content; a determining unit configured to determine whether part of the content exists in the page content; and a writing unit configured to extract an extension of the extracted part content when the determining unit outputs YES Style Sheet Transformation Language (XLST) template.
  • XLST YES Style Sheet Transformation Language
  • the apparatus further includes: a writing module configured to write the mapping relationship to the configuration file; a compression module configured to compress the configuration file and the enterprise internet application page conversion template; and an uploading module configured to be compressed The configuration file and the corporate internet application page conversion template are uploaded.
  • a writing module configured to write the mapping relationship to the configuration file
  • a compression module configured to compress the configuration file and the enterprise internet application page conversion template
  • an uploading module configured to be compressed The configuration file and the corporate internet application page conversion template are uploaded.
  • the apparatus further includes: a first receiving module, configured to receive an access request from the terminal, wherein the access request is used to access an enterprise internet application; and the forwarding module is configured to search for an access path from the configuration file, according to The access path forwards the access request to the enterprise internet application; the second receiving module is configured to receive an access response corresponding to the access request from the enterprise internet application, wherein the access response carries the response data; and the sending module is configured to adopt the XLST
  • the template processes the response data and sends the processed response data to the terminal.
  • the device further includes: a third receiving module, configured to receive a management operation request from the terminal for the client application, where the client application is used to initiate access to the enterprise internet application, where the management operation request includes the following A: providing a download channel of the client application, performing a version check on the client application already installed on the terminal, and upgrading the client application already installed on the terminal; and executing the module, and setting the operation corresponding to the management operation request .
  • a third receiving module configured to receive a management operation request from the terminal for the client application, where the client application is used to initiate access to the enterprise internet application, where the management operation request includes the following A: providing a download channel of the client application, performing a version check on the client application already installed on the terminal, and upgrading the client application already installed on the terminal; and executing the module, and setting the operation corresponding to the management operation request .
  • an access path of an enterprise Internet application to be mobilized is adopted; an access path is used to access an enterprise Internet application, and an enterprise Internet application page conversion template is prepared according to part of the content of the enterprise Internet application to be mobilized.
  • the enterprise internet application page conversion template is used to extract part of the content; establishing a mapping relationship between the access path and the storage path of the enterprise internet application page conversion template, and solving the problem that the related technology cannot realize the rapid completion of the enterprise internet application mobility, and further From development, deployment to management, it helps companies complete the mobilization of Internet applications.
  • FIG. 1 is a flow chart of a method of processing an enterprise internet application according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method for developing an enterprise internet application mobileization according to a preferred embodiment of the present invention
  • FIG. 3 is a flow chart of a method for managing enterprise internet application mobility according to a preferred embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a processing apparatus of an enterprise internet application according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a processing apparatus of an enterprise internet application according to a preferred embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an enterprise internet application mobile running system according to a preferred embodiment of the present invention.
  • FIG. 1 is a flow chart of a method of processing an enterprise internet application in accordance with an embodiment of the present invention. As shown in FIG. 1, the method may include the following processing steps:
  • Step S102 Acquire an access path of an enterprise internet application to be mobilized
  • Step S104 accessing the enterprise internet application by using the access path, and writing an enterprise internet application page conversion template according to part of the content of the enterprise internet application to be mobilized, wherein the enterprise internet application page conversion template is used to extract part of the content;
  • Step S106 Establish a mapping relationship between the access path and the storage path of the enterprise Internet application page conversion template.
  • the development method of the enterprise Internet application mobileization shown in FIG. 1 is used to complete the mobile development of the enterprise Internet application, and the enterprise Internet application page conversion template and the establishment of the enterprise Internet application access path mapping relationship are realized.
  • the mobile development of Internet applications solves the problem that the related technologies cannot realize the rapid completion of enterprise Internet application mobility, and then from the development, deployment to management, to fully help enterprises complete the Internet application mobility.
  • writing the enterprise internet application page conversion template according to the partial content may include the following operations:
  • Step S1 acquiring page content
  • Step S2 determining whether part of the content exists in the content of the page
  • Step S3 If yes, write an Extended Style Sheet Transformation Language (XLST) template that extracts part of the content.
  • XLST Extended Style Sheet Transformation Language
  • an enterprise Internet application to be mobilized is determined and an access path of the enterprise Internet application is recorded. Then, the browser accesses the enterprise Internet application to be mobilized, obtains the page content, and determines the part (page or data) in which the mobilization needs to be performed. Finally, an XLST template capable of extracting the part of the content is written to complete the application content mapping of the intranet to the terminal side.
  • step S106 After the mapping relationship is established in step S106, the following steps may also be included:
  • Step S4 writing the mapping relationship to the configuration file
  • Step S5 compressing the configuration file and the enterprise internet application page conversion template
  • Step S6 upload the compressed configuration file and the enterprise internet application page conversion template.
  • the access path and the template file path may be written into the mapping relationship configuration file according to a preset rule, and the path mapping configuration file and all template files may be compressed and compressed into a zip package;
  • mapping relationship is established in step S106.
  • mapping relationship is established in step S106.
  • Step S7 receiving an access request from a terminal, where the access request is used to access an enterprise internet application;
  • Step S8 searching for an access path from the configuration file, and forwarding the access request to the enterprise internet application according to the access path;
  • Step S9 receiving an access response corresponding to the access request from the enterprise internet application, where the access response carries the response data;
  • Step S10 The response data is processed by using the XLST template, and the processed response data is sent to the terminal.
  • the user launches a client application already installed on the smart mobile terminal, initiates an access request to the enterprise internet application, which can access the mobile service base address.
  • the mobile server accepts the access and finds the access path of the corresponding enterprise Internet application to the path mapping file.
  • the mobile server forwards access from the client application to the enterprise internet application.
  • the enterprise Internet application provides response data to the mobile server based on the access.
  • the mobile server processes the response data using the XLST template configured in the path mapping file, and then sends the processed response data to the client application, so that the client application displays to the user, thereby completing the mobile operation of the enterprise Internet application.
  • step S7 before receiving the access request, the following steps may also be included:
  • Step S11 Receive a management operation request from the terminal for the client application, where the client application is used to initiate access to the enterprise Internet application, and the management operation request includes one of the following: providing a download channel of the client application, The client application installed on the terminal performs version checking and upgrades the client application that has been installed on the terminal;
  • Step S12 Perform an operation corresponding to the management operation request.
  • the client application is a dedicated application running on the smart mobile terminal. Enterprise employees access the mobile server through it.
  • the mobile server acts as a bridge to connect the front-end client application and the back-end enterprise Internet application, which receives external access from the client application and converts the external access to the internals of the enterprise Internet application based on the path mapping configuration file. access.
  • the response of the enterprise Internet application is converted into a response to the client application by using the already configured page conversion template.
  • the mobile server can also be set up for mobile deployment management, that is, uploading, installing, upgrading, and uninstalling templates and configuration files developed by the enterprise; and also setting up user management, that is, adding users who can access the mobile service. , delete, modify, find and other operations; and set to client application version management, that is, provide download, version check and upgrade services.
  • FIG. 2 is a flow chart of a method for developing an enterprise Internet application mobileization in accordance with a preferred embodiment of the present invention. As shown in FIG. 2, the method may include the following processing steps:
  • Step S202 Obtain an access path of the enterprise internet application, for example: /home/www;
  • Step S204 determining whether the enterprise Internet application mobility needs to be performed; if yes, proceeding to step S206; if not, proceeding to step S216;
  • Step S206 Add the access path to the mapping configuration file, for example:
  • Step S210 determining whether the page content needs to be changed; if yes, proceeding to step S212; if not, proceeding to step S216;
  • Step S212 Write an XLST template capable of extracting the mobile content, for example: /home/xslt/index.xslt
  • Step S214 Configuring the template in the mapping file
  • Step S216 determining whether there are other applications that need to be mobilized; if yes, go to step S202; if no, continue to step S218;
  • Step S218 compressing the path mapping configuration file and all template files, and compressing the template into a zip package; thereby completing the mobile development of the existing enterprise Internet application.
  • FIG. 3 is a flow chart of a method for managing enterprise internet application mobility in accordance with a preferred embodiment of the present invention. As shown in FIG. 3, the method may include the following processing steps:
  • Step S302 uploading a client application, so that the smart mobile terminal user downloads and installs;
  • Step S304 uploading a path mapping configuration file and an XLST template compression package of the enterprise Internet application mobile development
  • Step S306 using a one-click release, that is, deploying a path mapping configuration file and an XLST template, and generating a basic access address for client application access;
  • Step S308 adding a user
  • Step S310 determining whether there are other users that need to be added; if yes, proceeding to step S308; if not, the process ends to complete the enterprise Internet application mobile deployment and daily management.
  • the processing device of the enterprise Internet application may include: an obtaining module 100, configured to acquire an access path of an enterprise Internet application to be mobilized; and a writing module 102 configured to access the enterprise Internet application by using an access path, Writing an enterprise internet application page conversion template according to part of the content to be mobilized in the page content of the enterprise internet application, wherein the enterprise internet application page conversion template is used to extract part of the content; the establishing module 104 is configured to establish an access path and an enterprise internet application page. The mapping relationship of the storage path of the conversion template.
  • the device shown in FIG. 4 solves the problem that the related technology cannot quickly complete the mobilization of the enterprise Internet application, and further helps the enterprise to complete the Internet application mobility from development, deployment to management.
  • the writing module 102 may include: an obtaining unit 1020 configured to acquire page content; a determining unit 1022, configured to determine whether part of the content exists in the page content; and a writing unit 1024 configured to be in the determining unit
  • an obtaining unit 1020 configured to acquire page content
  • a determining unit 1022 configured to determine whether part of the content exists in the page content
  • a writing unit 1024 configured to be in the determining unit
  • XLST Extended Stylesheet Transformation Language
  • the foregoing apparatus may further include: a writing module 106 configured to write a mapping relationship to the configuration file; and a compression module 108 configured to perform compression processing on the configuration file and the enterprise Internet application page conversion template;
  • the uploading module 110 is configured to upload the compressed configuration file and the enterprise internet application page conversion template.
  • the apparatus may further include: a first receiving module 112 configured to receive an access request from the terminal, wherein the access request is used to access an enterprise internet application; and the forwarding module 114 is configured to The access path is searched from the configuration file, and the access request is forwarded to the enterprise internet application according to the access path.
  • the second receiving module 116 is configured to receive an access response corresponding to the access request from the enterprise internet application, where the access response carries The response data is sent by the sending module 118, configured to process the response data by using the XLST template, and send the processed response data to the terminal.
  • the foregoing apparatus may further include: a third receiving module 120 configured to receive a management operation request from the terminal for the client application, where the client application is used to initiate the application for the enterprise internet
  • the access, management operation request includes one of the following: providing a download channel of the client application, performing a version check on the client application already installed on the terminal, and upgrading the client application already installed on the terminal; executing the module 122, setting To perform the operation corresponding to the management operation request.
  • FIG. 6 is a schematic structural diagram of an enterprise internet application mobile running system according to a preferred embodiment of the present invention. As shown in Figure 6, the entire system runs as follows:
  • the user initiates a client application that has been installed on the smart mobile terminal to access the basic address of the mobile service.
  • the mobile service accepts the access and retrieves its corresponding enterprise Internet application path from the path mapping file.
  • the enterprise Internet application provides response data to the mobile service based on the access.
  • the mobile service processes the response data using the XLST template configured in the path mapping file.
  • the mobile service sends the processed response data to the client application, so that the client application displays to the user, thereby completing the mobile operation of the enterprise internet application.
  • the technical solution provided by the embodiment of the present invention is used for Complete the mobile development of enterprise Internet applications, which realizes the mobile development of enterprise Internet applications by writing enterprise Internet application page conversion templates and establishing enterprise Internet application access path mapping relationships, thereby solving the problem that the related technologies cannot be quickly completed.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across multiple computing devices.
  • they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from this
  • the steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the processing method and apparatus for an enterprise Internet application provided by the embodiments of the present invention have the following beneficial effects: realizing the mobile development of the enterprise Internet application, and further assisting the enterprise to complete the Internet application from development, deployment, and management. Mobile.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种企业互联网应用的处理方法及装置,在上述方法中,获取待移动化的企业互联网应用的访问路径;采用访问路径对企业互联网应用进行访问,根据企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,企业互联网应用页面转换模板用于提取部分内容;建立访问路径与企业互联网应用页面转换模板的存储路径的映射关系。根据本发明提供的技术方案,从开发、部署到管理,全面帮助企业完成互联网应用移动化。

Description

企业互联网应用的处理方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种企业互联网应用的处理方法及装置。
背景技术
随着第三代移动通信技术(3G)和第四代移动通信技术(4G)网络的广泛普及、智能移动终端的广泛使用,以及移动互联网的飞速发展。同时,企业互联网应用也面临着移动化的需求。
对于新成立的公司而言,可以在建设企业互联网应用时将移动互联网部分一同处理。然而对于已经成熟运作多年的企业而言,其固有的、庞大的和复杂的企业互联网应用,在进行移动化时必将面临诸多问题:
问题一、企业互联网应用的原有设计、开发和部署资料缺失,移动化改造缺少可以直接依赖的信息。
问题二、企业IT支撑部门缺少专业编程开发人员,无法进行设计与开发,因而必须求助于外部专门负责开发此类应用的公司。
问题三、由于智能移动终端的种类与数量繁多、差异较大,适配过程十分复杂。
问题四、企业互联网应用移动化费用开销较大,后期维护工作较难。
综上所述,相关技术中缺乏一种能够快速完成企业互联网应用移动化的技术方案。
发明内容
本发明实施例提供了一种企业互联网应用的处理方法及装置,以至少解决相关技术中无法实现快速完成企业互联网应用移动化的问题。
根据本发明的一个方面,提供了一种企业互联网应用的处理方法。
根据本发明实施例的企业互联网应用的处理方法包括:获取待移动化的企业互联网应用的访问路径;采用访问路径对企业互联网应用进行访问,根据企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,企业互 联网应用页面转换模板用于提取部分内容;建立访问路径与企业互联网应用页面转换模板的存储路径的映射关系。
优选地,根据部分内容编写企业互联网应用页面转换模板包括:获取页面内容;判断在页面内容中是否存在部分内容;如果是,则编写提取部分内容的扩展样式表转换语言(XLST)模板。
优选地,在建立映射关系之后,还包括:将映射关系写入配置文件;对配置文件和企业互联网应用页面转换模板进行压缩处理;将压缩后的配置文件和企业互联网应用页面转换模板进行上传。
优选地,在建立映射关系之后,还包括:接收来自于终端的访问请求,其中,访问请求用于对企业互联网应用进行访问;从配置文件中查找访问路径,按照访问路径将访问请求转发至企业互联网应用;接收来自于企业互联网应用的与访问请求对应的访问响应,其中,访问响应中携带有应答数据;采用XLST模板对应答数据进行处理,并将处理后的应答数据发送至终端。
优选地,在接收访问请求之前,还包括:接收来自于终端的对客户端应用的管理操作请求,其中,客户端应用用于发起对企业互联网应用的访问,管理操作请求包括以下之一:提供客户端应用的下载通道、对已经安装在终端上的客户端应用进行版本检查、对已经安装在终端上的客户端应用进行升级;执行与管理操作请求对应的操作。
根据本发明的另一方面,提供了一种企业互联网应用的处理装置。
根据本发明实施例的企业互联网应用的处理装置包括:获取模块,设置为获取待移动化的企业互联网应用的访问路径;编写模块,设置为采用访问路径对企业互联网应用进行访问,根据企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,企业互联网应用页面转换模板用于提取部分内容;建立模块,设置为建立访问路径与企业互联网应用页面转换模板的存储路径的映射关系。
优选地,编写模块包括:获取单元,设置为获取页面内容;判断单元,设置为判断在页面内容中是否存在部分内容;编写单元,设置为在判断单元输出为是时,编写提取部分内容的扩展样式表转换语言(XLST)模板。
优选地,上述装置还包括:写入模块,设置为将映射关系写入配置文件;压缩模块,设置为对配置文件和企业互联网应用页面转换模板进行压缩处理;上传模块,设置为将压缩后的配置文件和企业互联网应用页面转换模板进行上传。
优选地,上述装置还包括:第一接收模块,设置为接收来自于终端的访问请求,其中,访问请求用于对企业互联网应用进行访问;转发模块,设置为从配置文件中查找访问路径,按照访问路径将访问请求转发至企业互联网应用;第二接收模块,设置为接收来自于企业互联网应用的与访问请求对应的访问响应,其中,访问响应中携带有应答数据;发送模块,设置为采用XLST模板对应答数据进行处理,并将处理后的应答数据发送至终端。
优选地,上述装置还包括:第三接收模块,设置为接收来自于终端的对客户端应用的管理操作请求,其中,客户端应用用于发起对企业互联网应用的访问,管理操作请求包括以下之一:提供客户端应用的下载通道、对已经安装在终端上的客户端应用进行版本检查、对已经安装在终端上的客户端应用进行升级;执行模块,设置为执行与管理操作请求对应的操作。
通过本发明实施例,采用获取待移动化的企业互联网应用的访问路径;采用访问路径对企业互联网应用进行访问,根据企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,企业互联网应用页面转换模板用于提取部分内容;建立访问路径与企业互联网应用页面转换模板的存储路径的映射关系,解决了相关技术中无法实现快速完成企业互联网应用移动化的问题,进而从开发、部署到管理,全面帮助企业完成互联网应用移动化。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的企业互联网应用的处理方法的流程图;
图2是根据本发明优选实施例的企业互联网应用移动化开发方法的流程图;
图3是根据本发明优选实施例的企业互联网应用移动化管理方法的流程图;
图4是根据本发明实施例的企业互联网应用的处理装置的结构框图;
图5是根据本发明优选实施例的企业互联网应用的处理装置的结构框图;
图6是根据本发明优选实施例的企业互联网应用移动化运行系统的结构示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
图1是根据本发明实施例的企业互联网应用的处理方法的流程图。如图1所示,该方法可以包括以下处理步骤:
步骤S102:获取待移动化的企业互联网应用的访问路径;
步骤S104:采用访问路径对企业互联网应用进行访问,根据企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,企业互联网应用页面转换模板用于提取部分内容;
步骤S106:建立访问路径与企业互联网应用页面转换模板的存储路径的映射关系。
相关技术中,无法实现快速完成企业互联网应用移动化。采用如图1所示的企业互联网应用移动化的开发方法,用于完成企业互联网应用的移动化开发,其通过编写企业互联网应用页面转换模板以及建立企业互联网应用访问路径映射关系,实现了对企业互联网应用的移动化开发,由此解决了相关技术中无法实现快速完成企业互联网应用移动化的问题,进而从开发、部署到管理,全面帮助企业完成互联网应用移动化。
优选地,在步骤S104中,根据部分内容编写企业互联网应用页面转换模板可以包括以下操作:
步骤S1:获取页面内容;
步骤S2:判断在页面内容中是否存在部分内容;
步骤S3:如果是,则编写提取部分内容的扩展样式表转换语言(XLST)模板。
在优选实施例中,首先,确定待移动化的企业互联网应用,并记录该企业互联网应用的访问路径。然后,再通过浏览器访问待移动化的企业互联网应用,获取页面内容,确定其中需要移动化的部分(页面或者数据)。最后,编写能够抽取该部分内容的XLST模板,以完成企业内网到终端侧的应用内容映射。
优选地,在步骤S106,建立映射关系之后,还可以包括以下步骤:
步骤S4:将映射关系写入配置文件;
步骤S5:对配置文件和企业互联网应用页面转换模板进行压缩处理;
步骤S6:将压缩后的配置文件和企业互联网应用页面转换模板进行上传。
在优选实施例中,可以按照预设规则将上述访问路径和模板文件路径写入映射关系配置文件,还可以对路径映射配置文件和全部模板文件进行压缩处理,将其压缩成zip包;从而完成已有企业互联网应用的移动化开发。
优选地,在步骤S106,建立映射关系之后,还可以包括以下操作:
步骤S7:接收来自于终端的访问请求,其中,访问请求用于对企业互联网应用进行访问;
步骤S8:从配置文件中查找访问路径,按照访问路径将访问请求转发至企业互联网应用;
步骤S9:接收来自于企业互联网应用的与访问请求对应的访问响应,其中,访问响应中携带有应答数据;
步骤S10:采用XLST模板对应答数据进行处理,并将处理后的应答数据发送至终端。
在优选实施例中,用户启动已经安装于智能移动终端的客户端应用,发起对企业互联网应用的访问请求,其可以访问移动化服务基本地址。移动化服务器接受访问,并向路径映射文件查找与之对应的企业互联网应用的访问路径。移动化服务器将来自于客户端应用的访问转发至企业互联网应用。企业互联网应用根据访问向移动化服务器提供应答数据。移动化服务器使用路径映射文件中配置的XLST模板处理应答数据,然后将处理后的应答数据发送至客户端应用,以便客户端应用向用户进行展示,从而完成企业互联网应用移动运行使用。
优选地,在步骤S7,接收访问请求之前,还可以包括以下步骤:
步骤S11:接收来自于终端的对客户端应用的管理操作请求,其中,客户端应用用于发起对企业互联网应用的访问,管理操作请求包括以下之一:提供客户端应用的下载通道、对已经安装在终端上的客户端应用进行版本检查、对已经安装在终端上的客户端应用进行升级;
步骤S12:执行与管理操作请求对应的操作。
在优选实施例中,客户端应用是运行在智能移动终端上的专用应用程序。企业员工通过它访问移动化服务器。移动化服务器作为桥梁连接位于前端的客户端应用和位于后端的企业互联网应用,其接收来自于客户端应用的外部访问,并根据路径映射关系配置文件,将外部访问转换为对企业互联网应用的内部访问。同时,利用已经配置完成的页面转换模板将企业互联网应用的响应转换为对客户端应用的响应。此外,移动化服务器还可以设置为移动化部署管理,即对企业开发的模板和配置文件进行上传、安装、升级和卸载;同时还设置为用户管理,即对可访问移动化服务的用户执行增加、删除、修改、查找等各项操作;以及设置为客户端应用版本管理,即提供下载、版本检查和升级服务。
下面将结合图2和图3所示的优选实施方式对上述优选实施过程作进一步的描述。
图2是根据本发明优选实施例的企业互联网应用移动化开发方法的流程图。如图2所示,该方法可以包括以下处理步骤:
步骤S202:获取企业互联网应用的访问路径,例如:/home/www;
步骤S204:判断是否需要进行企业互联网应用移动化;如果是,则继续执行步骤S206;如果否,则转到步骤S216;
步骤S206:将该访问路径加入映射配置文件,例如:
Figure PCTCN2014087231-appb-000001
Figure PCTCN2014087231-appb-000002
步骤S210:判断是否需要对页面内容进行更改;如果是,则继续执行步骤S212;如果否,则转到步骤S216;
步骤S212:编写能够提取移动化内容的XLST模板,例如:/home/xslt/index.xslt
Figure PCTCN2014087231-appb-000003
步骤S214:将模板配置在映射文件中;
Figure PCTCN2014087231-appb-000004
步骤S216:判断是否还有其他应用需要移动化;如果是,则转到步骤S202;如果否,则继续执行步骤S218;
步骤S218:对路径映射配置文件和全部模板文件进行压缩处理,将其压缩成zip包;从而完成已有企业互联网应用的移动化开发。
图3是根据本发明优选实施例的企业互联网应用移动化管理方法的流程图。如图3所示,该方法可以包括以下处理步骤:
步骤S302:上传客户端应用,以便于智能移动终端用户下载及安装;
步骤S304:上传企业互联网应用移动化开发的路径映射配置文件和XLST模板压缩包;
步骤S306:采用一键发布,即部署路径映射配置文件与XLST模板,并生成基本访问地址,供客户端应用访问;
步骤S308:添加用户;
步骤S310:判断是否还有其他用户需要添加;如果是,则转到步骤S308;如果否,则流程结束,以完成企业互联网应用移动化部署和日常管理。
图4是根据本发明实施例的企业互联网应用的处理装置的结构框图。如图4所示,该企业互联网应用的处理装置可以包括:获取模块100,设置为获取待移动化的企业互联网应用的访问路径;编写模块102,设置为采用访问路径对企业互联网应用进行访问,根据企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,企业互联网应用页面转换模板用于提取部分内容;建立模块104,设置为建立访问路径与企业互联网应用页面转换模板的存储路径的映射关系。
采用如图4所示的装置,解决了相关技术中无法实现快速完成企业互联网应用移动化的问题,进而从开发、部署到管理,全面帮助企业完成互联网应用移动化。
优选地,如图5所示,编写模块102可以包括:获取单元1020,设置为获取页面内容;判断单元1022,设置为判断在页面内容中是否存在部分内容;编写单元1024,设置为在判断单元输出为是时,编写提取部分内容的扩展样式表转换语言(XLST)模板。
优选地,如图5所示,上述装置还可以包括:写入模块106,设置为将映射关系写入配置文件;压缩模块108,设置为对配置文件和企业互联网应用页面转换模板进行压缩处理;上传模块110,设置为将压缩后的配置文件和企业互联网应用页面转换模板进行上传。
优选地,如图5所示,上述装置还可以包括:第一接收模块112,设置为接收来自于终端的访问请求,其中,访问请求用于对企业互联网应用进行访问;转发模块114,设置为从配置文件中查找访问路径,按照访问路径将访问请求转发至企业互联网应用;第二接收模块116,设置为接收来自于企业互联网应用的与访问请求对应的访问响应,其中,访问响应中携带有应答数据;发送模块118,设置为采用XLST模板对应答数据进行处理,并将处理后的应答数据发送至终端。
优选地,如图5所示,上述装置还可以包括:第三接收模块120,设置为接收来自于终端的对客户端应用的管理操作请求,其中,客户端应用用于发起对企业互联网应用的访问,管理操作请求包括以下之一:提供客户端应用的下载通道、对已经安装在终端上的客户端应用进行版本检查、对已经安装在终端上的客户端应用进行升级;执行模块122,设置为执行与管理操作请求对应的操作。
作为本发明的一个优选实施例,图6是根据本发明优选实施例的企业互联网应用移动化运行系统的结构示意图。如图6所示,整个系统的运行过程如下:
(1)用户启动已经安装于智能移动终端的客户端应用,访问移动化服务基本地址。
(2)移动化服务接受访问,并向路径映射文件检索其对应的企业互联网应用路径。
(3)移动化服务将来自于客户端应用的访问转发至企业互联网应用。
(4)企业互联网应用根据访问向移动化服务提供应答数据。
(5)移动化服务使用路径映射文件中配置的XLST模板处理应答数据。
(6)移动化服务将处理后的应答数据发送至客户端应用,以便客户端应用向用户进行展示,从而完成企业互联网应用移动运行使用。
从以上的描述中,可以看出,上述实施例实现了如下技术效果(需要说明的是这些效果是某些优选实施例可以达到的效果):采用本发明实施例所提供的技术方案,用于完成企业互联网应用的移动化开发,其通过编写企业互联网应用页面转换模板以及建立企业互联网应用访问路径映射关系,实现了对企业互联网应用的移动化开发,由此解决了相关技术中无法实现快速完成企业互联网应用移动化的问题,进而从开发、部署到管理,全面帮助企业完成互联网应用移动化。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所 组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
如上所述,本发明实施例提供的一种企业互联网应用的处理方法及装置具有以下有益效果:实现了对企业互联网应用的移动化开发,进而从开发、部署到管理,全面帮助企业完成互联网应用移动化。

Claims (10)

  1. 一种企业互联网应用的处理方法,包括:
    获取待移动化的企业互联网应用的访问路径;
    采用所述访问路径对所述企业互联网应用进行访问,根据所述企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,所述企业互联网应用页面转换模板用于提取所述部分内容;
    建立所述访问路径与所述企业互联网应用页面转换模板的存储路径的映射关系。
  2. 根据权利要求1所述的方法,其中,根据所述部分内容编写企业互联网应用页面转换模板包括:
    获取所述页面内容;
    判断在所述页面内容中是否存在所述部分内容;
    如果是,则编写提取所述部分内容的扩展样式表转换语言XLST模板。
  3. 根据权利要求2所述的方法,其中,在建立所述映射关系之后,还包括:
    将所述映射关系写入配置文件;
    对所述配置文件和所述企业互联网应用页面转换模板进行压缩处理;
    将压缩后的配置文件和企业互联网应用页面转换模板进行上传。
  4. 根据权利要求3所述的方法,其中,在建立所述映射关系之后,还包括:
    接收来自于终端的访问请求,其中,所述访问请求用于对所述企业互联网应用进行访问;
    从所述配置文件中查找所述访问路径,按照所述访问路径将所述访问请求转发至所述企业互联网应用;
    接收来自于所述企业互联网应用的与所述访问请求对应的访问响应,其中,所述访问响应中携带有应答数据;
    采用所述XLST模板对所述应答数据进行处理,并将处理后的应答数据发送至所述终端。
  5. 根据权利要求4所述的方法,其中,在接收所述访问请求之前,还包括:
    接收来自于所述终端的对客户端应用的管理操作请求,其中,所述客户端应用用于发起对所述企业互联网应用的访问,所述管理操作请求包括以下之一:提供所述客户端应用的下载通道、对已经安装在所述终端上的所述客户端应用进行版本检查、对已经安装在所述终端上的所述客户端应用进行升级;
    执行与所述管理操作请求对应的操作。
  6. 一种企业互联网应用的处理装置,包括:
    获取模块,设置为获取待移动化的企业互联网应用的访问路径;
    编写模块,设置为采用所述访问路径对所述企业互联网应用进行访问,根据所述企业互联网应用的页面内容中待移动化的部分内容编写企业互联网应用页面转换模板,其中,所述企业互联网应用页面转换模板用于提取所述部分内容;
    建立模块,设置为建立所述访问路径与所述企业互联网应用页面转换模板的存储路径的映射关系。
  7. 根据权利要求6所述的装置,其中,所述编写模块包括:
    获取单元,设置为获取所述页面内容;
    判断单元,设置为判断在所述页面内容中是否存在所述部分内容;
    编写单元,设置为在所述判断单元输出为是时,编写提取所述部分内容的扩展样式表转换语言XLST模板。
  8. 根据权利要求6所述的装置,其中,所述装置还包括:
    写入模块,设置为将所述映射关系写入配置文件;
    压缩模块,设置为对所述配置文件和所述企业互联网应用页面转换模板进行压缩处理;
    上传模块,设置为将压缩后的配置文件和企业互联网应用页面转换模板进行上传。
  9. 根据权利要求7所述的装置,其中,所述装置还包括:
    第一接收模块,设置为接收来自于终端的访问请求,其中,所述访问请求用于对所述企业互联网应用进行访问;
    转发模块,设置为从所述配置文件中查找所述访问路径,所述访问路径将所述访问请求转发至所述企业互联网应用;
    第二接收模块,设置为接收来自于所述企业互联网应用的与所述访问请求对应的访问响应,其中,所述访问响应中携带有应答数据;
    发送模块,设置为采用所述XLST模板对所述应答数据进行处理,并将处理后的应答数据发送至所述终端。
  10. 根据权利要求9所述的装置,其中,所述装置还包括:
    第三接收模块,设置为接收来自于所述终端的对客户端应用的管理操作请求,其中,所述客户端应用用于发起对所述企业互联网应用的访问,所述管理操作请求包括以下之一:提供所述客户端应用的下载通道、对已经安装在所述终端上的所述客户端应用进行版本检查、对已经安装在所述终端上的所述客户端应用进行升级;
    执行模块,设置为执行与所述管理操作请求对应的操作。
PCT/CN2014/087231 2014-05-21 2014-09-23 企业互联网应用的处理方法及装置 WO2015176443A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410217323.6 2014-05-21
CN201410217323.6A CN105094787B (zh) 2014-05-21 2014-05-21 企业互联网应用的处理方法及装置

Publications (1)

Publication Number Publication Date
WO2015176443A1 true WO2015176443A1 (zh) 2015-11-26

Family

ID=54553326

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087231 WO2015176443A1 (zh) 2014-05-21 2014-09-23 企业互联网应用的处理方法及装置

Country Status (2)

Country Link
CN (1) CN105094787B (zh)
WO (1) WO2015176443A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9886272B1 (en) 2016-12-05 2018-02-06 Sap Se Transformation of a web application into a hybrid mobile application
CN107765956A (zh) * 2017-08-30 2018-03-06 广东欧珀移动通信有限公司 用户界面编辑方法、装置、终端及计算机可读存储介质
RU2699070C1 (ru) * 2019-04-16 2019-09-03 Федеральное государственное бюджетное учреждение науки Институт проблем химической физики Российской Академии наук (ФГБУН ИПХФ РАН) Способ получения 2-нитроксисукцината 3-окси-6-метил-2-этилпиридина

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479907A (zh) * 2016-06-07 2017-12-15 中兴通讯股份有限公司 应用程序的开发方法、装置及系统

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271159A (zh) * 2011-07-28 2011-12-07 百度在线网络技术(北京)有限公司 一种获取页面数据的方法、装置和外部网站插件
CN103593466A (zh) * 2013-11-26 2014-02-19 优视科技有限公司 网页加载方法及客户端和服务器

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051684B (zh) * 2012-12-07 2017-03-15 百度在线网络技术(北京)有限公司 将网站转化为Web App进行展示的方法、系统和装置
CN103544313B (zh) * 2013-11-04 2017-09-08 北京国双科技有限公司 用于网页推荐的数据处理方法和装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271159A (zh) * 2011-07-28 2011-12-07 百度在线网络技术(北京)有限公司 一种获取页面数据的方法、装置和外部网站插件
CN103593466A (zh) * 2013-11-26 2014-02-19 优视科技有限公司 网页加载方法及客户端和服务器

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9886272B1 (en) 2016-12-05 2018-02-06 Sap Se Transformation of a web application into a hybrid mobile application
CN107765956A (zh) * 2017-08-30 2018-03-06 广东欧珀移动通信有限公司 用户界面编辑方法、装置、终端及计算机可读存储介质
CN107765956B (zh) * 2017-08-30 2021-02-26 Oppo广东移动通信有限公司 用户界面编辑方法、装置、终端及计算机可读存储介质
RU2699070C1 (ru) * 2019-04-16 2019-09-03 Федеральное государственное бюджетное учреждение науки Институт проблем химической физики Российской Академии наук (ФГБУН ИПХФ РАН) Способ получения 2-нитроксисукцината 3-окси-6-метил-2-этилпиридина

Also Published As

Publication number Publication date
CN105094787B (zh) 2020-01-03
CN105094787A (zh) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2019128392A1 (zh) 提取业务字段的方法、装置、电子设备及存储介质
CN110351325B (zh) 一种数据处理方法及相关设备
US20140089786A1 (en) Automated Processor For Web Content To Mobile-Optimized Content Transformation
WO2015176443A1 (zh) 企业互联网应用的处理方法及装置
CN105518673B (zh) 管理数据摄取
US20140310332A1 (en) Method for accessing plural cloud storages, electronic apparatus and non-transitory computer readable medium
WO2013175560A1 (ja) 情報通信システム及び情報変換方法
WO2010127551A1 (zh) 用于对网络服务通信进行适配的方法、适配器和适配器系统
CN110895471A (zh) 安装包生成方法、装置、介质及电子设备
WO2019085290A1 (zh) 测试前置实现方法、装置、终端设备及存储介质
JP2022041907A (ja) コンピューティングシステム上のapiマッシュアップインフラストラクチャ生成
CN107368407B (zh) 信息处理方法和装置
CN105187562A (zh) 操作远程文件的系统及方法
US11349961B2 (en) Chained adapters for multiple versions of application programming interface
US11449461B2 (en) Metadata-driven distributed dynamic reader and writer
CN111278085B (zh) 用于获取目标网络的方法及装置
CN113761588A (zh) 一种数据校验方法、装置、终端设备及存储介质
CN104536751A (zh) 网页源码迁移方法和装置
US20190121681A1 (en) Framework for integrating a user device and a mainframe system
CN116860941A (zh) 问答方法、装置、电子设备及存储介质
CN108595160B (zh) Js调用原生对象的方法、存储介质
CN109871560B (zh) 一种运行目标模型的方法和装置
CN112100168A (zh) 一种确定数据关联关系的方法和装置
CN113515306B (zh) 一种系统移植的方法及装置
CN103440134A (zh) 基于webkit内核的存储资源服务的本地扩展方法

Legal Events

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

Ref document number: 14892436

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14892436

Country of ref document: EP

Kind code of ref document: A1