WO2017143498A1 - Double-render-engine browser, and pc end web page application page conversion method and apparatus - Google Patents

Double-render-engine browser, and pc end web page application page conversion method and apparatus Download PDF

Info

Publication number
WO2017143498A1
WO2017143498A1 PCT/CN2016/074295 CN2016074295W WO2017143498A1 WO 2017143498 A1 WO2017143498 A1 WO 2017143498A1 CN 2016074295 W CN2016074295 W CN 2016074295W WO 2017143498 A1 WO2017143498 A1 WO 2017143498A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
mobile
webpage application
attribute
application page
Prior art date
Application number
PCT/CN2016/074295
Other languages
French (fr)
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
Application filed by 美通云动(北京)科技有限公司 filed Critical 美通云动(北京)科技有限公司
Priority to PCT/CN2016/074295 priority Critical patent/WO2017143498A1/en
Publication of WO2017143498A1 publication Critical patent/WO2017143498A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of browser technologies, and in particular, to a dual rendering engine browser, a PC-side webpage application page conversion method and apparatus.
  • the more common traditional method is implemented based on the data conversion service mode, by performing page structure capture on the server side and performing storage conversion and interface data formatting and calling interaction process.
  • the presentation on the mobile terminal is the reconstruction of the PC-side page and the reorganization of the data, thereby adapting to the rendering effect of the mobile terminal.
  • the technology of mobile terminals has similar effects, but it also has obvious shortcomings: the cost is too high, which restricts and improves the mobile transformation of enterprises.
  • the fragmentation of the mobile platform has resulted in a longer development cycle and debugging process; the relative independence of different systems and different technical constraints have made it difficult to carry out multi-system mobile integration and transformation.
  • a browser is a kind of software that can display the contents of an HTML file of a web server or a file system and allow users to interact with these files.
  • the browser generally consists of two parts: a user interface and a browser kernel.
  • the user interface is mainly used to interact with the user; the browser kernel is the core of the browser, which determines how the browser displays the content of the web page and the format information of the page. .
  • Different browser kernels have different interpretations of web page writing syntax, so the rendering (display) effect of the same web page in different kernel browsers may also be different, which is why web page writers need to test web pages in different kernel browsers. The reason for the effect.
  • the present invention provides a dual rendering engine browser and a PC for the defects existing in the prior art.
  • the web page application page conversion method and device realize the conversion of the PC webpage application page to the mobile webpage application page in the front end of the browser page and display the converted mobile webpage application page to the end user, thereby improving the user experience. It is beneficial to reduce the cost and efficiency of mobileization of the PC-side business system of web applications.
  • the invention provides a PC-side webpage application page conversion method, and the method comprises:
  • the dual rendering engine browser in the mobile terminal parses the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parses out the page elements of the PC-side webpage application page and their attributes;
  • the dual-rendering engine browser For each page element of the PC-side webpage application page, the dual-rendering engine browser matches the mobile-end page element corresponding to the page element and its attribute according to the matching rule corresponding to the attribute of the page element;
  • the dual rendering engine browser constructs a mobile web application page for displaying to the end user according to all the matched mobile page elements and their attributes.
  • the method further includes:
  • the synchronization control includes at least one of the following contents:
  • the dual rendering engine browser in the mobile terminal matches the mobile page element and its attribute corresponding to the page element according to the matching rule corresponding to the attribute of the page element, including:
  • the dual rendering engine browser queries whether there is a page for the PC-side web application Pre-customized custom matching rules
  • the dual-rendering engine browser matches the mobile-side webpage application page element and its attribute corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element;
  • the dual rendering engine browser matches the mobile webpage application page element and its attribute corresponding to the page element according to the standard matching rule corresponding to the attribute of the page element.
  • the attributes of the page element specifically include: an identity ID, a name, a coordinate, a location, and/or an element feature of the page element.
  • the present invention further provides a PC-side webpage application page conversion apparatus, which comprises:
  • a webpage parsing module configured to parse the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parse the page element of the PC-side webpage application page and its attribute;
  • a page matching module configured to: for each page element of the PC-side webpage application page parsed by the webpage parsing module, matching the mobile-endpage element corresponding to the page element according to the matching rule corresponding to the attribute of the page element And its attributes;
  • the page conversion module is configured to construct a mobile webpage application page for displaying to the end user according to all the matched mobile page elements and their attributes.
  • the device further comprises:
  • the page synchronization module is configured to synchronously control the PC-side webpage application page and the mobile-side webpage application page constructed by the page conversion module.
  • the synchronization control includes at least one of the following contents:
  • the page matching module specifically includes:
  • a rule query unit configured to query whether there is a custom matching rule pre-customized for the PC-side webpage application page, and output a query result
  • a rule matching unit configured to receive a query result output by the rule query unit; if the query result is present, matching the mobile page corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element The element and its attribute; if the query result does not exist, the mobile page element corresponding to the page element and its attribute are matched according to the standard matching rule corresponding to the attribute of the page element.
  • the invention also provides a dual rendering engine browser, comprising:
  • a first engine kernel configured to build a mobile webpage application page corresponding to the PC-side webpage application page according to the page structure data of the PC-side webpage application page of the webpage application to be moved and the preset matching rule;
  • a second engine kernel configured to perform synchronous control on the PC-side webpage application page and the constructed mobile-webpage application page
  • the first engine core is specifically configured to parse the page structure data of the PC-side webpage application page, parse the page element of the PC-side webpage application page and its attribute; and apply each page of the page to the PC-side webpage application page.
  • the element matches the mobile page element and its attribute corresponding to the page element according to the matching rule corresponding to the attribute of the page element; and constructs to display to the end user according to all the matched mobile page elements and their attributes.
  • the dual-rendering engine browser in the mobile terminal can be adapted to correspond to the PC-side webpage application page according to the page structure data of the PC-side webpage application page to be converted and the preset matching rule. Improve the user experience by using the mobile web application page that the user operates and reads.
  • the PC-side webpage application page of the mobile webpage application and the adapted mobile-side webpage applicationpage may be synchronously controlled at the front end of the page, To protect the web application to be mobile
  • the mobile web application page is synchronized with the data of the PC web application page.
  • the solution of the present invention is mainly the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and no API provided by the PC-side service system, and the web application to be mobileized can be realized.
  • the background business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, it is beneficial to reduce the cost and efficiency of the mobileization of the PC-side business system of the web application.
  • FIG. 1 is a schematic structural diagram of a dual rendering browser according to an embodiment of the present invention.
  • FIGS. 2a and 2b are schematic flowcharts of a PC-side webpage application page conversion method according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a PC-side webpage application page conversion apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an internal structure of a page matching module according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a correspondence between a PC-side webpage application page and a mobile-side webpage application page according to an embodiment of the present invention
  • 6-11 are schematic diagrams of a page adaptation process according to an embodiment of the present invention.
  • the role of the conventional browser is to display the front-end presentation effect of the web application according to the grammatical interpretation of different web pages defined by the programmer. Since the existing single-core browser directly parses the program code language, it does not re-parse and match the program in order to adapt the display effect of the mobile terminal in the mobile terminal. Therefore, the mobile webpage application page presented by the browser after opening a webpage in the mobile terminal by using a single-core browser is consistent with the PC-side webpage application page presented by the webpage on the PC side, that is, the user sees on the mobile terminal. The page is a single rendering effect page corresponding to the current web page URL address. In this way, based on the difference in screen size and operation mode between the mobile terminal and the PC, the user may be inconvenient to operate and reduce the user experience.
  • the existing PC-side business system for web application can re-develop a set of mobile web application pages suitable for mobile terminal operations, that is, all the business logics are rewritten and deployed on the mobile terminal, and the database is passed between the two. Synchronize for data transfer.
  • this method requires multiple developments for different mobile terminals, and the development cost is high and the efficiency is low, and the business system interface needs to be modified to increase the security risk of data.
  • the inventor of the present invention considers that the browser of the mobile terminal can perform the conversion of the PC-side webpage application page at the front end of the page after acquiring the page structure data of the PC-side webpage application page of the webpage application to be mobilized.
  • the preset matching rule for each page element of the PC-side webpage application page, after matching the mobile-side page element and its attribute corresponding to the page element, all the mobile-end page elements according to the matching may be Its properties, build a mobile web application page for mobile terminal operations, in order to improve the user experience.
  • the background business logic of the web application to be mobile is zero-dependent mobile adaptation, which guarantees the data security of the website to be mobilized; and it is beneficial to reduce the mobilization cost and efficiency of the PC-side business system of the website.
  • the inventor of the present invention considers that, after completing the conversion of the PC-side webpage application page to the mobile-side webpage application page, the PC-side webpage application page and the adapted mobile terminal of the webpage application to be applied to the front-end of the page may be
  • the webpage application page performs synchronization control to ensure that the mobile webpage application page of the webpage application to be mobilized is synchronized with the data of the PC-side webpage application page.
  • the present invention provides a dual rendering engine browser, which is located in a mobile terminal, and as shown in FIG. 1, may include: a first engine core 101 and a second engine core 102.
  • the first engine core 101 and the second engine core 102 of the browser fully support the adaptation code identification specification in order to achieve better compatibility and experience.
  • the first engine core 101 is configured to build a mobile webpage application corresponding to the PC-side webpage application page according to the page structure data of the PC-side webpage application page of the webpage application to be migrated and the preset matching rule. page.
  • the PC-side web application page of the web application to be mobilized refers to the PC-side web application page of the PC-side business system of the web application to be mobilized.
  • the first engine core 101 can parse the PC end network of the web application to be mobilized
  • the page structure data of the page application page parses the page elements of the PC-side web application page and their attributes.
  • the page structure data of the PC-side webpage application page may include: a DOM (Document Object Model) tree generated based on the HTML file of the website, and a CSS (Cascading Style Sheets) file generation. Style sheet.
  • DOM Document Object Model
  • CSS CSS
  • Style sheet a file generation.
  • page elements can be text data, tabular data, drop-down selection boxes, function buttons, and the like.
  • the attributes of the page element may include: an ID (Identification) of the page element, a name, a coordinate, a location, and/or an element feature.
  • the dual rendering engine browser pre-stores corresponding matching rules for attributes of different page elements.
  • the first engine kernel 101 may apply to each page element of the page of the PC-side webpage application according to the attribute of the page element.
  • the matching rule matches the mobile page element and its attribute corresponding to the page element; and constructs a mobile web application page for displaying to the end user according to all the matched mobile page elements and their attributes.
  • developers of the dual rendering engine browser can set standard matching rules in advance according to the device parameters and user operating habits of the mobile terminal. Further, the developer of the web application to be mobilized can also use the adaptation tool provided by the developer of the dual rendering engine browser, according to the page conversion requirement of the PC-side business system, and the PC-side business system for the webpage application.
  • the PC-side web application page pre-customizes custom matching rules.
  • the matching rule preset in the dual rendering engine browser is set in advance according to the device parameters of the mobile terminal and the user operating habits, or the page conversion requirement of the PC-side service system,
  • the mobile webpage application page constructed by the mobile terminal page element matched by the rule is more suitable for the user operation and reading of the mobile terminal, thereby improving the user.
  • the first engine kernel 101 may first query whether the dual-rendering engine browser has a pre-page for the PC-side webpage application page. Customized custom matching rules.
  • the first engine kernel 101 may apply each page element of the page to the parsed PC-side webpage, according to the page element
  • the custom matching rule corresponding to the attribute matches the mobile page element and its attribute corresponding to the page element.
  • the first engine kernel 101 may apply each page element of the page to the parsed PC-side webpage, according to the page element.
  • the standard matching rule corresponding to the attribute matches the mobile page element and its attribute corresponding to the page element.
  • the second engine kernel 102 may apply the PC-side webpage application page of the webpage application to be mobileized.
  • the mobile webpage application page constructed by an engine kernel 101 performs synchronous control.
  • the above synchronization control is for rendering data of a page, function button operation, and page flow. Synchronize text data, table data, lower selection frame status, function button operations, and the like. For the scroll bar of the page, the unique display effect of the page, etc., it is possible to not synchronize, that is, only convert the necessary page structure, only synchronize the necessary data function operations, and efficiently synchronize the most. Useful data information.
  • the solution of the present invention is the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and without any API provided by the PC-side service system, and the background of the web application to be mobileized can be realized.
  • the business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, compared with the existing multiple development for different mobile terminals, the development efficiency of the mobileization of the PC-side business system is accelerated. And reduce the time cost and labor cost, which is beneficial to reduce the mobile cost of the PC-side business system of the web application.
  • the page conversion and synchronization control process are respectively implemented by two different engine cores, which is beneficial to speeding up the mobileization efficiency of the PC-side service system of the webpage application while ensuring the movement of the PC-side service system.
  • the stability of the process is beneficial to speeding up the mobileization efficiency of the PC-side service system of the webpage application while ensuring the movement of the PC-side service system.
  • the present invention further provides a PC-side webpage application page conversion method based on the dual-rendering engine browser.
  • the specific process is as shown in FIG. 2a, and may include the following steps:
  • S201 The dual rendering engine browser in the mobile terminal parses the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parses the page element of the PC-side webpage application page and its attribute.
  • the dual rendering engine browser in the mobile terminal may obtain an HTML file, a CSS file, and the like of the PC-side webpage application page of the webpage application to be mobilized in advance. After that, the dual rendering engine browser can parse the obtained file to obtain the page structure data of the PC-side webpage application page of the webpage application to be mobilized.
  • the PC-side web application page of the web application to be mobilized refers to the PC-side web application page of the PC-side business system of the web application to be mobilized.
  • the page structure data of the PC-side webpage application page of the webpage application to be mobilized may include: a DOM tree generated based on the HTML file of the webpage application, and a stylesheet generated based on the CSS file.
  • the page structure data of the PC-side webpage application page of the webpage application to be mobilized obtained by the dual-rendering engine browser is parsed, thereby parsing the page elements of the PC-side webpage application page and their attributes.
  • page elements can be text data, tabular data, drop-down selection boxes, function buttons, and the like.
  • the attributes of the page element can include: the ID of the page element (Identification, Identity, name, coordinates, location, and/or element characteristics.
  • corresponding attributes are pre-stored in the dual rendering engine browser for attributes of different page elements.
  • the dual rendering engine browser can determine, for each page element of the PC-side webpage application page parsed in step S201, a matching rule corresponding to the attribute of the page element, and corresponding to the determined attribute of the page element.
  • the matching rule matches the mobile page element and its attribute corresponding to the page element.
  • the attribute of the mobile page element may be consistent with the attribute of the page element.
  • the developer in the dual rendering engine browser sets the standard matching rule according to the device parameters and the user operation habits of the mobile terminal, and can further store the application for the webpage.
  • Pre-customized custom matching rules for the PC-side web application page of the PC business system can be set by the webpage application developer through the adaptation tool provided by the developer of the dual-rendering engine browser according to the page conversion requirement of the PC-side business system. The settings for custom matching rules are described in detail later.
  • S203 The dual rendering engine browser constructs a mobile webpage application page for displaying to the end user according to all the matched mobile page elements and their attributes.
  • step S202 After the dual-rendering engine browser matches the mobile-side page elements corresponding to the page elements of the PC-side webpage application page in step S202, all the mobile-side page elements can be rendered according to the attributes of the mobile-side page elements, and the application is applied.
  • the mobile webpage application page operated by the mobile terminal that is, the mobile webpage application page for displaying to the terminal user.
  • the preset matching rule in the dual rendering engine browser is a pre-root
  • the mobile-side web application page constructed according to the mobile-page page elements matched based on the matching rule is more suitable for mobile The user operation and reading of the terminal improves the user experience.
  • the mobilization that relies on the transformation of the PC-side business system for web applications is likely to cause flaws in the business system, high system coupling, and risk of problems.
  • it is not necessary to make any modification to the PC-side service system of the webpage application, and the PC-side service system does not need to provide any API (Application Programming Interface) to realize the mobilization of the webpage application.
  • API Application Programming Interface
  • the PC-side webpage application page conversion method may further include The following steps:
  • S204 Synchronize the PC-side webpage application page of the mobile webpage application and the constructed mobile webpage application page.
  • the above synchronization control is for rendering data of a page, function button operation, and page flow. Synchronize text data, table data, lower selection frame status, function button operations, and the like. For the scroll bar of the page, the unique display effect of the page, etc., it is possible to not synchronize, that is, only convert the necessary page structure, only synchronize the necessary data function operations, and efficiently synchronize the most. Useful data information.
  • the solution of the present invention is the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and without any API provided by the PC-side service system, and the background of the web application to be mobileized can be realized.
  • the business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, compared with the existing multiple development for different mobile terminals, the development efficiency of the mobileization of the PC-side business system is accelerated. And reduce the time cost and labor cost, which is beneficial to reduce the mobile cost of the PC-side business system of the web application.
  • the page conversion and synchronization control process are respectively implemented by two different engine cores, which is beneficial to speeding up the mobileization efficiency of the PC-side service system of the webpage application while ensuring the movement of the PC-side service system.
  • the stability of the process is beneficial to speeding up the mobileization efficiency of the PC-side service system of the webpage application while ensuring the movement of the PC-side service system.
  • the present invention further provides a PC-side webpage application page conversion device.
  • the device may include a webpage parsing module 301, a page matching module 302, and a page conversion module 303. .
  • the device for converting a PC-side webpage application page provided by the embodiment of the present invention may be disposed in a dual-rendering engine browser in the mobile terminal.
  • the device can be placed in a location in the mobile terminal that is independent of the dual rendering engine browser.
  • the dual rendering engine browser can implement the display of the mobile webpage application page obtained by converting and converting the PC-side webpage application page of the webpage application by calling the device.
  • the webpage parsing module 301 is configured to parse the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parse the page element of the PC-side webpage application page and its attributes.
  • the PC-side webpage application page of the webpage application to be mobilized refers to the PC-side webpage application page of the PC-side service system of the webpage application to be mobilized.
  • the page structure data of the PC-side webpage application page may include: a DOM (Document Object Model) tree generated based on the HTML file of the website, and a style sheet generated based on a CSS (Cascading Style Sheets) file.
  • the page elements can be text data, tabular data, drop down selection boxes, function buttons, and the like.
  • the attributes of the page element can include: the ID of the page element (Identification), name, coordinates, location, and/or element characteristics.
  • the page matching module 302 is configured to match each page element of the PC-side webpage application page parsed by the webpage parsing module 301, and match the mobile-endpage element corresponding to the page element according to the matching rule corresponding to the attribute of the page element. Its properties.
  • the matching rule is preset in the mobile terminal, and corresponding matching rules are preset for attributes of different page elements.
  • developers of the dual rendering engine browser can set standard matching rules in advance according to the device parameters and user operating habits of the mobile terminal.
  • the developer of the web application to be mobilized can also use the adaptation tool provided by the browser developer in advance, according to the page conversion requirement of the PC-side business system, and the PC-side webpage of the PC-side business system applied to the webpage application.
  • the application page pre-customizes custom matching rules.
  • the page matching module 302 is specifically configured to query whether there is a custom matching rule pre-customized for the PC-side webpage application page. If there is a custom matching rule pre-customized for the PC-side webpage application page, each page element of the parsed PC-side webpage application page is matched according to the custom matching rule corresponding to the attribute of the page element. The mobile page element and its attributes corresponding to the page element.
  • each page element of the parsed PC-side webpage application page is matched according to the standard matching rule corresponding to the attribute of the page element.
  • the page conversion module 303 is configured to construct a mobile webpage application page for displaying to the terminal user according to all the matched mobile page elements and their attributes.
  • the matching rule preset in the dual rendering engine browser is set in advance according to the device parameters of the mobile terminal and the user operating habits, or the page conversion requirement of the PC-side service system,
  • the mobile webpage application page constructed by the rule-matched mobile page element is more suitable for the user operation and reading of the mobile terminal, thereby improving the user experience.
  • the PC-side webpage application page conversion apparatus may further include: a page synchronization module 304, in order to ensure that the mobile-side webpage application page of the webpage application to be mobilized is synchronized with the data of the PC-side webpage application page.
  • the page synchronization module 304 is configured to perform synchronous control on the PC-side webpage application page of the webpage application and the mobile-side webpage applicationpage constructed by the page conversion module 303.
  • the synchronization control includes at least one of the following contents:
  • the page matching module 302 specifically includes: a rule query unit 401 and a rule matching unit 402.
  • the rule query unit 401 is configured to query whether there is a custom matching rule pre-customized for the PC-side webpage application page, and output the query result.
  • the rule matching unit 402 is configured to receive the query result output by the rule query unit 401; if the query result is exist, match the mobile page element corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element and Attribute; if the query result does not exist, the mobile page element corresponding to the page element and its attribute are matched according to the standard matching rule corresponding to the attribute of the page element.
  • each module in the PC-side webpage application page conversion device and each unit under each module may refer to the specific steps of the PC-side webpage application page conversion method, and the details are not detailed here. Said.
  • the setting of the custom matching rule mentioned in the above PC-side webpage application page conversion method can be set by an adaptation tool provided by a developer of the dual-rendering engine browser.
  • an adaptation tool provided by a developer of the dual-rendering engine browser.
  • the Enterplorer studio adaptation tool For example, the Enterplorer studio adaptation tool.
  • the Enterplorer studio adaptation tool has the following features: 1. Rich UI component library, users do not need too much design and custom components. 2, integrated visual mobile emulator, test the adaptation effect without additional hardware equipment. 3. Adopt a programming method without programming. Users do not need to write code. The adaptation can be done by the operation of the component "tolerance”. 4. The adaptation interface and the original business system interface are synchronized with the same screen display, realizing the development experience effect of “real-time synchronization, WYSIWYG”.
  • the Enterplorer studio adapting tool mainly uses the packaged standard components and custom components to carry out the mobile adaptation development of the PC-side business system of the web application, and the component is used to apply to the PC-side webpage application page of the PC-side business system of the website.
  • the common form elements are redefined and processed to achieve the adaptive rendering effect of the mobile terminal.
  • the page adaptation scheme from the PC-side webpage application page of the PC-side service system to the adapted mobile-side webpage application page may be saved, so that the subsequent The page adaptation scheme extracts a custom matching rule between the page element of the PC-side webpage application page and the mobile-side page element of the mobile-side webpage application page.
  • the adaptation process is a process corresponding to components in the PC-side webpage application page of the PC-side service system in the adaptation tool, including the correspondence of the components themselves and the correspondence relationship between the components.
  • FIG. 5 shows a correspondence between a PC-side webpage application page of a PC-side business system of a certain website and a mobile-side webpage application page.
  • the present invention provides a page adaptation process of a PC-side service system of a website, which mainly includes the following steps:
  • the browser in the mobile terminal can be adapted to correspond to the PC-side webpage application page according to the page structure data of the PC-side webpage application page to be converted and the preset matching rule, and is more suitable for the user. Operate and read the mobile web application page to improve the user experience.
  • the PC-side webpage application page of the mobile webpage application and the adapted mobile-side webpage applicationpage may be synchronously controlled at the front end of the page, In this way, the mobile webpage application page of the webpage application to be mobilized is synchronized with the data of the PC-side webpage application page.
  • the solution of the present invention is mainly the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and no API provided by the PC-side service system, and the web application to be mobileized can be realized.
  • the background business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, it is beneficial to reduce the cost and efficiency of the mobileization of the PC-side business system of the web application.

Abstract

A double-render-engine browser, and a PC end web page application page conversion method and apparatus. The method comprises: a double-render-engine browser in a mobile terminal parsing page structure data of a PC end web page application page of a web page application to be mobilized, and parsing out a page element and an attribute thereof (S201); for each page element, according to a matching rule corresponding to the attribute of the page element, matching a mobile end page element corresponding to the page element and an attribute thereof (S202); and according to all the matched mobile end page elements and the attributes thereof, constructing a mobile end web page application page (S203). By using the method and apparatus, the conversion of a PC end web page application page is completed at a page front end of a double-render-engine browser, and a mobile end web page application page obtained after conversion is displayed to a terminal user, thus reducing the mobilization cost and efficiency of a PC end service system of a web page application while improving the user experience.

Description

双渲染引擎浏览器、PC端网页应用页面转化方法和装置Dual rendering engine browser, PC-side webpage application page conversion method and device 技术领域Technical field
本发明涉及浏览器技术领域,具体而言,本发明涉及一种双渲染引擎浏览器、PC端网页应用页面转化方法和装置。The present invention relates to the field of browser technologies, and in particular, to a dual rendering engine browser, a PC-side webpage application page conversion method and apparatus.
背景技术Background technique
在移动办公的技术实现中,用于实现PC(Personal Computer,个人计算机)端网页应用的移动化转换是其中的重要技术之一。基于传统PC端办公系统的移动化过程是一种集成度较高、环境种类多样、多方密切协作开发的过程,可以实现单系统移动化,多系统移动化整合,最终达到适应于移动终端的展示交互效果。In the technical realization of mobile office, the mobile conversion for implementing PC (Personal Computer) web application is one of the important technologies. The mobilization process based on the traditional PC-based office system is a process with high integration, diverse environments, and coordinated development by multiple parties. It can realize single-system mobilization, multi-system mobile integration, and finally reach the display suitable for mobile terminals. Interaction effect.
近几年来,随着移动开发技术的快速发展,逐渐形成了web(万维网)、混合App(Application,应用)和原生App三种移动开发路线,并被广泛应用于办公、娱乐、日常生活等领域。从移动开发的技术效果来看,移动应用的发展经历了三个发展阶段:原生App开发迅速崛起、混合App逐渐普及、web的HTML(Hyper Text Markup Language,超文本标记语言)5开发比例的逐年上升。移动应用的发展过程是从C/S(Client/Server,客户端/服务器)架构逐渐向B/S(Browser/Server,浏览器/服务器)架构过渡的过程。而无论采用哪种技术路线,移动应用的最大问题在于系统间的数据调用及同步。目前较通用的传统做法是基于数据转换服务方式实现,通过在服务器端进行页面结构的抓取并进行存储转换及接口数据的格式化及调用交互过程。而在移动终端的呈现则是对PC端页面的重构及数据的重组,从而适应移动终端的呈现效果。移动终端的技术呈现效果相近,但是其也存在明显的缺点:成本太高,制约及提高了企业的移动化改造进 程;移动平台的碎片化,造成了更长的研发周期及调试过程;不同系统间的相对独立及不同技术制约,造成了很难进行多系统的移动化整合改造。In recent years, with the rapid development of mobile development technology, three mobile development routes of web (Web), hybrid App (Application) and native App have been formed, and are widely used in office, entertainment, daily life and other fields. . From the perspective of the technical effects of mobile development, the development of mobile applications has experienced three stages of development: the rapid rise of native app development, the gradual popularization of hybrid apps, and the development of web HTML (Hyper Text Markup Language) 5 rise. The development of mobile applications is a process of transitioning from a C/S (Client/Server, Client/Server) architecture to a B/S (Browser/Server, Browser/Server) architecture. Regardless of the technical route, the biggest problem with mobile applications is the data call and synchronization between systems. At present, the more common traditional method is implemented based on the data conversion service mode, by performing page structure capture on the server side and performing storage conversion and interface data formatting and calling interaction process. The presentation on the mobile terminal is the reconstruction of the PC-side page and the reorganization of the data, thereby adapting to the rendering effect of the mobile terminal. The technology of mobile terminals has similar effects, but it also has obvious shortcomings: the cost is too high, which restricts and improves the mobile transformation of enterprises. The fragmentation of the mobile platform has resulted in a longer development cycle and debugging process; the relative independence of different systems and different technical constraints have made it difficult to carry out multi-system mobile integration and transformation.
事实上,无论在PC端上还是移动终端上,用户都可以使用浏览器通过网络取得Web服务器上的文件以及其他信息。其中,浏览器是一种可以显示网页服务器或者文件系统的HTML文件内容,并让用户与这些文件交互的一种软件。浏览器一般由两部分组成:用户界面和浏览器内核,其中,用户界面主要用于与用户进行交互;浏览器内核作为浏览器的核心,决定了浏览器如何显示网页的内容以及页面的格式信息。不同的浏览器内核对网页编写语法的解释也有不同,因此同一网页在不同的内核的浏览器里的渲染(显示)效果也可能不同,这也是网页编写者需要在不同内核的浏览器中测试网页显示效果的原因。In fact, users can use the browser to obtain files and other information on the web server through the network, whether on the PC or on the mobile terminal. Among them, a browser is a kind of software that can display the contents of an HTML file of a web server or a file system and allow users to interact with these files. The browser generally consists of two parts: a user interface and a browser kernel. The user interface is mainly used to interact with the user; the browser kernel is the core of the browser, which determines how the browser displays the content of the web page and the format information of the page. . Different browser kernels have different interpretations of web page writing syntax, so the rendering (display) effect of the same web page in different kernel browsers may also be different, which is why web page writers need to test web pages in different kernel browsers. The reason for the effect.
近年来,随着HTML5技术在移动终端的不断发展,基于浏览器内核实现的混合应用、web应用实现也越来越多,但是基于移动系统原生浏览器内核实现的移动开发并没有脱离开基于服务器接口数据的调用及解决因浏览器内核的不同造成的不同浏览器间相互不兼容的问题。In recent years, with the continuous development of HTML5 technology in mobile terminals, hybrid applications and web applications based on browser kernels have been implemented more and more, but mobile development based on the mobile browser's native browser kernel has not been separated from the server. The call of interface data and the problem of incompatibility between different browsers caused by different browser kernels.
目前现有浏览器通常是基于单内核引擎技术原理实现网页应用的PC端业务系统的移动化适配。本发明的发明人发现,实际应用中,通过用单内核的浏览器在移动终端打开一个网页后所呈现的移动端网页应用页面与该网页在PC端上呈现的PC端网页应用页面一致,即用户在移动终端所看到的页面即是当前网页URL地址对应的单渲染效果页面。而事实上,由于移动终端与PC在屏幕尺寸、操作方式等方面的不同,若在移动终端显示与PC端网页应用页面一致的页面将会致使用户操作体验差。因此,有必要提供一种方法将网页应用的PC端网页应用页面转化为适用于移动终端操作的页面,提高用户体验。At present, existing browsers are usually based on the single-core engine technology principle to realize the mobile adaptation of the PC-side business system of the web application. The inventor of the present invention has found that, in an actual application, a mobile webpage application page presented by a web browser after a webpage is opened by a single-core browser is consistent with a PC-side webpage application page presented by the webpage on the PC side, that is, The page that the user sees on the mobile terminal is the single rendering effect page corresponding to the current webpage URL address. In fact, due to the difference in screen size and operation mode between the mobile terminal and the PC, if the page displayed on the mobile terminal consistent with the PC-side web application page is caused, the user experience is poor. Therefore, it is necessary to provide a method for converting a PC-side webpage application page of a webpage application into a page suitable for mobile terminal operation, thereby improving the user experience.
发明内容Summary of the invention
本发明针对现有技术存在的缺陷,提供了一种双渲染引擎浏览器、PC 端网页应用页面转化方法和装置,实现在浏览器的页面前端完成PC端网页应用页面到移动端网页应用页面的转化并向终端用户显示转化后的移动端网页应用页面,在提高用户体验的同时,有利于降低网页应用的PC端业务系统的移动化成本和效率。The present invention provides a dual rendering engine browser and a PC for the defects existing in the prior art. The web page application page conversion method and device realize the conversion of the PC webpage application page to the mobile webpage application page in the front end of the browser page and display the converted mobile webpage application page to the end user, thereby improving the user experience. It is beneficial to reduce the cost and efficiency of mobileization of the PC-side business system of web applications.
本发明提供了一种PC端网页应用页面转化方法,该方法包括:The invention provides a PC-side webpage application page conversion method, and the method comprises:
移动终端中的双渲染引擎浏览器解析待移动化的网页应用的PC端网页应用页面的页面结构数据,解析出所述PC端网页应用页面的页面元素及其属性;The dual rendering engine browser in the mobile terminal parses the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parses out the page elements of the PC-side webpage application page and their attributes;
针对所述PC端网页应用页面的每个页面元素,所述双渲染引擎浏览器根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;For each page element of the PC-side webpage application page, the dual-rendering engine browser matches the mobile-end page element corresponding to the page element and its attribute according to the matching rule corresponding to the attribute of the page element;
所述双渲染引擎浏览器根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。The dual rendering engine browser constructs a mobile web application page for displaying to the end user according to all the matched mobile page elements and their attributes.
较佳地,所述构建移动端网页应用页面之后,还包括:Preferably, after the constructing the mobile webpage application page, the method further includes:
对所述PC端网页应用页面和构建出的移动端网页应用页面进行同步控制。Synchronizing the PC-side webpage application page and the constructed mobile-side webpage application page.
较佳地,所述同步控制包括如下至少一种内容:Preferably, the synchronization control includes at least one of the following contents:
页面结构布局转换;Page structure layout conversion;
页面表单元素重构;Refactoring of page form elements;
页面表单数据同步;Page form data synchronization;
页面功能按钮状态同步;Page function button status synchronization;
页面跳转逻辑同步;Page jump logic synchronization;
文本选择输入状态同步。Text selection input state synchronization.
较佳地,所述移动终端中的双渲染引擎浏览器根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性,包括:Preferably, the dual rendering engine browser in the mobile terminal matches the mobile page element and its attribute corresponding to the page element according to the matching rule corresponding to the attribute of the page element, including:
所述双渲染引擎浏览器查询是否存在针对所述PC端网页应用页面所 预先定制的自定义匹配规则;The dual rendering engine browser queries whether there is a page for the PC-side web application Pre-customized custom matching rules;
若存在,则所述双渲染引擎浏览器根据页面元素的属性所对应的自定义匹配规则,匹配出该页面元素所对应的移动端网页应用页面元素及其属性;If yes, the dual-rendering engine browser matches the mobile-side webpage application page element and its attribute corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element;
否则所述双渲染引擎浏览器根据页面元素的属性所对应的标准匹配规则,匹配出该页面元素所对应的移动端网页应用页面元素及其属性。Otherwise, the dual rendering engine browser matches the mobile webpage application page element and its attribute corresponding to the page element according to the standard matching rule corresponding to the attribute of the page element.
较佳地,所述页面元素的属性具体包括:所述页面元素的身份标识ID、名称、坐标、位置、和/或元素特征。Preferably, the attributes of the page element specifically include: an identity ID, a name, a coordinate, a location, and/or an element feature of the page element.
基于上述PC端网页应用页面转化方法,本发明还提供了一种PC端网页应用页面转化装置,该装置包括:The present invention further provides a PC-side webpage application page conversion apparatus, which comprises:
网页解析模块,用于解析待移动化的网页应用的PC端网页应用页面的页面结构数据,解析出所述PC端网页应用页面的页面元素及其属性;a webpage parsing module, configured to parse the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parse the page element of the PC-side webpage application page and its attribute;
页面匹配模块,用于针对所述网页解析模块解析出的PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;a page matching module, configured to: for each page element of the PC-side webpage application page parsed by the webpage parsing module, matching the mobile-endpage element corresponding to the page element according to the matching rule corresponding to the attribute of the page element And its attributes;
页面转化模块,用于根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。The page conversion module is configured to construct a mobile webpage application page for displaying to the end user according to all the matched mobile page elements and their attributes.
较佳地,所述装置还包括:Preferably, the device further comprises:
页面同步模块,用于对所述PC端网页应用页面与所述页面转化模块构建出的移动端网页应用页面进行同步控制。The page synchronization module is configured to synchronously control the PC-side webpage application page and the mobile-side webpage application page constructed by the page conversion module.
较佳地,所述同步控制包括如下至少一种内容:Preferably, the synchronization control includes at least one of the following contents:
页面结构布局转换;Page structure layout conversion;
页面表单元素重构;Refactoring of page form elements;
页面表单数据同步;Page form data synchronization;
页面功能按钮状态同步;Page function button status synchronization;
页面跳转逻辑同步;Page jump logic synchronization;
文本选择输入状态同步。 Text selection input state synchronization.
较佳地,所述页面匹配模块具体包括:Preferably, the page matching module specifically includes:
规则查询单元,用于查询是否存在针对所述PC端网页应用页面所预先定制的自定义匹配规则,并输出查询结果;a rule query unit, configured to query whether there is a custom matching rule pre-customized for the PC-side webpage application page, and output a query result;
规则匹配单元,用于接收所述规则查询单元输出的查询结果;若所述查询结果为存在,则根据页面元素的属性所对应的自定义匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;若所述查询结果为不存在,则根据页面元素的属性所对应的标准匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。a rule matching unit, configured to receive a query result output by the rule query unit; if the query result is present, matching the mobile page corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element The element and its attribute; if the query result does not exist, the mobile page element corresponding to the page element and its attribute are matched according to the standard matching rule corresponding to the attribute of the page element.
本发明还提供了一种双渲染引擎浏览器,包括:The invention also provides a dual rendering engine browser, comprising:
第一引擎内核,用于根据待移动化的网页应用的PC端网页应用页面的页面结构数据和预设的匹配规则,构建与PC端网页应用页面对应的移动端网页应用页面;a first engine kernel, configured to build a mobile webpage application page corresponding to the PC-side webpage application page according to the page structure data of the PC-side webpage application page of the webpage application to be moved and the preset matching rule;
第二引擎内核,用于对所述PC端网页应用页面和构建出的移动端网页应用页面进行同步控制;a second engine kernel, configured to perform synchronous control on the PC-side webpage application page and the constructed mobile-webpage application page;
其中,所述第一引擎内核具体用于解析PC端网页应用页面的页面结构数据,解析出所述PC端网页应用页面的页面元素及其属性;针对所述PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。The first engine core is specifically configured to parse the page structure data of the PC-side webpage application page, parse the page element of the PC-side webpage application page and its attribute; and apply each page of the page to the PC-side webpage application page. The element matches the mobile page element and its attribute corresponding to the page element according to the matching rule corresponding to the attribute of the page element; and constructs to display to the end user according to all the matched mobile page elements and their attributes. Mobile web application page.
本发明技术方案中,移动终端中的双渲染引擎浏览器可以根据待转化的PC端网页应用页面的页面结构数据和预设的匹配规则,适配出与PC端网页应用页面对应的、更适用于用户操作和阅读的移动端网页应用页面,提高用户体验。In the technical solution of the present invention, the dual-rendering engine browser in the mobile terminal can be adapted to correspond to the PC-side webpage application page according to the page structure data of the PC-side webpage application page to be converted and the preset matching rule. Improve the user experience by using the mobile web application page that the user operates and reads.
进一步地,在完成PC端网页应用页面到移动端网页应用页面的转化之后,可以在页面前端对待移动化的网页应用的PC端网页应用页面和适配出的移动端网页应用页面进行同步控制,以此保障待移动化的网页应用 的移动端网页应用页面与PC端网页应用页面的数据同步。Further, after completing the conversion of the PC-side webpage application page to the mobile-side webpage application page, the PC-side webpage application page of the mobile webpage application and the adapted mobile-side webpage applicationpage may be synchronously controlled at the front end of the page, To protect the web application to be mobile The mobile web application page is synchronized with the data of the PC web application page.
实际应用中,本发明的方案主要是页面前端的操作,无需对待移动化的网页应用在PC端业务系统做任何修改,也无需PC端业务系统提供任何API,可实现对待移动化的网页应用的后台业务逻辑零依赖移动适配,保障待移动化的网页应用的数据安全性;而且,有利于降低网页应用的PC端业务系统的移动化成本和效率。In practical applications, the solution of the present invention is mainly the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and no API provided by the PC-side service system, and the web application to be mobileized can be realized. The background business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, it is beneficial to reduce the cost and efficiency of the mobileization of the PC-side business system of the web application.
本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。The additional aspects and advantages of the invention will be set forth in part in the description which follows.
附图说明DRAWINGS
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1为本发明实施例中双渲染浏览器的结构示意图;1 is a schematic structural diagram of a dual rendering browser according to an embodiment of the present invention;
图2a、2b均为本发明实施例中PC端网页应用页面转化方法的流程示意图;2a and 2b are schematic flowcharts of a PC-side webpage application page conversion method according to an embodiment of the present invention;
图3为本发明实施例中PC端网页应用页面转化装置的结构示意图;3 is a schematic structural diagram of a PC-side webpage application page conversion apparatus according to an embodiment of the present invention;
图4为本发明实施例中页面匹配模块的内部结构示意图;4 is a schematic diagram of an internal structure of a page matching module according to an embodiment of the present invention;
图5为本发明实施例中PC端网页应用页面与移动端网页应用页面的对应关系示意图;FIG. 5 is a schematic diagram of a correspondence between a PC-side webpage application page and a mobile-side webpage application page according to an embodiment of the present invention;
图6-11为本发明实施例中页面适配过程示意图。6-11 are schematic diagrams of a page adaptation process according to an embodiment of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式 “一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will appreciate that the singular forms used herein, unless specifically stated otherwise "A", "an", "the" and "the" are also meant to include the plural. It is to be understood that the phrase "comprise" or "an" Integers, steps, operations, components, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element. Further, "connected" or "coupled" as used herein may include either a wireless connection or a wireless coupling. The phrase "and/or" used herein includes all or any one and all combinations of one or more of the associated listed.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art will appreciate that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or excessive unless specifically defined as here. The formal meaning is explained.
本发明的发明人发现,传统浏览器的作用是根据程序人员定义的不同的网页的语法解释,展现出网页应用的前端展现效果。由于现有单内核的浏览器是直接解析程序代码语言,并不会因为是在移动终端中而为了适配移动终端的显示效果去重新解析匹配一遍程序。因此,现有通过用单内核的浏览器在移动终端打开一个网页后所呈现的移动端网页应用页面与该网页在PC端上呈现的PC端网页应用页面一致,即用户在移动终端所看到的页面是当前网页URL地址对应的单渲染效果页面。这样,基于移动终端与PC在屏幕尺寸、操作方式等方面的不同,会造成用户操作不便,降低用户体验。The inventors of the present invention have found that the role of the conventional browser is to display the front-end presentation effect of the web application according to the grammatical interpretation of different web pages defined by the programmer. Since the existing single-core browser directly parses the program code language, it does not re-parse and match the program in order to adapt the display effect of the mobile terminal in the mobile terminal. Therefore, the mobile webpage application page presented by the browser after opening a webpage in the mobile terminal by using a single-core browser is consistent with the PC-side webpage application page presented by the webpage on the PC side, that is, the user sees on the mobile terminal. The page is a single rendering effect page corresponding to the current web page URL address. In this way, based on the difference in screen size and operation mode between the mobile terminal and the PC, the user may be inconvenient to operate and reduce the user experience.
虽然,现有可以针对网页应用的PC端业务系统重新开发一套适用于移动终端操作的移动端网页应用页面,即将所有的业务逻辑全部重写部署在移动终端,并在两者之间通过数据库同步来进行数据传输。但这种方法需要针对不同的移动终端进行多次开发,开发成本高且效率低,而且需要改造业务系统接口,增大数据的安全风险。 Although, the existing PC-side business system for web application can re-develop a set of mobile web application pages suitable for mobile terminal operations, that is, all the business logics are rewritten and deployed on the mobile terminal, and the database is passed between the two. Synchronize for data transfer. However, this method requires multiple developments for different mobile terminals, and the development cost is high and the efficiency is low, and the business system interface needs to be modified to increase the security risk of data.
因此,本发明的发明人考虑,移动终端的浏览器在获取待移动化的网页应用的PC端网页应用页面的页面结构数据之后,可以在页面前端进行PC端网页应用页面的转化。具体地,可以根据预设的匹配规则,针对PC端网页应用页面的每个页面元素,匹配出该页面元素所对应的移动端页面元素及其属性后,根据匹配出的所有移动端页面元素及其属性,构建适用于移动终端操作的移动端网页应用页面,以此提高用户体验。而且,由于页面的转化是在页面前端的操作,无需对待移动化的网页应用在PC端业务系统做任何修改,也无需PC端业务系统提供任何API(Application Programming Interface,应用程序编程接口),可实现对待移动化的网页应用的后台业务逻辑零依赖移动适配,保障待移动化的网站的数据安全性;且有利于降低网站的PC端业务系统的移动化成本和效率。Therefore, the inventor of the present invention considers that the browser of the mobile terminal can perform the conversion of the PC-side webpage application page at the front end of the page after acquiring the page structure data of the PC-side webpage application page of the webpage application to be mobilized. Specifically, according to the preset matching rule, for each page element of the PC-side webpage application page, after matching the mobile-side page element and its attribute corresponding to the page element, all the mobile-end page elements according to the matching may be Its properties, build a mobile web application page for mobile terminal operations, in order to improve the user experience. Moreover, since the conversion of the page is the operation at the front end of the page, there is no need to make any modification to the mobile terminal web application in the PC-side business system, and there is no need for the PC-side business system to provide any API (Application Programming Interface). The background business logic of the web application to be mobile is zero-dependent mobile adaptation, which guarantees the data security of the website to be mobilized; and it is beneficial to reduce the mobilization cost and efficiency of the PC-side business system of the website.
进一步地,本发明的发明人考虑,可以在完成PC端网页应用页面到移动端网页应用页面的转化之后,在页面前端对待移动化的网页应用的PC端网页应用页面和适配出的移动端网页应用页面进行同步控制,以此保障待移动化的网页应用的移动端网页应用页面与PC端网页应用页面的数据同步。Further, the inventor of the present invention considers that, after completing the conversion of the PC-side webpage application page to the mobile-side webpage application page, the PC-side webpage application page and the adapted mobile terminal of the webpage application to be applied to the front-end of the page may be The webpage application page performs synchronization control to ensure that the mobile webpage application page of the webpage application to be mobilized is synchronized with the data of the PC-side webpage application page.
下面结合附图详细说明本发明的技术方案。The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.
本发明提供了一种双渲染引擎浏览器,该双渲染引擎浏览器处于移动终端,且如图1所示,可以包括:第一引擎内核101和第二引擎内核102。The present invention provides a dual rendering engine browser, which is located in a mobile terminal, and as shown in FIG. 1, may include: a first engine core 101 and a second engine core 102.
实际应用中,浏览器的第一引擎内核101和第二引擎内核102完全支持适配代码标识规范,以便达到较佳的兼容性和体验效果。In practical applications, the first engine core 101 and the second engine core 102 of the browser fully support the adaptation code identification specification in order to achieve better compatibility and experience.
本发明实施例中,第一引擎内核101用于根据待移动化的网页应用的PC端网页应用页面的页面结构数据和预设的匹配规则,构建与PC端网页应用页面对应的移动端网页应用页面。In the embodiment of the present invention, the first engine core 101 is configured to build a mobile webpage application corresponding to the PC-side webpage application page according to the page structure data of the PC-side webpage application page of the webpage application to be migrated and the preset matching rule. page.
实际应用中,待移动化的网页应用的PC端网页应用页面是指待移动化的网页应用的PC端业务系统的PC端网页应用页面。In a practical application, the PC-side web application page of the web application to be mobilized refers to the PC-side web application page of the PC-side business system of the web application to be mobilized.
具体地,第一引擎内核101可以解析待移动化的网页应用的PC端网 页应用页面的页面结构数据,解析出PC端网页应用页面的页面元素及其属性。Specifically, the first engine core 101 can parse the PC end network of the web application to be mobilized The page structure data of the page application page parses the page elements of the PC-side web application page and their attributes.
本发明实施例中,PC端网页应用页面的页面结构数据可以包括:基于网站的HTML文件生成的DOM(Document Object Model,文档对象模型)树、基于CSS(Cascading Style Sheets,层叠样式表)文件生成的样式表。这样,对PC端网页应用页面的页面结构数据进行解析后,可以得到PC端网页应用页面的页面元素及其属性。实际应用中,页面元素可以是文本数据、表格数据、下拉选择框、功能按钮等。页面元素的属性可以包括:页面元素的ID(Identification,身份标识)、名称、坐标、位置、和/或元素特征。In the embodiment of the present invention, the page structure data of the PC-side webpage application page may include: a DOM (Document Object Model) tree generated based on the HTML file of the website, and a CSS (Cascading Style Sheets) file generation. Style sheet. In this way, after parsing the page structure data of the PC-side webpage application page, the page element of the PC-side webpage application page and its attributes can be obtained. In practical applications, page elements can be text data, tabular data, drop-down selection boxes, function buttons, and the like. The attributes of the page element may include: an ID (Identification) of the page element, a name, a coordinate, a location, and/or an element feature.
为了渲染出更适用于移动终端操作的移动端网页应用页面,本发明提供的双渲染引擎浏览器中针对不同的页面元素的属性预先存储有对应的匹配规则。In order to render a mobile webpage application page that is more suitable for mobile terminal operation, the dual rendering engine browser provided by the present invention pre-stores corresponding matching rules for attributes of different page elements.
因此,本发明实施例中,在解析出PC端网页应用页面的页面元素及其属性之后,第一引擎内核101可以针对PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;并根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。Therefore, in the embodiment of the present invention, after parsing the page element of the page of the PC-side webpage application and its attribute, the first engine kernel 101 may apply to each page element of the page of the PC-side webpage application according to the attribute of the page element. The matching rule matches the mobile page element and its attribute corresponding to the page element; and constructs a mobile web application page for displaying to the end user according to all the matched mobile page elements and their attributes.
实际应用中,双渲染引擎浏览器的开发人员可以预先根据移动终端的设备参数和用户操作习惯来设置标准匹配规则。进一步地,待移动化的网页应用的开发人员也可以通过双渲染引擎浏览器的开发人员预先提供的适配工具,根据PC端业务系统的页面转化需求,针对该网页应用的PC端业务系统的PC端网页应用页面预先定制自定义匹配规则。In practical applications, developers of the dual rendering engine browser can set standard matching rules in advance according to the device parameters and user operating habits of the mobile terminal. Further, the developer of the web application to be mobilized can also use the adaptation tool provided by the developer of the dual rendering engine browser, according to the page conversion requirement of the PC-side business system, and the PC-side business system for the webpage application. The PC-side web application page pre-customizes custom matching rules.
本发明的方案中,由于双渲染引擎浏览器中预设的匹配规则是预先根据移动终端的设备参数和用户操作习惯、或是PC端业务系统的页面转化需求而设置的,因此,根据基于匹配规则匹配出的移动端页面元素构建的移动端网页应用页面,更适用于移动终端的用户操作和阅读,提高了用户 体验。In the solution of the present invention, since the matching rule preset in the dual rendering engine browser is set in advance according to the device parameters of the mobile terminal and the user operating habits, or the page conversion requirement of the PC-side service system, The mobile webpage application page constructed by the mobile terminal page element matched by the rule is more suitable for the user operation and reading of the mobile terminal, thereby improving the user. Experience.
更优地,本发明实施例中,在解析出PC端网页应用页面的页面元素及其属性之后,第一引擎内核101可以先查询双渲染引擎浏览器中是否存在针对PC端网页应用页面所预先定制的自定义匹配规则。More preferably, in the embodiment of the present invention, after parsing out the page elements of the PC-side webpage application page and their attributes, the first engine kernel 101 may first query whether the dual-rendering engine browser has a pre-page for the PC-side webpage application page. Customized custom matching rules.
若双渲染引擎浏览器中存在针对PC端网页应用页面所预先定制的自定义匹配规则,则第一引擎内核101可以针对解析出的PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的自定义匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。If there is a custom matching rule pre-customized for the PC-side webpage application page in the dual-rendering engine browser, the first engine kernel 101 may apply each page element of the page to the parsed PC-side webpage, according to the page element The custom matching rule corresponding to the attribute matches the mobile page element and its attribute corresponding to the page element.
若双渲染引擎浏览器中不存在针对PC端网页应用页面所预先定制的自定义匹配规则,则第一引擎内核101可以针对解析出的PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的标准匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。If there is no custom matching rule pre-customized for the PC-side webpage application page in the dual rendering engine browser, the first engine kernel 101 may apply each page element of the page to the parsed PC-side webpage, according to the page element. The standard matching rule corresponding to the attribute matches the mobile page element and its attribute corresponding to the page element.
本发明实施例中,为了保障待移动化的网页应用的移动端网页应用页面与PC端网页应用页面的数据同步,第二引擎内核102可以对待移动化的网页应用的PC端网页应用页面和第一引擎内核101构建出的移动端网页应用页面进行同步控制。In the embodiment of the present invention, in order to ensure data synchronization between the mobile webpage application page of the webpage application to be mobilized and the PC-side webpage application page, the second engine kernel 102 may apply the PC-side webpage application page of the webpage application to be mobileized. The mobile webpage application page constructed by an engine kernel 101 performs synchronous control.
本发明实施例中的同步控制可以包括如下至少一种内容:The synchronization control in the embodiment of the present invention may include at least one of the following contents:
页面结构布局转换;Page structure layout conversion;
页面表单元素重构;Refactoring of page form elements;
页面表单数据同步;Page form data synchronization;
页面功能按钮状态同步;Page function button status synchronization;
页面跳转逻辑同步;Page jump logic synchronization;
文本选择输入状态同步。Text selection input state synchronization.
实际应用中,上述同步控制是针对页面的呈现数据、功能按钮操作、页面流转而言。对文本数据、表格数据、下选择拉框状态、功能按钮操作等进行同步。而对于页面的滚动条、页面的特有展示效果等则可以不做同步,即只转化必要页面结构,只同步必要的数据功能操作,高效地同步最 有用的数据信息。In practical applications, the above synchronization control is for rendering data of a page, function button operation, and page flow. Synchronize text data, table data, lower selection frame status, function button operations, and the like. For the scroll bar of the page, the unique display effect of the page, etc., it is possible to not synchronize, that is, only convert the necessary page structure, only synchronize the necessary data function operations, and efficiently synchronize the most. Useful data information.
实际应用中,本发明的方案是页面前端的操作,无需对待移动化的网页应用在PC端业务系统做任何修改,也无需PC端业务系统提供任何API,可实现对待移动化的网页应用的后台业务逻辑零依赖移动适配,保障待移动化的网页应用的数据安全性;而且,相较于现有针对不同的移动终端进行多次开发,加快了PC端业务系统的移动化的开发效率,并减少了时间成本及人工成本,即有利于降低网页应用的PC端业务系统的移动化成本。In practical applications, the solution of the present invention is the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and without any API provided by the PC-side service system, and the background of the web application to be mobileized can be realized. The business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, compared with the existing multiple development for different mobile terminals, the development efficiency of the mobileization of the PC-side business system is accelerated. And reduce the time cost and labor cost, which is beneficial to reduce the mobile cost of the PC-side business system of the web application.
而且,本发明的方案中,页面转化及同步控制过程分别由两个不同的引擎内核来实现的,有利于加快网页应用的PC端业务系统的移动化效率的同时可以保障PC端业务系统的移动化过程的稳定性。Moreover, in the solution of the present invention, the page conversion and synchronization control process are respectively implemented by two different engine cores, which is beneficial to speeding up the mobileization efficiency of the PC-side service system of the webpage application while ensuring the movement of the PC-side service system. The stability of the process.
基于上述双渲染引擎浏览器,本发明还提供了一种PC端网页应用页面转化方法,其具体流程如图2a所示,可以包括如下步骤:The present invention further provides a PC-side webpage application page conversion method based on the dual-rendering engine browser. The specific process is as shown in FIG. 2a, and may include the following steps:
S201:移动终端中的双渲染引擎浏览器解析待移动化的网页应用的PC端网页应用页面的页面结构数据,解析出PC端网页应用页面的页面元素及其属性。S201: The dual rendering engine browser in the mobile terminal parses the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parses the page element of the PC-side webpage application page and its attribute.
具体地,移动终端中的双渲染引擎浏览器可以预先获取待移动化的网页应用的PC端网页应用页面的HTML文件、CSS文件等。之后,双渲染引擎浏览器可以对获取的文件进行解析得到待移动化的网页应用的PC端网页应用页面的页面结构数据。Specifically, the dual rendering engine browser in the mobile terminal may obtain an HTML file, a CSS file, and the like of the PC-side webpage application page of the webpage application to be mobilized in advance. After that, the dual rendering engine browser can parse the obtained file to obtain the page structure data of the PC-side webpage application page of the webpage application to be mobilized.
实际应用中,待移动化的网页应用的PC端网页应用页面是指待移动化的网页应用的PC端业务系统的PC端网页应用页面。而待移动化的网页应用的PC端网页应用页面的页面结构数据可以包括:基于网页应用的HTML文件生成的DOM树、基于CSS文件生成的样式表。In a practical application, the PC-side web application page of the web application to be mobilized refers to the PC-side web application page of the PC-side business system of the web application to be mobilized. The page structure data of the PC-side webpage application page of the webpage application to be mobilized may include: a DOM tree generated based on the HTML file of the webpage application, and a stylesheet generated based on the CSS file.
双渲染引擎浏览器获取的待移动化的网页应用的PC端网页应用页面的页面结构数据进行解析,以此解析出PC端网页应用页面的页面元素及其属性。实际应用中,页面元素可以是文本数据、表格数据、下拉选择框、功能按钮等。页面元素的属性可以包括:页面元素的ID(Identification, 身份标识)、名称、坐标、位置、和/或元素特征。The page structure data of the PC-side webpage application page of the webpage application to be mobilized obtained by the dual-rendering engine browser is parsed, thereby parsing the page elements of the PC-side webpage application page and their attributes. In practical applications, page elements can be text data, tabular data, drop-down selection boxes, function buttons, and the like. The attributes of the page element can include: the ID of the page element (Identification, Identity, name, coordinates, location, and/or element characteristics.
S202:针对PC端网页应用页面的每个页面元素,双渲染引擎浏览器根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。S202: For each page element of the PC-side webpage application page, the dual-rendering engine browser matches the mobile-side page element and its attribute corresponding to the page element according to the matching rule corresponding to the attribute of the page element.
本发明实施例中,为了渲染出更适用于移动终端操作的移动端网页应用页面,双渲染引擎浏览器中针对不同的页面元素的属性预先存储有对应的匹配规则。这样,双渲染引擎浏览器可以针对步骤S201解析出的PC端网页应用页面的每个页面元素,确定出该页面元素的属性所对应的匹配规则,并根据确定出的该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。其中,移动端页面元素的属性可以与该页面元素的属性一致。In the embodiment of the present invention, in order to render a mobile webpage application page more suitable for mobile terminal operation, corresponding attributes are pre-stored in the dual rendering engine browser for attributes of different page elements. In this way, the dual rendering engine browser can determine, for each page element of the PC-side webpage application page parsed in step S201, a matching rule corresponding to the attribute of the page element, and corresponding to the determined attribute of the page element. The matching rule matches the mobile page element and its attribute corresponding to the page element. The attribute of the mobile page element may be consistent with the attribute of the page element.
进一步地,考虑到实际应用中,不同的网页应用的PC业务系统对移动化的页面布局有自己的实际需求。因此,本发明的方案中,双渲染引擎浏览器中除了可以存储双渲染引擎浏览器的开发人员预先根据移动终端的设备参数和用户操作习惯来设置标准匹配规则,还可以进一步存储针对网页应用的PC业务系统的PC端网页应用页面预先定制的自定义匹配规则。其中,针对PC端网页应用页面预先定制自定义匹配规则可以由网页应用的开发人员通过双渲染引擎浏览器的开发人员预先提供的适配工具,根据PC端业务系统的页面转化需求进行设置。关于自定义匹配规则的设置将在后续详细介绍。Further, considering the actual application, the PC service system of different web applications has its own actual needs for the mobile page layout. Therefore, in the solution of the present invention, in addition to the developer that can store the dual rendering engine browser, the developer in the dual rendering engine browser sets the standard matching rule according to the device parameters and the user operation habits of the mobile terminal, and can further store the application for the webpage. Pre-customized custom matching rules for the PC-side web application page of the PC business system. The pre-customized custom matching rule for the PC-side webpage application page can be set by the webpage application developer through the adaptation tool provided by the developer of the dual-rendering engine browser according to the page conversion requirement of the PC-side business system. The settings for custom matching rules are described in detail later.
S203:双渲染引擎浏览器根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。S203: The dual rendering engine browser constructs a mobile webpage application page for displaying to the end user according to all the matched mobile page elements and their attributes.
具体地,双渲染引擎浏览器在通过步骤S202匹配出PC端网页应用页面的页面元素各自对应的移动端页面元素之后,可以根据各移动端页面元素的属性,渲染所有移动端页面元素,得到适用于移动终端操作的移动端网页应用页面,即用以向终端用户显示的移动端网页应用页面。Specifically, after the dual-rendering engine browser matches the mobile-side page elements corresponding to the page elements of the PC-side webpage application page in step S202, all the mobile-side page elements can be rendered according to the attributes of the mobile-side page elements, and the application is applied. The mobile webpage application page operated by the mobile terminal, that is, the mobile webpage application page for displaying to the terminal user.
本发明的方案中,由于双渲染引擎浏览器中预设的匹配规则是预先根 据移动终端的设备参数和用户操作习惯、或是PC端业务系统的页面转化需求而设置的,因此,根据基于匹配规则匹配出的移动端页面元素构建的移动端网页应用页面,更适用于移动终端的用户操作和阅读,提高了用户体验。In the solution of the present invention, the preset matching rule in the dual rendering engine browser is a pre-root According to the device parameters of the mobile terminal and the user operation habits, or the page conversion requirements of the PC-side business system, the mobile-side web application page constructed according to the mobile-page page elements matched based on the matching rule is more suitable for mobile The user operation and reading of the terminal improves the user experience.
依赖于对网页应用的PC端业务系统的改造所进行的移动化,易造成业务系统的瘫痪,系统耦合性高,易出现问题风险。而本发明的方案中,无需对网页应用的PC端业务系统做任何的修改,无需PC端业务系统提供任何的API(Application Programming Interface,应用程序编程接口)来实现对网页应用的移动化。这样,能够把网页应用的PC端业务系统的系统耦合性降到最低,而无需改动PC端业务系统后台逻辑,可以把风险降到最低。The mobilization that relies on the transformation of the PC-side business system for web applications is likely to cause flaws in the business system, high system coupling, and risk of problems. In the solution of the present invention, it is not necessary to make any modification to the PC-side service system of the webpage application, and the PC-side service system does not need to provide any API (Application Programming Interface) to realize the mobilization of the webpage application. In this way, the system coupling of the PC-side business system of the web application can be minimized without changing the background logic of the PC-side business system, and the risk can be minimized.
更优地,本发明实施例中为了保障待移动化的网页应用的移动端网页应用页面与PC端网页应用页面的数据同步,如图2b所示,上述PC端网页应用页面转化方法还可以包括如下步骤:More preferably, in the embodiment of the present invention, in order to ensure data synchronization between the mobile webpage application page and the PC-side webpage application page of the webpage application to be mobilized, as shown in FIG. 2b, the PC-side webpage application page conversion method may further include The following steps:
S204:对待移动化的网页应用的PC端网页应用页面和构建出的移动端网页应用页面进行同步控制。S204: Synchronize the PC-side webpage application page of the mobile webpage application and the constructed mobile webpage application page.
其中,本发明实施例中的同步控制可以包括如下至少一种内容:The synchronization control in the embodiment of the present invention may include at least one of the following contents:
页面结构布局转换;Page structure layout conversion;
页面表单元素重构;Refactoring of page form elements;
页面表单数据同步;Page form data synchronization;
页面功能按钮状态同步;Page function button status synchronization;
页面跳转逻辑同步;Page jump logic synchronization;
文本选择输入状态同步。Text selection input state synchronization.
实际应用中,上述同步控制是针对页面的呈现数据、功能按钮操作、页面流转而言。对文本数据、表格数据、下选择拉框状态、功能按钮操作等进行同步。而对于页面的滚动条、页面的特有展示效果等则可以不做同步,即只转化必要页面结构,只同步必要的数据功能操作,高效地同步最 有用的数据信息。In practical applications, the above synchronization control is for rendering data of a page, function button operation, and page flow. Synchronize text data, table data, lower selection frame status, function button operations, and the like. For the scroll bar of the page, the unique display effect of the page, etc., it is possible to not synchronize, that is, only convert the necessary page structure, only synchronize the necessary data function operations, and efficiently synchronize the most. Useful data information.
实际应用中,本发明的方案是页面前端的操作,无需对待移动化的网页应用在PC端业务系统做任何修改,也无需PC端业务系统提供任何API,可实现对待移动化的网页应用的后台业务逻辑零依赖移动适配,保障待移动化的网页应用的数据安全性;而且,相较于现有针对不同的移动终端进行多次开发,加快了PC端业务系统的移动化的开发效率,并减少了时间成本及人工成本,即有利于降低网页应用的PC端业务系统的移动化成本。In practical applications, the solution of the present invention is the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and without any API provided by the PC-side service system, and the background of the web application to be mobileized can be realized. The business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, compared with the existing multiple development for different mobile terminals, the development efficiency of the mobileization of the PC-side business system is accelerated. And reduce the time cost and labor cost, which is beneficial to reduce the mobile cost of the PC-side business system of the web application.
而且,本发明的方案中,页面转化及同步控制过程分别由两个不同的引擎内核来实现的,有利于加快网页应用的PC端业务系统的移动化效率的同时可以保障PC端业务系统的移动化过程的稳定性。Moreover, in the solution of the present invention, the page conversion and synchronization control process are respectively implemented by two different engine cores, which is beneficial to speeding up the mobileization efficiency of the PC-side service system of the webpage application while ensuring the movement of the PC-side service system. The stability of the process.
基于上述PC端网页应用页面转化方法,本发明还提供了一种PC端网页应用页面转化装置,如图3所示,该装置可以包括:网页解析模块301、页面匹配模块302、页面转化模块303。The present invention further provides a PC-side webpage application page conversion device. The device may include a webpage parsing module 301, a page matching module 302, and a page conversion module 303. .
实际应用中,本发明实施例提供的PC端网页应用页面的转化装置可以设置于移动终端中的双渲染引擎浏览器中。或者该装置也可以设置于移动终端中独立于双渲染引擎浏览器的位置。这样,双渲染引擎浏览器可以通过调用该装置来实现网页应用的PC端网页应用页面的转化及转化后得到的移动端网页应用页面的显示。In a practical application, the device for converting a PC-side webpage application page provided by the embodiment of the present invention may be disposed in a dual-rendering engine browser in the mobile terminal. Alternatively, the device can be placed in a location in the mobile terminal that is independent of the dual rendering engine browser. In this way, the dual rendering engine browser can implement the display of the mobile webpage application page obtained by converting and converting the PC-side webpage application page of the webpage application by calling the device.
本发明实施例中,网页解析模块301用于解析待移动化的网页应用的PC端网页应用页面的页面结构数据,解析出PC端网页应用页面的页面元素及其属性。In the embodiment of the present invention, the webpage parsing module 301 is configured to parse the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parse the page element of the PC-side webpage application page and its attributes.
其中,待移动化的网页应用的PC端网页应用页面是指待移动化的网页应用的PC端业务系统的PC端网页应用页面。PC端网页应用页面的页面结构数据可以包括:基于网站的HTML文件生成的DOM(Document Object Model,文档对象模型)树、基于CSS(Cascading Style Sheets,层叠样式表)文件生成的样式表。页面元素可以是文本数据、表格数据、下拉选择框、功能按钮等。页面元素的属性可以包括:页面元素的ID (Identification,身份标识)、名称、坐标、位置、和/或元素特征。The PC-side webpage application page of the webpage application to be mobilized refers to the PC-side webpage application page of the PC-side service system of the webpage application to be mobilized. The page structure data of the PC-side webpage application page may include: a DOM (Document Object Model) tree generated based on the HTML file of the website, and a style sheet generated based on a CSS (Cascading Style Sheets) file. The page elements can be text data, tabular data, drop down selection boxes, function buttons, and the like. The attributes of the page element can include: the ID of the page element (Identification), name, coordinates, location, and/or element characteristics.
页面匹配模块302用于针对网页解析模块301解析出的PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。The page matching module 302 is configured to match each page element of the PC-side webpage application page parsed by the webpage parsing module 301, and match the mobile-endpage element corresponding to the page element according to the matching rule corresponding to the attribute of the page element. Its properties.
其中,匹配规则是移动终端中预先设置的,针对不同的页面元素的属性预先设置有对应的匹配规则。实际应用中,双渲染引擎浏览器的开发人员可以预先根据移动终端的设备参数和用户操作习惯来设置标准匹配规则。进一步地,待移动化的网页应用的开发人员也可以通过浏览器的开发人员预先提供的适配工具,根据PC端业务系统的页面转化需求,针对该网页应用的PC端业务系统的PC端网页应用页面预先定制自定义匹配规则。The matching rule is preset in the mobile terminal, and corresponding matching rules are preset for attributes of different page elements. In practical applications, developers of the dual rendering engine browser can set standard matching rules in advance according to the device parameters and user operating habits of the mobile terminal. Further, the developer of the web application to be mobilized can also use the adaptation tool provided by the browser developer in advance, according to the page conversion requirement of the PC-side business system, and the PC-side webpage of the PC-side business system applied to the webpage application. The application page pre-customizes custom matching rules.
这样,页面匹配模块302具体用于查询是否存在针对PC端网页应用页面所预先定制的自定义匹配规则。若存在针对PC端网页应用页面所预先定制的自定义匹配规则,则针对解析出的PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的自定义匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。In this way, the page matching module 302 is specifically configured to query whether there is a custom matching rule pre-customized for the PC-side webpage application page. If there is a custom matching rule pre-customized for the PC-side webpage application page, each page element of the parsed PC-side webpage application page is matched according to the custom matching rule corresponding to the attribute of the page element. The mobile page element and its attributes corresponding to the page element.
若不存在针对PC端网页应用页面所预先定制的自定义匹配规则,则针对解析出的PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的标准匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。If there is no custom matching rule pre-customized for the PC-side webpage application page, each page element of the parsed PC-side webpage application page is matched according to the standard matching rule corresponding to the attribute of the page element. The mobile page element and its attributes corresponding to the page element.
本发明实施例中,页面转化模块303用于根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。In the embodiment of the present invention, the page conversion module 303 is configured to construct a mobile webpage application page for displaying to the terminal user according to all the matched mobile page elements and their attributes.
本发明的方案中,由于双渲染引擎浏览器中预设的匹配规则是预先根据移动终端的设备参数和用户操作习惯、或是PC端业务系统的页面转化需求而设置的,因此,根据基于匹配规则匹配出的移动端页面元素构建的移动端网页应用页面,更适用于移动终端的用户操作和阅读,提高了用户体验。 In the solution of the present invention, since the matching rule preset in the dual rendering engine browser is set in advance according to the device parameters of the mobile terminal and the user operating habits, or the page conversion requirement of the PC-side service system, The mobile webpage application page constructed by the rule-matched mobile page element is more suitable for the user operation and reading of the mobile terminal, thereby improving the user experience.
进一步地,为了保障待移动化的网页应用的移动端网页应用页面与PC端网页应用页面的数据同步,本发明提供的PC端网页应用页面转化装置还可以包括:页面同步模块304。Further, the PC-side webpage application page conversion apparatus provided by the present invention may further include: a page synchronization module 304, in order to ensure that the mobile-side webpage application page of the webpage application to be mobilized is synchronized with the data of the PC-side webpage application page.
页面同步模块304用于对网页应用的PC端网页应用页面与页面转化模块303构建出的移动端网页应用页面进行同步控制。The page synchronization module 304 is configured to perform synchronous control on the PC-side webpage application page of the webpage application and the mobile-side webpage applicationpage constructed by the page conversion module 303.
其中,同步控制包括如下至少一种内容:The synchronization control includes at least one of the following contents:
页面结构布局转换;Page structure layout conversion;
页面表单元素重构;Refactoring of page form elements;
页面表单数据同步;Page form data synchronization;
页面功能按钮状态同步;Page function button status synchronization;
页面跳转逻辑同步;Page jump logic synchronization;
文本选择输入状态同步。Text selection input state synchronization.
本发明实施例中,如图4所示,页面匹配模块302具体包括:规则查询单元401和规则匹配单元402。In the embodiment of the present invention, as shown in FIG. 4, the page matching module 302 specifically includes: a rule query unit 401 and a rule matching unit 402.
规则查询单元401用于查询是否存在针对PC端网页应用页面所预先定制的自定义匹配规则,并输出查询结果。The rule query unit 401 is configured to query whether there is a custom matching rule pre-customized for the PC-side webpage application page, and output the query result.
规则匹配单元402用于接收规则查询单元401输出的查询结果;若查询结果为存在,则根据页面元素的属性所对应的自定义匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;若查询结果为不存在,则根据页面元素的属性所对应的标准匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。The rule matching unit 402 is configured to receive the query result output by the rule query unit 401; if the query result is exist, match the mobile page element corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element and Attribute; if the query result does not exist, the mobile page element corresponding to the page element and its attribute are matched according to the standard matching rule corresponding to the attribute of the page element.
本发明的技术方案中,PC端网页应用页面转化装置中的各模块、以及各模块下的各单元的具体功能实现,可以参照上述PC端网页应用页面转化方法的具体步骤,在此不再详述。In the technical solution of the present invention, the specific functions of each module in the PC-side webpage application page conversion device and each unit under each module may refer to the specific steps of the PC-side webpage application page conversion method, and the details are not detailed here. Said.
关于上述PC端网页应用页面转化方法中提及的自定义匹配规则的设置,可以通过双渲染引擎浏览器的开发人员预先提供的适配工具来进行设置。例如,Enterplorer studio适配工具。 The setting of the custom matching rule mentioned in the above PC-side webpage application page conversion method can be set by an adaptation tool provided by a developer of the dual-rendering engine browser. For example, the Enterplorer studio adaptation tool.
实际应用中,Enterplorer studio适配工具具有如下特色:1、丰富的UI组件库,用户无需过多的设计及自定义组件。2、集成可视化移动端模拟器,无需额外硬件设备即可测试适配效果。3、采用无编程的开发方式。用户无需编写代码。通过对组件“托拉拽”的操作即可完成适配。4、适配界面与原有业务系统界面同步同屏显示,实现了“实时同步,所见即所得”的开发体验效果。In practical applications, the Enterplorer studio adaptation tool has the following features: 1. Rich UI component library, users do not need too much design and custom components. 2, integrated visual mobile emulator, test the adaptation effect without additional hardware equipment. 3. Adopt a programming method without programming. Users do not need to write code. The adaptation can be done by the operation of the component "tolerance". 4. The adaptation interface and the original business system interface are synchronized with the same screen display, realizing the development experience effect of “real-time synchronization, WYSIWYG”.
Enterplorer studio适配工具主要是通过封装好的标准组件及自定义组件来进行对网页应用的PC端业务系统的移动适配开发,通过组件来对网站的PC端业务系统的PC端网页应用页面中常用表单元素进行重新定义及处理,来达到移动终端的适配呈现效果。在确定自定义适配好的移动端网页应用页面后,即可保存从PC端业务系统的PC端网页应用页面到适配好的移动端网页应用页面的页面适配方案,以便后续可以基于该页面适配方案提取出PC端网页应用页面的页面元素与移动端网页应用页面的移动端页面元素之间的自定义匹配规则。The Enterplorer studio adapting tool mainly uses the packaged standard components and custom components to carry out the mobile adaptation development of the PC-side business system of the web application, and the component is used to apply to the PC-side webpage application page of the PC-side business system of the website. The common form elements are redefined and processed to achieve the adaptive rendering effect of the mobile terminal. After determining the customized mobile webpage application page, the page adaptation scheme from the PC-side webpage application page of the PC-side service system to the adapted mobile-side webpage application page may be saved, so that the subsequent The page adaptation scheme extracts a custom matching rule between the page element of the PC-side webpage application page and the mobile-side page element of the mobile-side webpage application page.
实际应用中,适配的过程是适配工具中适配组件与PC端业务系统的PC端网页应用页面中的组件对应的过程,其中包括组件本身的对应及相互间映射关系的对应。图5示出了某一网站的PC端业务系统的PC端网页应用页面与移动端网页应用页面的对应关系。In an actual application, the adaptation process is a process corresponding to components in the PC-side webpage application page of the PC-side service system in the adaptation tool, including the correspondence of the components themselves and the correspondence relationship between the components. FIG. 5 shows a correspondence between a PC-side webpage application page of a PC-side business system of a certain website and a mobile-side webpage application page.
如图6、7、8、9、10、11所示,本发明提供了某一网站的PC端业务系统的页面适配过程,主要包括如下步骤:As shown in FIG. 6, 7, 8, 9, 10, and 11, the present invention provides a page adaptation process of a PC-side service system of a website, which mainly includes the following steps:
(1)选择或新建一个工程项目,如图6所示。(1) Select or create a new project, as shown in Figure 6.
(2)填写完必要的信息后点击“下一步”按钮,进入“选择适配方案”,如图7所示。(2) After completing the necessary information, click the “Next” button to enter the “Select Adaptation Scheme”, as shown in Figure 7.
(3)适配页面之前选择“新建适配方案”或“打开已有方案”,如图8、9所示。其中,关于打开已有方案:可以载入之前适配好的页面方案,进行重新修改适配,如图10所示。(3) Select “New Adaptation Plan” or “Open Existing Plan” before adapting the page, as shown in Figures 8 and 9. Among them, regarding the opening of the existing scheme: the previously adapted page scheme can be loaded, and the adaptation is re-modified, as shown in FIG.
(4)根据工具提供好的组件进行设计开发和预览,如图11所示。 (4) Design development and preview according to the components provided by the tool, as shown in Figure 11.
本发明的技术方案中,移动终端中的浏览器可以根据待转化的PC端网页应用页面的页面结构数据和预设的匹配规则,适配出与PC端网页应用页面对应的、更适用于用户操作和阅读的移动端网页应用页面,提高用户体验。In the technical solution of the present invention, the browser in the mobile terminal can be adapted to correspond to the PC-side webpage application page according to the page structure data of the PC-side webpage application page to be converted and the preset matching rule, and is more suitable for the user. Operate and read the mobile web application page to improve the user experience.
进一步地,在完成PC端网页应用页面到移动端网页应用页面的转化之后,可以在页面前端对待移动化的网页应用的PC端网页应用页面和适配出的移动端网页应用页面进行同步控制,以此保障待移动化的网页应用的移动端网页应用页面与PC端网页应用页面的数据同步。Further, after completing the conversion of the PC-side webpage application page to the mobile-side webpage application page, the PC-side webpage application page of the mobile webpage application and the adapted mobile-side webpage applicationpage may be synchronously controlled at the front end of the page, In this way, the mobile webpage application page of the webpage application to be mobilized is synchronized with the data of the PC-side webpage application page.
实际应用中,本发明的方案主要是页面前端的操作,无需对待移动化的网页应用在PC端业务系统做任何修改,也无需PC端业务系统提供任何API,可实现对待移动化的网页应用的后台业务逻辑零依赖移动适配,保障待移动化的网页应用的数据安全性;而且,有利于降低网页应用的PC端业务系统的移动化成本和效率。In practical applications, the solution of the present invention is mainly the operation of the front end of the page, without any modification of the web application applied to the mobile terminal, and no API provided by the PC-side service system, and the web application to be mobileized can be realized. The background business logic zero-dependent mobile adaptation guarantees the data security of the web application to be mobilized; moreover, it is beneficial to reduce the cost and efficiency of the mobileization of the PC-side business system of the web application.
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is only a part of the embodiments of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (10)

  1. 一种PC端网页应用页面转化方法,其特征在于,包括:A PC-side webpage application page conversion method, comprising:
    移动终端中的双渲染引擎浏览器解析待移动化的网页应用的PC端网页应用页面的页面结构数据,解析出所述PC端网页应用页面的页面元素及其属性;The dual rendering engine browser in the mobile terminal parses the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parses out the page elements of the PC-side webpage application page and their attributes;
    针对所述PC端网页应用页面的每个页面元素,所述双渲染引擎浏览器根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;For each page element of the PC-side webpage application page, the dual-rendering engine browser matches the mobile-end page element corresponding to the page element and its attribute according to the matching rule corresponding to the attribute of the page element;
    所述双渲染引擎浏览器根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。The dual rendering engine browser constructs a mobile web application page for displaying to the end user according to all the matched mobile page elements and their attributes.
  2. 根据权利要求1所述的方法,其特征在于,所述构建移动端网页应用页面之后,还包括:The method according to claim 1, wherein after the constructing the mobile webpage application page, the method further comprises:
    对所述PC端网页应用页面和构建出的移动端网页应用页面进行同步控制。Synchronizing the PC-side webpage application page and the constructed mobile-side webpage application page.
  3. 根据权利要求2所述的方法,其特征在于,所述同步控制包括如下至少一种内容:The method of claim 2 wherein said synchronizing control comprises at least one of:
    页面结构布局转换;Page structure layout conversion;
    页面表单元素重构;Refactoring of page form elements;
    页面表单数据同步;Page form data synchronization;
    页面功能按钮状态同步;Page function button status synchronization;
    页面跳转逻辑同步;Page jump logic synchronization;
    文本选择输入状态同步。Text selection input state synchronization.
  4. 根据权利要求1所述的方法,其特征在于,所述移动终端中的双 渲染引擎浏览器根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性,包括:The method of claim 1 wherein said pair of mobile terminals The rendering engine browser matches the mobile page element and its attributes corresponding to the page element according to the matching rule corresponding to the attribute of the page element, including:
    所述双渲染引擎浏览器查询是否存在针对所述PC端网页应用页面所预先定制的自定义匹配规则;The dual rendering engine browser queries whether there is a custom matching rule pre-customized for the PC-side webpage application page;
    若存在,则所述双渲染引擎浏览器根据页面元素的属性所对应的自定义匹配规则,匹配出该页面元素所对应的移动端网页应用页面元素及其属性;If yes, the dual-rendering engine browser matches the mobile-side webpage application page element and its attribute corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element;
    否则所述双渲染引擎浏览器根据页面元素的属性所对应的标准匹配规则,匹配出该页面元素所对应的移动端网页应用页面元素及其属性。Otherwise, the dual rendering engine browser matches the mobile webpage application page element and its attribute corresponding to the page element according to the standard matching rule corresponding to the attribute of the page element.
  5. 根据权利要求1-4任一所述的方法,其特征在于,所述页面元素的属性具体包括:所述页面元素的身份标识ID、名称、坐标、位置、和/或元素特征。The method according to any one of claims 1-4, wherein the attribute of the page element specifically comprises: an identity ID, a name, a coordinate, a location, and/or an element feature of the page element.
  6. 一种PC端网页应用页面转化装置,其特征在于,包括:A PC-side webpage application page conversion device, comprising:
    网页解析模块,用于解析待移动化的网页应用的PC端网页应用页面的页面结构数据,解析出所述PC端网页应用页面的页面元素及其属性;a webpage parsing module, configured to parse the page structure data of the PC-side webpage application page of the webpage application to be mobilized, and parse the page element of the PC-side webpage application page and its attribute;
    页面匹配模块,用于针对所述网页解析模块解析出的PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;a page matching module, configured to: for each page element of the PC-side webpage application page parsed by the webpage parsing module, matching the mobile-endpage element corresponding to the page element according to the matching rule corresponding to the attribute of the page element And its attributes;
    页面转化模块,用于根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。The page conversion module is configured to construct a mobile webpage application page for displaying to the end user according to all the matched mobile page elements and their attributes.
  7. 根据权利要求6所述的装置,其特征在于,还包括:The device according to claim 6, further comprising:
    页面同步模块,用于对所述PC端网页应用页面与所述页面转化模块构建出的移动端网页应用页面进行同步控制。 The page synchronization module is configured to synchronously control the PC-side webpage application page and the mobile-side webpage application page constructed by the page conversion module.
  8. 根据权利要求7所述的装置,其特征在于,所述同步控制包括如下至少一种内容:The apparatus according to claim 7, wherein said synchronization control comprises at least one of the following:
    页面结构布局转换;Page structure layout conversion;
    页面表单元素重构;Refactoring of page form elements;
    页面表单数据同步;Page form data synchronization;
    页面功能按钮状态同步;Page function button status synchronization;
    页面跳转逻辑同步;Page jump logic synchronization;
    文本选择输入状态同步。Text selection input state synchronization.
  9. 根据权利要求6所述的装置,其特征在于,所述页面匹配模块具体包括:The device according to claim 6, wherein the page matching module specifically comprises:
    规则查询单元,用于查询是否存在针对所述PC端网页应用页面所预先定制的自定义匹配规则,并输出查询结果;a rule query unit, configured to query whether there is a custom matching rule pre-customized for the PC-side webpage application page, and output a query result;
    规则匹配单元,用于接收所述规则查询单元输出的查询结果;若所述查询结果为存在,则根据页面元素的属性所对应的自定义匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;若所述查询结果为不存在,则根据页面元素的属性所对应的标准匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性。a rule matching unit, configured to receive a query result output by the rule query unit; if the query result is present, matching the mobile page corresponding to the page element according to the custom matching rule corresponding to the attribute of the page element The element and its attribute; if the query result does not exist, the mobile page element corresponding to the page element and its attribute are matched according to the standard matching rule corresponding to the attribute of the page element.
  10. 一种双渲染引擎浏览器,其特征在于,包括:A dual rendering engine browser, comprising:
    第一引擎内核,用于根据待移动化的网页应用的PC端网页应用页面的页面结构数据和预设的匹配规则,构建与PC端网页应用页面对应的移动端网页应用页面;a first engine kernel, configured to build a mobile webpage application page corresponding to the PC-side webpage application page according to the page structure data of the PC-side webpage application page of the webpage application to be moved and the preset matching rule;
    第二引擎内核,用于对所述PC端网页应用页面和构建出的移动端网页应用页面进行同步控制;a second engine kernel, configured to perform synchronous control on the PC-side webpage application page and the constructed mobile-webpage application page;
    其中,所述第一引擎内核具体用于解析PC端网页应用页面的页面结构数据,解析出所述PC端网页应用页面的页面元素及其属性;针对所述 PC端网页应用页面的每个页面元素,根据该页面元素的属性所对应的匹配规则,匹配出该页面元素所对应的移动端页面元素及其属性;根据匹配出的所有移动端页面元素及其属性,构建用以向终端用户显示的移动端网页应用页面。 The first engine core is specifically configured to parse the page structure data of the PC-side webpage application page, and parse the page element of the PC-side webpage application page and its attribute; Each page element of the PC-side webpage application page matches the mobile-end page element and its attribute corresponding to the page element according to the matching rule corresponding to the attribute of the page element; according to all the mobile-end page elements and their matching Attributes, building a mobile web application page for display to end users.
PCT/CN2016/074295 2016-02-22 2016-02-22 Double-render-engine browser, and pc end web page application page conversion method and apparatus WO2017143498A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/074295 WO2017143498A1 (en) 2016-02-22 2016-02-22 Double-render-engine browser, and pc end web page application page conversion method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/074295 WO2017143498A1 (en) 2016-02-22 2016-02-22 Double-render-engine browser, and pc end web page application page conversion method and apparatus

Publications (1)

Publication Number Publication Date
WO2017143498A1 true WO2017143498A1 (en) 2017-08-31

Family

ID=59685904

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074295 WO2017143498A1 (en) 2016-02-22 2016-02-22 Double-render-engine browser, and pc end web page application page conversion method and apparatus

Country Status (1)

Country Link
WO (1) WO2017143498A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111931470A (en) * 2020-08-11 2020-11-13 上海亿锎智能科技有限公司 Implementation method and device of subject payment system for drug tests in clinical research
CN112631580A (en) * 2019-09-24 2021-04-09 阿里巴巴集团控股有限公司 Data processing method and device and computing equipment
CN113050921A (en) * 2019-12-26 2021-06-29 中国移动通信集团江西有限公司 Webpage conversion method, device, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815093A (en) * 2010-03-11 2010-08-25 深圳市嘉讯软件有限公司 Method for adapting webpage to mobile terminal and mobile terminal page adaptation device
CN103324684A (en) * 2013-05-31 2013-09-25 贝壳网际(北京)安全技术有限公司 Control method and device for browser kernel in mobile terminal and mobile terminal
CN105095449A (en) * 2015-07-27 2015-11-25 福州盈展信息技术有限公司 Method for converting HTML webpage to mobile terminal page
CN105138542A (en) * 2015-07-09 2015-12-09 北京天河石科技有限责任公司 Method for converting PC terminal WEB webpage into mobile terminal WEB webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815093A (en) * 2010-03-11 2010-08-25 深圳市嘉讯软件有限公司 Method for adapting webpage to mobile terminal and mobile terminal page adaptation device
CN103324684A (en) * 2013-05-31 2013-09-25 贝壳网际(北京)安全技术有限公司 Control method and device for browser kernel in mobile terminal and mobile terminal
CN105138542A (en) * 2015-07-09 2015-12-09 北京天河石科技有限责任公司 Method for converting PC terminal WEB webpage into mobile terminal WEB webpage
CN105095449A (en) * 2015-07-27 2015-11-25 福州盈展信息技术有限公司 Method for converting HTML webpage to mobile terminal page

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631580A (en) * 2019-09-24 2021-04-09 阿里巴巴集团控股有限公司 Data processing method and device and computing equipment
CN113050921A (en) * 2019-12-26 2021-06-29 中国移动通信集团江西有限公司 Webpage conversion method, device, storage medium and computer equipment
CN111931470A (en) * 2020-08-11 2020-11-13 上海亿锎智能科技有限公司 Implementation method and device of subject payment system for drug tests in clinical research

Similar Documents

Publication Publication Date Title
US10489125B2 (en) Systems and methods for programming mobile devices
JP6748071B2 (en) Web content generation method and system
WO2017133447A1 (en) Intelligent device control method and apparatus, and computer storage medium
WO2017028611A1 (en) Form implementation method and apparatus
US20150254211A1 (en) Interactive data manipulation using examples and natural language
EP2938044A1 (en) System, method, apparatus, and server for displaying network medium information
US20110225520A1 (en) Website browsing system and server
US20140013211A1 (en) Content providing apparatus compatible with various terminal devices
GB2423387A (en) Application-Generic Sequence Diagram Generator Driven by a Non-Proprietary Language
WO2017143498A1 (en) Double-render-engine browser, and pc end web page application page conversion method and apparatus
WO2016187969A1 (en) Browser applied to pos terminal
Roudaki et al. A classification of web browsing on mobile devices
CN111324390A (en) Device and method for realizing APP content configuration and real-time update
CN112269576A (en) Component display method and device, server and storage medium
CN104731815A (en) Webpage element drawing method and device
CN103914293B (en) Generate the method and server of the page
CN114820881A (en) Picture generation method, intelligent terminal and computer readable storage medium thereof
CN104216868B (en) A kind of adaptation method and device of document display format
Moon et al. Advanced responsive web framework based on MPEG-21
JP6664536B1 (en) Web form input support system
JP2003036223A (en) Markup document conversion method
JP2014199476A (en) Machine translation device, machine translation method and program
KR101262493B1 (en) System and method for providing framework with user experience characteristics based on web
WO2022022554A1 (en) Text display method, compilation method and related device
Chernomordov et al. Development of the Module «Version the Visually Impaired» for the Websites of Organizations

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16890952

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16890952

Country of ref document: EP

Kind code of ref document: A1