A control method for situation display

By recording the initial conditions in the configuration file of the situation display system and pushing it to the client using the MQTT protocol, the automated control of the situation display system is achieved, solving the problems of complex operation and low automation in the existing system, and improving operation efficiency and automation degree.

CN115550426BActive Publication Date: 2025-02-14BEIJING INST OF COMP TECH & APPL
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211167569.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2025-02-14
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

The existing trend display system lacks the separation of display platform and operation platform and automated control methods, which leads to complex operations, time-consuming and psychological pressure on operators.

Method used

A control method for situation display is proposed. By writing the initial conditions of a fixed scene into the configuration file, reading the configuration file using the server and pushing the configuration file to the client based on the MQTT protocol, automatically initializing the scenario and manipulation are realized.

Benefits of technology

Reduced manual operation steps, reduced psychological pressure on the operators, enabled them to focus on manipulating more important parts, and improved the efficiency and automation of situation display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550426B_ABST
    Figure CN115550426B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for controlling situation display, and belongs to the field of manned space situation display. The method of the present invention is applied to a system including a browser, a server, an agent and a client, wherein the browser is connected to the server via HTTP, the server is connected to the agent via MQTT, and the agent is connected to the client via MQTT, including scene setting and script editing of the client, the user writes the initial conditions corresponding to each scene of the client into the configuration file of the server via the browser, the server reads the configuration file, performs situation control according to the first scene set by S1, and pushes the configuration file to the agent based on the MQTT protocol, and the agent pushes the configuration file to the situation display page of the client based on the MQTT protocol. The present invention reduces the psychological pressure of operators during manual operation and intense tasks, so that operators can free up their energy to operate more important parts without having to pay attention to some operations that can be completed automatically.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of manned spaceflight situation display, and in particular relates to a control method for situation display. Background Art

[0002] With the rapid development of science and technology, the development tasks of software system display are gradually accelerating. In order to improve the intelligent ability of software systems in comprehensive situation display, a new situation display control method is proposed. Situation display technology has always been an important part of the software field. The complexity of various situations has caused great technical difficulty and high cost. In order to accurately, timely and quickly perform various tasks, high-precision situation display and situation analysis are the basis and prerequisite for completing various tasks. This control method writes the initial condition states that all fixed scenes should have in the configuration file. When switching to the scene, the program reads the configuration file to complete the goal of automatically initializing the scene.

[0003] Many current situation display systems, such as the Digital Earth of China Science Star Map, are directly controlled on the display page, and there is no method to separate the display platform from the operation platform and automate it to a certain extent. At present, the situation display solution for small and medium-sized software systems in China is still in the development stage. Due to the large difference in the needs of small and medium-sized software, it is difficult to have a unified and recognized more complete solution. Therefore, although there are many situation display methods in the market, it is difficult to meet the needs of various industries. Such market conditions also create the significance of implementation for the research of this method. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] The technical problem to be solved by the present invention is how to provide a method for controlling situation display, so as to solve the problem that many current situation display systems are directly controlled on the display page, without a method for separating the display platform and the operation platform and automating to a certain extent.

[0006] (II) Technical solution

[0007] In order to solve the above technical problems, the present invention proposes a method for controlling situation display, which is applied to a system including a browser, a server, an agent and a client, wherein the browser is connected to the server via HTTP, the server is connected to the agent via MQTT, and the agent is connected to the client via MQTT. The method comprises the following steps:

[0008] Step S1: Client scene settings

[0009] S11. Viewing angle setting

[0010] The user sets the viewing angle on the server through the browser. Determining a viewing angle requires six factors, namely, three factors of camera position and three factors of camera angle;

[0011] S12. Element Setting

[0012] The user sets the elements that need to be displayed in the first scene on the server through the browser, and the elements that do not belong to the scene are hidden to improve performance;

[0013] Step S2: script editing. The user writes the initial conditions corresponding to each scenario of the client into the configuration file of the server through the browser;

[0014] S21. Basic operation settings

[0015] Set the basic operations required in each scenario, i.e. the minimum operation unit;

[0016] S22. Operation combination settings

[0017] Combine basic operations and set the order;

[0018] S23. Preview and Optimization

[0019] Real-time preview, continuous adjustment and optimization;

[0020] Step S3, the server reads the configuration file, performs situation control according to the first scenario set in S1, and pushes the configuration file to the agent based on the MQTT protocol. The agent pushes the configuration file to the situation display page of the client based on the MQTT protocol.

[0021] Furthermore, in step S12, the displayed elements include one or more of lighting, measurement and control stations, and search and rescue forces.

[0022] Furthermore, in step S2, the initial conditions include: whether the sunlight is turned on, whether the measurement and control station is displayed, and whether the search and rescue force is displayed.

[0023] Furthermore, the client is a Digital Earth client.

[0024] Furthermore, the situation control in step S3 includes: manual control, automatic control and manual and automatic switching control.

[0025] Furthermore, operations not related to the scene must be manually controlled and need to be switched to manual mode.

[0026] Furthermore, for automatic control, after reading the script, the server sends the instructions one by one to the Digital Earth instruction queue through MQTT. The Digital Earth client executes according to the queue and feeds back the status to the server after execution. The server can read the current Digital Earth status.

[0027] Furthermore, the server is the production and management center of the message, the agent is the forwarding center of the message, and the client is the consumer of the message. The production stage of the message is completed by the user through the interactive operation between the browser and the server. A B / S architecture is formed between the browser and the server, and the HTTP protocol is used for communication. After the message is produced, it is published by the server to the agent, and then forwarded to the target client by the agent, thereby realizing the function of pushing messages. The message data communication between the agent and the server adopts the MQTT protocol, and the client and the agent maintain a persistent connection through the MQTT protocol. After receiving the message, the client saves and displays the message content to the user, and the client feeds back the message to the server.

[0028] Furthermore, the HTTP protocol is used between the browser and the server to exchange information, including downloading of message attachments, uploading of feedback information, and downloading of updates of client applications.

[0029] Furthermore, the server side includes a Web server, which adopts the PlayFramework framework, configures Nginx as the front-end server, and matches MySQL as the back-end data server; the proxy side uses a proxy server developed based on Mosquitto; and the client is an application software of the Android system.

[0030] (III) Beneficial effects

[0031] The present invention proposes a method for controlling situation display. Compared with the prior art, the technical solution proposed by the present invention proposes a method for controlling situation display applied to clients such as Digital Earth. The method writes the initial condition states that all fixed scenes should have in a configuration file. When switching to the scene, the server reads the configuration file to complete the goal of automatically initializing the scene. This reduces the psychological pressure of operators during manual operation and intense tasks, allowing operators to free up their energy to operate more important parts without having to pay attention to some operations that can be completed automatically. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A flow chart of a method for controlling the situation display of the present invention;

[0033] Figure 2 A system for realizing the control method of the situation display of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0035] The purpose of the present invention is to provide a situation display method which can separate the operation page from the display page and greatly reduce the operation steps of the operator.

[0036] The method for controlling situation display of the present invention is applied to a system including a browser, a server, an agent and a client, wherein the browser is connected to the server via HTTP, the server is connected to the agent via MQTT, and the agent is connected to the client via MQTT. The method comprises the following steps:

[0037] Step S1: Client scene settings

[0038] S11. Viewing angle setting

[0039] The user sets the viewing angle on the server side through the browser. Determining a viewing angle requires six factors, including three factors of camera position and three factors of camera angle. A viewing angle can be determined by these six factors.

[0040] S12. Element Setting

[0041] The user sets the elements that need to be displayed in the first scene on the server through the browser (such as lighting, measurement and control stations, search and rescue forces, etc., depending on the specific project situation), and the elements that do not belong to the scene are hidden to improve performance.

[0042] After the perspective is determined, you can proceed to the next step. Through script editing, you can cascade a series of operations related to this perspective by just clicking on a certain perspective.

[0043] Step S2, script editing, the user writes the initial conditions corresponding to each scene of the client (such as whether to turn on the sun, whether to display the control station, whether to display the search and rescue force, the initial conditions are determined according to the specific project) into the configuration file of the server through the browser

[0044] S21. Basic operation settings

[0045] Set the basic operations required in each scenario, that is, the minimum operation unit.

[0046] S22. Operation combination settings

[0047] Combine basic operations and set the order.

[0048] S23. Preview and Optimization

[0049] Real-time preview supports continuous adjustment and optimization and improvement.

[0050] Step S3, the server reads the configuration file, performs situation control according to the first scenario set in S1, and pushes the configuration file to the agent based on the MQTT protocol. The agent pushes the configuration file to the situation display page of the client based on the MQTT protocol.

[0051] After the server completes writing the configuration file in step S2, it can read the configuration file in step S2 and push it to the situation display page of the client through MQTT. In a certain embodiment, the client is a digital earth client.

[0052] The control includes the following three modes:

[0053] 1. Manual control

[0054] Operations not related to the scene must be manually controlled and need to be switched to manual mode to ensure accuracy

[0055] 2. Automatic control

[0056] After the server reads the script, it sends the instructions one by one to the Digital Earth command queue through MQTT. The Digital Earth client executes according to the queue and feeds back the status to the server after the execution is completed. The server can read the current Digital Earth status. If the lighting is already turned on, it will not send the lighting on command again.

[0057] 3. Manual and automatic switching control

[0058] The following is an introduction to the information push system based on the MQTT protocol:

[0059] In general, a hybrid architecture of C / S architecture and B / S architecture is adopted, with the path of message flow as the main line. According to the characteristics of functional areas, the system is divided into three parts: server, agent and client, showing the entire closed-loop process of message generation, transmission, reception and feedback, reflecting the two-way flow of the developed system, where the server is the message production and management center, the agent is the message forwarding center, and the client is the message consumption end. In a certain embodiment, the client is the Digital Earth of China Science Star Map.

[0060] From the perspective of message delivery, the message production stage is completed by the user through the interactive operation between the browser and the server. The browser and the server form a B / S architecture and use the HTTP protocol for communication. After the message is produced, the server publishes it to the agent, which then forwards it to the target client, thereby realizing the function of pushing messages. The message data communication between the agent and the server uses the MQTT protocol, and the client and the agent maintain a persistent connection through the MQTT protocol, so as to ensure that the client can receive the message pushed by the server in real time. The architecture between the client and the agent is a C / S mode. After receiving the message, the client needs to save and display the message content to the user, and the client can also feedback the message to the server. The browser and the server use the HTTP protocol for information exchange, including the download of message attachments, the upload of feedback information, and the update download of client applications.

[0061] In terms of the system's software configuration, the server-side Web server uses the PlayFramework framework, configures Nginx as the front-end server, and matches it with MySQL as the back-end data server; the proxy side uses a proxy server developed based on Mosquitto; and the client is an application software for the Android system.

[0062] Compared with the prior art, the technical solution proposed in the present invention proposes a new control method for situation display, which writes the initial condition states that all fixed scenes should have in the configuration file. When switching to the scene, the program reads the configuration file to complete the goal of automatically initializing the scene. This reduces the psychological pressure of operators during manual operation and intense tasks, allowing operators to free up their energy to operate more important parts without having to pay attention to some operations that can be completed automatically.

[0063] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for controlling situation display, characterized in that: The method is applied to a system including a browser, a server, a proxy and a client, wherein the browser is connected to the server via HTTP, the server is connected to the proxy via MQTT, and the proxy is connected to the client via MQTT. The method comprises the following steps: Step S1: Client scene settings S11. Viewing angle setting The user sets the viewing angle on the server through the browser. Determining a viewing angle requires six factors, namely, three factors of camera position and three factors of camera angle; S12. Element Setting The user sets the elements that need to be displayed in the first scene on the server through the browser, and the elements that do not belong to the scene are hidden to improve performance; Step S2: script editing. The user writes the initial conditions corresponding to each scenario of the client into the configuration file of the server through the browser; S21. Basic operation settings Set the basic operations required in each scenario, i.e. the minimum operation unit; S22. Operation combination settings Combine basic operations and set the order; S23. Preview and Optimization Real-time preview, continuous adjustment and optimization; Step S3, the server reads the configuration file, performs situation control according to the first scenario set in S1, and pushes the configuration file to the agent based on the MQTT protocol, and the agent pushes the configuration file to the situation display page of the client based on the MQTT protocol; in, In step S12, the displayed elements include one or more of lighting, measurement and control stations, and search and rescue forces; In step S2, the initial conditions include: whether the sunlight is turned on, whether the measurement and control station is displayed, and whether the search and rescue force is displayed; The client is the Digital Earth client; The server is the message production and management center, the agent is the message forwarding center, and the client is the message consumption end. The message production stage is completed by the user through the interactive operation between the browser and the server. A B / S architecture is formed between the browser and the server, and the HTTP protocol is used for communication. After the message is produced, it is published by the server to the agent, and then forwarded to the target client by the agent, thereby realizing the function of pushing messages. The message data communication between the agent and the server adopts the MQTT protocol. The client and the agent maintain a persistent connection through the MQTT protocol. After receiving the message, the client saves and displays the message content to the user, and the client feeds back the message to the server.

2. The method for controlling the situation display according to claim 1, characterized in that: The situation control in step S3 includes: manual control, automatic control and manual and automatic switching control.

3. The method for controlling the situation display according to claim 2, characterized in that: Operations not related to the scene must be controlled manually and must be switched to manual mode.

4. The method for controlling the situation display according to claim 2, characterized in that: For automatic control, after reading the script, the server sends the instructions one by one to the Digital Earth instruction queue through MQTT. The Digital Earth client executes according to the queue and feeds back the status to the server after execution. The server can read the current Digital Earth status.

5. The method for controlling situation display according to claim 1, characterized in that: The HTTP protocol is used between the browser and the server to exchange information, including downloading message attachments, uploading feedback information, and downloading updates of client applications.

6. The method for controlling situation display according to claim 1, characterized in that: The server side includes a Web server. The Web server of the server side adopts the PlayFramework framework, configures Nginx as the front-end server, and matches MySQL as the back-end data server. The proxy side uses a proxy server developed based on Mosquitto. The client is an application software of the Android system.

Citation Information

Patent Citations

  • Machine room equipment information monitoring system based on MQTT communication protocol

    CN112422544A

  • Three-dimensional scene interactive video creating method and creating device

    CN114363687A

  • Display information generation method and device, information display method and device and electronic equipment

    CN114520928A