CN112181536B - HTML program integration method suitable for self-service terminal equipment - Google Patents

HTML program integration method suitable for self-service terminal equipment Download PDF

Info

Publication number
CN112181536B
CN112181536B CN202011021372.4A CN202011021372A CN112181536B CN 112181536 B CN112181536 B CN 112181536B CN 202011021372 A CN202011021372 A CN 202011021372A CN 112181536 B CN112181536 B CN 112181536B
Authority
CN
China
Prior art keywords
program
browser
self
service terminal
html
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011021372.4A
Other languages
Chinese (zh)
Other versions
CN112181536A (en
Inventor
乔国凯
向俊光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Technology Co Ltd
Original Assignee
Inspur Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Technology Co Ltd filed Critical Inspur Software Technology Co Ltd
Priority to CN202011021372.4A priority Critical patent/CN112181536B/en
Publication of CN112181536A publication Critical patent/CN112181536A/en
Application granted granted Critical
Publication of CN112181536B publication Critical patent/CN112181536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The invention particularly relates to an HTML program integration method suitable for self-service terminal equipment. According to the HTML program integration method suitable for the self-service terminal equipment, the browser program is utilized to load and run the HTML program, a browser control program which interacts with the browser program is developed, and the self-service terminal service program and the browser control program interact to control the HTML program, so that the usability of the HTML program on the self-service terminal equipment is improved. The HTML program integration method suitable for the self-service terminal equipment enables the integrated HTML program to be modularized, simplified and generalized, improves development efficiency, quickens development and deployment of service programs, reduces development cost, and improves usability of the HTML program on the self-service terminal equipment.

Description

HTML program integration method suitable for self-service terminal equipment
Technical Field
The invention relates to the technical field of self-service terminal system application, in particular to an HTML program integration method suitable for self-service terminal equipment.
Background
In order to solve the problem of overlarge flow of the traditional business hall, the defect of original business hours is overcome, the trouble that a customer handles business in the business hall is avoided, the customer feels easy, convenient and physical paste service, and a self-service terminal is designed by taking 24-hour self-service as a system design concept.
For better service to users, more and more business systems are continuously integrated into self-service terminal devices, and these business systems are often HTML programs developed based on B/S architecture. Conventional HTML program integration requires embedding WebBrowser controls within the kiosk service program, and then loading and running the HTML programs via the WebBrowser controls.
However, the conventional HTML program integration method has a great disadvantage:
HTML technology has been rapidly developed in recent 10 years, webBrowser controls are slowly updated, compatibility to HTML programs is poorer and poorer, many HTML programs cannot normally run, and user experience is poor.
2. Because of the complexity of the WebBrowser control, the mode of embedding the WebBrowser control in the service program of the self-service terminal has high development difficulty and large development workload, is unfavorable for quick development and deployment, and greatly increases the application cost of the self-service terminal.
Based on the problems, the invention provides an HTML program integration method suitable for self-service terminal equipment.
Disclosure of Invention
The invention provides a simple and efficient HTML program integration method suitable for self-service terminal equipment in order to make up the defects of the prior art.
The invention is realized by the following technical scheme:
an HTML program integration method suitable for self-service terminal equipment is characterized in that: the browser program is utilized to load and run the HTML program, a browser control program which interacts with the browser program is developed, and the self-service terminal service program controls the HTML program through the interaction of the self-service terminal service program and the browser control program, so that the usability of the HTML program on self-service terminal equipment is improved.
The self-service terminal service program runs on self-service terminal equipment and is responsible for displaying a main operation interface and waiting for user operation;
the self-service terminal service program interacts with the browser control program and is responsible for sending control commands and receiving event notifications;
the browser control program interacts with the browser program, is responsible for controlling the behavior of the browser and monitors the state change of the browser;
the browser program is responsible for loading and running the HTML program and providing a running environment for the HTML program.
The self-service terminal service program calls a browser control program, and comprises the following steps:
s1, starting a browser control program by taking a URL (Uniform Resource Locator ) of an HTML program as a parameter;
s2, receiving a notification of a browser control program through an inter-process communication interface;
s3, sending a control instruction to the browser control program through the inter-process communication interface.
The development of the browser control program is based on a Net framework, and the interaction process with the browser program comprises the following steps:
s1, when a browser control program is started, firstly reading a configuration file to obtain designated browser program settings;
s2, starting a browser program by taking an HTML program URL transmitted by the self-service terminal service program as a parameter, and performing operation control on the browser program through a control button.
The window of the browser control program is provided with 5 control buttons, namely a zoom-out/zoom-in button, a browser closing button, a previous page button, a refreshing button and a soft keyboard opening/closing button;
the shrinking/expanding button is responsible for switching the size of the window; the window of the browser control program only displays the zoom-out/zoom-in buttons in the minimum mode, and displays all 5 control buttons in the maximum mode;
the browser closing button is responsible for closing a browser program and sending a browser closing notification to a self-service terminal service program;
the previous page button is responsible for controlling the browser to jump to the previous page when the current history of the browser is not empty; if the current history of the browser is empty, the last page button is an invalid button;
the refreshing button is responsible for controlling the browser to refresh the current page;
the on/off soft keyboard button is responsible for ejecting the soft keyboard in a hidden state or hiding the soft keyboard in a display state.
The window display of the browser control program is always suspended in front of the browser program window.
The window of the browser control program is displayed as a semi-transparent window.
The interaction flow of the self-service terminal business program and the HTML program comprises the following steps:
s1, a self-service terminal service program sends a control instruction to a browser control program;
s2, after receiving the control instruction, the browser control program converts the control instruction into a control instruction corresponding to the browser according to different browser types and then sends the control instruction to the browser program to control the browser program to execute corresponding actions;
s3, the browser program responds to the control instruction, and loads and runs a new HTML program;
s4, if the browser program triggers an HTML program loading success event, the browser control program monitors an HTML program loading success event notification and then forwards the HTML program loading success event notification to the self-service terminal service program;
s5, if the user operates the browser program to trigger a corresponding event, the browser control program monitors the corresponding event notification and then forwards the event notification to the self-service terminal service program.
The beneficial effects of the invention are as follows: the HTML program integration method suitable for the self-service terminal equipment enables the integrated HTML program to be modularized, simplified and generalized, improves development efficiency, quickens development and deployment of service programs, reduces development cost, and improves usability of the HTML program on the self-service terminal equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an HTML program integration system architecture suitable for a self-service terminal device according to the present invention.
Fig. 2 is a schematic diagram of an HTML program loading operation flow applicable to a self-service terminal device according to the present invention.
Fig. 3 is a schematic diagram of the interaction flow of the business program and the HTML program of the self-service terminal device.
Detailed Description
In order to enable those skilled in the art to better understand the technical solution of the present invention, the following description will make clear and complete description of the technical solution of the present invention in combination with the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
According to the HTML program integration method suitable for the self-service terminal equipment, the browser program is utilized to load and run the HTML program, a browser control program which interacts with the browser program is developed, and the self-service terminal service program and the browser control program interact to control the HTML program, so that the usability of the HTML program on the self-service terminal equipment is improved.
The self-service terminal service program runs on self-service terminal equipment and is responsible for displaying a main operation interface and waiting for user operation;
the self-service terminal service program interacts with the browser control program and is responsible for sending control commands and receiving event notifications;
the browser control program interacts with the browser program, is responsible for controlling the behavior of the browser and monitors the state change of the browser;
the browser program is responsible for loading and running the HTML program and providing a running environment for the HTML program.
The self-service terminal service program calls a browser control program, and comprises the following steps:
s1, starting a browser control program by taking a URL (Uniform Resource Locator ) of an HTML program as a parameter;
s2, receiving a notification of a browser control program through an inter-process communication interface;
s3, sending a control instruction to the browser control program through the inter-process communication interface.
The development of the browser control program is based on a Net framework, and the interaction process with the browser program comprises the following steps:
s1, when a browser control program is started, firstly reading a configuration file to obtain designated browser program settings;
s2, starting a browser program by taking an HTML program URL transmitted by the self-service terminal service program as a parameter, and performing operation control on the browser program through a control button.
The window of the browser control program is provided with 5 control buttons, namely a zoom-out/zoom-in button, a browser closing button, a previous page button, a refreshing button and a soft keyboard opening/closing button;
the shrinking/expanding button is responsible for switching the size of the window; the window of the browser control program only displays the zoom-out/zoom-in buttons in the minimum mode, and displays all 5 control buttons in the maximum mode;
the browser closing button is responsible for closing a browser program and sending a browser closing notification to a self-service terminal service program;
the previous page button is responsible for controlling the browser to jump to the previous page when the current history of the browser is not empty; if the current history of the browser is empty, the last page button is an invalid button;
the refreshing button is responsible for controlling the browser to refresh the current page;
the on/off soft keyboard button is responsible for ejecting the soft keyboard in a hidden state or hiding the soft keyboard in a display state.
The window display of the browser control program is always suspended in front of the browser program window.
The window of the browser control program is displayed as a semi-transparent window.
The browser program refers to various desktop browsers, including but not limited to Chrome, internet Explorer and the like, and can be configured through configuration files when actually executed.
The HTML program is a Web program which is independent of the business program, is developed based on a B/S architecture and meets the W3C standard by using an HTML language, and can normally run in a browser.
The interaction flow of the self-service terminal business program and the HTML program comprises the following steps:
s1, a self-service terminal service program sends a control instruction to a browser control program; such as loading a new HTML program;
s2, after receiving the control instruction, the browser control program converts the control instruction into a control instruction corresponding to the browser according to different browser types and then sends the control instruction to the browser program to control the browser program to execute corresponding actions;
s3, the browser program responds to the control instruction, and loads and runs a new HTML program;
s4, if the browser program triggers an HTML program loading success event, the browser control program monitors an HTML program loading success event notification and then forwards the HTML program loading success event notification to the self-service terminal service program;
s5, if the user operates the browser program to trigger a corresponding event, the browser control program monitors the corresponding event notification and then forwards the event notification to the self-service terminal service program.
Example 1
The detailed procedure of loading and running the HTML program is as follows:
a. the self-service terminal service program uses the URL of the HTML program as a parameter to start a browser control program. For example, to integrate hundred degrees, the URL parameters that are entered are: www.abcd.com;
b. the method comprises the steps of loading configuration of a browser control program, reading browser setting and starting a designated browser;
for example, the browser to be used is set to be chord, the browser control program starts the Chrome browser and controls the Chrome browser to run in self-service terminal mode (full screen, no toolbar, no exit button, optimized touch operation).
c. The browser automatically loads an HTML program, in this example automatically jumps to a www.abcd.com website;
d. the browser control program displays a semitransparent window, and 5 operation buttons (zoom-out/zoom-in), close browser, refresh and open/close soft keyboard) are displayed on the window before being suspended in the browser window;
e. the user can normally operate the browser window, input content in a search box in www.abcd.com by using the function of the HTML program, click search, and execute search operation; buttons on the floating window may also be operated to perform operations such as closing the browser or refreshing the current page.
The above examples are only one of the specific embodiments of the present invention, and the ordinary changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the scope of the present invention.

Claims (4)

1. An HTML program integration method suitable for self-service terminal equipment is characterized in that: loading and running an HTML program by using a browser program, developing a browser control program interacted with the browser program, and controlling the HTML program by the self-service terminal service program through interaction of the self-service terminal service program and the browser control program, so that the usability of the HTML program on self-service terminal equipment is improved;
the self-service terminal service program runs on self-service terminal equipment and is responsible for displaying a main operation interface and waiting for user operation;
the self-service terminal service program interacts with the browser control program and is responsible for sending control commands and receiving event notifications;
the browser control program interacts with the browser program, is responsible for controlling the behavior of the browser and monitors the state change of the browser;
the browser program is responsible for loading and running an HTML program and providing an operating environment for the HTML program;
the self-service terminal service program calls a browser control program, and comprises the following steps:
s1, taking a URL of an HTML program as a parameter, and starting a browser control program;
s2, receiving a notification of a browser control program through an inter-process communication interface;
s3, sending a control instruction to a browser control program through an inter-process communication interface;
the development of the browser control program is based on a Net framework, and the interaction process with the browser program comprises the following steps:
s3.1, when a browser control program is started, firstly reading a configuration file to obtain designated browser program settings;
s3.2, starting a browser program by taking an HTML program URL transmitted by a self-service terminal service program as a parameter, and performing operation control on the browser program through a control button;
the interaction flow of the self-service terminal business program and the HTML program comprises the following steps:
s3.2.1, the self-service terminal service program sends a control instruction to the browser control program;
s3.2.2, after receiving the control instruction, the browser control program converts the control instruction into a control instruction corresponding to the browser according to different browser types and then sends the control instruction to the browser program to control the browser program to execute corresponding actions;
s3.2.3, the browser program responds to the control instruction, and loads and runs a new HTML program;
s3.2.4, if the browser program triggers an HTML program loading success event, the browser control program monitors the HTML program loading success event notification and then forwards the HTML program loading success event notification to the self-service terminal service program;
and S3.2.5, if the user operates the browser program to trigger a corresponding event, the browser control program monitors the corresponding event notification and then forwards the event notification to the self-service terminal service program.
2. The HTML program integration method for self-service terminal equipment according to claim 1, wherein: the window of the browser control program is provided with 5 control buttons, namely a zoom-out/zoom-in button, a browser closing button, a previous page button, a refreshing button and a soft keyboard opening/closing button;
the shrinking/expanding button is responsible for switching the size of the window; the window of the browser control program only displays the zoom-out/zoom-in buttons in the minimum mode, and displays all 5 control buttons in the maximum mode;
the browser closing button is responsible for closing a browser program and sending a browser closing notification to a self-service terminal service program;
the previous page button is responsible for controlling the browser to jump to the previous page when the current history of the browser is not empty; if the current history of the browser is empty, the last page button is an invalid button;
the refreshing button is responsible for controlling the browser to refresh the current page;
the on/off soft keyboard button is responsible for ejecting the soft keyboard in a hidden state or hiding the soft keyboard in a display state.
3. The HTML program integration method for self-service terminal device according to claim 1 or 2, wherein: the window display of the browser control program is always suspended in front of the browser program window.
4. The HTML program integration method for self-service terminal device according to claim 3, wherein: the window of the browser control program is displayed as a semi-transparent window.
CN202011021372.4A 2020-09-25 2020-09-25 HTML program integration method suitable for self-service terminal equipment Active CN112181536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011021372.4A CN112181536B (en) 2020-09-25 2020-09-25 HTML program integration method suitable for self-service terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011021372.4A CN112181536B (en) 2020-09-25 2020-09-25 HTML program integration method suitable for self-service terminal equipment

Publications (2)

Publication Number Publication Date
CN112181536A CN112181536A (en) 2021-01-05
CN112181536B true CN112181536B (en) 2023-07-14

Family

ID=73944768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011021372.4A Active CN112181536B (en) 2020-09-25 2020-09-25 HTML program integration method suitable for self-service terminal equipment

Country Status (1)

Country Link
CN (1) CN112181536B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747527B1 (en) * 1998-03-24 2010-06-29 Korala Associates Limited Apparatus and method for providing transaction services
CN103309989A (en) * 2013-06-18 2013-09-18 山东地纬计算机软件有限公司 Intelligent browser for human resource and social security field
CN105791445A (en) * 2016-05-17 2016-07-20 内蒙古亨达海天网络技术有限责任公司 Self-service method and device
CN108228850A (en) * 2018-01-10 2018-06-29 上海古鳌电子科技股份有限公司 A kind of cross-platform self-service device management method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747527B1 (en) * 1998-03-24 2010-06-29 Korala Associates Limited Apparatus and method for providing transaction services
CN103309989A (en) * 2013-06-18 2013-09-18 山东地纬计算机软件有限公司 Intelligent browser for human resource and social security field
CN105791445A (en) * 2016-05-17 2016-07-20 内蒙古亨达海天网络技术有限责任公司 Self-service method and device
CN108228850A (en) * 2018-01-10 2018-06-29 上海古鳌电子科技股份有限公司 A kind of cross-platform self-service device management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
集成Spring和AJAX技术的银行自助终端应用研究;唐嵩;蒋外文;;电子技术与软件工程(第10期);253-257 *

Also Published As

Publication number Publication date
CN112181536A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US9292309B2 (en) Abstracted display building method and system
US20150193106A1 (en) Dynamic representation of component configuration method and system
US8898123B2 (en) Method and system for interface configuration via device-side scripting
EP1732000B1 (en) Enhanced speed interface method and system
US20100161713A1 (en) Method and system for personalizing a desktop widget
JP5321586B2 (en) Application extension system, extension method, extension program
CN106547417B (en) Method and device for displaying background task message
US20060090138A1 (en) Method and apparatus for providing DHTML accessibility
US9927792B2 (en) Universal web-based reprogramming method and system
WO2010083772A1 (en) Method and system for realizing message interaction in multi-tabs application
US20060277027A1 (en) Emulator for general purpose viewer configurable interface
US20230394223A1 (en) Page jumping method, apparatus, and device, and storage medium and program product
TWI445349B (en) Remote management system and operating method thereof
US20060277463A1 (en) Relegendable interface device design-time environment system and method
US20140173429A1 (en) Information processing apparatus, control method therfor, and storage medium
CN112181536B (en) HTML program integration method suitable for self-service terminal equipment
US20110258578A1 (en) Interfacing Between Applications Utilizing a Desktop Module
US20110258169A1 (en) Customization of Information Using a Desktop Module
CN108241510A (en) A kind of switching method of video card
CN112507257A (en) Webpage display method, device, equipment and storage medium
US8566724B2 (en) Online customization of information using a site management module
TWI277903B (en) Method of automatically generating and updating webpage for man-machine interface
CN112861049B (en) Method for dynamically managing picture buffer space and display device
KR100375529B1 (en) skin system for Window applications
CN113378096B (en) Display equipment and browser residual frame clearing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant