Broadcast system control method, apparatus, device, and storage medium
Through centralized storage of broadcast system partitions and database polling verification, the problems of inaccurate feedback results and poor timeliness in the broadcast system are solved, and accurate feedback of broadcast partitions and real-time monitoring of equipment status are achieved, which facilitates equipment maintenance.
Patent Information
- Application Number
- CN202110600981.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-31
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2041-05-31
AI Technical Summary
The command execution feedback results of the existing broadcast system are inaccurate and have poor feedback timeliness, making it impossible to accurately obtain the working status of the broadcast equipment.
By obtaining the broadcast partition corresponding to the broadcast instruction, sending the broadcast instruction and storing it in the partition set, triggering the feedback data verification in the database, polling the database according to the partition set, and storing the verification data in the partition status set, the execution result of the broadcast partition is obtained and displayed after converting the data in the partition status set.
The accuracy and timeliness of broadcast partition feedback are improved, feedback blind spots are avoided, and users can understand the partition where the actual equipment failure occurs, which facilitates problem troubleshooting and equipment maintenance.
Smart Images

Figure CN115484551B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of rail transit, and in particular to a broadcast system control method, device, equipment and storage medium. BACKGROUND
[0002] The rail transit line usually uses an integrated dispatching system to monitor the device state of each subsystem and issue corresponding remote control, telemetry and other control instructions. The control of the broadcast system (PAS) is mainly realized through an integrated dispatching broadcast module, such as issuing pre-recorded broadcast, oral broadcast, monitoring and other instructions, so as to realize real-time broadcasting and intercom for the platform or train. After issuing the corresponding instructions, the broadcast system should feed back the execution state of the corresponding broadcast partition. However, the integrated dispatching broadcast module can only feed back whether the instruction is executed, and cannot accurately and specifically feed back the execution state of a specific partition. Therefore, using the current feedback mechanism has the following disadvantages:
[0003] 1. The feedback result of instruction execution is not accurate. Although multiple broadcast partitions are selected to issue instructions, the final feedback is only whether the instruction is executed, and cannot be specific to which broadcast partitions have been executed. The feedback message is too vague, which can easily cause confusion to the operation personnel and affect the normal judgment of the operation personnel.
[0004] 2. The feedback timeliness of instruction execution is poor. Since the existing mechanism only reports to the integrated dispatching that the state is executed as long as one partition is successfully executed, the remaining partitions may not be executed or are being executed. At this time, the state is directly reported as executed, and the actual state feedback is not accurate.
[0005] 3. The working state of the broadcast device cannot be accurately obtained. The broadcast instruction task is finally executed on the partition device terminal. Since the state message of the existing feedback mechanism cannot be specific to each partition, it is impossible to accurately know whether the current partition device is working normally, and the self-checking ability of the system device working state is poor. SUMMARY
[0006] The embodiments of the present application provide a broadcast system control method, device, equipment and storage medium to solve the problems of inaccurate feedback result of instruction execution, poor feedback timeliness and inability to accurately obtain the working state of the broadcast device in the prior art.
[0007] The first aspect of the present application provides a broadcast system control method, which comprises:
[0008] obtaining a broadcast partition corresponding to a broadcast instruction, sending the broadcast instruction and storing the broadcast partition in a partition set, and triggering a feedback data check in a database at the same time;
[0009] According to the partition set, polling check is performed on the database, and the check data is stored in a partition state set;
[0010] The execution result of the broadcast partition is obtained by converting the data in the partition state set and is displayed.
[0011] The second aspect of the present application provides a broadcast system control device, characterized in that the broadcast system control device comprises:
[0012] A broadcast instruction control module is configured to obtain a broadcast partition corresponding to a broadcast instruction, send the broadcast instruction, and store the broadcast partition in a partition set;
[0013] A service processing module is configured to trigger check on feedback data in a database, perform polling check on the database according to the partition set, store the check data in a partition state set, and obtain the execution result of the broadcast partition by converting the data in the partition state set and display the execution result.
[0014] The third aspect of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to the first aspect of the present application when executing the computer program.
[0015] The fourth aspect of the present application provides a computer readable storage medium, which stores a computer program, wherein the computer program is executable by a processor to implement the steps of the method according to the first aspect of the present application.
[0016] The present application provides a broadcast system control method, device, equipment and storage medium. The broadcast system control method comprises obtaining a broadcast partition corresponding to a broadcast instruction, sending the broadcast instruction and storing the broadcast partition in a partition set, triggering check on feedback data in a database, performing polling check on the database according to the partition set, storing the check data in a partition state set, and obtaining the execution result of the broadcast partition by converting the data in the partition state set and displaying the execution result. The present application can specifically feedback the actual execution of the broadcast partition, improve the accuracy and timeliness of the feedback of the broadcast partition, avoid the feedback blind area, realize one broadcast partition corresponding to one feedback, facilitate users to understand the partition of the actual equipment fault, facilitate problem troubleshooting and equipment maintenance, and solve the problems of inaccurate feedback result of instruction execution, poor feedback timeliness and inability to accurately obtain the working state of the broadcast equipment in the prior art. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0018] Figure 1 is a flow chart of a broadcast system control method in an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of a broadcast system structure in a broadcast system control method in an embodiment of the present application;
[0020] Figure 3 is another flow chart of a broadcast system control method in an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of a broadcast system control device in an embodiment of the present application;
[0022] Figure 5 is a schematic diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application will be described clearly and completely in the following with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.
[0024] A broadcast system control method provided by the embodiments of the present application, as shown in Figure 1 The broadcast system control method comprises the following steps.
[0025] Step S101. Obtain a broadcast partition corresponding to a broadcast instruction, send the broadcast instruction, store the broadcast partition in a partition set, and trigger a feedback data check in a database.
[0026] Among them, the broadcast partition that needs to be broadcast is obtained, and the broadcast partition affected by the current instruction is stored in the partition set. The partition set is set to store the broadcast partition affected by the current instruction, so as to facilitate the data check module to process and reduce the redundancy of full partition check. When the broadcast is played in the broadcast partition, the state feedback point corresponding to each broadcast partition is received and stored in the database, and the feedback data check in the database is triggered.
[0027] Among them, the step of storing the broadcast partition in the partition set in step S101 further comprises:
[0028] Receiving the state feedback message of each broadcast partition and storing in the corresponding state feedback point of each broadcast partition in the database.
[0029] Wherein, in the broadcast interface service increases the broadcast partition group, while increasing the corresponding state feedback point of each broadcast partition in the database, the TCP / UDP format state feedback message reported by the broadcast interface service is stored in the corresponding state feedback point of each broadcast partition after parsing according to the specified format.
[0030] Wherein, the trigger feedback data verification in step S101 comprises:
[0031] Start checking the feedback data and start timing.
[0032] Wherein, the verification timeout time is set when starting to check the feedback data, and the verification is stopped when the verification timeout time is reached.
[0033] Step S102. According to the partition set, the database is polled and verified, and the verification data is stored in the partition state set.
[0034] Wherein, step S102 comprises:
[0035] The state feedback point corresponding to the broadcast partition in the database is periodically polled and verified, and the verification result is stored in the partition state set when the verification timeout time is reached.
[0036] Wherein, the partition state set is a cache area, which is mainly set for the storage and state transition of the actual result after data verification. Within the set time range, the execution state of the broadcast partition is periodically obtained from the database according to the partition set; after timeout, the partition state set is updated to record the final result of this verification.
[0037] Since the actual execution of each broadcast partition lags behind the instruction sending time, therefore, reasonable setting of data verification timeout time can take into account timeliness and accuracy, and achieve the best effect. Through test, the timeout time is defined as 10s, which is more reasonable.
[0038] Step S103. The data in the partition state set is converted to obtain the execution result of the broadcast partition and displayed.
[0039] Wherein, step S103 comprises:
[0040] According to the preset broadcast state set, the value state of the data in the partition state set is converted to obtain the final state string of the broadcast partition, and displayed through HMI.
[0041] Among them, HMI (Human Machine Interface), MVB bus (Multifunction Vehicle Bus), and RIOM (Remote Input Output Module) of each carriage. Among them, HMI is set in the front carriage of the train, and RIOM and HMI are both connected to the MVB bus.
[0042] In actual applications, HMIs are installed in the leading cars at both ends of the train. The driver can select the currently working HMI according to the direction of the train. RIOM is connected to the control devices in this car through the IO interface to collect control parameter information of the control devices in this car and send it to the HMI. In actual applications, each control device can correspond to multiple control parameters, and each control parameter corresponds to an IO interface. RIOM can obtain each control parameter through the IO interface corresponding to the control parameter, perform value-state conversion on the data in the partition status set to obtain the final status string of the broadcast partition, and display it through the HMI.
[0043] An embodiment of the present application provides a broadcast system control method that obtains the broadcast partition corresponding to a broadcast instruction, sends the broadcast instruction and stores the broadcast partition in a partition set, simultaneously triggers verification of feedback data in a database, performs polling verification on the database according to the partition set, stores the verification data in a partition status set, converts the data in the partition status set, obtains the execution result of the broadcast partition, and displays it. The present application can provide specific feedback on the actual execution status of the broadcast partition, improves the accuracy of the broadcast partition feedback, avoids feedback blind spots, and achieves one broadcast partition corresponding to one feedback, making it easier for users to understand the partition of the actual device failure, facilitating problem troubleshooting and equipment maintenance.
[0044] The present application is described below through a specific example, and its structural diagram is as follows: Figure 2 As shown, the broadcast interface service includes multiple partitions, and the integrated scheduling system includes a database, a business processing module, and an HMI. The flow chart is as follows Figure 3 As shown, the specific process of this new broadcast feedback mechanism is as follows:
[0045] After selecting the corresponding partition through the integrated scheduling system broadcast module interface, the broadcast instruction is issued.
[0046] When a broadcast instruction is issued, the broadcast partition affected by this instruction is stored in the partition set, a broadcast partition group is added to the broadcast interface service, and status feedback points of each corresponding broadcast partition are added to the database. The status feedback message in TCP / UDP format reported by the broadcast interface service is parsed according to the established format and stored in the status feedback point corresponding to each broadcast partition.
[0047] When the broadcast instruction is issued, the data checking module is triggered to perform polling checking.
[0048] If the timeout is not reached, periodic checking is performed; according to the results in the partition set, only the partition affected by the current instruction is polled, so as to avoid the complexity of checking all the partitions each time.
[0049] If the defined checking timeout time limit of 10 seconds is reached, the results are recorded to the partition state set.
[0050] According to the broadcast state set defined in advance and the final results in the partition state set, the value / state conversion final state string is realized and displayed on the HMI.
[0051] Another embodiment of the present application provides a broadcast system control device, as shown in the accompanying drawings, the broadcast system control device comprises: Figure 4 A broadcast instruction control module 21 is configured to obtain broadcast partitions corresponding to a broadcast instruction, send the broadcast instruction and store the broadcast partitions in a partition set;
[0052] A service processing module 22 is configured to trigger checking of feedback data in a database, perform polling checking of the database according to the partition set, store the checking data in a partition state set, and display the execution results of the broadcast partitions after conversion of the data in the partition state set.
[0053] Further, the broadcast instruction control module 21 is further configured to:
[0054] Receive state feedback messages of each broadcast partition and store the state feedback messages in state feedback points corresponding to each broadcast partition in the database.
[0055] Further, the broadcast instruction control module 21 is configured to:
[0056] Start checking the feedback data and start timing, periodically poll the state feedback points in the database corresponding to the broadcast partitions in the partition set, and store the checking results in the partition state set when the timeout time is reached.
[0057] The specific limitations of the broadcast system control device can be referred to the limitations of the broadcast system control method in the foregoing, which will not be repeated here. Each module in the above broadcast system control device can be realized by software, hardware and combinations thereof in whole or in part. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.
[0058]
[0059] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data used in the broadcast system control method of the above embodiment. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a broadcast system control method is implemented.
[0060] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the broadcast system control method in the above embodiment is implemented.
[0061] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the broadcast system control method in the above embodiment is implemented.
[0062] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0063] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
[0064] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A broadcast system control method, characterized in that: The broadcast system control method includes: Receive the broadcast partition corresponding to the broadcast instruction selected through the broadcast module interface of the integrated scheduling system, and send the broadcast instruction to the broadcast partition; store the broadcast partition in a partition set, receive the status feedback message of each broadcast partition in the partition set, and store it in the status feedback point corresponding to each broadcast partition in the database, and start verifying the feedback data and starting the timer; Periodically poll and verify the status feedback points in the database corresponding to the broadcast partitions in the partition set. When the verification timeout is reached, the verification results are stored in the partition state set. After converting the data in the partition status set, the execution result of the broadcast partition is obtained and displayed.
2. The broadcast system control method according to claim 1, wherein: The converting the data in the partition status set to obtain the execution result of the broadcast partition and displaying the result includes: The data in the partition status set is converted into a value state according to a preset broadcast status set to obtain a final state character string of the broadcast partition, and the final state character string is displayed through the HMI.
3. A broadcast system control device, characterized in that: The broadcast system control device includes: The broadcast instruction control module is used to receive the broadcast partition corresponding to the broadcast instruction selected through the broadcast module interface of the integrated scheduling system, send the broadcast instruction to the broadcast partition, store the broadcast partition in the partition set, receive the status feedback message of each broadcast partition in the partition set, and store it in the status feedback point corresponding to each broadcast partition in the database; The business processing module is used to simultaneously start verifying the feedback data and starting timing, periodically polling and verifying the status feedback points corresponding to the broadcast partitions in the partition set in the database, storing the verification results in the partition status set when the verification timeout time is reached, and converting the data in the partition status set to obtain the execution results of the broadcast partition and displaying them.
4. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to claim 1 or 2 are implemented.
5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.
Citation Information
Patent Citations
Platform area broadcasting system based on MQTT protocol
CN110417499A