Instruction issuing method and device, electronic equipment and readable storage medium

By constructing a track segment map and enabling interactive selection, the problems of low command issuance efficiency and high error rate in existing technologies have been solved, achieving efficient and accurate issuance of track system operation commands.

CN118245112BActive Publication Date: 2026-06-09BYD CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BYD CO LTD
Filing Date
2024-02-29
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

In existing technologies, the issuance of operation commands for orbital systems is inefficient and prone to errors due to manual input.

Method used

By constructing and displaying a track segment map, users can select and interact to determine the target segment group and receive operation instructions, thus avoiding manual input, improving efficiency and reducing errors.

Benefits of technology

It improves the efficiency of command issuance, reduces errors caused by manual input, and ensures the accuracy and continuity of command issuance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245112B_ABST
    Figure CN118245112B_ABST
Patent Text Reader

Abstract

The application provides an instruction issuing method and device, electronic equipment and readable storage medium. The method comprises: constructing a track section graph and displaying based on track collection point data to be processed; in response to a selection interaction operation of a user on a section contained in the track section graph, determining a target section group indicated by the selection interaction operation, and determining an operation instruction corresponding to the selection interaction operation; and issuing the operation instruction to a target section contained in the target section group. Instead of determining the section to be controlled by manual input, the target section is selected and the operation instruction is selected by constructing the track section graph, displaying the track section graph to the user, and the user performing the selection interaction operation on the section in the track section graph. The user does not need to manually input, which reduces the complexity of determining the target section to a certain extent, and improves the efficiency of issuing the instruction to the target section.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of track technology, and in particular to a command issuance method, apparatus, electronic device, and readable storage medium. Background Technology

[0002] With societal development, the use of transportation tools such as subways and high-speed trains in daily life is increasing. To ensure the normal operation of these vehicles, relevant personnel need to monitor and control the track system in real time. During the control process, it is necessary to issue batch operation commands to different sections of the track according to control requirements.

[0003] In existing technologies, the issuance of operation instructions often involves relevant personnel manually inputting the batch segments to be controlled, which is cumbersome and inefficient. Summary of the Invention

[0004] This invention provides a method, apparatus, electronic device, and readable storage medium for issuing instructions, in order to solve the problem of low efficiency in issuing instructions in the prior art.

[0005] In a first aspect, embodiments of the present invention provide a method for issuing instructions, including:

[0006] Based on the track collection point data to be processed, construct and display a track segment map;

[0007] In response to a user's interactive operation of selecting a segment contained in the track segment map, the target segment group indicated by the interactive operation is determined, and the operation instruction corresponding to the interactive operation is determined.

[0008] The operation command is issued to the target segments contained in the target segment group.

[0009] Optionally, the track acquisition point data to be processed includes segment information and segment connection information. The segment information includes the segment identifier of each segment and the location of the track acquisition points contained in each segment. The segment connection information includes the connection relationship between each segment. Constructing a track segment map based on the track acquisition point data to be processed includes:

[0010] Based on the location of the track acquisition points contained in each segment, construct the corresponding graphic element instance for each segment, and add the segment identifier of each segment to the corresponding graphic element instance;

[0011] According to the connection relationship between the segments, the corresponding graphic element instances of each segment are connected to obtain the track segment map.

[0012] Optionally, the track data to be processed also includes turnout information; after constructing the track section map, the method further includes:

[0013] Based on the turnout information, obtain the track branches included in the track section map, and assign a branch identifier to each track branch;

[0014] For each of the track branches, the branch identifier of the track branch is added to the primitive instance corresponding to each segment contained in the track branch;

[0015] For each track branch, track attributes are set for the track branch based on the connection relationship between the segments; the track attributes of the track branch are used to characterize the branch path to reach the track branch.

[0016] Optionally, the method further includes:

[0017] For each track branch, if the track branch has an up section but no up turnout, the track attributes and branch identifier of the track branch are added to the track attributes of the track branch where the up section is located.

[0018] For any turnout in the turnout information, add the track attribute of the track branch where the reverse turnout tail is located to the track attribute of the track branch where the turnout tip is located, and add the track attribute of the track branch where the turnout tip is located to the track attribute of the track branch where the reverse turnout tail is located.

[0019] Optionally, determining the target segment group of the selection interaction instruction includes:

[0020] In response to a user's first selection operation on a segment included in the track segment map, the segment indicated by the first selection operation is obtained as the first segment;

[0021] In response to a user's second selection operation on a segment included in the track segment map, the segment indicated by the second operation is obtained as the second segment;

[0022] The target segment group is determined based on the first segment and the second segment.

[0023] Optionally, determining the target segment group based on the first segment and the second segment includes:

[0024] The track attributes of the second branch are obtained based on the second branch identifier and used as the target track attributes; the second branch identifier is the branch identifier contained in the primitive instance of the second segment, and the second branch is the track branch corresponding to the second branch identifier;

[0025] If the target track attribute contains a first branch identifier, the target path is determined from the branch paths contained in the target track attribute; the first branch identifier is the branch identifier contained in the primitive instance of the first segment;

[0026] The segment group consisting of the first segment to the second segment in the target path is determined as the target segment group.

[0027] Optionally, issuing the operation instruction to the target segments included in the target segment group includes:

[0028] In the track segment diagram, a specified marker is added to the primitive instance corresponding to the target segment;

[0029] In response to the user's confirmed interaction, the operation instruction is issued to the target segments contained in the target segment group.

[0030] Secondly, embodiments of the present invention provide an instruction issuing device, comprising:

[0031] The module is used to construct and display a track segment map based on the track acquisition point data to be processed;

[0032] The first determining module is used to respond to a user's interactive operation of selecting a segment contained in the track segment map, to determine the target segment group indicated by the interactive operation, and to determine the operation instruction corresponding to the interactive operation.

[0033] The issuing module is used to issue the operation instructions to the target segments contained in the target segment group.

[0034] Thirdly, embodiments of the present invention provide an electronic device, including: a processor, a communication interface, a memory, and a communication bus; wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0035] Memory, used to store computer programs;

[0036] When a processor executes a program stored in memory, it implements the steps in the instruction delivery method described in the first aspect above.

[0037] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the instruction issuing method described in the first aspect above.

[0038] Compared with prior art, the present invention has the following advantages:

[0039] In this embodiment of the invention, a track segment map is constructed and displayed based on the track acquisition point data to be processed. In response to a user's interactive selection operation on a segment included in the track segment map, the target segment group indicated by the selection operation and the corresponding operation command are determined. Operation commands are then issued to the target segments included in the target segment group. Instead of manually inputting the segment to be controlled, the track segment map is constructed and displayed to the user, who can then select the target segment and operation command by interacting with the segments in the map. This eliminates the need for manual input, reducing the complexity of determining the target segment and improving the efficiency of issuing commands to the target segment. Furthermore, since manual input may result in the input of non-existent segments, this embodiment avoids input errors due to the selection operation on the track segment map, thus preventing invalid command issuance to some extent.

[0040] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments will be briefly introduced below.

[0042] Figure 1 This is a flowchart of the steps of an instruction issuance method provided in an embodiment of the present invention;

[0043] Figure 2 This is a schematic diagram of a turnout provided in an embodiment of the present invention;

[0044] Figure 3 This is a schematic diagram of a circular track provided in an embodiment of the present invention;

[0045] Figure 4 This is a schematic diagram of an interactive interface provided in an embodiment of the present invention;

[0046] Figure 5 This is a flowchart of another instruction issuance method provided in an embodiment of the present invention;

[0047] Figure 6 This is a schematic diagram of an instruction issuing device provided in an embodiment of the present invention;

[0048] Figure 7 A block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0049] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the invention and to fully convey the scope of the invention to those skilled in the art.

[0050] Figure 1 This is a flowchart of the steps of an instruction issuance method provided in an embodiment of the present invention, as follows: Figure 1 As shown, the method may include:

[0051] Step 101: Based on the track acquisition point data to be processed, construct and display the track segment map.

[0052] The instruction issuance method provided in this invention can be applied to the track systems of any transportation vehicle with track control requirements, such as subways and high-speed railways, and can be applied to any track line in any city. Accordingly, the track collection point data to be processed is track collection point data for a track system with control requirements. It can be obtained from point table data on an electronic map, and the point table data on the electronic map can be switched according to actual needs to achieve switching of the controlled track line. It should be noted that the aforementioned track collection points refer to points on the track, which can be collection points on a real track or collection points on a simulated track based on an online simulation. Correspondingly, the segments in this invention can be segments of a real track or simulated segments, and can be set according to actual needs; this invention does not impose any limitations on this. Here, a segment refers to a certain section of the track.

[0053] The aforementioned track data collection points can be electronic map point table data, in list format, which may include the point identifier, location, and segment to which each track data collection point belongs, as well as the point identifiers and locations of connected track data collection points. Accordingly, a track segment map can be constructed using the track data collection points. Specifically, the constructed track segment map may contain tracks composed of multiple segments.

[0054] This invention can be applied to any electronic device that includes a display component, including electronic devices used by relevant personnel. After constructing the track segment diagram, this invention outputs the track segment diagram to the display component via a transmission interface for display, allowing users to view the track segment diagram through the display component.

[0055] After constructing and displaying the track segment diagram, perform the following steps 102 and 103.

[0056] Step 102: In response to the user's interactive operation of selecting a segment contained in the track segment map, determine the target segment group indicated by the interactive operation, and determine the operation instruction corresponding to the interactive operation.

[0057] Step 103: Issue the operation command to the target segments contained in the target segment group.

[0058] Among these users, the aforementioned users can be relevant staff members. In this embodiment of the invention, after the track segment map is displayed, the aforementioned users can interact with the track segment map, selecting the segment to which they want to issue an instruction and confirming the operation instruction to be issued. The aforementioned selection interaction operation can include hovering operations, clicking operations, etc.

[0059] The aforementioned target segment group can contain multiple target segments selected by the user, or it can contain only one target segment, depending on the user's testing needs. The target segments in the target segment group can be represented by their identity documents (IDs). Specifically, the user can click on the segment to which they want to issue operation commands according to their actual control needs. This embodiment of the invention uses an event listener to capture the user's selection interaction and obtains the click operation indication data through a data acquisition script (get), which serves as the aforementioned target segment group.

[0060] Correspondingly, the aforementioned operation instructions can also be obtained through interactive selection. Specifically, candidate operation instructions can be provided in the track segment diagram for the user to select. The user clicks on a candidate operation instruction based on actual control needs, and the data acquisition script (get) can then obtain the candidate operation instruction indicated by the click, which can be used as the aforementioned operation instruction. For example, the aforementioned interactive selection operation can be a click operation within a specified menu. After selecting a target segment group, the user can obtain the specified menu by right-clicking. This specified menu can contain several candidate operation instructions, which the user can select and click. Furthermore, it should be noted that the user can first select an operation instruction through an interactive selection operation, and then select a target segment group through another interactive selection operation. Alternatively, the user can first select a target segment group through an interactive selection operation, and then select an operation instruction through another interactive selection operation; this embodiment of the invention does not limit this.

[0061] The aforementioned operation instructions can be control instructions such as section closure, temporary speed limit, or rain / snow mode. Further, the aforementioned "issuing operation" refers to setting all target sections included in the target section group to the state indicated by the operation instruction. Optionally, embodiments of the present invention can send the operation instruction and the target section group to the Centralized Traffic Control System (CTC) via communication protocols or hardware interfaces, so that the CTC sets all target sections to the state indicated by the operation instruction.

[0062] It should be noted that the instruction issuance method provided in this embodiment of the invention can be developed using the lightweight, interpreted, or just-in-time compiled programming language JavaScript (JS). Furthermore, the data exchange format set during development can use JavaScript Object Notation (JSON). Since JS is a cross-platform language, and JSON uses a text format completely independent of programming languages ​​to store and represent data, making it a cross-platform data format, the instruction issuance method provided in this embodiment of the invention can achieve cross-platform application, improving reusability and practicality.

[0063] In summary, the above implementation process no longer involves manually inputting information to determine the controllable segments. Instead, it constructs a track segment diagram and displays it to the user. The user can then select segments from the diagram to choose the target segment and the corresponding operation command, eliminating the need for manual input. This significantly reduces the complexity of determining the target segment and improves the efficiency of issuing commands to it. Furthermore, since manual input may result in the input of non-existent segments, this embodiment avoids input errors due to the track segment diagram selection process, thus mitigating the possibility of invalid commands.

[0064] Optionally, in one embodiment of the present invention, the track acquisition point data to be processed includes segment information and segment connection information. The segment information includes the segment identifier of each segment and the location of the track acquisition points contained in each segment identifier. The segment connection information includes the connection relationship between each segment. The above-described operation of constructing a track segment map based on the track acquisition point data to be processed may specifically include:

[0065] S21. Based on the location of the track acquisition points contained in each segment, construct the corresponding graphic element instance for each segment, and add the segment identifier of each segment to the corresponding graphic element instance;

[0066] S22. According to the connection relationship between the segments, connect the graphic element instances corresponding to each segment to obtain the track segment diagram.

[0067] The location of the track collection points mentioned above refers to their geographical location, or it can be a virtual location normalized from their geographical location, used to represent the required position of the track collection points on the track segment map. Furthermore, it should be noted that a segment consists of multiple track collection points; therefore, the segment information mentioned above may include the locations of the track collection points within each segment. Different segments can be represented by segment identifiers in the segment information.

[0068] According to the embodiments of the present invention, the first and last track collection points of each segment can be determined based on the location of the track collection points contained in each segment, which serve as the starting and ending points of each segment. Thus, each segment and its location can be obtained through the starting and ending points of each segment.

[0069] The connection relationships between the aforementioned segments are used to characterize whether segments are connected and the upward and downward connection directions of segments. The upward and downward connection directions characterize whether the travel directions on the connected segments are consistent. Specifically, in the transportation field, the travel direction of a vehicle on a certain track is usually defined. For two connected segments A and B, the connection point between A and B is denoted as c. If the travel direction of A enters c and the travel direction of B exits c, it indicates that their travel directions are consistent, and B is the upward segment of A. Conversely, if the travel directions of A and B both enter c, it indicates that their travel directions are opposite, and B is the downward segment of A.

[0070] Furthermore, by identifying the locations of the track acquisition points within each segment, the individual segments and their corresponding locations can be obtained, allowing the construction of corresponding primitive instances for each segment. These primitive instances can be line segments, with their start and end points corresponding to the segment's start and end acquisition points. A primitive instance refers to a graph element to which attribute parameters can be added. Specifically, the construction process can involve selecting a graph component, creating primitive instances corresponding to each segment in the graph construction interface, and placing these instances in their designated locations based on the segment's position.

[0071] Furthermore, in this embodiment of the invention, the segment identifier of each segment can be added to the graphic element instance, that is, an identifier attribute is set for each graphic element instance, so that the segment identifier of the corresponding segment can be obtained through the graphic element instance in the track segment diagram.

[0072] Furthermore, after constructing each primitive instance, the primitive instances can be connected according to the connection relationship between each segment, so that the connection relationship of the primitive instances is consistent with the connection relationship of the corresponding segment, thereby obtaining a track segment map that can represent the track acquisition point data to be processed.

[0073] In this embodiment of the invention, a track segment map corresponding to the track acquisition point data can be constructed through segment information and segment connection information. At the same time, by adding the segment identifier of each segment to the corresponding graphic element instance, the segment identifier of the corresponding segment can be obtained through the graphic element instance in the track segment map, which facilitates the issuance of instructions.

[0074] Optionally, in one embodiment of the present invention, the track acquisition point data to be processed further includes turnout information; after constructing the track section map as described above, the following steps may also be included:

[0075] S31. Based on the turnout information, obtain the track branches included in the track section map, and assign a branch identifier to each track branch.

[0076] S32. For each track branch, add the branch identifier of the track branch to the primitive instance corresponding to each segment contained in the track branch.

[0077] S33. For each of the track branches, track attributes are set for the track branch based on the connection relationship between the segments; the track attributes of the track branch are used to characterize the branch path to reach the track branch.

[0078] The aforementioned track branch refers to a continuous group of sections without turnouts, on which vehicles can travel continuously. A turnout refers to the fork in the track, which divides a track into two or more tracks, allowing vehicles to switch from one track to another. Specifically, a turnout structure includes a tip and a tail. The tip is the point on the original track where the fork occurs, and the tail is the starting point of the fork on the new track.

[0079] The aforementioned track branches can be directly obtained from the section connection information and turnout information contained in the track acquisition point data. Each track branch can be assigned a unique identifier as its branch identifier. Optionally, track branches can be obtained by traversing from the root node in the track acquisition point data. The root node refers to a track acquisition point that has no downlink connection point, or a track acquisition point that has an uplink connection point, or a track acquisition point where the difference between the number of downlink connection points and the number of uplink connection points is greater than 2. The branch identifier can also be called the branch index. For example, embodiments of the present invention can create a set of attributes for each track branch, with different attributes representing different information about that track branch. For example, the following attributes can be created for track branch 0: 0: {rootIndex, lever, nodeIDArr, trackIDArr, ...,}, where rootIndex represents the previous track branch connected to track branch 0, that is, the track branch represented by rootIndex can be traveled to track branch 0. The above lever is the level of the track branch, which is used to represent the level of the track branch. The level is related to whether there are sub-branches in the track branch. The above nodeIDArr is used to represent the point identifier of the track collection point contained in the track branch. The above trackIDArr is used to represent the segment identifier of the segment contained in the track branch.

[0080] Furthermore, for any track branch, this embodiment of the invention can add the branch identifier of the track branch to the graphic element instance corresponding to each segment contained in the track branch, thereby facilitating the user's subsequent interaction with the graphic element instance and enabling convenient retrieval of the track branch to which the segment belongs. Specifically, for any track branch, the segment identifier of each segment contained in the track branch can be obtained by retrieving the trackIDArr attribute value of the track branch.

[0081] Furthermore, in this embodiment of the invention, the branch paths that can reach the current track branch can be determined based on the connection relationship between each segment. For example, the track attribute of track branch 2 can be: myPath: ['3-4', '7-8-9-10-6-11-3-4', '1-8-9-10-6-11-3-4'], indicating that there are three branch paths leading to track branch 2: from track branch 3 to 4 to 2, from track branch 7 to 8 to 9 to 10 to 6 to 11 to 3 to 4 to 2, and from track branch 1 to 8 to 9 to 10 to 6 to 11 to 3 to 4 to 2. Thus, by obtaining the track branches and setting track attributes for each track branch, it is easier to subsequently obtain continuous segments.

[0082] Optionally, in one embodiment of the present invention, the following steps may also be included:

[0083] For each track branch, if the track branch has an up section and there is no up turnout, the track attributes and branch identifier of the track branch are added to the track attributes of the track branch where the up section is located, and the track attributes and branch identifier of the track branch where the up section is located are added to the track attributes of the track branch.

[0084] For any turnout in the turnout information, add the track attribute of the track branch where the reverse turnout tail is located to the track attribute of the track branch where the turnout tip is located, and add the track attribute of the track branch where the turnout tip is located to the track attribute of the track branch where the reverse turnout tail is located.

[0085] In this context, "upward" generally refers to the direction of travel from west to east or from south to north. In a circular track, "upward" typically refers to the direction of travel on the outer edge of the circular track. Correspondingly, "upward section" refers to an adjacent section in the upward direction, which can be determined based on the location of each track data point included in the track data to be processed. "Upward turnout" refers to a turnout in the upward direction.

[0086] Specifically, when a track branch has an upward section but no upward turnout, it indicates that the track branch should be connected to the upward section. However, since the track branch and the upward section do not belong to the same track branch, they are disconnected in the section connection information. This means that the track branch and the branch containing the upward section belong to a loop track. Based on this, the track branch is the end branch of the loop track, and the branch containing the upward section is the starting branch of the loop track. Therefore, the track attributes and branch identifier of the track branch need to be added to the track attributes of the track branch containing the upward section to ensure the integrity of the loop track attributes. There can be multiple loop tracks.

[0087] Here, "fork tail" refers to the track point after the fork, and "fork tip" refers to the track point before the fork. For example, Figure 2 This is a schematic diagram of a turnout provided in an embodiment of the present invention, such as... Figure 2 As shown, Figure 2 The track branches into two tracks from a single main track. The fork tip is the branching point on the main track, which is also the track point before the branch. The fork tail is the track point after the branch. In the reverse fork tail, the track after the branching point has a different direction from the main track, such as... Figure 2 As shown, the positioning branch end is the track after the bifurcation point where the track direction is the same as the main line.

[0088] The aforementioned turnout information includes the locations of the track collection points where the turnout tip and the turnout tail are located. Since the turnout may be located in the middle of a section, the section connection information does not connect the reverse turnout tail to the turnout tip. However, in reality, the track branches where the turnout tip and the reverse turnout tail are located are connected. Therefore, this embodiment of the invention can traverse the turnouts in the turnout information and add the track attributes of the track branch where the reverse turnout tail is located to the track attributes of the track branch where the turnout tip is located. Correspondingly, the track attributes of the track branch where the turnout tip is located are added to the track attributes of the track branch where the reverse turnout tail is located. This ensures data integrity when at least one circular track exists and when a branch line exists.

[0089] For example, Figure 3 This is a schematic diagram of a circular track provided in an embodiment of the present invention, as shown below. Figure 3 As shown, there are inner and outer ring tracks. Track branch 1 on the inner ring track is connected to track branch 3 on the outer ring track via a turnout. In this case, the track attributes of 1 need to be added to the track attributes of 2, and the track attributes of 2 need to be added to the track attributes of 1. Correspondingly, the track attributes of 3 need to be added to the track attributes of 2, and the track attributes of 2 need to be added to the track attributes of 3.

[0090] In this embodiment of the invention, the presence of turnouts can prevent incomplete branch paths. It ensures the data integrity of the determined branch paths even in the presence of circular tracks or branch lines.

[0091] Optionally, in one embodiment of the present invention, the operation of determining the target segment group indicated by the selection interaction operation in step 102 above in response to the user's selection interaction operation on the segments included in the track segment map may specifically include the following steps:

[0092] S1021. In response to the user's first selection operation on a segment included in the track segment map, the segment indicated by the first selection operation is obtained as the first segment.

[0093] S1022. In response to the user's second selection operation on a segment included in the track segment diagram, the segment indicated by the second operation is obtained as the second segment;

[0094] S1023. Determine the target segment group based on the first segment and the second segment.

[0095] Specifically, the first selection operation mentioned above can be a user's click operation on any segment in the track segment map, and the second selection operation mentioned above refers to the selection operation performed by the user on other segments after the user has already selected a segment, which can be a mouse hover operation.

[0096] Accordingly, embodiments of the present invention can obtain a first segment and a second segment through two selection operations by the user, and determine a group of candidate segments based on the first segment and the second segment. Specifically, embodiments of the present invention can use the track in the track segment diagram, taking the first segment as the starting segment and the second segment as the ending segment, and determine the set of segments contained in the track from the starting segment to the ending segment as the target segment group. Alternatively, some segments can be selected as the target segment group, and the specific settings can be customized according to actual needs; embodiments of the present invention do not impose any restrictions on this.

[0097] In this way, users can determine the target segment group with just two selection operations, which is more convenient than manual input.

[0098] Optionally, in one embodiment of the present invention, the operation of determining the target segment group based on the first segment and the second segment may specifically include:

[0099] S10231. Obtain the track attribute of the second branch based on the second branch identifier, and use it as the target track attribute; the second branch identifier is the branch identifier contained in the primitive instance of the second segment, and the second branch is the track branch corresponding to the second branch identifier;

[0100] S10232, If the target track attribute includes a first branch identifier, determine the target path from the branch paths included in the target track attribute; the first branch identifier is the branch identifier included in the primitive instance of the first segment;

[0101] S10233. The segment group formed by the first segment to the second segment in the target path is determined as the target segment group.

[0102] In this embodiment of the invention, when issuing instructions for batch segments, in order to improve the efficiency of instruction issuance, it is often necessary to make the segments in the determined target segment group continuous. In this case, this embodiment of the invention can determine the target segment group through the branch path between the first segment and the second segment.

[0103] Specifically, since the branch identifiers of each track branch are added to the primitive instances corresponding to each segment contained in the track branch in the track segment diagram, after obtaining the first segment and the second segment, this embodiment of the invention can obtain the branch identifier of the track branch where the first segment is located from the primitive instance of the first segment, that is, the aforementioned first branch identifier, and can obtain the branch identifier of the track branch where the second segment is located from the primitive instance of the second segment, that is, the aforementioned second branch identifier.

[0104] Since the track attributes of a track branch can characterize the branch path to reach that track branch, based on this, the embodiments of the present invention can search for the existence of a first branch identifier in the track attributes of the second branch. If it exists, it indicates that there is at least one branch path consisting of several branches from the first branch to the second branch. At this time, the target segment group is determined based on the branch path, which can ensure that the target segments in the target segment group are continuous.

[0105] Specifically, if the track attributes of the second branch include the identifier of the first branch, the target path can be determined from the branch paths included in the target track attributes. Optionally, the longest path from the first branch to the second branch can be determined as the target path from the branch paths included in the target track attributes, or the shortest path from the first branch to the second branch can be determined as the target path. The specific path can be set according to actual needs, and this embodiment of the invention does not impose any restrictions on it.

[0106] Furthermore, since the first segment may be located in the middle of the first branch, correspondingly, the second segment may also be located in the middle of the second branch. Based on this, embodiments of the present invention can segment the target path and determine the segment group formed by the first segment to the second segment in the target path as the target segment group. For example, taking a target path containing three track branches (abc) as an example, the segments in a are (1-2-3), and the segments in c are (7-8-9). If the first segment is segment 2 and the second segment is segment 8, then the finally determined target segment group is (2, 3) + (all segments contained in b) + (7, 8).

[0107] This ensures that the target segments in the determined target segment group are continuous, while also ensuring that the start and end segments of the target segment group are selected by the user.

[0108] Optionally, in one embodiment of the present invention, the operation of issuing the operation instruction to the target segments included in the target segment group in step 103 may specifically include:

[0109] S1031. In the track segment diagram, add a specified marker to the graphic element instance corresponding to the target segment;

[0110] S1032. In response to the user's confirmed interactive operation, the operation instruction is issued to the target segments contained in the target segment group.

[0111] The specified marker can be a specified color or a specified style. It can be to highlight the graphic instance corresponding to the target segment, make the graphic instance corresponding to the target segment bold, or set it to a specified color while setting the graphic instances of other segments to another color. Alternatively, it can directly add the word "selected" above the graphic instance corresponding to the target segment. The specific settings can be customized according to actual needs. This embodiment of the invention does not limit the specific form of the specified marker.

[0112] In this way, by adding a specified marker to the primitive instance corresponding to the target segment, users can intuitively see which segments have been selected, making it easier for them to check.

[0113] Furthermore, after viewing the target segment with the specified mark, the user can perform a confirmation interaction, which can be a click on the second segment. Only after user confirmation will operation instructions be issued to the target segments contained in the target segment group.

[0114] This allows users to recheck the target section, further ensuring the accuracy of command issuance.

[0115] Optionally, in this embodiment of the invention, if there is a segment in the target segment group that has already executed the operation instruction in step 103 above, the segment can be regarded as a segment to be deleted, and the segment to be deleted and all subsequent segments in the target segment group are deleted. The target segment group after the deletion operation is regarded as the final segment group, and operation instructions are issued to the segments contained in the final segment group.

[0116] Optionally, in step 1032 above, before issuing operation instructions to the target segments contained in the target segment group, the start segment and end segment of the target segment group can be provided to the user as prompt information so that the user can confirm again. After the user confirms again, the operation of issuing operation instructions to the target segments contained in the target segment group is then performed.

[0117] For example, Figure 4 This is a schematic diagram of an interactive interface provided in an embodiment of the present invention. Before issuing an operation command to the target segment contained in the target segment group, such as... Figure 4As shown, a confirmation pop-up window will appear, automatically filling in the segment IDs of the starting and ending segments of the target segment group. Intermediate consecutive segments will not be displayed. After user confirmation, clicking the "OK" button will submit the array of starting and ending segment IDs, as well as the intermediate segment IDs, to the backend interface, allowing the backend to issue operation instructions to the target segments contained in the target segment group. It should be noted that to avoid blocking other operations, the interface will exit segment selection mode regardless of whether the user selects "Cancel" or "OK". If the user wants to issue a specified segment again, they only need to interact with the track segment map again to select a segment and enter segment selection mode.

[0118] Optionally, after submitting the target segment group to the backend interface, the backend can further verify the target segments in the target segment group, checking the accuracy and continuity of the segments to further ensure the effectiveness of the command issuance. Meanwhile, since this embodiment of the invention does not require manual input of segment identifiers, it can also reduce the probability of verification failure to a certain extent and improve system operating efficiency.

[0119] For example, Figure 5 This is a flowchart of another instruction issuance method provided by an embodiment of the present invention. The station map interface in the figure refers to the track section map interface, such as... Figure 5 As shown, it includes:

[0120] Step 111: Starting Segment Selection: The user selects a segment, right-clicks, and selects "Segment Blocking (corresponding to the selected operation command)" (corresponding to the first selected operation) from the right-click menu. The interface enters the segment selection mode. In this mode, except for the segment, other graphic elements (such as signals, platforms, etc.) are in a grayed-out semi-transparent state that can only be seen but not clicked. At the same time, the interface displays the prompt "Blocking segment settings in progress". The currently selected segment is the starting segment by default and is highlighted.

[0121] Step 112, Segment Selection Module: When the mouse hovers over other segments, the system uses a segment selection algorithm (that is, the method for determining the target segment group provided in this embodiment of the invention) to highlight the starting segment, the segment between the hovering segment and the hovering segment (corresponding to the second segment).

[0122] Step 113, Segment Confirmation Module: When the user clicks on a segment, the system defaults to that segment as the termination segment, and a confirmation pop-up appears on the interface. The system automatically fills in the start and end segment IDs in the pop-up. The user only needs to click the "Confirm" button, and the system submits the start and end segment IDs, as well as the intermediate segment ID array, to the backend interface.

[0123] After the target segment group is submitted to the backend interface, the backend can further validate the target segments within the target segment group, verifying their accuracy and continuity to ensure the effectiveness of the issued commands. If the validation result is incorrect, the user can exit the segment selection mode and reselect. If the validation result is correct, the backend processing program is executed, which means issuing operation commands to the target segment group.

[0124] Figure 6 This is a schematic diagram of an instruction issuing device provided in an embodiment of the present invention, as shown below. Figure 6 As shown, it includes:

[0125] Module 501 is used to construct and display a track segment map based on the track acquisition point data to be processed;

[0126] The first determining module 502 is used to respond to a user's interactive operation of selecting a segment contained in the track segment map, to determine the target segment group indicated by the interactive operation, and to determine the operation instruction corresponding to the interactive operation.

[0127] The issuing module 503 is used to issue the operation instructions to the target segments contained in the target segment group.

[0128] Optionally, the track acquisition point data to be processed includes segment information and segment connection information. The segment information includes the segment identifier of each segment and the location of the track acquisition points contained in each segment. The segment connection information includes the connection relationship between each segment. The construction module 501 includes:

[0129] The construction submodule is used to construct the corresponding graphic element instance for each segment based on the location of the track acquisition points contained in each segment, and add the segment identifier of each segment to the corresponding graphic element instance;

[0130] The connection submodule is used to connect the graphic element instances corresponding to each segment according to the connection relationship between each segment to obtain the track segment diagram.

[0131] Optionally, the track data to be processed also includes turnout information; the device further includes:

[0132] The first acquisition module is used to acquire the track branches included in the track section map based on the turnout information, and assign a branch identifier to each track branch;

[0133] The first adding module is used to add the branch identifier of each track branch to the primitive instance corresponding to each segment contained in the track branch;

[0134] The attribute setting module is used to set track attributes for each track branch based on the connection relationship between the segments; the track attributes of the track branch are used to characterize the branch path to reach the track branch.

[0135] Optionally, the device further includes:

[0136] The second adding module is used to add the track attributes and branch identifier of each track branch to the track attributes of the track branch where the uplink section is located, when the track branch has an uplink section and there is no uplink turnout.

[0137] The third adding module is used to add the track attributes of the track branch where the reverse turnout tail is located to the track attributes of the track branch where the turnout tip is located for any turnout in the turnout information, and to add the track attributes of the track branch where the turnout tip is located to the track attributes of the track branch where the reverse turnout tail is located.

[0138] Optionally, the first determining module 502 includes:

[0139] The first segment submodule is used to respond to a user's first selection operation on a segment included in the track segment map, and to obtain the segment indicated by the first selection operation as the first segment.

[0140] The second segment submodule is used to respond to a user's second selection operation on a segment included in the track segment map, and to obtain the segment indicated by the second operation as the second segment;

[0141] The target determination submodule is used to determine a target segment group based on the first segment and the second segment.

[0142] Optionally, the target determination submodule is further configured to:

[0143] The track attributes of the second branch are obtained based on the second branch identifier and used as the target track attributes; the second branch identifier is the branch identifier contained in the primitive instance of the second segment, and the second branch is the track branch corresponding to the second branch identifier;

[0144] If the target track attribute contains a first branch identifier, the target path is determined from the branch paths contained in the target track attribute; the first branch identifier is the branch identifier contained in the primitive instance of the first segment;

[0145] The segment group consisting of the first segment to the second segment in the target path is determined as the target segment group.

[0146] Optionally, the sending module includes:

[0147] The marker addition submodule is used to add a specified marker to the primitive instance corresponding to the target segment in the track segment diagram;

[0148] The issuing submodule is used to issue the operation instruction to the target segments contained in the target segment group in response to the user's confirmed interactive operation.

[0149] For the above-described device embodiments, since they are basically similar to the instruction issuance method embodiments, the relevant parts can be referred to in the description of the method embodiments.

[0150] The instruction issuing device provided in this embodiment of the invention no longer requires manual input to determine the controllable segment. Instead, it constructs a track segment diagram and displays it to the user. The user can select segments in the track segment diagram to complete the selection of the target segment and the operation instruction, eliminating the need for manual input. This reduces the tediousness of determining the target segment and improves the efficiency of issuing instructions to the target segment. Furthermore, since manual input may result in the input of non-existent segments, this embodiment of the invention, by determining the target segment group through selection and interaction using the track segment diagram, avoids input errors caused by manual input and thus, to some extent, prevents invalid instruction issuance.

[0151] This invention also provides an electronic device, such as... Figure 7 As shown, it includes a processor 601, a communication interface 602, a memory 603, and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.

[0152] Memory 603 is used to store computer programs.

[0153] When the processor 601 executes the program stored in the memory 603, it performs the following steps: constructs and displays a track segment map based on the track acquisition point data to be processed;

[0154] In response to a user's interactive operation of selecting a segment contained in the track segment map, the target segment group indicated by the interactive operation is determined, and the operation instruction corresponding to the interactive operation is determined.

[0155] The operation command is issued to the target segments contained in the target segment group.

[0156] The processor 601 can also implement other steps in the above instruction issuance method, which will not be described in detail here.

[0157] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not indicate that there is only one bus or one type of bus.

[0158] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0159] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0160] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0161] In another embodiment of the present invention, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the instruction issuing method described in the above embodiments.

[0162] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the instruction issuing method described in the above embodiments.

[0163] The electronic device can also perform other steps in the above instruction issuance method, which will not be elaborated here.

[0164] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0165] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0166] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. For embodiments of devices, electronic devices, computer-readable storage media, and computer program products containing instructions, the descriptions are relatively simple because they are basically similar to the method embodiments; relevant parts can be referred to the descriptions of the method embodiments.

[0167] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.

Claims

1. A method for issuing instructions, characterized in that, Applied to any electronic device containing a display component, the method includes: Based on the track collection point data to be processed, a track segment map is constructed and displayed, including: constructing a graphic element instance corresponding to each segment based on the location of the track collection points contained in each segment; the track collection point data to be processed includes turnout information, segment information and segment connection information, and the segment connection information includes the connection relationship between each segment; Based on the turnout information, obtain the track branches included in the track section map, and assign a branch identifier to each track branch; For each of the track branches, the branch identifier of the track branch is added to the primitive instance corresponding to each segment contained in the track branch; For each track branch, track attributes are set for the track branch based on the connection relationship between the segments; the track attributes of the track branch are used to characterize the branch path to reach the track branch; In response to a user's interactive operation of selecting a segment in the track segment map, the target segment group indicated by the selection interaction operation is determined, and the operation instruction corresponding to the selection interaction operation is determined; the target segment group is the set of segments contained in the track between the first segment and the second segment obtained through the selection interaction operation, or a portion of the segments selected from the track between the first segment and the second segment. Issuing the operation instruction to the target segments included in the target segment group includes: sending the operation instruction and the target segment group to the scheduling system, causing the scheduling system to set the target segment to the state indicated by the operation instruction; if there is a segment in the target segment group that has already executed the operation instruction, then the segment that has already executed the operation instruction is designated as a segment to be deleted; deleting the segment to be deleted; issuing the operation instruction to the segments included in the target segment group after deleting the segment to be deleted; the operation instruction includes segment blocking, temporary speed reduction, or rain / snow mode.

2. The method according to claim 1, characterized in that, The segment information includes the segment identifier of each segment and the location of the track collection points contained in each segment. The step of constructing a track segment map based on the track collection point data to be processed includes: Add the segment identifier of each segment to the corresponding graphic element instance; According to the connection relationship between the segments, the corresponding graphic element instances of each segment are connected to obtain the track segment map.

3. The method according to claim 1, characterized in that, The method further includes: For each track branch, if the track branch has an up section but no up turnout, the track attributes and branch identifier of the track branch are added to the track attributes of the track branch where the up section is located. For each turnout in the turnout information, the track attribute of the track branch where the reverse turnout tail is located is added to the track attribute of the track branch where the turnout tip is located, and the track attribute of the track branch where the turnout tip is located is added to the track attribute of the track branch where the reverse turnout tail is located.

4. The method according to claim 1, characterized in that, Determining the target segment group for the selected interactive operation instruction includes: In response to a user's first selection operation on a segment included in the track segment map, the segment indicated by the first selection operation is obtained as the first segment; In response to a user's second selection operation on a segment included in the track segment map, the segment indicated by the second operation is obtained as the second segment; The target segment group is determined based on the first segment and the second segment.

5. The method according to claim 4, characterized in that, The step of determining the target segment group based on the first segment and the second segment includes: The track attributes of the second branch are obtained based on the second branch identifier and used as the target track attributes; the second branch identifier is the branch identifier contained in the primitive instance of the second segment, and the second branch is the track branch corresponding to the second branch identifier; If the target track attribute contains a first branch identifier, the target path is determined from the branch paths contained in the target track attribute; the first branch identifier is the branch identifier contained in the primitive instance of the first segment; The segment group consisting of the first segment to the second segment in the target path is determined as the target segment group.

6. The method according to claim 4, characterized in that, The step of issuing the operation instruction to the target segments included in the target segment group includes: In the track segment diagram, a specified marker is added to the primitive instance corresponding to the target segment; In response to the user's confirmed interaction, the operation instruction is issued to the target segments contained in the target segment group.

7. A command issuing device, characterized in that, Applied to any electronic device including a display component, the device includes: The construction module is used to construct and display a track segment map based on the track collection point data to be processed. It includes: a construction submodule, used to construct a graphic element instance corresponding to each segment based on the location of the track collection points contained in each segment, and add the segment identifier of each segment to the corresponding graphic element instance; the track collection point data to be processed includes turnout information, segment information and segment connection information, and the segment connection information includes the connection relationship between each segment; The first acquisition module is used to acquire the track branches included in the track section map based on the turnout information, and assign a branch identifier to each track branch; The first adding module is used to add the branch identifier of each track branch to the primitive instance corresponding to each segment contained in the track branch for each track branch; The attribute setting module is used to set track attributes for each track branch based on the connection relationship between the segments; the track attributes of the track branch are used to characterize the branch path to reach the track branch; The first determining module is configured to respond to a user's interactive operation of selecting segments included in the track segment map, determine the target segment group indicated by the interactive operation, and determine the operation instruction corresponding to the interactive operation; the target segment group is a set of segments included in the track between the first segment and the second segment obtained through the interactive operation, or a portion of segments selected from the track between the first segment and the second segment. The issuing module is used to issue the operation instruction to the target segments included in the target segment group, including: sending the operation instruction and the target segment group to the scheduling system, so that the scheduling system sets the target segment to the state indicated by the operation instruction; if there is a segment in the target segment group that has already executed the operation instruction, then the segment that has already executed the operation instruction is designated as a segment to be deleted; deleting the segment to be deleted; issuing the operation instruction to the segments included in the target segment group after deleting the segment to be deleted; the operation instruction includes segment blocking, temporary speed reduction, or rain / snow mode.

8. An electronic device, characterized in that, include: The system includes a processor, a communication interface, a memory, and a communication bus; the processor, communication interface, and memory communicate with each other via the communication bus. Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the instruction delivery method as described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the instruction delivery method as described in any one of claims 1 to 6.