A kind of digitlization workshop heterogeneous terminals integration display board method
Technical field
The integration display solution of the invention heterogeneous terminals, especially it is a kind of be suitable for digitlization workshop,
The electronical display kanban methodology of intelligence manufacture project.
Technical background
The storm of industrial information has have swept the globe, and proposes one after another respectively as traditional manufacturing power, such as the U.S., Germany
Industrial information developing direction, i.e., push industrial expansion using advanced informationization technology.The hair of many years passes through in China
Exhibition has become manufacture big country.In recent years, country proposes the thought of " two change fusion ", and has put into effect a series of political affairs
Plan and measure introduce advanced manufacturing philosophy and technology, to help the development of IT application in enterprises, make every effort to change Chinese tradition
Manufacturing mode, by China from manufacture big country to manufacturing power change.Under the frame of " made in China 2025 ", national manufacturing industry
Information-based, digital improvement is all started.
Although electronic board business is simple in practical process of construction, construction meets the desired electronic board of user more
Difficulty, reason are that existing technology is unable to satisfy operation convenience requirement, are in particular in:
1) it supports Windows system, configures industrial mainframe micro to industrial display, browser is installed on industrial mainframe micro and is shown
Billboard content.
A) electronic board often uses wall hanging in workshop or suspends mode in midair in practical construction, is highly generally greater than from the ground
2 meters, the switch operation of industrial mainframe micro becomes problem, operates very not convenient.
B) industrial display itself carries Android operation system, and being reconfigured industrial mainframe micro is overlapping investment, client's phase
It hopes investment utilization rate maximize, may require that and the program of Android version is provided.
2) it supports android system, using free browser, is visited by allocating default homepage mode when opening and applying
Ask server.
A) Android that can be downloaded on internet has issued browser and has not had a to be to support booting self-starting, this is
Because the functional localization of browser does not need booting self-starting, it is very troublesome that booting, which opens application by remote controler, every time.
B) Android that can be downloaded on internet has issued browser and has not had a to be that support is automatic full frame, this is pre-
The safety measure of anti-fishing website, it is necessary to can just be displayed in full screen by manual confirmation operation, opened every time by remote controler
Using when to be arranged full frame be very time-consuming laborious.
Billboard entity in digitlization workshop system includes: industrial display, comprehensive mosaic screen;Display content includes: report
The related job task information such as mission bit stream, neck material mission bit stream, production plan mission bit stream are examined, order is unqualified to be counted, no
Qualified responsible department's statistics, user once verify the associated statistical informations such as qualification rate statistics, device status monitoring, material state prison
The related real time status informations such as control, the monitoring of virtual producing line.Wherein industrial display has android system, Windows system two
Kind, comprehensive mosaic screen is by the control host control based on Windows system, and display content style has table to show, chart is aobvious
Show, the totally different style such as electronic map is shown.These different operating systems, different display styles need multiple technologies system
Support, and trivial operations.
Summary of the invention
It is whole the technical problem to be solved by the present invention is in view of the deficiencies of the prior art, provide a kind of new digitlization workshop isomery
Integrated display board method is held, this method can allow user consistent with that can obtain in Windows system in android system
Experience, carry out indiscriminate operation, and utmostly simplify user's operation.
The technical problem to be solved by the present invention is to what is realized by technology below realization.The present invention is a kind of number
Change workshop heterogeneous terminals integration display board method, its main feature is that, steps are as follows:
(1) the browser encapsulation of Android version and version of window is realized based on identical Chromium browser kernel,
Two is formed respectively for android system and Windows system but the consistent billboard special browser of function;Browser has
The server address function that full screen display, automatic access configure automatically when booting self-starting, starting;
(2) the billboard content that configuration display terminal in access management end is shown, when configuring content alteration, server push becomes
More notice is to terminal;
(3) special browser requesting terminal is verified when terminal device is switched on, and server obtains eventually according to terminal authentication solicited message
IP, screen resolution, operation system information are held, and inquires the billboard content and feedback terminal of terminal configuration according to terminal IP value;
(4) terminal obtains server feedback information, the content of load configuration is selected according to feedback information, content pages are according to preset
Style loads corresponding style control, request server content-data after content loads successfully.
Heterogeneous terminals integration display board method in digitlization workshop of the present invention, further preferred technical side
Case is, in step (1), Android editions special browsers are encapsulated using Chromium kernel, possesses booting self-starting permission, after
BroadcastReceiver broadcast reception class is held, booting broadcast singal is received, starting method and step is as follows:
A) audiomonitor starting-up signal, when receiving device power-up signal, Android editions special browsers start automatically;
B) after Android editions special browser startings, Main form onCreate event is triggered, is arranged in onCreate event clear
Device of looking at is full frame, and accesses server automatically according to configuration address.
Heterogeneous terminals integration display board method in digitlization workshop of the present invention, further preferred technical side
Case is, in step (1), Windows editions special browsers are encapsulated using Chromium kernel, and when installation opens in registration table for registering
Machine startup item, starting method and step are as follows:
A) the startup item special browser application registered in registration table is automatically opened when device power-up;
B) after special browser starting, Main form OnLoad event is triggered, setting browser is full frame in OnLoad event, and root
Server is accessed automatically according to configuration address.
Heterogeneous terminals integration display board method in digitlization workshop of the present invention, further preferred technical side
Case is, in step (2), management end configurating terminal shows content and notifies terminal configuration change that steps are as follows:
1) user opens the management end page, and the end message of maintenance is as follows:
A) IP address of terminal
B) board name is seen
C) billboard content address
D) remark information, for showing additional information
2) server push Notification of Changes is to terminal
It is whole to corresponding IP address to send notification information when monitoring configuration data change to data status monitoring for server
End equipment, server and terminal device checking procedure are as follows:
If a) terminal device booting and notified, according to notification information switching display content, feeds back OK information to service
End, this change closed loop;
If b) terminal device shuts down, server is detected for a long time without feedback, then records change state to hang up, set to terminal
When actively accessing server after standby booting, triggering change closed loop, while terminal device loading content is the content finally configured;
C) to the display data result collection of server request content when content loads.
Heterogeneous terminals integration display board method in digitlization workshop of the present invention, further preferred technical side
Case is, in step (3), special browser requesting terminal is verified when terminal device is switched on, and server requests to believe according to terminal authentication
Simultaneously steps are as follows for feedback terminal for breath inquiry terminal configuration content:
1) checking solicited message that terminal is sent is as follows:
A) IP address of terminal information
B) terminal resolution ratio information
C) terminal operating system information
D) terminal browser information
2) server receiving terminal checking solicited message, and according to IP address query configuration content, if inquiring configuration content
Then feedback configuration information, if not inquiring configuration content, feedback error information;The information content is as follows:
A) board name, billboard content address, remark information configuration information: are seen
B) error message: what is be not configured sees board terminal, please first configures the terminal
Heterogeneous terminals integration display board method in digitlization workshop of the present invention, further preferred technical solution
It is that in step (4), terminal loads according to server feedback information loaded and displayed content, content pages according to default style corresponding
Style control, steps are as follows for request server content-data after content loads successfully:
1) terminal obtains server feedback information, and configuration content is then loaded if it is configuration information, is then shown if it is error message
Show error message on Main form;
2) billboard title is arranged according to configuration information and billboard content address, load address institute is jumped to by front end routing
Specified content;
3) style control used in loading content while content loads, such as grid control, chart control, Map OCX;
4) to server request data result set after content pages load successfully, content pages receive the data result collection that server returns
And it is shown in content pages.
The present invention sees that an edition method is realized based on Chromium browser kernel, and there is special browser booting to open automatically
The server address function of dynamic, automatic full frame, automatic access configuration;Management end realizes configurating terminal content function, configures content
Configuration information when change after push change is to terminal, and terminal is according to configuration information loading content page;When special browser starts
It sends terminal authentication to request to server, obtains the configuration information of server feedback, and according to configuration information loading content page;It is interior
Style control needed for load when holding page load, such as grid control, chart control, Map OCX, realize on-demand loading, content
Page initialization to server request data result set and is shown after completing.
Compared with prior art, the invention has the following beneficial technical effects:
1) present invention realizes the indifference in android system and Windows system by the method encapsulated to same kernel
Display.Its system is based on B/S framework, has relative to C/S framework and exempts from upgrading advantage, and C/S framework cannot achieve
Indifference is shown in android system and Windows system.
2) special browser of the invention realize the automatic starting of booting, it is automatic it is full frame, access server capability automatically.With see
Plate is used to show that information service height suits, and saves personnel's operating burden.Workshop billboard more than ten easily, each all needed in the past
With remote controler go booting, open browser, setting it is full frame, open homepage it is very troublesome, now only need booting.
3) the method for the present invention terminal shows that content is configured by administration page, it can be achieved that terminal shows content switching at runtime.It passes
System mode is the display for inputting the different addresses Url by terminal and realizing different content, end of this mode in remote controller operation
It is too poor to experience on end, present terminal be not necessarily to any operation, administration page can switching terminal show content.
4) the method for the present invention integrates a variety of style interfaces and realizes on-demand loading.Style is supported to extend, including grid control,
Chart control, Map OCX etc. load corresponding control according to default style in content pages load.Unified technical system subtracts
Light content developer's development difficulty, previous developer need to learn multiple technologies to support seeing for exploitation different-style
Plate, and final Show Styles is difficult to be consistent.
In short, the present invention realizes that content developer only focuses on business by heterogeneous terminals integration display board method,
Without paying close attention to terminal and not needing to do otherness adaptation, user is consistent with that can obtain in Windows system in android system
Experience, carry out indiscriminate operation, and utmostly simplify user's operation.
Specific embodiment
The method of the present invention is further detailed below, so that those skilled in the art are to the method for the present invention into one
Step understands, without constituting the limitation to its right.
Embodiment 1, a kind of digitlization workshop heterogeneous terminals integration display board method, its step are as follows:
(1) the browser encapsulation of Android version and version of window is realized based on identical Chromium browser kernel,
Two is formed respectively for android system and Windows system but the consistent billboard special browser of function;Browser has
The server address function that full screen display, automatic access configure automatically when booting self-starting, starting;
(2) the billboard content that configuration display terminal in access management end is shown, when configuring content alteration, server push becomes
More notice is to terminal;
(3) special browser requesting terminal is verified when terminal device is switched on, and server obtains eventually according to terminal authentication solicited message
IP, screen resolution, operation system information are held, and inquires the billboard content and feedback terminal of terminal configuration according to terminal IP value;
(4) terminal obtains server feedback information, the content of load configuration is selected according to feedback information, content pages are according to preset
Style loads corresponding style control, request server content-data after content loads successfully.
In step (1), Android editions special browsers are encapsulated using Chromium kernel, possess booting self-starting power
Limit inherits BroadcastReceiver broadcast reception class, receives booting broadcast singal, and starting method and step is as follows:
A) audiomonitor starting-up signal, when receiving device power-up signal, Android editions special browsers start automatically;
B) after Android editions special browser startings, Main form onCreate event is triggered, is arranged in onCreate event clear
Device of looking at is full frame, and accesses server automatically according to configuration address.
In step (1), Windows editions special browsers are encapsulated using Chromium kernel, in registration table for registering when installation
Starting up, starting method and step are as follows:
A) the startup item special browser application registered in registration table is automatically opened when device power-up;
B) after special browser starting, Main form OnLoad event is triggered, setting browser is full frame in OnLoad event, and root
Server is accessed automatically according to configuration address.
In step (2), management end configurating terminal shows content and notifies terminal configuration change that steps are as follows:
1) user opens the management end page, and the end message of maintenance is as follows:
A) IP address of terminal
B) board name is seen
C) billboard content address
D) remark information, for showing additional information
2) server push Notification of Changes is to terminal
It is whole to corresponding IP address to send notification information when monitoring configuration data change to data status monitoring for server
End equipment, server and terminal device checking procedure are as follows:
If a) terminal device booting and notified, according to notification information switching display content, feeds back OK information to service
End, this change closed loop;
If b) terminal device shuts down, server is detected for a long time without feedback, then records change state to hang up, set to terminal
When actively accessing server after standby booting, triggering change closed loop, while terminal device loading content is the content finally configured;
C) to the display data result collection of server request content when content loads.
In step (3), special browser requesting terminal is verified when terminal device is switched on, and server is requested according to terminal authentication
Information inquiry terminal configures content, and simultaneously steps are as follows for feedback terminal:
1) checking solicited message that terminal is sent is as follows:
A) IP address of terminal information
B) terminal resolution ratio information
C) terminal operating system information
D) terminal browser information
2) server receiving terminal checking solicited message, and according to IP address query configuration content, if inquiring configuration content
Then feedback configuration information, if not inquiring configuration content, feedback error information;The information content is as follows:
A) board name, billboard content address, remark information configuration information: are seen
B) error message: what is be not configured sees board terminal, please first configures the terminal
In step (4), terminal loads according to server feedback information loaded and displayed content, content pages according to default style corresponding
Style control, steps are as follows for request server content-data after content loads successfully:
1) terminal obtains server feedback information, and configuration content is then loaded if it is configuration information, is then shown if it is error message
Show error message on Main form;
2) billboard title is arranged according to configuration information and billboard content address, load address institute is jumped to by front end routing
Specified content;
3) style control used in loading content while content loads, such as grid control, chart control, Map OCX;
4) to server request data result set after content pages load successfully, content pages receive the data result collection that server returns
And it is shown in content pages.
Embodiment 2 digitizes workshop heterogeneous terminals integration display board method, and its step are as follows:
(1) device end installs special browser.Android editions with Windows version base in identical Chromium browser
Core, Android editions and Windows editions special browser exploitation documents all realize identical working specification.
Special browser is mainly realized loads configuration when automatic full frame, program is opened when the automatic starting of booting, starting automatically
The functions such as content, these functions are designed for billboard business customizing, and announced browser does not have on internet
Function.
(2) banner system administrator logs in management end and configures the content that each terminal is shown, specific billboard content is for every
A Project settings, each billboard content are owned by unique address Url.System manager is by binding terminal IP and content Url
The content that the mode maintenance terminal of location is shown.When user submits binding information, server receives the information submitted, and to submission
IP address of terminal push configuration change message, terminal receive configuration change message simultaneously parse, obtain message in the address content Url simultaneously
The address Url, final display board content are jumped to by front end routing.
(3) open special browser when terminal device is switched on, it is automatic full frame when special browser is opened and automatically access match
The server address set.Initiating terminal checking request first when terminal access server address, server is according in verification information
IP address inquiry binding the information such as the address content Url, feed back that " billboard being not configured is whole if not inquiring configuration information
End, please first configures the terminal " information, and shown in terminal page, configuration information is pushed if inquiring configuration information extremely
Terminal.
(4) terminal parses configuration information and loads specific billboard content pages according to the address content Url in configuration information.Billboard
System uses front end routing framework, is carried out jumping movement according to the address Url of configuration, style UI control is obtained when content pages load
Packet realizes on-demand loading function, reduces transmitted data on network amount, improves response performance.To clothes after the load completion of content pages forms
Business device request display data, obtain server feedback data and simultaneously show on the page.
After the completion of digitizing the building of workshop heterogeneous terminals integration display board method, billboard content developer only needs
Attentinal contents business demand does the development of business tine, does not need concern terminal device and uses android system also
It is Windows system, significantly reduces content development without doing differentiation adaptation work using standard set web technologies
The workload of personnel.It realizes that management end configures each terminal and shows content by the method for terminal authentication simultaneously, realizes that terminal is shown
Content dynamically load significantly reduces the workload that operating personnel opens electronic board, and the user experience is improved.