A wireless-based method, apparatus, and train for calculating vehicle reconfiguration information.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2026-08-14
AI Technical Summary
[0004]本公开提供了一种基于无线的车辆重组信息计算方法、装置及列车,解决了不同厂家的列车无法自由编组和解编的技术问题
[0034]根据本公开的第五方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如根据本公开的第一方面和/或第二方面的方法。
Smart Images

Figure CN119305604B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of trains, and further to the field of rail transit train reconfiguration, and particularly to a wireless-based vehicle reconfiguration information calculation method, device, and train. Background Technology
[0002] Currently, urban rail transit is characterized by significant variations in passenger flow across different time periods. However, urban rail transit systems mostly use fixed-formation trains, making it difficult to flexibly adjust the number of trains to meet varying capacity demands. Train coupling / decoupling allows for flexible changes in train formation, balancing operational service levels and train occupancy rates. This addresses the problem of wasted capacity due to uneven time distribution, meets capacity requirements at different times, and improves transportation economics.
[0003] However, when trains are coupled or decoupled, the relationships between different train formations will change significantly. In this scenario, it is impossible to automatically identify the formation relationships and order. Therefore, a wireless-based method for calculating vehicle reconfiguration information is proposed to facilitate quick and accurate identification of formation relationships and order. Summary of the Invention
[0004] This disclosure provides a wireless-based vehicle reconfiguration information calculation method, device, and train, which solves the technical problem that trains from different manufacturers cannot be freely assembled and disassembled.
[0005] According to a first aspect of this disclosure, a wireless-based method for calculating vehicle reconfiguration information is provided. The method includes:
[0006] After the terminal device is powered on and initialized, it monitors the status of the associated wireless devices in real time. If it continuously detects that the terminal device is associated with other wireless devices, it sends multicast data carrying the terminal device's own number and receives multicast data carrying its own number sent by terminal devices in other carriages to establish and confirm the connection relationship between carriages, and sends multicast data carrying the connection relationship order of the carriages.
[0007] The train head or train tail equipment collects and summarizes multicast data sent by the terminal equipment of all carriages, carrying the order of the connection relationship between the carriages, to obtain the connection relationship data between all carriages. The connection relationship data is then filled into the initial connection relationship data packet. The train head or train tail equipment then sends the initial connection relationship data packet it has summarized to the corresponding peer.
[0008] After the receiving initial connection relationship data packet is compared with the initial connection relationship data packet it has summarized, the train head end or train tail end device obtains a connection relationship comparison success data packet carrying the terminal device number, and sends the connection relationship comparison success data packet to the corresponding peer end respectively.
[0009] After receiving the connection relationship comparison success data packet sent by the other end, the equipment at the head end or tail end of the train compares it with its own equipment number to confirm, obtains the final equipment connection relationship data packet, and sends it to the terminal equipment in all carriages.
[0010] In addition to the aspects and any possible implementations described above, a further implementation is provided in which, after the terminal device is powered on and initialized, it monitors the status of associated wireless devices in real time. If other associated wireless devices are continuously detected, it sends multicast data carrying the terminal device's own identifier, including:
[0011] After the terminal device performs power-on initialization, it monitors the status of the associated wireless devices in real time. If it continuously detects that the terminal device is associated with other wireless devices and there is only one associated wireless device, it determines that the terminal device is a train head end or train tail end device, fills the device number of the terminal device into the reporting number data packet, and sends multicast data carrying the terminal device's own number.
[0012] If it is continuously detected that the terminal device is associated with other wireless devices, and there are two associated wireless devices, then the terminal device is determined to be a normal terminal device, and the device number of the terminal device is filled into the reporting number data packet, and multicast data carrying the terminal device's own number is sent.
[0013] In addition to the aspects and any possible implementations described above, a further implementation is provided, wherein receiving multicast data carrying its own identifier sent by terminal devices in other carriages to establish and confirm the connection relationship between carriages, and sending multicast data carrying the order of the connection relationship between the carriages includes:
[0014] If the terminal device is a device at the head or tail of the train, after receiving multicast data carrying its own number sent by terminal devices in other carriages, it will be sorted in the order of the device number of the terminal device first, followed by the device numbers of adjacent terminal devices.
[0015] If the terminal device is a regular terminal device, after receiving multicast data carrying its own number sent by the terminal devices in other carriages, the data is sorted according to the device number of the terminal device being centered, with the device numbers of two adjacent terminal devices placed before and after the device numbers of the terminal devices respectively.
[0016] After obtaining the connection relationship between the carriages, the terminal device fills the connection relationship into the reporting device connection relationship data packet and sends out the reporting device connection relationship data packet carrying the order of the connection relationship between the carriages.
[0017] In addition to the aspects and any possible implementations described above, a further implementation is provided in which the train-head or train-tail device collects and summarizes multicast data carrying the order of connection relationships between all carriages sent by the terminal devices of all carriages, obtains connection relationship data between all carriages, fills the connection relationship data into an initial version of the connection relationship data packet, and the train-head or train-tail device respectively sends the initial version of the connection relationship data packet it has summarized to the corresponding peer, including:
[0018] The train head-end or train tail-end equipment summarizes the connection relationships based on the connection relationship data packet from the reporting equipment, obtains the connection relationship data between all carriages, fills the connection relationship data into the initial connection relationship data packet, and sends it to the terminal equipment in all carriages in the form of multicast data; wherein...
[0019] After receiving the initial device connection relationship data packet, the ordinary terminal device does not change the content of the packet, but retransmits it in the form of multicast data.
[0020] In addition to the aspects and any possible implementations described above, a further implementation is provided in which the train head-end or train tail-end device performs a reverse comparison between the received initial connection relationship data packet and its own summarized initial connection relationship data packet to obtain a connection relationship comparison success data packet carrying the terminal device number, and sends the connection relationship comparison success data packet to the corresponding peer end, including:
[0021] If the comparison results are the same, a connection relationship comparison success data packet is sent. After receiving the connection relationship comparison success data packet sent by the other end, the equipment at the head end or tail end of the train compares it with its own equipment number to confirm and obtain the final version of the equipment connection relationship data packet, and sends it to the terminal equipment in all carriages.
[0022] If the comparison results are different, a connection relationship comparison failure data packet is sent, and the calculated device connection relationship is cleared and a new device connection relationship calculation process is started.
[0023] In addition to the aspects and any possible implementations described above, a further implementation is provided in which, after receiving the connection relationship comparison success data packet sent by the other end, the train head-end or train tail-end device compares and confirms it with its own device number to obtain the final device connection relationship data packet, and sends it to the terminal devices in all carriages, including:
[0024] After receiving the connection comparison success data packet sent by the other end, the equipment at the head or tail of the train takes the terminal device with the smaller number as the starting point, stores only the device connection relationship table starting with that number, fills the device connection relationship table into the final version of the device connection relationship data packet, and sends it to the terminal devices in all carriages; wherein...
[0025] After receiving the final version of the device connection relationship data packet, the ordinary terminal device parses out and stores the device connection relationship, and without changing the content of the packet, sends it again in the form of multicast data. Finally, the data packet will be sent to all terminal devices on the train.
[0026] According to a second aspect of this disclosure, a wireless-based vehicle reconfiguration information computing device is provided. The device includes:
[0027] The status monitoring module is used to monitor the status of associated wireless devices in real time after the terminal device is powered on and initialized. If it is continuously detected that the terminal device is associated with other wireless devices, it sends multicast data carrying the terminal device's own number and receives multicast data carrying its own number sent by terminal devices in other carriages to establish and confirm the connection relationship between carriages, and sends multicast data carrying the connection relationship order of the carriages.
[0028] The collection and aggregation module is used by the train head end or train tail end equipment to collect and aggregate multicast data sent by the terminal equipment of all carriages, carrying the order of the connection relationship between the carriages, to obtain the connection relationship data between all carriages, and to fill the connection relationship data into the initial connection relationship data packet. The train head end or train tail end equipment respectively sends the initial connection relationship data packet obtained by itself to the corresponding peer end.
[0029] The reverse comparison module is used by the train head end or train tail end device to perform a reverse comparison and confirmation on the received initial connection relationship data packet and the initial connection relationship data packet it has summarized, and then obtains a connection relationship comparison success data packet carrying the terminal device number, and sends the connection relationship comparison success data packet to the corresponding peer end respectively.
[0030] The confirmation and reporting module is used to compare the connection relationship comparison success data packet sent by the other end with its own device number after the device at the front or rear of the train receives the connection relationship comparison success data packet sent by the other end, obtain the final device connection relationship data packet, and send it to the terminal devices in all carriages.
[0031] According to a third aspect of this disclosure, a train is provided in which each carriage is equipped with a wireless vehicle reconfiguration information computing device as described above:
[0032] One terminal device and one wireless device are installed in each train carriage, wherein the terminal device is associated with the wireless device, and the wireless device uses a directional antenna.
[0033] According to a fourth aspect of this disclosure, an electronic device is provided. The electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described above.
[0034] According to a fifth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the methods as described in the first and / or second aspects of this disclosure.
[0035] In the embodiments of this disclosure, after the terminal device is powered on and initialized, the status of the associated wireless devices can be monitored in real time. If other wireless devices are continuously detected, multicast data is sent and multicast data sent by other terminal devices is received to confirm the connection relationship between carriages, and the connection relationship is sent out. The head or tail end device of the train collects and summarizes all multicast data, fills the data into the initial version of the connection relationship data packet, and sends the initial version of the connection relationship data packet it has summarized to the corresponding peer end. The peer end performs a reverse comparison between the received initial version of the connection relationship data packet and its own summary to confirm, and then obtains a connection relationship comparison success data packet and sends it out. After receiving the connection relationship comparison success data packet sent by the peer end, the head or tail end device of the train compares it with its own device number to confirm, obtains the final version of the device connection relationship data packet, and sends it to the terminal devices of all carriages. In this way, there is no need to consider the interface compatibility between different manufacturers. The flexible grouping of different train carriages from different manufacturers can be achieved by deploying wireless equipment. This solves the problem of wasted transport capacity caused by uneven time distribution, meets the transport capacity requirements at different times, improves transport economy, realizes real-time acquisition of grouping relationships and order, and is simple to operate and easy to maintain.
[0036] It should be understood that the description in the Summary of the Invention is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0037] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. The drawings are provided for a better understanding of the invention and are not intended to limit the scope of this disclosure. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0038] Figure 1The diagram illustrates a structural design of a train equipped with a wireless vehicle reconfiguration information computing device, as provided in an embodiment of this disclosure.
[0039] Figure 2 A flowchart of a wireless-based vehicle reconfiguration information calculation method provided by an embodiment of this disclosure is shown;
[0040] Figure 3 A structural diagram of a wireless vehicle reconfiguration information computing device provided by an embodiment of the present disclosure is shown.
[0041] Figure 4 A structural diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0043] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0044] In this disclosure, firstly, the terminal device can determine the carriage type based on the number of associated wireless devices; secondly, it can determine the connection relationship between carriages based on the multicast data sent by adjacent carriages; thirdly, it can obtain a connection relationship comparison success data packet based on the multicast data summarized and mutually confirmed by the devices at the front or rear of the train; finally, the devices at the front or rear of the train compare and confirm the connection relationship comparison success data packet with their own device number to obtain the final device connection relationship data packet, and send it to the terminal devices in all carriages. In this way, it is not necessary to consider the interface compatibility between different manufacturers, and flexible grouping of different train carriages from different manufacturers can be achieved by deploying wireless devices. This solves the problem of wasted transport capacity caused by uneven time distribution, meets the transport capacity requirements at different times, improves transport economy, realizes real-time acquisition of grouping relationships and order, and is simple to operate and easy to maintain.
[0045] The following detailed description, with reference to the accompanying drawings and specific embodiments, illustrates a wireless-based vehicle reconfiguration information calculation method, apparatus, and train provided in this disclosure.
[0046] Figure 1 A structural diagram of a train equipped with a wireless vehicle reconfiguration information computing device, as provided in an embodiment of this disclosure, is shown. Figure 1 As shown, a train equipped with a wireless vehicle reconfiguration information computing device may include:
[0047] One terminal device and one wireless device are installed in each train carriage, wherein the terminal device is associated with the wireless device, and the wireless device uses a directional antenna.
[0048] In some embodiments, a terminal device is installed in each carriage of the train formation, and the terminal device has a unique number on the line. This terminal device is connected to a wireless device via an Ethernet interface. Considering the length of the carriage, a low-power UWB wireless device is selected, and a directional antenna is used so that the wireless signal in the carriages other than the front and rear carriages can only cover both ends of the carriage and can only communicate wirelessly with the two carriages in front and behind. The wireless signal at the front and rear of the train can only cover the interior of the train. Among them, UWB technology has the characteristics of simple system structure, high transmission rate, low power consumption, simple engineering and low cost.
[0049] Figure 2 A flowchart illustrating a wireless-based vehicle reconfiguration information calculation method provided by an embodiment of this disclosure is shown, such as... Figure 2 As shown, a wireless-based vehicle reassembly information calculation method 200 may include the following steps:
[0050] S210, after the terminal device is powered on and initialized, it monitors the status of the associated wireless devices in real time. If it continuously detects that the terminal device is associated with other wireless devices, it sends multicast data carrying the terminal device's own number and receives multicast data carrying its own number sent by terminal devices in other carriages to establish and confirm the connection relationship between carriages, and sends multicast data carrying the connection relationship order of the carriages.
[0051] In some embodiments, an automated system can be set up to initialize the terminal devices, including: the automated system first receives a regrouping instruction from the control center, parses the instruction to determine the specific operations to be performed, including which terminal devices need to be powered on and initialized, and then sends a power-on signal to the designated terminal devices. After receiving the power-on signal, the terminal devices start the internal power management module to perform the power-on operation. During the power-on process, the terminal devices will perform a series of self-checks and initialization operations to ensure that the devices are in normal working condition.
[0052] In some embodiments, after confirming the connection relationship, the terminal device can calculate and determine the connection order between carriages based on the received data (such as timestamps, signal strength, etc.) and generate multicast data containing the connection order of the carriage.
[0053] For example, after the terminal device performs power-on initialization, it monitors the status of the associated wireless devices in real time. If it continuously monitors that the terminal device is associated with other wireless devices and there is only one associated wireless device, it determines that the terminal device is a train head end or train tail end device, fills the device number of the terminal device into the reporting number data packet, and sends multicast data carrying the terminal device's own number.
[0054] If it is continuously detected that the terminal device is associated with other wireless devices, and there are two associated wireless devices, then the terminal device is determined to be a normal terminal device, and the device number of the terminal device is filled into the reporting number data packet, and multicast data carrying the terminal device's own number is sent.
[0055] For example, if the terminal device is a device at the head or tail of the train, after receiving multicast data carrying its own number sent by terminal devices in other carriages, it is sorted in such a way that the device number of the terminal device comes first, followed by the device number of the adjacent terminal devices.
[0056] If the terminal device is a regular terminal device, after receiving multicast data carrying its own number sent by the terminal devices in other carriages, the data is sorted according to the device number of the terminal device being centered, with the device numbers of two adjacent terminal devices placed before and after the device numbers of the terminal devices respectively.
[0057] After obtaining the connection relationship between the carriages, the terminal device fills the connection relationship into the reporting device connection relationship data packet and sends out the reporting device connection relationship data packet carrying the order of the connection relationship between the carriages.
[0058] S220, the train head end or train tail end device collects and summarizes the multicast data carrying the order of the connection relationship between the carriages sent by the terminal devices of all carriages, obtains the connection relationship data between all carriages, fills the connection relationship data into the initial version of the connection relationship data packet, and the train head end or train tail end device respectively sends the initial version of the connection relationship data packet obtained by itself to the corresponding peer end.
[0059] In some embodiments, during transmission, the device employs a reliable communication protocol, such as TCP / IP or a train-specific communication protocol, to ensure accurate data transmission to the other end. Simultaneously, to verify successful data transmission and reception, the device waits for an acknowledgment signal from the other end. Once the acknowledgment signal is received, the devices at the front and rear of the train can confirm that the entire train's connection data has been successfully synchronized at both ends, providing a solid foundation for subsequent information transmission and control system operation.
[0060] For example, the train head-end or train tail-end device summarizes the connection relationships based on the connection relationship data packet from the reporting device, obtains connection relationship data between all carriages, fills the connection relationship data into the initial connection relationship data packet, and sends it to the terminal devices of all carriages in the form of multicast data; wherein,
[0061] After receiving the initial device connection relationship data packet, the ordinary terminal device does not change the content of the packet, but retransmits it in the form of multicast data.
[0062] S230, after the train head end or train tail end device performs a reverse comparison and confirmation between the received initial connection relationship data packet and the initial connection relationship data packet it has summarized, it obtains a connection relationship comparison success data packet carrying the terminal device number, and sends the connection relationship comparison success data packet to the corresponding peer end respectively.
[0063] In some embodiments, during comparison and verification, the terminal device checks the connection relationship data in the data packet item by item, including carriage number, connection order, and adjacent carriage information, to ensure that the data summarized on both sides is completely consistent. To enhance the accuracy of the comparison, the terminal device also verifies the terminal device number in the data packet. These numbers are unique and used to identify each terminal device on the train. If the comparison result shows that the data on both sides is completely consistent, the device generates a new data packet, namely a "connection relationship comparison successful data packet". This data packet not only contains the verified connection relationship data, but also specifically marks the numbers of all terminal devices involved in the comparison to prove that these devices all played a role in constructing the connection relationship diagram and that the data is consistent.
[0064] For example, if the comparison results are the same, a connection relationship comparison success data packet is sent. After receiving the connection relationship comparison success data packet sent by the other end, the equipment at the head end or tail end of the train compares it with its own equipment number to confirm and obtain the final version of the equipment connection relationship data packet, and sends it to the terminal equipment in all carriages.
[0065] If the comparison results are different, a connection relationship comparison failure data packet is sent, and the calculated device connection relationship is cleared and a new device connection relationship calculation process is started.
[0066] S240, after receiving the connection relationship comparison success data packet sent by the other end, the train head end or train tail end device compares and confirms it with its own device number to obtain the final device connection relationship data packet, and sends it to the terminal devices of all carriages.
[0067] In some embodiments, before comparing and confirming with its own device number, the train head end or train tail end device will check whether the received data packet contains the correct number of the peer device. At the same time, it will also confirm other key information in the data packet, such as timestamps and check codes, to ensure the integrity and timeliness of the data. Once confirmed, the device will consider the received data packet to be valid and reliable.
[0068] For example, after receiving the connection relationship comparison success data packet sent by the other end, the device at the front or rear of the train takes the terminal device with the smaller number as the starting point, stores only the device connection relationship table starting with that number, fills the device connection relationship table into the final version of the device connection relationship data packet, and sends it to the terminal devices in all carriages; wherein,
[0069] After receiving the final version of the device connection relationship data packet, the ordinary terminal device parses out and stores the device connection relationship, and without changing the content of the packet, sends it again in the form of multicast data. Finally, the data packet will be sent to all terminal devices on the train.
[0070] In the embodiments of this disclosure, firstly, the terminal device can determine the carriage type based on the number of associated wireless devices; secondly, it can determine the connection relationship between carriages based on the multicast data sent by adjacent carriages; thirdly, it can obtain a connection relationship comparison success data packet based on the multicast data summarized and mutually confirmed by the devices at the front or rear of the train; finally, the devices at the front or rear of the train compare and confirm the connection relationship comparison success data packet with their own device number to obtain the final device connection relationship data packet, and send it to the terminal devices in all carriages. In this way, it is not necessary to consider the interface compatibility between different manufacturers, and flexible grouping between different train carriages from different manufacturers can be achieved by deploying wireless devices. This solves the problem of wasted transport capacity caused by uneven time distribution, meets the transport capacity requirements at different times, improves transport economy, realizes real-time acquisition of grouping relationships and order, and is simple to operate and easy to maintain.
[0071] The following detailed description, with reference to a specific embodiment, illustrates a wireless-based vehicle reassembly information calculation method 200 provided in this disclosure, as shown below:
[0072] In this embodiment, we will specifically use a train consisting of four carriages as an example for explanation.
[0073] After the terminal device is powered on and initialized, the status of the associated UWB wireless devices is monitored in real time. If the terminal device continuously detects other associated UWB wireless devices and there is only one associated wireless device, the terminal device is determined to be a train head end or train tail end device. The device number of the terminal device is filled into the reporting number data packet, and multicast data carrying the terminal device's own number is sent.
[0074] If the terminal device continuously detects other UWB wireless devices associated with it, and there are two associated wireless devices, then the terminal device is determined to be an ordinary terminal device, and the device number of the terminal device is filled into the reporting number data packet, and multicast data carrying the terminal device's own number is sent.
[0075] After receiving a multicast data packet containing its own number from a terminal device in another carriage, the terminal device parses the device number in the data packet and sorts its own number with the device number in the data packet. If the terminal device is a device at the head or tail of the train, it is sorted according to the device number of the terminal device (if it is 1) first and the device number of the adjacent terminal device (if it is 2) second, with the connection relationship being 1, 2.
[0076] If the terminal device is a regular terminal device, after receiving multicast data carrying its own number sent by the terminal devices in other carriages, the device number of the terminal device (if it is 3) is centered, and the device numbers of two adjacent terminal devices (if they are 2 and 4) are arranged in the order of 2, 3, 4 respectively.
[0077] After obtaining the connection relationship between the carriages, the terminal device fills the connection relationship into the reporting device connection relationship data packet and sends out the reporting device connection relationship data packet carrying the order of the connection relationship between the carriages.
[0078] After receiving a data packet reporting device connection relationships from other devices, a regular terminal device does not change the content of the packet but sends it out again via multicast. Eventually, all the data packets reporting device connection relationships will be aggregated into the device at the head or tail of the train.
[0079] After collecting and summarizing the multicast data carrying the connection order of the carriages sent by the terminal devices of all carriages, the equipment at the front or rear of the train collects and summarizes the multicast data. Then, it parses the device order in the data packets and summarizes the connection relationship of all devices starting from its own number. That is, the equipment at the front or rear of the train obtains two connection relationships that are reversed (front of the train: 1, 2, 3, 4; rear of the train: 4, 3, 2, 1).
[0080] After the train head-end or train tail-end equipment has completed the aggregation of connection relationships, it obtains the connection relationship data between all carriages, fills the connection relationship data into the initial version of the connection relationship data packet, and the train head-end or train tail-end equipment sends the initial version of the connection relationship data packet it has aggregated to all carriages.
[0081] After receiving the initial device connection relationship data packet, the ordinary terminal device does not change the content of the packet, but sends it out again in a multicast manner. Finally, the data packet will be sent to the terminal device at the head or tail of the train.
[0082] After receiving the initial version of the device connection relationship data packet sent by the other end, the device at the head end or tail end of the train compares it in reverse with the initial version of the connection relationship data packet it has summarized. If the comparison results are the same, the device connection relationship comparison success data packet is sent via multicast.
[0083] If the comparison results are different, the device connection relationship comparison failure data packet is sent via multicast, and the calculated device connection relationship is cleared and a new connection relationship calculation process is started.
[0084] After receiving the data packet indicating a successful device connection comparison, the ordinary terminal device does not change the content of the packet but resends it via multicast. Ultimately, the data packet will be sent to the terminal device at the head or tail of the train.
[0085] After the train head or train tail end equipment receives the device connection relationship comparison success data packet sent by the other end, the train head and train tail end terminal equipment compare the device numbers of the two, take the terminal device number with the smaller terminal device number as the starting end, store only the device connection relationship table with the starting end of that number (i.e.: 1, 2, 3, 4), fill the device connection relationship table into the final version of the device connection relationship data packet, and send it to the terminal equipment of all carriages;
[0086] After receiving the final device connection relationship data packet, the ordinary terminal device parses out and stores the device connection relationship, without changing the content of the packet, and then sends it out again in a multicast manner. Finally, the data packet (1, 2, 3, 4) will be sent to all terminal devices on the train.
[0087] After receiving a data packet indicating a failed device connection comparison, a regular terminal device will clear the calculated device connection relationship and start a new connection relationship calculation process. At the same time, without changing the content of the packet, it will resend the packet via multicast. Eventually, the data packet will be sent to all terminal devices on the train.
[0088] After receiving a data packet indicating a failed comparison of device connections from the other end, the terminal equipment at the head and tail of the train will clear the already calculated device connection relationships and start a new connection relationship calculation process.
[0089] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this disclosure.
[0090] The above is an introduction to the method embodiments. The following describes the solution described in this disclosure further through device embodiments.
[0091] Figure 3 A structural diagram of a wireless vehicle reconfiguration information computing device provided by an embodiment of this disclosure is shown, such as... Figure 3 As shown, a wireless-based vehicle reconfiguration information computing device 300 may include:
[0092] The status monitoring module 310 is used to monitor the status of associated wireless devices in real time after the terminal device is powered on and initialized. If it is continuously detected that the terminal device is associated with other wireless devices, it sends multicast data carrying the terminal device's own number and receives multicast data carrying its own number sent by terminal devices in other carriages to establish and confirm the connection relationship between carriages, and sends multicast data carrying the connection relationship order of the carriages.
[0093] The collection and aggregation module 320 is used for the train head end or train tail end equipment to collect and aggregate multicast data sent by the terminal equipment of all carriages, carrying the order of the connection relationship between the carriages, to obtain the connection relationship data between all carriages, and to fill the connection relationship data into the initial connection relationship data packet. The train head end or train tail end equipment respectively sends the initial connection relationship data packet obtained by itself to the corresponding peer end.
[0094] The reverse comparison module 330 is used to compare and confirm the received initial connection relationship data packet with the initial connection relationship data packet summarized by itself at the head end or tail end of the train, and then obtain a connection relationship comparison success data packet carrying the terminal device number, and send the connection relationship comparison success data packet to the corresponding peer end respectively.
[0095] The confirmation and reporting module 340 is used to compare and confirm the connection relationship comparison success data packet sent by the other end after the train head end or train tail end device receives the connection relationship comparison success data packet sent by the other end with its own device number, obtain the final version of the device connection relationship data packet, and send it to the terminal devices of all carriages.
[0096] Understandable, Figure 3 The various modules / units in the wireless-based vehicle reconfiguration information computing device 300 shown have the ability to implement... Figure 2 The functions of each step in the wireless-based vehicle reconfiguration information calculation method 200 shown are illustrated, and their corresponding technical effects are achieved. For the sake of brevity, they will not be described in detail here.
[0097] Figure 4 A structural diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. Electronic device 400 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic device 400 may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0098] like Figure 4 As shown, the electronic device 400 may include a computing unit 401, which can perform various appropriate 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. The RAM 403 may also store various programs and data required for the operation of the electronic device 400. The computing unit 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0099] Multiple components in electronic device 400 are connected to I / O interface 405, including: input unit 406, such as keyboard, mouse, etc.; output unit 407, such as various types of displays, speakers, etc.; storage unit 408, such as disk, optical disk, etc.; and communication unit 409, such as network card, modem, wireless transceiver, etc. Communication unit 409 allows electronic device 400 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0100] The computing unit 401 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose 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, method 200 may be implemented as a computer program product, including a computer program tangibly contained in a computer-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 400 via ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by the computing unit 401, one or more steps of method 200 described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform method 200 by any other suitable means (e.g., by means of firmware).
[0101] The various embodiments described above can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), payload programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0102] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This 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 when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0103] In the context of this disclosure, a computer-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of computer-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0104] It should be noted that this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute method 200 and achieve the corresponding technical effects achieved by the embodiments of this disclosure in executing the method. For the sake of brevity, further details are omitted here.
[0105] In addition, this disclosure also provides a computer program product including a computer program that implements method 200 when executed by a processor.
[0106] To provide interaction with a user, the embodiments described above can 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 the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0107] The embodiments described above can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with the implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication (e.g., a communication network) of any form or medium. Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0108] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0109] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0110] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A wireless-based method for calculating vehicle reconfiguration information, characterized in that, The method includes: After the terminal device performs power-on initialization, it monitors the status of the associated wireless devices in real time. If it continuously detects that the terminal device is associated with other wireless devices and there is only one associated wireless device, it determines that the terminal device is a train head end or train tail end device, fills the device number of the terminal device into the reporting number data packet, and sends multicast data carrying the terminal device's own number. If it is continuously detected that the terminal device is associated with other wireless devices, and there are two associated wireless devices, then the terminal device is determined to be an ordinary terminal device, and the device number of the terminal device is filled into the reporting number data packet, and multicast data carrying the terminal device's own number is sent. If the terminal device is a device at the head or tail of the train, after receiving multicast data carrying its own number sent by terminal devices in other carriages, it will be sorted in the order of the device number of the terminal device first, followed by the device numbers of adjacent terminal devices. If the terminal device is a regular terminal device, after receiving multicast data carrying its own number sent by the terminal devices in other carriages, the data is sorted according to the device number of the terminal device being centered, with the device numbers of two adjacent terminal devices placed before and after the device numbers of the terminal devices respectively. After obtaining the connection relationship between the carriages, the terminal device fills the connection relationship into the reporting device connection relationship data packet and sends out the reporting device connection relationship data packet carrying the order of the connection relationship between the carriages. The train head or train tail equipment collects and summarizes multicast data sent by the terminal equipment of all carriages, carrying the order of the connection relationship between the carriages, to obtain the connection relationship data between all carriages. The connection relationship data is then filled into the initial connection relationship data packet. The train head or train tail equipment then sends the initial connection relationship data packet it has summarized to the corresponding peer. After the receiving initial connection relationship data packet is compared with the initial connection relationship data packet it has summarized, the train head end or train tail end device obtains a connection relationship comparison success data packet carrying the terminal device number, and sends the connection relationship comparison success data packet to the corresponding peer end respectively. After receiving the connection relationship comparison success data packet sent by the other end, the equipment at the head end or tail end of the train compares it with its own equipment number to confirm, obtains the final equipment connection relationship data packet, and sends it to the terminal equipment in all carriages.
2. The method according to claim 1, characterized in that, The train-head or train-tail device collects and summarizes multicast data carrying the connection order of the carriages sent by the terminal devices of all carriages, obtains the connection relationship data between all carriages, fills the connection relationship data into the initial connection relationship data packet, and the train-head or train-tail device respectively sends the initial connection relationship data packet obtained by itself to the corresponding peer end, including: The train head-end or train tail-end equipment summarizes the connection relationships based on the connection relationship data packet from the reporting equipment, obtains the connection relationship data between all carriages, fills the connection relationship data into the initial connection relationship data packet, and sends it to the terminal equipment in all carriages in the form of multicast data; wherein... After receiving the initial connection relationship data packet, the ordinary terminal device does not change the content of the packet, but retransmits it in the form of multicast data.
3. The method according to claim 1, characterized in that, After the train head-end or train tail-end device performs a reverse comparison between the received initial connection relationship data packet and its own summarized initial connection relationship data packet, it obtains a connection relationship comparison success data packet carrying the terminal device number, and sends the connection relationship comparison success data packet to the corresponding peer end, including: If the comparison results are the same, a connection relationship comparison success data packet is sent. After receiving the connection relationship comparison success data packet sent by the other end, the equipment at the head end or tail end of the train compares it with its own equipment number to confirm and obtain the final version of the equipment connection relationship data packet, and sends it to the terminal equipment in all carriages. If the comparison results are different, a connection relationship comparison failure data packet is sent, and the calculated device connection relationship is cleared and a new device connection relationship calculation process is started.
4. The method according to claim 3, characterized in that, After receiving the connection relationship comparison success data packet sent by the other end, the equipment at the head or tail of the train compares it with its own equipment number to confirm, obtains the final equipment connection relationship data packet, and sends it to the terminal equipment in all carriages, including: After receiving the connection relationship comparison success data packet sent by the other end, the equipment at the head or tail of the train takes the terminal device with the smaller number as the starting point, stores only the device connection relationship table starting with that number, fills the device connection relationship table into the final version of the device connection relationship data packet, and sends it to the terminal devices in all carriages; wherein... After receiving the final version of the device connection relationship data packet, the ordinary terminal device parses out and stores the device connection relationship, and without changing the content of the packet, sends it again in the form of multicast data. Finally, the data packet will be sent to all terminal devices on the train.
5. A wireless-based vehicle reconfiguration information computing device, characterized in that, include: The status monitoring module is used to monitor the status of associated wireless devices in real time after the terminal device is powered on and initialized. If it is continuously monitored that the terminal device is associated with other wireless devices and there is only one associated wireless device, the terminal device is determined to be a train head end or train tail end device. The device number of the terminal device is filled into the reporting number data packet, and multicast data carrying the terminal device's own number is sent. If it is continuously detected that the terminal device is associated with other wireless devices, and there are two associated wireless devices, then the terminal device is determined to be an ordinary terminal device, and the device number of the terminal device is filled into the reporting number data packet, and multicast data carrying the terminal device's own number is sent. If the terminal device is a device at the head or tail of the train, after receiving multicast data carrying its own number sent by terminal devices in other carriages, it will be sorted in the order of the device number of the terminal device first, followed by the device numbers of adjacent terminal devices. If the terminal device is a regular terminal device, after receiving multicast data carrying its own number sent by the terminal devices in other carriages, the data is sorted according to the device number of the terminal device being centered, with the device numbers of two adjacent terminal devices placed before and after the device numbers of the terminal devices respectively. After obtaining the connection relationship between the carriages, the terminal device fills the connection relationship into the reporting device connection relationship data packet and sends out the reporting device connection relationship data packet carrying the order of the connection relationship between the carriages. The collection and aggregation module is used by the train head end or train tail end equipment to collect and aggregate multicast data sent by the terminal equipment of all carriages, carrying the order of the connection relationship between the carriages, to obtain the connection relationship data between all carriages, and to fill the connection relationship data into the initial connection relationship data packet. The train head end or train tail end equipment respectively sends the initial connection relationship data packet obtained by itself to the corresponding peer end. The reverse comparison module is used by the train head end or train tail end device to perform a reverse comparison and confirmation on the received initial connection relationship data packet and the initial connection relationship data packet it has summarized, and then obtains a connection relationship comparison success data packet carrying the terminal device number, and sends the connection relationship comparison success data packet to the corresponding peer end respectively. The confirmation and reporting module is used to compare the connection relationship comparison success data packet sent by the other end with its own device number after the device at the front or rear of the train receives the connection relationship comparison success data packet sent by the other end, obtain the final device connection relationship data packet, and send it to the terminal devices in all carriages.
6. A train, characterized in that, Each carriage of the train is equipped with a wireless vehicle reconfiguration information computing device as described in claim 5: One terminal device and one wireless device are installed in each train carriage, wherein the terminal device is associated with the wireless device, and the wireless device uses a directional antenna.
7. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in any one of claims 1-4.
8. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Intelligent electric terminal based train length and vehicle information automatic identification method
CN104477214A