Low-code configuration software system applied to monitoring touch screen

By designing a low-code configuration software system, and using the configuration configuration modules to quickly build and customize the various modules of the touch screen, the problems of complexity and poor scalability of the software system in the existing technology are solved, and efficient human-computer interaction and video streaming playback are achieved.

CN119536694APending Publication Date: 2025-02-28NANJING MINGXIAO INTELLIGENT MFG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411340824.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing monitoring touch screen software system is complex and difficult to port, and cannot effectively adapt to the needs of different operating lines, resulting in large code volume and poor scalability.

Method used

A low-code configuration software system is designed, including configuration configuration module, database module, real-time operation interface module, player module, core service module and network packet transceiver and receive processing module. The configuration configuration module is used to quickly build and customize each module.

Benefits of technology

It improves the scalability and compatibility of the system, reduces the amount of code, realizes the human-computer interaction function of monitoring the touch screen, and ensures the playback of video streams and the timely processing of network data through streaming media technology and network packet processing module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536694A_ABST
    Figure CN119536694A_ABST
Patent Text Reader

Abstract

The invention relates to a low-code configuration software system applied to a monitoring touch screen, and the system comprises a configuration module which is used for carrying out the configuration of each module, so as to construct each module; the database module is used for reading and writing database files; the instant operation interface module is used for constructing a default basic interface according to the configuration module and configuring multiple functional interfaces based on the default basic interface to realize interaction with a driver; the player module is used for responding to the man-machine interaction instruction of the instant operation interface module and playing the video stream; the core service module is used for receiving commands of all the modules and executing corresponding operations; and the network packet receiving and transmitting processing module is used for receiving and transmitting network packets. Compared with the prior art, the method has the advantages of being low in code quantity, diversified in functionality, simple in configuration, applicable to multiple platforms, high in expansibility and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of embedded touch screen monitoring technology, and in particular to a low-code configuration software system for monitoring touch screens. Background Art

[0002] In modern train broadcasting systems, the monitoring touch screen is a device used to manage and control the in-vehicle system in the PIS (Passenger Information System) system, and is an important hardware component of the CCTV (Closed Circuit Television) system of the rail transit PIS system.

[0003] The monitoring touch screen can complete the control of IPC (Inter-Process Communication), NVR (Network Video Recorder), and alarms in the entire train from the subway driver's room, and the overall perception of train alarms, including the status of passenger alarms, driver's room door status, passenger compartment door status, smoke and temperature detector status, driver's room host status, passenger compartment host status, current station announcement mode, current system status, broadcast volume, monitoring volume, driver intercom volume, passenger intercom volume, train speed, etc.

[0004] The existing monitoring touch screen software system is complex and difficult to transplant. Different operating lines have different requirements for the monitoring touch screen software system, which makes it particularly difficult to select hardware manufacturers. There will be small differences between each line, but often a small change requires a large amount of code changes. The existing code framework is not easy to customize and transplant and expand functional modules. Summary of the invention

[0005] The purpose of the present invention is to provide a low-code configuration software system for monitoring touch screens with improved scalability.

[0006] The purpose of the present invention can be achieved by the following technical solutions:

[0007] A low-code configuration software system for monitoring touch screens, including a configuration module, a database module, an instant operation interface module, a player module, a core business module, and a network packet transceiver processing module.

[0008] The configuration module is used to configure each module to construct each module;

[0009] The database module is connected to the core business module and the network packet transceiver processing module respectively, and is used to read and write database files;

[0010] The real-time operation interface module is connected to the configuration module, the player module and the core business module respectively, and is used to construct a default basic interface according to the configuration module, and configure multiple functional interfaces based on the default basic interface to realize interaction with the driver;

[0011] The player module: respectively connected to the configuration module, the real-time operation interface module and the core business module, the player module is used to respond to the human-computer interaction instructions of the real-time operation interface module to play the video stream;

[0012] The core business module is connected to each module respectively, and is used to receive commands from each module to perform corresponding operations;

[0013] The network packet receiving and sending processing module is respectively connected to the configuration module, the database module and the core business module, and is used to realize the reception and sending of network packets.

[0014] Furthermore, the functional interface includes:

[0015] Preview interface: used to control the switching of preview screen playback source, playback area, grid type, and whether to play in a loop;

[0016] Video viewing interface: used to search, play and download videos;

[0017] Status interface: used to display the connection status of each module of the system;

[0018] Management interface: used to manage the operation log and alarm information of the system through the database module;

[0019] Control interface: used for customized configuration of control systems;

[0020] Simulation station announcement interface: used to control and set the announcement station information by calling the core business module and the network packet transceiver processing module;

[0021] Login interface: used to enable the driver to log into the system and control usage permissions.

[0022] Furthermore, the management interface includes:

[0023] Operation log management unit: used to manage the operation log in the database module;

[0024] Alarm information management unit: used to display the alarm information transmitted by the core business module according to its priority.

[0025] Furthermore, the control interface includes:

[0026] Volume adjustment unit: used to receive the driver's volume adjustment command to achieve volume adjustment;

[0027] Noise detection control unit: used to receive the driver's noise detection control instructions to implement noise detection control;

[0028] Network upgrade unit: used to receive the driver's network upgrade instructions to achieve system upgrades.

[0029] Furthermore, the volume adjustment unit and the noise detection control unit both include password authentication subunits, which are used to implement password authentication during volume adjustment and noise detection control, respectively.

[0030] Furthermore, the simulated station announcement interface includes:

[0031] Site setting unit: used to set the name, order and stop time information of each site;

[0032] Cross-site setting unit: used to set the site information that needs to be crossed;

[0033] Station announcement unit: used to broadcast information about the current station, next station and expected station. The broadcasting methods include manual broadcast, automatic broadcast and emergency broadcast.

[0034] Furthermore, when the player module plays a video stream, video stream playback parameters are configured through the configuration module, and the video stream playback parameters include frame rate, resolution and encoding format.

[0035] Furthermore, the player module includes:

[0036] Stream type setting unit: used to set the stream type of the video stream to be played, the stream type includes TS stream, PS stream and RTSP stream;

[0037] The code stream encoding type setting unit is used to set the encoding format of the video and audio in the video stream, wherein the video encoding format includes H264 and H265, and the audio encoding format includes G711 and AAC;

[0038] Resolution setting unit: used to set the resolution of the video stream;

[0039] Video stream playback unit: used to play the video stream according to the settings of each unit in the player module.

[0040] Furthermore, the core business module includes:

[0041] A command parsing unit: used for parsing the interactive instructions transmitted by the real-time operation interface module and the network packets transmitted by the network packet transceiver processing module;

[0042] Operation execution unit: performs corresponding operations according to the analysis results, and the corresponding operations include switching the working status of each module, setting the player module, setting the function interface in the real-time operation interface module, and interacting with the database module.

[0043] Furthermore, the core business module is composed of multiple threads, which are respectively used for database operations in the database module, response instant operations in the instant operation interface module, playback operations in the player module, and network packet sending and receiving operations in the network packet sending and receiving processing module.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] (1) The present invention is provided with a configuration module, which can meet the needs of rapid construction of different projects. Under different hardware and requirements, business software can be quickly released. When new hardware or requirements arise, only the new parts need to be developed to form a customized warehouse. The software system is released by configuring through the configuration module, thereby improving the compatibility and scalability of the business.

[0046] (2) The present invention configures each module through a configuration module, and each module can also coordinate and switch with each other. Through the collaborative operation between the modules, the human-computer interaction function of monitoring the touch screen is realized.

[0047] (3) The present invention uses streaming media technology and audio and video encoding and decoding technology in the player module to enable the train driver's cab to play the monitoring screen of the entire train. The network packet receiving and sending processing module is set up, and the network data packets and serial port data will not experience serious delays.

[0048] (4) The present invention is configured through a configuration module, which reduces the amount of system code and can achieve customization and transplantation expansion. The system configuration is simple and applicable to multiple platforms. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a schematic diagram of the system structure of the present invention;

[0050] Figure 2 A schematic diagram of the configuration module control of an embodiment of the present invention;

[0051] Figure 3 A schematic diagram of the control thread of the core business module of an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0053] This embodiment provides a low-code configuration software system for monitoring a touch screen, such as Figure 1 As shown, the system includes: a configuration module 1, a database module 2, an instant operation interface module 3, a player module 4, a core business module 5 and a network packet transceiver processing module 6. The instant operation interface module 3 realizes the human-computer interaction operation of the monitoring touch screen; the player module 4 realizes the playback and playback of the video stream, and the screen played by the player module 4 can be switched through the instant operation interface module 3; the core business module 5 is connected to the player module, the database module, and the network packet transceiver processing module, and is responsible for parsing the network module message and executing the corresponding instructions, realizing the core business code logic of the software; the network packet transceiver processing module 6 is connected to the core business module 5 to realize the reception and transmission of network packets; the database module 2 is respectively connected to the instant operation interface module 3 and the network packet transceiver processing module 6 to realize the reading and writing of the database file and the recording of the core business components; the configuration module 1, the database file is connected to the instant operation interface module 3, and the above modules can be built in batches. Specifically:

[0054] 1. Configuration module

[0055] The configuration module 1 is connected to the real-time operation interface module 3, and its workflow is as follows: Figure 2 As shown, when the software is first loaded and run, the interface function layout and function display of the software are set, and at the same time, the playback area of ​​the player module 4 is expanded and the initial video stream playback parameters are set.

[0056] In this embodiment, the configuration module 1 is based on the serialized tag language XML, which has the following characteristics:

[0057] (1) Extensibility: XML allows users to define tags to describe data.

[0058] (2) Self-descriptiveness: XML is self-descriptive. You can use XML to define specific document models to verify whether an XML document meets specific requirements. XML is not only easy to read, but many heterogeneous computing systems also support XML processing. The way XML describes data is truly independent of the application system and allows data to be reused.

[0059] (3) Simplicity: It uses 20% of the complexity of SGML but retains 80% of its functionality.

[0060] (4) Separation of data description and display: Using XML technology, the data to be displayed can be stored independently in an XML document, and the XML data document can be called in the HTML file.

[0061] (5) Easy data exchange and sharing: With the continuous development of the network, the heterogeneity problem has become increasingly prominent. Data exchange between heterogeneous systems is also a matter of great concern to developers. By utilizing the cross-platform characteristics of XML and storing the data to be exchanged in XML documents, data interaction between heterogeneous systems can be easily achieved. In addition, storing the data to be shared in XML documents allows more network systems to easily obtain resource sharing. This makes it easier to upgrade servers, operating systems, browsers, and applications.

[0062] (6) Easy to fully utilize data: Because XML is cross-platform and easy to exchange and share data, data can be utilized by more users and devices. These applications or devices can use XML document data as a data source, and applications and devices can "read" XML documents in the same way, making full use of data.

[0063] (7) Can be used to create new languages: XML can be used to create data description tags that conform to a specific field to meet the needs of data description in a specific field. For example, MML (XML in the music field), ebXML (XML in the e-commerce field), and CML (XML in the chemistry field). The application of XML in Web Services cannot be ignored. It is the cornerstone of Web Services.

[0064] 2. Database module

[0065] This module is connected to the core business module 5 and the network packet receiving and sending processing module 6 respectively to realize the reading and writing of database files and the recording of core business components.

[0066] The database API interface uses the open source SQLite3 packaged in Qt. SQLite3 has the following features:

[0067] Supports most SQL commands; no need to install database server software; a db file (file) is a database; relatively fast; an independent open source .c file, directly participates in application layer compilation, provides API function calls, etc. SQLite3 officially integrates all source code packages into a large file, namely sqlite3.c and sqlite.h. They can be used as ordinary .c files and participate in compilation. Other .c files directly reference the functions in sqlite3.c and convert SQL statements into string data to implement SQL operations.

[0068] This system uses database technology, mainly "read database" operation. During initialization, the station information and configuration information are read from the database file into the memory, and then the station information and system configuration are performed based on this information. The database file is located in the file storage unit. As long as the database file is updated, the system software can be restarted to realize the business change.

[0069] 3. Instant operation module

[0070] The real-time operation interface module 3 realizes interaction with the driver.

[0071] After the monitoring touch screen is powered on, the real-time interface operation module 3 enters the standby section, waiting for the driver's operation. When the driver touches the screen, the real-time operation interface module 3 will send an operation command packet to the core business module 5.

[0072] Real-time operation interface module 3 includes: preview, video viewing, status, management, control, simulated station announcement, login, polling, playback area, grid type and other functions;

[0073] The default basic interface can be constructed through the configuration information of configuration module 1 to build the basic interface functions. The configurable function modules include: preview, video viewing, status, management, control, simulated station announcement, login, polling, playback area, grid type and other functions.

[0074] The preview interface is used to control the switching of the preview screen playback source and playback area, grid type, and whether to poll.

[0075] The video viewing interface is used to search for videos and play, replay and download them.

[0076] The status interface is used to display the connection status of each module of the system.

[0077] The management interface is used to manage the system's operation logs, alarm information, etc. This function is completed through the database module.

[0078] Wherein, the management interface includes:

[0079] Operation log management unit: used to manage the operation log in the database module 2;

[0080] Alarm information management unit: used to display the alarm information transmitted by the core business module 5 according to its priority.

[0081] Control interface for controlling customized functions of the system, including:

[0082] A volume adjustment unit, used for receiving a volume adjustment instruction from a driver;

[0083] A noise detection control unit, used for receiving a noise detection control instruction from a driver;

[0084] A network upgrade unit is used to receive the driver's network upgrade command and upgrade the program of the low-code self-built system through the network interface to achieve system upgrade;

[0085] The volume adjustment unit and the noise detection control unit both contain a password authentication subunit, which is used to implement password authentication during volume adjustment and noise detection control.

[0086] The simulated station announcement interface is used to control the setting of the broadcast station information, and completes the functions by calling the core business module 5 and the network packet transceiver processing module 6, including:

[0087] Site setting unit: used to set the name, order and stop time information of each site;

[0088] Cross-site setting unit: used to set the site information that needs to be crossed;

[0089] Station announcement unit: used to broadcast information about the current station, next station and expected station, where the broadcasting methods include manual broadcasting, automatic broadcasting and emergency broadcasting. Manual broadcasting instructions, emergency broadcasting instructions and automatic broadcasting instructions are transmitted to the core business module 5 for processing.

[0090] Login interface, used for the driver to log into the system and control usage permissions.

[0091] The specific interface presentation of the real-time operation interface module 3 is configured by the configuration module 1, including the core business module 5 connected to the network packet transceiver processing module 6, and the playback video parameters related to the player module 4, including: frame rate, resolution, encoding format, etc. can all be configured through the configuration module 1.

[0092] In this embodiment, the real-time operation interface module 3 adopts the open source GUI development framework Qt5.13.1, which has the characteristics of configurability, portability, and no royalties, and is very suitable for embedded application development. Qt adopts a modular structure. This system uses the network stack, QSqlite3 database driver, QXmlStreamWriter / QXmlStreamReader driver, QThread multithreading and other technologies supported by Qt5.13.1. For example, the network packet sending and receiving process is a separate thread, while the core business module 5 is composed of multiple threads.

[0093] 4. Player module

[0094] The player module 4 is used to play the streaming media video.

[0095] In this embodiment, the player module 4 plays H264 and H265 encoded video streams by integrating x264 and x265 libraries, and supports setting the playback resolution. The touch screen uses widget window components and QT for GUI programming.

[0096] The player module 4 is used to dynamically set the video source to be played and output the video stream to be played, including:

[0097] Stream type setting unit: used to set the stream type to be played, such as TS stream, PS stream, RTSP stream

[0098] Stream encoding type setting unit: used to set the playback stream encoding type, such as video H264, H265; audio G711, AAC;

[0099] Resolution setting unit: used to set the playback video resolution;

[0100] Video stream playback unit: used to play the video stream according to the settings of each unit in the player module 4;

[0101] It can be transcoded and re-streamed to the specified address.

[0102] The player module 5 can broadcast across internal and external network segments through local dual network cards.

[0103] The video source in the player module 5 may be an ES (Elementary Stream) original stream, and the player module 5 is responsible for packaging, and the process is ES->PES (Packetized Elementary Stream)->TS (Transport Stream).

[0104] 5. Core business modules

[0105] The core business module 5 is responsible for processing the network commands and network control command packets received by the network packet transceiver module 6 and performing business processing. The core business module 5 includes a command parsing unit and an operation execution unit. The command parsing unit is used to parse the operation command packets transmitted by the real-time operation interface module 3 and the network packets transmitted by the network packet transceiver processing module; the operation execution unit is used to perform corresponding operations according to the commands obtained after parsing, including monitoring screen switching, alarm linkage playback, etc. The operations performed according to the input instructions of the human-computer interaction interface displayed by the real-time operation interface module include working state switching, player module settings, preview position settings, database interface module interaction, etc.

[0106] The functions implemented by the core business module 5 are composed of multiple threads, completing preview, video viewing, status, management, control, simulated station announcement, login, polling, playback area, grid type, etc. The alarm playback switching is handled by a thread, which obtains an alarm linkage information from the queue, analyzes it, and switches the screen according to the priority of the alarm. The flowchart of the control thread is as follows Figure 3 As shown, multiple threads are used for database operations, instant response operations, playback operations, and network packet sending and receiving operations.

[0107] 6. Network packet sending and receiving processing module

[0108] In the network packet receiving and sending processing module 6 of the present system, the communication target is configurable, the network packets are transmitted in the form of queues, and the network data packets begin with the target device name and target device number.

[0109] The network packet sending and receiving process exists in a thread mode, and its workflow is as follows:

[0110] Create a thread according to the configuration of configuration module 1 and connect to join the target network;

[0111] Enter the infinite loop of for(;;) and use the select mechanism to monitor each socket. If a new packet arrives, it is received and stored in the corresponding buffer queue; if a new packet is sent, the next packet is taken from the corresponding buffer queue and sent.

[0112] In order to speed up thread rotation, after each packet is sent and received, the CPU control right is actively given up to allow other threads to occupy the CPU.

[0113] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0114] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A low-code configuration software system for monitoring touch screens, characterized in that: It includes a configuration module (1), a database module (2), a real-time operation interface module (3), a player module (4), a core business module (5), and a network packet receiving and sending processing module (6). The configuration module (1) is used to configure each module to construct each module; The database module (2) is connected to the core business module (5) and the network packet receiving and sending processing module (6) respectively, and the database module (2) is used to read and write database files; The real-time operation interface module (3) is respectively connected to the configuration module (1), the player module (4) and the core business module (5), and the real-time operation interface module (3) is used to construct a default basic interface according to the configuration module (1), and configure a plurality of functional interfaces based on the default basic interface to realize interaction with the driver; The player module (4) is respectively connected to the configuration module (1), the real-time operation interface module (3) and the core business module (5), and the player module (4) is used to respond to the human-computer interaction instructions of the real-time operation interface module (3) to realize the playback of the video stream; The core business module (5) is connected to each module respectively, and is used to receive commands from each module to perform corresponding operations; The network packet receiving and sending processing module (6) is respectively connected to the configuration module (1), the database module (2) and the core business module (5), and the network packet receiving and sending processing module (6) is used to realize the reception and sending of network packets.

2. According to claim 1, a low-code configuration software system for monitoring touch screens is characterized in that: The functional interface includes: Preview interface: used to control the switching of preview screen playback source, playback area, grid type, and whether to play in a loop; Video viewing interface: used to search, play and download videos; Status interface: used to display the connection status of each module of the system; Management interface: used to manage the operation log and alarm information of the system through the database module (2); Control interface: used for customized configuration of control systems; Simulated station announcement interface: used to set the announcement station information by calling the core business module (5) and the network packet transceiver processing module control (6); Login interface: used to enable the driver to log into the system and control usage permissions.

3. A low-code configuration software system for monitoring a touch screen according to claim 2, characterized in that: The management interface includes: Operation log management unit: used for managing the operation log in the database module (2); Alarm information management unit: used to display the alarm information transmitted by the core business module (5) according to its priority.

4. A low-code configuration software system for monitoring a touch screen according to claim 2, characterized in that: The control interface includes: Volume adjustment unit: used to receive the driver's volume adjustment command to achieve volume adjustment; Noise detection control unit: used to receive the driver's noise detection control instructions to implement noise detection control; Network upgrade unit: used to receive the driver's network upgrade instructions to achieve system upgrades.

5. A low-code configuration software system for monitoring a touch screen according to claim 4, characterized in that: The volume adjustment unit and the noise detection control unit both contain password authentication subunits, which are used to implement password authentication during volume adjustment and noise detection control respectively.

6. A low-code configuration software system for monitoring a touch screen according to claim 2, characterized in that: The simulated station announcement interface includes: Site setting unit: used to set the name, order and stop time information of each site; Cross-site setting unit: used to set the site information that needs to be crossed; Station announcement unit: used to broadcast information about the current station, next station and expected station. The broadcasting methods include manual broadcast, automatic broadcast and emergency broadcast.

7. A low-code configuration software system for monitoring touch screens according to claim 1, characterized in that: When the player module (4) plays a video stream, video stream playing parameters are configured through the configuration module (1), and the video stream playing parameters include frame rate, resolution and encoding format.

8. A low-code configuration software system for monitoring a touch screen according to claim 1, characterized in that: The player module (4) comprises: Stream type setting unit: used to set the stream type of the video stream to be played, the stream type includes TS stream, PS stream and RTSP stream; The code stream encoding type setting unit is used to set the encoding format of the video and audio in the video stream, wherein the video encoding format includes H264 and H265, and the audio encoding format includes G711 and AAC; Resolution setting unit: used to set the resolution of the video stream; Video stream playback unit: used to play the video stream according to the settings of each unit in the player module (4).

9. A low-code configuration software system for monitoring a touch screen according to claim 1, characterized in that: The core business module (5) includes: A command parsing unit: used for parsing the interactive instructions transmitted by the real-time operation interface module (3) and the network packets transmitted by the network packet transceiver processing module (6); An operation execution unit: executes corresponding operations according to the analysis results, wherein the corresponding operations include switching the working status of each module, setting the player module (4), setting the functional interface in the real-time operation interface module (3), and interacting with the database module (2).

10. A low-code configuration software system for monitoring touch screen according to claim 1, characterized in that: The core business module (5) is composed of multiple threads, which are respectively used for database operations in the database module (2), response instant operations in the instant operation interface module (3), playback operations in the player module (4), and network packet transceiver operations in the network packet transceiver processing module (6).