Digital workshop heterogeneous terminal integrated display billboard method
Technical Field
The invention creates an integrated display solution of a heterogeneous terminal, in particular to an electronic display billboard method suitable for digital workshops and intelligent manufacturing projects.
Technical Field
Industrial informationized storms have rolled the world, and as traditional strong manufacturing countries, such as the united states, germany, and the like, the industrial informationized development directions of the storms are proposed, that is, advanced informatization technologies are utilized to promote the industrial development. China has become a big manufacturing country through years of development. In recent years, the nation proposes the idea of 'two-way integration', and a series of policies and measures are developed to introduce advanced manufacturing concepts and technologies so as to support the development of enterprise informatization, strive to change the traditional manufacturing mode of China, and change China from a large manufacturing country to a strong manufacturing country. Under the framework of "china manufacturing 2025", the nationwide manufacturing industry started informatization and digitization transformation.
Although the electronic billboard service is simple in the actual construction process, it is difficult to construct an electronic billboard meeting the user expectation, and the reason lies in that the prior art cannot meet the requirement of convenience of operation, and is specifically shown in the following steps:
1) the Windows system is supported, an industrial micro-host is configured for the industrial display, and a browser is installed on the industrial micro-host to display the billboard content.
a) In actual construction, the electronic billboard usually adopts a wall-mounted or suspended mode in a workshop, the height from the ground is generally higher than 2 meters, the switching operation of an industrial micro-host becomes a problem, and the operation is inconvenient.
b) The industrial display is provided with an Android operating system, and the industrial micro-host is reconfigured to maximize the repeated investment and the expected investment utilization rate of a client, so that an Android version program is required to be provided.
2) And the Android system is supported, a free browser is used, and a server is accessed when the application is opened by configuring a default homepage mode.
a) No browser released by Android capable of being downloaded on the Internet supports startup and self-starting, because the function positioning of the browser does not need startup and self-starting, and the problem that the application is opened through a remote controller every time the browser is started is very troublesome.
b) No Android published browser which can be downloaded on the Internet supports automatic full screen, which is a safety measure for preventing phishing websites, the full screen display can be carried out only through manual confirmation operation, and the setting of the full screen through a remote controller when an application is opened every time is time-consuming and labor-consuming.
The billboard entity in the digital workshop system comprises: industrial displays, integrated tiled screens; the display content comprises: the method comprises the following steps of reporting and checking related operation task information such as task information, material picking task information and operation planning task information, related statistical information such as order disqualification statistics, disqualification responsibility department statistics and user one-time verification qualification rate statistics, and related real-time state information such as equipment state monitoring, material state monitoring and virtual production line monitoring. The industrial display is of an Android system and a Windows system, the comprehensive spliced screen is controlled by a control host based on the Windows system, and the display content styles include different styles such as table display, chart display and electronic map display. These different operating systems and different display styles require multiple technical systems for support, and are complicated to operate.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a novel integrated display billboard method for a heterogeneous terminal of a digital workshop, aiming at the defects of the prior art, the method can enable a user to obtain consistent experience on an Android system and a Windows system, perform indiscriminate operation and simplify user operation to the greatest extent.
The technical problem to be solved by the present invention is achieved by the following technique. The invention relates to a digital workshop heterogeneous terminal integrated display billboard method which is characterized by comprising the following steps:
(1) the method comprises the steps that browser packages of an Android version and a Windows version are achieved based on the same kernel of a Chromium browser, and two special reading boards which face an Android system and a Windows system respectively but have the same functions are formed; the browser has the functions of starting up and self-starting, automatic full-screen display during starting up and automatic access to configured server addresses;
(2) the method comprises the following steps that a user configures billboard content displayed by a display terminal by using a management terminal, and when the configured content is changed, a server pushes a change notice to the terminal;
(3) when the terminal equipment is started, the special browser requests terminal verification, the server acquires a terminal IP, a screen resolution and operating system information according to the terminal verification request information, inquires billboard content configured by the terminal according to a terminal IP value and feeds back the billboard content to the terminal;
(4) the terminal acquires the feedback information of the server, selects the loaded configured content according to the feedback information, loads the corresponding style control according to the preset style on the content page, and requests the content data of the server after the content is loaded successfully.
The invention relates to a digitalized workshop heterogeneous terminal integrated display billboard method, which adopts a further preferable technical scheme that in the step (1), an Android version special browser adopts a Chromium core for packaging, has a starting self-starting authority, inherits a broadcasting receiving class of broadcastrecherver and receives a starting broadcasting signal, and the starting method comprises the following steps:
a) monitoring a device starting signal, and automatically starting the Android version special browser when the device starting signal is received;
b) after the Android special browser is started, a main window onCreate event is triggered, a full screen of the browser is set in the onCreate event, and the server is automatically accessed according to a configuration address.
The integrated display billboard method for the heterogeneous terminal of the digital workshop, disclosed by the invention, has the further preferable technical scheme that in the step (1), a Windows version special browser is packaged by a Chromium core, a startup starting item is registered in a registry during installation, and the startup method comprises the following steps:
a) automatically opening a special browser application for a startup item registered in a registry when the equipment is started;
b) after the special browser is started, an OnLoad event of the main window body is triggered, the full screen of the browser is set in the OnLoad event, and the server is automatically accessed according to the configuration address.
The integrated display billboard method for the heterogeneous terminal of the digital workshop, disclosed by the invention, has the further preferable technical scheme that in the step (2), the step of configuring the display content of the terminal and informing the terminal of configuration change by the management terminal comprises the following steps of:
1) the user opens the management end page, and the maintained terminal information is as follows:
a) IP address of terminal
b) Name of billboard
c) Billboard content address
d) Remark information for displaying additional information
2) Server push change notification to terminal
The server monitors the data state, and when monitoring that the configuration data is changed, the server sends notification information to the corresponding IP address terminal equipment, and the verification process of the server and the terminal equipment is as follows:
a) if the terminal equipment is started and receives the notification, switching display content according to the notification information, feeding back OK information to the server side, and changing a closed loop;
b) if the terminal equipment is shut down and the server detects that no feedback exists for a long time, recording the change state as suspension, triggering a change closed loop when the server is actively accessed after the terminal equipment is started, and simultaneously loading the content into the terminal equipment as the last configured content;
c) the content load requests a display data result set of the content from the server.
The integrated display billboard method of the digital workshop heterogeneous terminal, provided by the invention, has the further preferable technical scheme that in the step (3), a special browser requests terminal verification when terminal equipment is started, and a server inquires terminal configuration content according to terminal verification request information and feeds back the terminal, and the steps are as follows:
1) the authentication request information sent by the terminal is as follows:
a) terminal IP address information
b) Terminal resolution information
c) Terminal operating system information
d) Terminal browser information
2) The server receives the terminal verification request information, inquires configuration content according to the IP address, feeds back the configuration information if the configuration content is inquired, and feeds back error information if the configuration content is not inquired; the information content is as follows:
a) configuration information: name of billboard, content address of billboard, remark information
b) Error information: if the signboard terminal is not configured, please configure the terminal first
The integrated display billboard method of the heterogeneous terminal of the digital workshop, disclosed by the invention, has the further preferable technical scheme that in the step (4), the terminal loads display contents according to the feedback information of the server, the content page loads corresponding style controls according to a preset style, and the step of requesting server content data after the contents are loaded successfully comprises the following steps:
1) the terminal acquires the feedback information of the server, loads the configuration content if the feedback information is the configuration information, and displays error information on the main window if the feedback information is the error information;
2) setting a signboard title name according to the configuration information, skipping to a signboard content address through a front-end route, and loading the content appointed by the address;
3) loading style controls used by the content while loading the content, such as a table control, a chart control, a map control and the like;
4) and after the content page is successfully loaded, requesting a data result set from the server, and receiving the data result set returned by the server and displaying the data result set on the content page by the content page.
The version viewing method is realized based on a kernel of a chrome browser, and the special browser has the functions of starting up automatically, automatically starting up the screen, and automatically accessing and configuring the server address; the management terminal realizes the function of configuring the content of the terminal, pushes the changed configuration information to the terminal when the configuration content is changed, and the terminal loads a content page according to the configuration information; when the special browser is started, sending a terminal verification request to the server, acquiring configuration information fed back by the server, and loading a content page according to the configuration information; and loading needed style controls such as a table control, a chart control, a map control and the like when the content page is loaded, realizing loading according to needs, and requesting and displaying a data result set to the server after the content page is initialized.
Compared with the prior art, the invention has the following beneficial technical effects:
1) the invention realizes indifference display on an Android system and a Windows system by packaging the same kernel. The system is based on a B/S architecture, and has the advantage of no upgrade compared with a C/S architecture, and the C/S architecture cannot realize indifferent display on an Android system and a Windows system.
2) The special browser realizes the functions of automatic starting when starting, automatic full screen and automatic server access. The information service display board is highly suitable for displaying information services, and the operation burden of personnel is saved. More than ten workshop signboards are frequently used, and each workshop signboard is troublesome in the past that a remote controller is required to start, a browser is opened, a full screen is set, and a homepage is opened, and only needs to be started at present.
3) The method of the invention can realize the dynamic switching of the terminal display content by configuring the terminal display content by the management page. The traditional mode is to realize the display of different contents by inputting different Url addresses through the terminal, the experience of the mode on the terminal operated by the remote controller is poor, the terminal does not need any operation at present, and the terminal display contents can be switched on the management page.
4) The method integrates multiple style interfaces and realizes loading as required. And supporting style expansion, wherein the style expansion comprises a table control, a chart control, a map control and the like, and the corresponding control is loaded according to a preset style when the content page is loaded. The development difficulty of content developers is reduced by a unified technical system, the developers need to learn various technologies to support and develop the signboards with different styles in the past, and finally, the display styles are difficult to keep consistent.
In short, the invention realizes that content developers only pay attention to the service through the integrated display billboard method of the heterogeneous terminal without paying attention to the terminal and performing differential adaptation, users can obtain consistent experience on an Android system and a Windows system, undifferentiated operation is performed, and user operation is simplified to the maximum extent.
Detailed Description
The process of the present invention is further described below to enable those skilled in the art to further understand the process of the present invention without constituting a limitation to the right thereof.
Embodiment 1, a digital workshop heterogeneous terminal integrated display billboard method, comprising the steps of:
(1) the method comprises the steps that browser packages of an Android version and a Windows version are achieved based on the same kernel of a Chromium browser, and two special reading boards which face an Android system and a Windows system respectively but have the same functions are formed; the browser has the functions of starting up and self-starting, automatic full-screen display during starting up and automatic access to configured server addresses;
(2) the method comprises the following steps that a user configures billboard content displayed by a display terminal by using a management terminal, and when the configured content is changed, a server pushes a change notice to the terminal;
(3) when the terminal equipment is started, the special browser requests terminal verification, the server acquires a terminal IP, a screen resolution and operating system information according to the terminal verification request information, inquires billboard content configured by the terminal according to a terminal IP value and feeds back the billboard content to the terminal;
(4) the terminal acquires the feedback information of the server, selects the loaded configured content according to the feedback information, loads the corresponding style control according to the preset style on the content page, and requests the content data of the server after the content is loaded successfully.
In the step (1), the Android dedicated browser is packaged by a chrome kernel, has a power-on self-starting authority, inherits a broadcastereiver broadcast receiving class, and receives a power-on broadcast signal, and the starting method comprises the following steps:
a) monitoring a device starting signal, and automatically starting the Android version special browser when the device starting signal is received;
b) after the Android special browser is started, a main window onCreate event is triggered, a full screen of the browser is set in the onCreate event, and the server is automatically accessed according to a configuration address.
In the step (1), the Windows version special browser is packaged by a chrome kernel, and a startup starting item is registered in a registry during installation, wherein the startup method comprises the following steps:
a) automatically opening a special browser application for a startup item registered in a registry when the equipment is started;
b) after the special browser is started, an OnLoad event of the main window body is triggered, the full screen of the browser is set in the OnLoad event, and the server is automatically accessed according to the configuration address.
In the step (2), the step of configuring the terminal display content and informing the terminal configuration change by the management terminal comprises the following steps:
1) the user opens the management end page, and the maintained terminal information is as follows:
a) IP address of terminal
b) Name of billboard
c) Billboard content address
d) Remark information for displaying additional information
2) Server push change notification to terminal
The server monitors the data state, and when monitoring that the configuration data is changed, the server sends notification information to the corresponding IP address terminal equipment, and the verification process of the server and the terminal equipment is as follows:
a) if the terminal equipment is started and receives the notification, switching display content according to the notification information, feeding back OK information to the server side, and changing a closed loop;
b) if the terminal equipment is shut down and the server detects that no feedback exists for a long time, recording the change state as suspension, triggering a change closed loop when the server is actively accessed after the terminal equipment is started, and simultaneously loading the content into the terminal equipment as the last configured content;
c) the content load requests a display data result set of the content from the server.
In step (3), the special browser requests terminal verification when the terminal device is started, and the server inquires the terminal configuration content and feeds back the terminal according to the terminal verification request information, and the steps are as follows:
1) the authentication request information sent by the terminal is as follows:
a) terminal IP address information
b) Terminal resolution information
c) Terminal operating system information
d) Terminal browser information
2) The server receives the terminal verification request information, inquires configuration content according to the IP address, feeds back the configuration information if the configuration content is inquired, and feeds back error information if the configuration content is not inquired; the information content is as follows:
a) configuration information: name of billboard, content address of billboard, remark information
b) Error information: if the signboard terminal is not configured, please configure the terminal first
In the step (4), the terminal loads and displays the content according to the server feedback information, the content page loads the corresponding style control according to the preset style, and the step of requesting the server content data after the content loading is successful is as follows:
1) the terminal acquires the feedback information of the server, loads the configuration content if the feedback information is the configuration information, and displays error information on the main window if the feedback information is the error information;
2) setting a signboard title name according to the configuration information, skipping to a signboard content address through a front-end route, and loading the content appointed by the address;
3) loading style controls used by the content while loading the content, such as a table control, a chart control, a map control and the like;
4) and after the content page is successfully loaded, requesting a data result set from the server, and receiving the data result set returned by the server and displaying the data result set on the content page by the content page.
Embodiment 2, a digital workshop heterogeneous terminal integrated display billboard method, comprising the steps of:
(1) and the special browser is installed at the equipment terminal. The Android version and the Windows version are based on the same chrome browser kernel, and the Android version and the Windows version of the special browser development documents all achieve the same operation specification.
The special browser mainly realizes the functions of starting up automatic start, automatically full screen when starting up, automatically loading configuration content when a program is opened and the like, and the functions are designed aiming at the signboard service customization and are not possessed by browsers released on the Internet.
(2) The billboard system administrator logs in the management terminal to configure the content displayed by each terminal, the specific billboard content is customized for each project, and each billboard content has a unique Url address. And the system administrator maintains the content displayed by the terminal by binding the IP of the terminal and the Url address of the content. When the user submits the binding information, the server receives the submitted information and pushes the configuration change message to the submitted terminal IP address, the terminal receives and analyzes the configuration change message, obtains the content Url address in the message and jumps to the Url address through the front end route, and finally displays the billboard content.
(3) And when the terminal equipment is started, the special browser is opened, and when the special browser is opened, the special browser automatically realizes full screen and automatically accesses the configured server address. When the terminal accesses the server address, a terminal verification request is firstly initiated, the server inquires information such as bound content Url address according to the IP address in the verification information, if the configuration information is not inquired, the information of 'unconfigured signboard terminal is fed back, the terminal is required to be configured firstly', the information is displayed on a terminal page, and if the configuration information is inquired, the configuration information is pushed to the terminal.
(4) And the terminal analyzes the configuration information and loads a specific billboard content page according to the content Url address in the configuration information. The billboard system uses a front-end routing framework, jumps according to the configured Url address, acquires a style UI control package when loading a content page, realizes the function of loading according to needs, reduces the network transmission data volume and improves the response performance. And after the loading of the content page window is finished, requesting a server to display data, acquiring server feedback data and displaying the data on the page.
After the integrated display billboard method of the heterogeneous terminal of the digital workshop is constructed, a billboard content developer only needs to pay attention to content service requirements to develop service content, does not need to pay attention to whether an Android system or a Windows system is used by a terminal device, uses a set of standard webpage technology, does not need to do differentiated adaptation work, and greatly reduces the workload of the content developer. Meanwhile, the management terminal is configured with the display content of each terminal by a terminal verification method, the dynamic loading of the display content of the terminals is realized, the workload of opening the electronic billboard by an operator is greatly reduced, and the user experience is improved.