CN115242829B - ITS message stream transmission method, device, equipment and storage medium - Google Patents

ITS message stream transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN115242829B
CN115242829B CN202210672877.XA CN202210672877A CN115242829B CN 115242829 B CN115242829 B CN 115242829B CN 202210672877 A CN202210672877 A CN 202210672877A CN 115242829 B CN115242829 B CN 115242829B
Authority
CN
China
Prior art keywords
message
equipment
type
sending
flow configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210672877.XA
Other languages
Chinese (zh)
Other versions
CN115242829A (en
Inventor
张睿
蒋湘宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Traffic Control Technology TCT Co Ltd
Original Assignee
Traffic Control Technology TCT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Traffic Control Technology TCT Co Ltd filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN202210672877.XA priority Critical patent/CN115242829B/en
Publication of CN115242829A publication Critical patent/CN115242829A/en
Application granted granted Critical
Publication of CN115242829B publication Critical patent/CN115242829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure provides an ITS message stream transmission method, an ITS message stream transmission device, ITS message stream transmission equipment and a storage medium. The method comprises the following steps: the message sending equipment inquires the equipment type corresponding to the ITS message from a message stream configuration file of the ITS system according to the equipment type of the message sending equipment and the message type of the ITS message to be sent, and sends the ITS message to the message receiving equipment corresponding to each equipment ID subordinate to each inquired equipment type; the message receiving device receives the ITS message and distributes or forwards the ITS message. In this way, data communications can be decoupled from ITS messaging configuration, greatly reducing system complexity.

Description

ITS message stream transmission method, device, equipment and storage medium
Technical Field
The disclosure relates to the technical field of rail transit, and in particular relates to an ITS message stream transmission method, an ITS message stream transmission device, ITS message stream transmission equipment and a storage medium.
Background
Message transmission between internal devices of the intelligent monitoring system (Intelligent Train Supervision, ITS) of the train is based on the grouping of different types of messages by message senders and the parsing of messages by message receivers.
The conventional ITS message stream transmission scheme is as follows:
1. the message sending equipment generates an ITS message, and obtains a target equipment list corresponding to the ITS message in a hard coding mode, wherein target equipment in the target equipment list is equipment to be received with the ITS message, writes the target equipment list into the ITS message, and sends the ITS message in a packet mode.
2. The message forwarding device parses the ITS message, obtains the target device list in the same manner, updates the target device list in the ITS message, and forwards the packet to the message receiving device.
However, the target device list is obtained by adopting a hard coding mode in the message stream transmission process, so that the ITS system is not easy to expand and the maintenance difficulty is high.
Disclosure of Invention
The present disclosure provides an ITS message stream transmission method, apparatus, device, and storage medium, which can decouple data communication from ITS message transmission configuration, thereby greatly reducing system complexity.
In a first aspect, an embodiment of the present disclosure provides an ITS message stream transmission method, including:
the message sending equipment inquires the equipment type corresponding to the ITS message from a message stream configuration file of the ITS system according to the equipment type of the message sending equipment and the message type of the ITS message to be sent, and sends the ITS message to the message receiving equipment corresponding to each equipment ID subordinate to each inquired equipment type;
the message receiving device receives the ITS message and distributes or forwards the ITS message.
In some implementations of the first aspect, the message flow configuration file is generated by the message flow configuration tool based on message flow configuration of an ITS system internal device by an ITS system management user.
In some implementations of the first aspect, the message sending device queries, according to a device type of the message sending device and a message type of an ITS message to be sent, a device type corresponding to the ITS message from a message flow configuration file of the ITS system, including:
the message sending equipment inquires message stream configuration data corresponding to the message sending equipment from the message stream configuration file according to the equipment type of the message sending equipment;
and the message sending equipment inquires the equipment type corresponding to the ITS message from the message flow configuration data according to the message type of the ITS message.
In some implementations of the first aspect, the method further includes:
the message sending equipment inquires redundant hot standby sending configuration data corresponding to the ITS message from the message stream configuration data according to the message type of the ITS message;
and the message sending equipment determines whether to send the ITS message according to the redundant hot standby sending condition indicated by the redundant hot standby sending configuration data and the redundant hot standby state of the message sending equipment.
In some implementations of the first aspect, the method further includes:
the message sending device writes the device type of the message sending device into a source device list in the ITS message;
the message receiving device inquires the device type to be communicated of the message receiving device from the message stream configuration file according to the device type of the message receiving device;
if the queried device type exists in the device type in the source device list in the ITS message, the message receiving device distributes or forwards the ITS message.
In some implementations of the first aspect, the message receiving device distributes or forwards the ITS message, including:
if the ITS message distribution is determined, the message receiving equipment inquires a message subscription record corresponding to the message type of the ITS message from a stored message subscription record list, and distributes the ITS message to a service module corresponding to the inquired message subscription record;
if it is determined that the ITS message is forwarded, the message receiving device queries the device type currently corresponding to the ITS message from the message stream configuration file according to the device type of the message receiving device and the message type of the ITS message, and sends the ITS message to the device corresponding to each device ID subordinate to each queried device type.
In some implementations of the first aspect, the data source network to which the message receiving device corresponds is based on dual network communication and dual redundancy hot standby configuration.
In some implementations of the first aspect, the method further includes:
the message flow configuration tool loads the message flow configuration file, generates and displays a communication topological graph of the ITS system, is used for an ITS system management user to edit the communication topological graph, and adjusts the message flow configuration file according to the edited communication topological graph.
In a second aspect, an embodiment of the present disclosure provides an ITS message streaming apparatus, including:
the information sending device is used for inquiring the equipment type corresponding to the ITS information from the information flow configuration file of the ITS system according to the equipment type of the information sending device and the information type of the ITS information to be sent, and sending the ITS information to the information receiving equipment corresponding to each equipment ID of each inquired equipment type;
and the receiving module is used for receiving the ITS message by the message receiving equipment and distributing or forwarding the ITS message.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
In the disclosure, the message sending device may query, from a message flow configuration file of the ITS system, a device type corresponding to the ITS message according to the device type and a message type of the ITS message to be sent, and send the ITS message to a message receiving device corresponding to each device ID subordinate to each queried device type, so that the message receiving device distributes or forwards the ITS message. In this way, the data communication and ITS message sending configuration can be decoupled, and the complexity of the system is greatly reduced.
It should be understood that what is described in this summary is not intended to limit the critical or essential features of the embodiments of the disclosure nor to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. For a better understanding of the present disclosure, and without limiting the disclosure thereto, the same or similar reference numerals denote the same or similar elements, wherein:
FIG. 1 illustrates a schematic diagram of an exemplary operating environment in which embodiments of the present disclosure can be implemented;
FIG. 2 illustrates a flow chart of an ITS message streaming method provided by an embodiment of the present disclosure;
fig. 3 shows a block diagram of an ITS message stream transmission apparatus provided in an embodiment of the present disclosure;
fig. 4 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to be within the scope of this disclosure.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In view of the problems occurring in the background art, embodiments of the present disclosure provide an ITS message stream transmission method, apparatus, device, and storage medium. Specifically, the message sending device may query, from a message flow configuration file of the ITS system, a device type corresponding to the ITS message according to the device type and a message type of the ITS message to be sent, and send the ITS message to a message receiving device corresponding to each device ID subordinate to each queried device type, so that the message receiving device distributes or forwards the ITS message.
In this way, the message flow configuration file can be used to replace hard coding, so that the data communication and the ITS message sending configuration can be decoupled, the complexity of the system is greatly reduced, and the risk controllability of the ITS system is further improved.
The method, the device, the equipment and the storage medium for transmitting the ITS message stream provided by the embodiment of the disclosure are described in detail by specific embodiments with reference to the accompanying drawings.
FIG. 1 illustrates a schematic diagram of an exemplary operating environment in which embodiments of the present disclosure can be implemented, as shown in FIG. 1, in which a messaging device and a message receiving device can be included in an operating environment 100.
The message sending device and the message receiving device are devices in the ITS system, for example, an application server, a database server, a local workstation, a station extension, a communication front-end processor, a gateway computer, a dispatch workstation, and the like, which are not limited herein.
As an example, the message sending device may query, according to the device type and the message type of the ITS message to be sent, the device type corresponding to the ITS message, that is, the next device type to which the ITS message is to flow, from the message flow configuration file of the ITS system, and further send the ITS message to the message receiving device corresponding to each device ID subordinate to each queried device type, so that the message receiving device distributes or forwards the ITS message, thereby reducing complexity of the system and further improving transmission efficiency of the ITS message.
An ITS message streaming method provided by the embodiments of the present disclosure will be described in detail below, where the ITS message streaming method may be applied to the operating environment 100.
Fig. 2 shows a flowchart of an ITS message streaming method provided by an embodiment of the present disclosure, and as shown in fig. 2, an ITS message streaming method 200 may include the following steps:
s210, the message sending device queries the equipment type corresponding to the ITS message from the message stream configuration file of the ITS system according to the equipment type of the message sending device and the message type of the ITS message to be sent.
The message flow configuration file can be generated by a message flow configuration tool based on message flow configuration of the ITS system internal equipment by an ITS system management user, and the degree of automation is high.
By way of example, an ITS system management user may use a message flow configuration tool to set the flow direction of ITS generated or forwarded ITS messages for all ITS system internal devices, and set each type of ITS message individually according to redundancy sending conditions, and save the set message flow configuration tool to automatically generate a message flow configuration file. Alternatively, the message flow profile may be in XML format.
When the communication relationship inside the ITS system changes, the message flow configuration can be changed by adjusting the message flow configuration file. For example: the message flow configuration tool can load the message flow configuration file, generate and display a communication topological graph of the ITS system, be used for an ITS system management user to edit the communication topological graph, quickly adjust the message flow configuration file in real time according to the edited communication topological graph, reduce the risk of message flow error configuration, and improve the robustness of the ITS system.
In some embodiments, the message sending device may query the message flow configuration file for message flow configuration data corresponding to the message sending device according to a device type of the message sending device. The message flow configuration data is a relevant configuration set of the ITS messages required to be sent by the equipment, and may include sending log printing configuration data, redundant hot standby sending configuration data, equipment type and the like corresponding to each ITS message.
Then, the message sending device may query, according to the message type of the ITS message to be sent, the device type currently corresponding to the ITS message, that is, the next device type to which the ITS message is to flow, from the message flow configuration data.
In other words, the device type to which the ITS message to be sent is to flow can be accurately determined by performing a progressive query according to the device type of the message sending device and the message type of the ITS message to be sent.
S220, the message sending device writes each queried device type and each device ID of the device type subordinate into a target device list in the ITS message to be sent, writes the device type and the device ID of the message sending device into a source device list in the ITS message, and sends the ITS message to a message receiving device corresponding to each device ID of the device type subordinate in the target device list.
It is apparent that the message receiving device does not include the present device.
It should be noted that, the message sending device may query, from the message flow configuration data, redundancy hot standby sending configuration data corresponding to the ITS message according to the message type of the ITS message to be sent, and then determine whether to send the ITS message according to the redundancy hot standby sending condition indicated by the redundancy hot standby sending configuration data and the redundancy hot standby state of the message sending device, so as to ensure correct transmission of the message.
Illustratively, the redundant hot standby transmission conditions may be as follows:
configured as unrestricted or stand alone mode= > transmit;
configured to be sent only by the host, the current message sending device is the host= > send;
configured to only non-host transmissions, currently non-host= > transmissions.
S230, the message receiving device receives the ITS message sent by the message sending device.
Specifically, the message receiving device circularly receives the ITS message byte array, analyzes the ITS message byte array added with the redundancy processing protocol to obtain an ITS message entity, and further analyzes the ITS message entity to obtain an ITS message.
S240, the message receiving device inquires the device type to be communicated of the message receiving device from the message flow configuration file according to the device type of the message receiving device, and determines whether the inquired device type exists in the device type in the source device list in the received ITS message.
S250, if the ITS message exists, the message receiving equipment determines the forwarding or distribution of the ITS message according to the message type of the received ITS message.
For example: the message receiving device may query a record corresponding to the message type from the stored preset list, and determine to forward or distribute the ITS message according to the record.
And S260, if the ITS message is determined to be distributed, the message receiving equipment inquires a message subscription record corresponding to the message type of the ITS message from a stored message subscription record list, and distributes the ITS message to a service module corresponding to the inquired message subscription record.
In this way, the ITS message can be conveniently distributed to the service module through the subscription mechanism.
And S270, if the forwarding of the ITS message is determined, the message receiving device queries the device type currently corresponding to the ITS message from the message flow configuration file according to the device type of the message receiving device and the message type of the ITS message, and sends the ITS message to the device corresponding to each device ID subordinate to each queried device type, so that the ITS message forwarding is realized.
That is, the message receiving apparatus will perform the above-described ITS message sending step as a message sending apparatus, further improving ITS message transmission efficiency.
According to the embodiment of the disclosure, the message flow configuration file can be used for replacing hard coding to decouple the data communication from the ITS message sending configuration, so that the complexity of the system is greatly reduced, and the expansibility and risk controllability of the ITS system are further improved.
It can be understood that, because all the ITS internal devices adopt dual-network communication and dual-machine redundancy hot standby, the dual-network configuration of the internal network and the direct network and the corresponding data source network are required, thereby ensuring the correct transmission of ITS messages. In other words, the data source network corresponding to the message receiving device is configured based on dual-network communication and dual-machine redundancy.
For example: the message receiving device can determine the starting conditions of the intranet and the direct-connection network communication management modules by reading the communication protocol configuration file, and each communication management module respectively creates a UDP socket for communication, so that the configuration of the data source network is realized.
The following describes in detail an ITS message stream transmission method provided in the embodiment of the present disclosure with reference to a specific embodiment, which is specifically as follows:
the message sending device invokes a common message flow configuration module.
The message stream configuration module inquires message stream configuration data corresponding to the message sending equipment from a message stream configuration file of the ITS system according to the equipment type of the message sending equipment, and then inquires the equipment type and redundant hot standby sending configuration data currently corresponding to the ITS message from the message stream configuration data according to the message type of the ITS message to be sent in the message sending equipment.
The message flow configuration module determines whether to send the ITS message according to the redundant hot standby sending condition indicated by the redundant hot standby sending configuration data and the redundant hot standby state of the message sending device, if it is determined to send the ITS message, each queried device type and each device ID subordinate to the device type can be written into a target device list in the ITS message, and the device type and the device ID of the message sending device can be written into a source device list in the ITS message.
And finally, the communication control module of the message sending device sends the ITS message to the message receiving device corresponding to each device ID subordinate to the device type in the target device list.
Correspondingly, the communication control module of the message receiving device can call the message flow configuration module in advance, the message flow configuration module queries the device type to be communicated of the message receiving device from the message flow configuration file according to the device type of the message receiving device, and determines the starting conditions of the intranet and the direct-connection network communication management modules by reading the stored communication protocol configuration file, and each communication management module respectively creates a UDP socket used for the double-network communication, thereby realizing the configuration of the data source network.
The communication control module circularly receives the ITS message byte array transmitted through the intranet or the direct networking, analyzes the ITS message byte array added with the redundancy processing protocol to obtain an ITS message entity, further analyzes the ITS message entity to obtain the ITS message, and if the queried equipment type exists in the source equipment list in the received ITS message, the ITS message is transmitted to the message distribution module.
If it is determined to distribute the ITS message, the message distribution module queries a message subscription record corresponding to the message type of the ITS message from the stored message subscription record list, and distributes the ITS message to a service module (e.g., a foreground command module, a redundancy backup module, an alarm module, etc.) corresponding to the queried message subscription record.
If it is determined to forward the ITS message, the message distribution module issues a message forwarding event, and the forwarding module can subscribe to the event, thereby calling the message flow configuration module to execute ITS message forwarding.
The subsequent equipment for receiving the ITS message adopts similar processing, and finally realizes ITS message transmission.
In this way, any device in the ITS can conveniently realize the configuration of the message flow by calling the common message flow configuration module and reading the unified message flow configuration file, and the risk controllability is high, so that the message transmission effect is improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Fig. 3 illustrates a block diagram of an ITS message streaming apparatus provided according to an embodiment of the present disclosure, and as shown in fig. 3, an ITS message streaming apparatus 300 may include:
and a sending module 310, configured to query, by the message sending device, a device type corresponding to the ITS message from a message flow configuration file of the ITS system according to the device type of the message sending device and the message type of the ITS message to be sent, and send the ITS message to a message receiving device corresponding to each device ID subordinate to each queried device type.
The receiving module 320 is configured to receive the ITS message by the message receiving device, and distribute or forward the ITS message.
In some embodiments, the message flow configuration file is generated by a message flow configuration tool based on message flow configuration of an ITS system internal device by an ITS system management user.
In some embodiments, the sending module 310 is specifically configured to:
and the message sending device inquires message stream configuration data corresponding to the message sending device from the message stream configuration file according to the device type of the message sending device.
And the message sending equipment inquires the equipment type corresponding to the ITS message from the message flow configuration data according to the message type of the ITS message.
In some embodiments, ITS message stream transmission apparatus 300 further comprises:
and the inquiring module is used for inquiring redundant equipment sending configuration data corresponding to the ITS message from the message flow configuration data according to the message type of the ITS message by the message sending equipment.
And the determining module is used for determining whether to send the ITS message according to the redundant hot standby sending condition indicated by the redundant hot standby sending configuration data and the redundant hot standby state of the message sending device.
In some embodiments, ITS message stream transmission apparatus 300 further comprises:
and the writing module is used for writing the equipment type of the information sending equipment into the source equipment list in the ITS message by the information sending equipment.
And the inquiring module is also used for inquiring the equipment type to be communicated of the message receiving equipment from the message flow configuration file according to the equipment type of the message receiving equipment by the message receiving equipment.
The receiving module 320 is specifically configured to: if the queried device type exists in the device type in the source device list in the ITS message, the message receiving device distributes or forwards the ITS message.
In some embodiments, the receiving module 320 is specifically configured to:
if it is determined to distribute the ITS message, the message receiving device queries a message subscription record corresponding to the message type of the ITS message from the stored message subscription record list, and distributes the ITS message to a service module corresponding to the queried message subscription record.
If it is determined that the ITS message is forwarded, the message receiving device queries the device type currently corresponding to the ITS message from the message stream configuration file according to the device type of the message receiving device and the message type of the ITS message, and sends the ITS message to the device corresponding to each device ID subordinate to each queried device type.
In some embodiments, the data source network to which the message receiving device corresponds is based on dual network communications and dual redundancy hot standby configuration.
In some embodiments, ITS message stream transmission apparatus 300 further comprises:
the adjustment module is used for loading the message flow configuration file by the message flow configuration tool, generating and displaying the communication topological graph of the ITS system, editing the communication topological graph by the ITS system management user, and adjusting the message flow configuration file according to the edited communication topological graph.
It can be appreciated that each module/unit in the ITS message stream transmission apparatus 300 shown in fig. 3 has a function of implementing each step in the ITS message stream transmission method 200 provided in the embodiment of the present disclosure, and can achieve a corresponding technical effect, which is not described herein for brevity.
Fig. 4 illustrates a block diagram of an electronic device that may be used to implement embodiments of the present disclosure. Electronic device 400 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic device 400 may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the electronic device 400 may include a computing unit 401 that may perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data required for the operation of the electronic device 400 may also be stored. The computing unit 401, ROM402, and RAM403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in electronic device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, etc.; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the electronic device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as method 200. For example, in some embodiments, the method 200 may be implemented as a computer program product, including a computer program, tangibly embodied on a computer-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM402 and/or the communication unit 409. One or more of the steps of the method 200 described above may be performed when a computer program is loaded into RAM403 and executed by computing unit 401. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the method 200 by any other suitable means (e.g., by means of firmware).
The various embodiments described above herein may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems-on-a-chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a computer-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium would include one or more wire-based electrical connections, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that, the present disclosure further provides a non-transitory computer readable storage medium storing computer instructions, where the computer instructions are configured to cause a computer to perform the method 200 and achieve corresponding technical effects achieved by performing the method according to the embodiments of the present disclosure, which are not described herein for brevity.
In addition, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the method 200.
To provide for interaction with a user, the embodiments described above may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The above-described embodiments may be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (9)

1. An ITS message stream transmission method, the method comprising:
the message sending equipment inquires the equipment type corresponding to the ITS message from a message stream configuration file of an ITS system according to the equipment type of the message sending equipment and the message type of the ITS message to be sent, and sends the ITS message to message receiving equipment corresponding to each equipment ID of each inquired equipment type;
the message receiving equipment receives the ITS message and distributes or forwards the ITS message;
the message sending device queries the device type corresponding to the ITS message from a message stream configuration file of an ITS system according to the device type of the message sending device and the message type of the ITS message to be sent, and the method comprises the following steps:
the message sending equipment inquires message stream configuration data corresponding to the message sending equipment from the message stream configuration file according to the equipment type of the message sending equipment;
and the message sending equipment inquires the equipment type corresponding to the ITS message from the message flow configuration data according to the message type of the ITS message.
2. The method of claim 1, wherein the message flow configuration file is generated by a message flow configuration tool based on message flow configuration of ITS system internal devices by an ITS system management user.
3. The method according to claim 1, wherein the method further comprises:
the message sending equipment inquires redundant hot standby sending configuration data corresponding to the ITS message from the message flow configuration data according to the message type of the ITS message;
and the message sending equipment determines whether to send the ITS message according to the redundant hot standby sending condition indicated by the redundant hot standby sending configuration data and the redundant hot standby state of the message sending equipment.
4. The method according to claim 1, wherein the method further comprises:
the message sending device writes the device type of the message sending device into a source device list in the ITS message;
the message receiving equipment inquires the equipment type to be communicated of the message receiving equipment from the message flow configuration file according to the equipment type of the message receiving equipment;
and if the queried equipment types exist in the equipment types in the source equipment list in the ITS message, the message receiving equipment distributes or forwards the ITS message.
5. The method of claim 1, wherein the message receiving device distributing or forwarding the ITS message comprises:
if the ITS message is determined to be distributed, the message receiving equipment inquires a message subscription record corresponding to the message type of the ITS message from a stored message subscription record list, and distributes the ITS message to a service module corresponding to the inquired message subscription record;
if it is determined that the ITS message is forwarded, the message receiving device queries the device type currently corresponding to the ITS message from the message flow configuration file according to the device type of the message receiving device and the message type of the ITS message, and sends the ITS message to the device corresponding to each device ID subordinate to each queried device type.
6. The method of claim 1, wherein the data source network to which the message receiving device corresponds is based on dual network communications and dual redundancy hot standby configuration.
7. The method according to any one of claims 1-6, further comprising:
the message flow configuration tool loads the message flow configuration file, generates and displays a communication topological graph of the ITS system, is used for an ITS system management user to edit the communication topological graph, and adjusts the message flow configuration file according to the edited communication topological graph.
8. An ITS message stream transmission apparatus, the apparatus comprising:
a sending module, configured to query, by a message sending device, a device type corresponding to an ITS message from a message flow configuration file of an ITS system according to a device type of the message sending device and a message type of the ITS message to be sent, and send the ITS message to a message receiving device corresponding to each device ID subordinate to each queried device type;
the receiving module is used for receiving the ITS message by the message receiving equipment and distributing or forwarding the ITS message;
the sending module is specifically configured to:
the message sending equipment inquires message stream configuration data corresponding to the message sending equipment from the message stream configuration file according to the equipment type of the message sending equipment;
and the message sending equipment inquires the equipment type corresponding to the ITS message from the message flow configuration data according to the message type of the ITS message.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
CN202210672877.XA 2022-06-14 2022-06-14 ITS message stream transmission method, device, equipment and storage medium Active CN115242829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210672877.XA CN115242829B (en) 2022-06-14 2022-06-14 ITS message stream transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210672877.XA CN115242829B (en) 2022-06-14 2022-06-14 ITS message stream transmission method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115242829A CN115242829A (en) 2022-10-25
CN115242829B true CN115242829B (en) 2023-09-29

Family

ID=83668843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210672877.XA Active CN115242829B (en) 2022-06-14 2022-06-14 ITS message stream transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115242829B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1267415A (en) * 1997-08-14 2000-09-20 诺基亚网络有限公司 Centralized management of communication devices
CN1652555A (en) * 2004-02-07 2005-08-10 华为技术有限公司 Method for providing information to 1 haotong user
WO2008003257A1 (en) * 2006-06-28 2008-01-10 Huawei Technologies Co., Ltd. Method, system and device of converting information in transaction managing interface
CN101160578A (en) * 2005-10-20 2008-04-09 华为技术有限公司 Game platform and match method for terminal type of client end in online game
CN101222378A (en) * 2007-07-26 2008-07-16 华为技术有限公司 Monitoring method, system and device in IMS network
CN102036195A (en) * 2010-12-08 2011-04-27 北京神州泰岳软件股份有限公司 Method and system for sending message at fixed time
CN102185881A (en) * 2011-03-09 2011-09-14 中山大学 Household digital equipment wireless multi-protocol space sharing storage manager and method
WO2012003668A1 (en) * 2010-07-09 2012-01-12 中兴通讯股份有限公司 Method, system and interworking server for transmitting message
WO2013046154A1 (en) * 2011-09-27 2013-04-04 Renesas Mobile Corporation Communications systems
CN104023320A (en) * 2014-05-14 2014-09-03 北京奇虎科技有限公司 Message prompt method and device
CN107211006A (en) * 2015-01-07 2017-09-26 华为技术有限公司 Response message processing method, apparatus and system
CN108702381A (en) * 2016-03-01 2018-10-23 华为技术有限公司 A kind of method for message transmission and core network interface equipment
CN112187616A (en) * 2020-08-31 2021-01-05 五八到家有限公司 Message sending method, device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7437481B2 (en) * 2004-02-03 2008-10-14 At&T Corp. Methods and apparatus for utilizing user software to communicate with network-resident services
US7797406B2 (en) * 2006-07-27 2010-09-14 Cisco Technology, Inc. Applying quality of service to application messages in network elements based on roles and status
US9659263B2 (en) * 2008-12-03 2017-05-23 Red Hat, Inc. Project management notification and updates using family tree
JP7502047B2 (en) * 2020-03-03 2024-06-18 本田技研工業株式会社 COMMUNICATION DEVICE, VEHICLE, PROGRAM, AND COMMUNICATION METHOD

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1267415A (en) * 1997-08-14 2000-09-20 诺基亚网络有限公司 Centralized management of communication devices
CN1652555A (en) * 2004-02-07 2005-08-10 华为技术有限公司 Method for providing information to 1 haotong user
CN101160578A (en) * 2005-10-20 2008-04-09 华为技术有限公司 Game platform and match method for terminal type of client end in online game
WO2008003257A1 (en) * 2006-06-28 2008-01-10 Huawei Technologies Co., Ltd. Method, system and device of converting information in transaction managing interface
CN101222378A (en) * 2007-07-26 2008-07-16 华为技术有限公司 Monitoring method, system and device in IMS network
WO2012003668A1 (en) * 2010-07-09 2012-01-12 中兴通讯股份有限公司 Method, system and interworking server for transmitting message
CN102036195A (en) * 2010-12-08 2011-04-27 北京神州泰岳软件股份有限公司 Method and system for sending message at fixed time
CN102185881A (en) * 2011-03-09 2011-09-14 中山大学 Household digital equipment wireless multi-protocol space sharing storage manager and method
WO2013046154A1 (en) * 2011-09-27 2013-04-04 Renesas Mobile Corporation Communications systems
CN104023320A (en) * 2014-05-14 2014-09-03 北京奇虎科技有限公司 Message prompt method and device
CN107211006A (en) * 2015-01-07 2017-09-26 华为技术有限公司 Response message processing method, apparatus and system
CN108702381A (en) * 2016-03-01 2018-10-23 华为技术有限公司 A kind of method for message transmission and core network interface equipment
CN112187616A (en) * 2020-08-31 2021-01-05 五八到家有限公司 Message sending method, device and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
SIP协议实现中消息解析的研究;姜秀玉;杨峰;崔再惠;;计算机工程与设计(13);全文 *
基于物联网技术的全院级医疗设备数据采集管理平台建设与实践;尤超;巩清源;黄宇飞;潘伟华;;中国医疗设备(03);全文 *
李凤华 ; 史国振 ; 张晶辉 ; 李莉 ; .基于行为的访问控制应用于多级安全信息系统.计算机工程与设计.全文. *
网络化测试系统中间件的研究与设计;张元;韩燮;;计算机工程与设计(22);全文 *

Also Published As

Publication number Publication date
CN115242829A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN112104720B (en) MQTT double-Broker data interaction method and system suitable for edge internet of things terminal
CN111966651B (en) Data synchronization method, device, electronic equipment and storage medium
CN112511456B (en) Flow control method, apparatus, device, storage medium, and computer program product
WO2017181872A1 (en) Data processing system and method
CN113010599A (en) MYSQL database group copy state monitoring method, device and system
CN113630465B (en) Message processing method, device, equipment and storage medium
CN102387069B (en) Method and system for connecting clients with server and clients as well as server
CN115001897B (en) Communication method and device, electronic equipment and automatic driving vehicle
CN111400041A (en) Server configuration file management method and device and computer readable storage medium
CN114827171B (en) Information synchronization method, apparatus, computer device and storage medium
CN110380967B (en) SSE technology-based server message pushing method
CN106899605B (en) Communication method and device based on STOMP protocol
CN115242829B (en) ITS message stream transmission method, device, equipment and storage medium
CN113259874B (en) Message processing method, electronic device and storage medium
CN103685363A (en) Efficient and reliable method and system for multitask processing
CN113572833A (en) Cloud mobile phone maintenance method and device, electronic equipment and storage medium
CN114567536B (en) Abnormal data processing method, device, electronic equipment and storage medium
CN115514718B (en) Data interaction method, control layer and equipment based on data transmission system
CN104158877A (en) Remote control method, and device and system
WO2017032212A1 (en) Data stream processing method and apparatus
CN112800604B (en) Simulation method, device, equipment and storage medium applied to industrial detection
CN113641758A (en) Wind control statistical method and device based on real-time warehouse data acquisition
CN109379443B (en) Method for realizing distributed message queue facing to Internet of things
CN105119814A (en) Information-processing method and terminal
CN111682978A (en) Network communication enhancement method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant