Display method and electronic device for trackside equipment in station diagram
By periodically judging the position and working state changes of the rail-side equipment, only the equipment that needs to be redrawn is updated, which solves the problem of low display efficiency of rail-side equipment in the prior art, and realizes a more efficient station diagram display.
Patent Information
- Application Number
- CN202110850330.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-27
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2041-07-27
AI Technical Summary
In the prior art, the repainting method of rail-side equipment in the station diagram is carried out periodically, resulting in unnecessary rail-side equipment repainting and reducing display efficiency.
By periodically determining the target rail device located within the range of the display screen, determining whether its current position and working state are different from the position and state of the previous cycle, only the device that needs to be repainted, and the device that has been repainted is displayed on the display screen.
It improves the display efficiency of equipment next to the track in the station map, avoids unnecessary redrawing operations, and improves the operating efficiency of the system.
Smart Images

Figure CN115675587B_ABST
Abstract
Description
Background Art
[0002] In the field of rail transit, interlocking on-site workstations, interlocking maintenance workstations, ATS (Automatic Train Supervision) dispatching workstations, etc. all need to display station maps, which will display a variety of trackside equipment, such as Figure 1 The figure shows a schematic diagram of a station diagram, which includes a variety of trackside equipment.
[0003] In the prior art, the trackside equipment (signals, switches, transponders, screen doors, etc.) in the station map are redrawn periodically. When the redrawing cycle is reached, all the trackside equipment in the station map need to be redrawn before the trackside equipment in the station map is displayed. However, some trackside equipment may not need to be redrawn, resulting in low display efficiency of the trackside equipment. Summary of the invention
[0004] In an exemplary embodiment of the present disclosure, a method and electronic device for displaying trackside equipment in a station diagram are provided to improve the display efficiency of trackside equipment in the station diagram.
[0005] A first aspect of the present disclosure provides a method for displaying trackside equipment in a station diagram, the method comprising:
[0006] Periodically determine the target trackside equipment included in the station diagram, which is located within the display range of the display screen;
[0007] For any target trackside device, if it is determined that the current target position of the target trackside device is different from the target position of the previous cycle, and / or the current working state of the target trackside device is different from the working state of the previous cycle, it is determined that the target trackside device needs to be redrawn; wherein the target position is the position of the trackside device relative to the display screen;
[0008] For the target trackside equipment that needs to be redrawn, redraw the target trackside equipment, and display the redrawn target trackside equipment on the display screen;
[0009] For the target trackside equipment that does not need to be redrawn, the target trackside equipment of the previous cycle is displayed on the display screen.
[0010] In this embodiment, for the target trackside equipment included in the station yard diagram, the current target position of the target trackside equipment and the target position of the previous cycle, and / or the current working state and the working state of the previous cycle are used to determine whether to redraw the target trackside equipment located within the display range of the display screen. For the target trackside equipment that needs to be redrawn, the target trackside equipment is redrawn and the redrawn target trackside equipment is displayed on the display screen; for the target trackside equipment that does not need to be redrawn, the target trackside equipment of the previous cycle is displayed on the display screen. Therefore, in this embodiment, it is not necessary to redraw all the trackside equipment in the station yard diagram, thereby improving the display efficiency of the trackside equipment in the station yard diagram.
[0011] In one embodiment, if the display mode of the target trackside equipment in the station map is animation display;
[0012] Whether the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle is determined in the following manner:
[0013] Comparing the display duration of the current animation state of the target trackside device with the preset display duration corresponding to the current animation state;
[0014] If it is determined that the display duration of the current animation state is less than the preset display duration, it is determined that the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle;
[0015] If it is determined that the display duration of the current animation state is not less than the preset display duration, it is determined that the current working state of the target trackside equipment is different from the working state of the target trackside equipment in the previous cycle.
[0016] In this embodiment, if the display mode of the target trackside equipment in the station field map is animation display, the display duration of the current animation state of the target trackside equipment is compared with the preset display duration corresponding to the current animation state to determine whether the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle, so as to make the determined result more accurate.
[0017] In one embodiment, if the display mode of the target trackside equipment in the station map is non-animated display;
[0018] Whether the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle is determined in the following manner:
[0019] The current working state of the target trackside device is compared with the working state of the target trackside device in the previous cycle to determine whether the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle.
[0020] In this embodiment, if it is determined that the display mode of the target trackside equipment in the station field map is non-animated display, the current working status of the target trackside equipment is compared with the working status of the target trackside equipment in the previous cycle to determine whether the current working status of the target trackside equipment is the same as the working status of the target trackside equipment in the previous cycle. Different methods are used according to different display modes to make the determination more accurate.
[0021] In one embodiment, if it is determined that the target trackside device needs to be redrawn by using a method that the current working state of the target trackside device is different from the working state of the previous cycle, then for the target trackside device that needs to be redrawn, redrawing the target trackside device includes:
[0022] Based on the type of the target trackside equipment, determining whether the target trackside equipment supports redrawing of a partial area of the equipment;
[0023] If it is determined that the target trackside device supports redrawing of a partial area of the device, then based on the display area of the current working state of the target trackside device and the display area of the working state of the previous cycle, determine the area in the display area that needs to be redrawn, and redraw the determined area;
[0024] If it is determined that the target trackside equipment does not support redrawing of a partial area, the entire area of the target trackside equipment is redrawn.
[0025] In this embodiment, when it is determined that only the working state of the target trackside device has changed, it is necessary to determine whether the target trackside device supports redrawing of a partial area of the device. If it is determined that the target trackside device supports redrawing of a partial area of the device, then based on the display area of the current working state of the target trackside device and the display area of the working state of the previous cycle, the area in the display area that needs to be redrawn is determined, and the determined area is redrawn. If it is determined that the target trackside device does not support redrawing of a partial area, the entire area of the target trackside device is redrawn. In this way, the display efficiency of the trackside device is further improved.
[0026] In one embodiment, the target trackside equipment located within the display screen range among the trackside equipment included in the station diagram is determined in the following manner:
[0027] For any trackside equipment in the station map, comparing the actual position of the trackside equipment in the station map with the display range of the station map on the display screen;
[0028] If it is determined that the actual position of the trackside equipment is within the display range, the trackside equipment is determined to be the target trackside equipment.
[0029] This embodiment determines whether the trackside equipment is the target trackside equipment by comparing the actual position of the trackside equipment in the station map with the display range of the station map on the display screen, so as to make the determination result more accurate.
[0030] A second aspect of the present disclosure provides an electronic device, including a storage unit, a display screen, and a processor, wherein:
[0031] The storage unit is configured to store the current target position of each trackside device, the target position of the previous cycle, the current working state and the working state of the previous cycle, wherein the target position is the position of the trackside device relative to the display screen;
[0032] The processor is configured to:
[0033] Periodically determining, among the trackside equipment included in the station diagram, target trackside equipment located within the display range of the display screen;
[0034] For any target trackside equipment, if it is determined that the current target position of the target trackside equipment is different from the target position of the previous cycle, and / or the current working state of the target trackside equipment is different from the working state of the previous cycle, it is determined that the target trackside equipment needs to be redrawn; for the target trackside equipment that needs to be redrawn, the target trackside equipment is redrawn;
[0035] The display screen is configured to display the target trackside equipment after redrawing and the target trackside equipment of the previous cycle that does not need to be redrawn.
[0036] In one embodiment, if the display mode of the target trackside equipment in the station map is animation display;
[0037] The processor is further configured to:
[0038] Whether the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle is determined in the following manner:
[0039] Comparing the display duration of the current animation state of the target trackside device with the preset display duration corresponding to the current animation state;
[0040] If it is determined that the display duration of the current animation state is less than the preset display duration, it is determined that the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle;
[0041] If it is determined that the display duration of the current animation state is not less than the preset display duration, it is determined that the current working state of the target trackside equipment is different from the working state of the target trackside equipment in the previous cycle.
[0042] In one embodiment, if the display mode of the target trackside equipment in the station map is non-animated display;
[0043] The processor is further configured to:
[0044] Determine whether the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle by:
[0045] The current working state of the target trackside device is compared with the working state of the target trackside device in the previous cycle to determine whether the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle.
[0046] In one embodiment, if the processor determines that the target trackside device needs to be redrawn by using a method that the current working state of the target trackside device is different from the working state of the previous cycle, then redrawing the target trackside device for the target trackside device that needs to be redrawn is specifically configured as follows:
[0047] Based on the type of the target trackside equipment, determining whether the target trackside equipment supports redrawing of a partial area of the equipment;
[0048] If it is determined that the target trackside device supports redrawing of a partial area of the device, then based on the display area of the current working state of the target trackside device and the display area of the working state of the previous cycle, determine the area in the display area that needs to be redrawn, and redraw the determined area;
[0049] If it is determined that the target trackside equipment does not support redrawing of a partial area, the entire area of the target trackside equipment is redrawn.
[0050] In one embodiment, the processor is further configured to:
[0051] The target trackside equipment located within the display screen range among the trackside equipment included in the station diagram is determined in the following manner:
[0052] For any trackside equipment in the station map, comparing the actual position of the trackside equipment in the station map with the display range of the station map on the display screen;
[0053] If it is determined that the actual position of the trackside equipment is within the display range, the trackside equipment is determined to be the target trackside equipment.
[0054] According to a third aspect provided by an embodiment of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0056] Figure 1 A site diagram according to an embodiment of the present disclosure;
[0057] Figure 2 This is one of the flow charts of a method for displaying trackside equipment in a station diagram according to an embodiment of the present disclosure;
[0058] Figure 3 Redrawing a flow chart for a partial area of a signal machine in a station diagram according to an embodiment of the present disclosure;
[0059] Figure 4 This is a second flow chart of a method for displaying trackside equipment in a station diagram according to an embodiment of the present disclosure;
[0060] Figure 5 A display device for trackside equipment in a station diagram according to an embodiment of the present disclosure;
[0061] Figure 6 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0063] In the embodiments of the present disclosure, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0064] The application scenarios described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems. In the description of the present disclosure, unless otherwise specified, the meaning of "multiple" is two or more.
[0065] In the prior art, the trackside equipment (signals, switches, transponders, screen doors, etc.) in the station map are redrawn periodically. When the redrawing period is reached, all the trackside equipment in the station map need to be redrawn before each trackside equipment is displayed. However, some trackside equipment may not need to be redrawn before being displayed, which results in low display efficiency of the trackside equipment.
[0066] Therefore, the present disclosure provides a method for displaying trackside equipment in a station field map, by using the current target position of the target trackside equipment and the target position of the previous cycle, and / or the current working status and the working status of the previous cycle for the target trackside equipment located in the display range of the display screen among the trackside equipment included in the station field map to determine whether to redraw the target trackside equipment, and for the target trackside equipment that needs to be redrawn, redraw the target trackside equipment and display the redrawn target trackside equipment on the display screen; for the target trackside equipment that does not need to be redrawn, display the target trackside equipment of the previous cycle on the display screen. Therefore, in this embodiment, it is not necessary to redraw all the trackside equipment in the station field map, thereby improving the display efficiency of the trackside equipment. Below, the scheme of the present disclosure is described in detail with reference to the accompanying drawings.
[0067] Figure 2 The method for displaying trackside equipment in a station diagram of the present disclosure may include the following steps:
[0068] Step 201: periodically determine the target trackside equipment located within the display range of the display screen among the trackside equipment included in the station diagram;
[0069] Among them, the station map is a rail transit signal product.
[0070] In one embodiment, the target trackside equipment is determined by:
[0071] For any trackside equipment in the station map, the actual position of the trackside equipment in the station map is compared with the display range of the station map on the display screen; if it is determined that the actual position of the trackside equipment is within the display range, the trackside equipment is determined to be the target trackside equipment.
[0072] For example, the size of the station map is 2000*1500, the size of the display screen is 1440*900, and the display range of the station map in the display screen includes: horizontal display range: 100~1550, vertical display range: 110~1010.
[0073] If the station map includes three trackside equipment, namely, trackside equipment 1, trackside equipment 2 and trackside equipment 3. If the actual position of trackside equipment 1 in the station map is (10, 20), the actual position of trackside equipment 2 in the station map is (100, 356), and the actual position of trackside equipment 3 in the station map is (200, 258), it is determined that trackside equipment 2 and trackside equipment 3 are within the display range, and trackside equipment 2 and trackside equipment 3 are determined to be target trackside equipment.
[0074] Among them, it should be noted that the trackside equipment includes but is not limited to: signal machines, switches, transponders, platforms, sections, platform shield doors, emergency stop buttons, blocking switches SPKS, garage doors, flood prevention doors, and automatic return buttons.
[0075] Step 202: for any target trackside device, if it is determined that the current target position of the target trackside device is different from the target position of the previous cycle, and / or the current working state of the target trackside device is different from the working state of the previous cycle, it is determined that the target trackside device needs to be redrawn; wherein the target position is the position of the trackside device relative to the display screen;
[0076] In one embodiment, if the display mode of the target trackside equipment in the station map is non-animated display, it is determined whether the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle by the following method:
[0077] The current working state of the target trackside device is compared with the working state of the target trackside device in the previous cycle to determine whether the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle.
[0078] Among them, the working status of different target trackside equipment displayed in non-animated mode is different. The working status of each target trackside equipment is introduced below:
[0079] (1) Working status of traffic lights: green light display, yellow light display, red light display, red and yellow light display, blue light display, white light display.
[0080] (2) The working status of the platform: the vehicle is detained at the platform or the vehicle is not detained at the platform.
[0081] (3) The working status of the section: section occupied and section idle.
[0082] (4) Working status of the emergency stop button: emergency stop button pressed and emergency button lifted.
[0083] (5) Working status of the blocking switch SPKS: implementation information and bypass information, wherein the implementation information includes two states: implementation and non-implementation, and the bypass information includes two states: bypass and non-bypass.
[0084] Taking the target trackside equipment as a signal as an example, if the current working status of the signal is displayed as a green light, and the working status of the signal in the previous cycle is displayed as a yellow light, it is determined that the current working status of the target trackside equipment is different from the working status of the target trackside equipment in the previous cycle.
[0085] In one embodiment, if the display mode of the target trackside equipment in the station map is animation display, it is determined whether the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle by the following method:
[0086] The display duration of the current animation state of the target trackside device is compared with the preset display duration corresponding to the current animation state; if it is determined that the display duration of the current animation state is less than the preset display duration, it is determined that the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle; if it is determined that the display duration of the current animation state is not less than the preset display duration, it is determined that the current working state of the target trackside device is different from the working state of the target trackside device in the previous cycle.
[0087] The working status of each trackside equipment displayed in animation includes:
[0088] (1) Working status of the turnout: When the turnout is switched from the turnout positioning state to the turnout reverse position state, or from the turnout reverse position state to the turnout positioning state, there will be a process of the turnout opening in four directions. When the turnout is in the state of opening in four directions, the turnout will have a flashing display effect.
[0089] (2) The working status of the transponder: transponder failure and transponder normal failure.
[0090] (3) Working status of the shielding door: shielding door open and shielding door closed.
[0091] (4) Working status of the garage door: garage door open and garage door closed.
[0092] (5) Working status of flood-proof door: flood-proof door open and flood-proof door closed.
[0093] (6) The working state of the automatic return button: the automatic return button is pressed and the automatic return button is lifted.
[0094] Taking the shielding door as an example, if the working state of the shielding door is that the shielding door is open and the display time is 10 seconds, if the preset display time is 20 seconds, it is determined that the current working state of the shielding door is the same as the working state of the previous cycle.
[0095] Step 203: for the target trackside equipment that needs to be redrawn, redraw the target trackside equipment, and display the redrawn target trackside equipment on the display screen;
[0096] Step 204: For the target trackside equipment that does not need to be redrawn, the target trackside equipment of the previous cycle is displayed on the display screen.
[0097] Therefore, in this embodiment, it is not necessary to redraw all the trackside equipment in the station diagram, and only the trackside equipment that needs to be redrawn is required to be redrawn, thereby improving the display efficiency of the trackside equipment.
[0098] In order to further improve the display efficiency of the trackside equipment in the station diagram, in one embodiment, if the target trackside equipment is determined to need to be redrawn by using the method that the current working state of the target trackside equipment is different from the working state of the previous cycle, the specific method of redrawing the target trackside equipment is:
[0099] Based on the type of the target trackside device, determine whether the target trackside device supports redrawing of a partial area of the device; if it is determined that the target trackside device supports redrawing of a partial area of the device, then based on the display area of the current working status of the target trackside device and the display area of the working status of the previous cycle, determine the area in the display area that needs to be redrawn, and redraw the determined area; if it is determined that the target trackside device does not support redrawing of a partial area, redraw the entire area of the target trackside device.
[0100] Among them, whether the target trackside equipment supports redrawing of part of the equipment area can be determined through Table 1:
[0101] Type of target trackside equipment Whether to support partial area redrawing Type 1 support Type 2 Not supported Type 3 Not supported … …
[0102] Table 1
[0103] For example, if the target trackside equipment is a signal machine, it is determined that the signal machine supports the function of redrawing part of the equipment area. If the current working state of the signal machine is a green light display, the working state of the signal machine in the previous cycle is as follows: Figure 3 As shown in the image a in the figure, the corresponding colors of the lights of the signal machine from left to right are: red, yellow, and green. From the image a, it can be seen that the working state of the signal machine in the previous cycle was red light display. According to the current working state of the signal machine and the working state of the previous cycle, it is determined that the area that needs to be redrawn is the area corresponding to the green light display in the signal machine and the area corresponding to the red light display in the signal machine. That is, Figure 3 The grid area in image b is obtained, and the determined area (the area corresponding to the green light display and the area corresponding to the red light display) is redrawn, and the signal light after redrawing is shown in image c.
[0104] In order to reduce the amount of calculation, in one embodiment, before executing step 201, it is determined that the redrawing flag corresponding to the station diagram is a designated flag. The redrawing flag is used to indicate whether the station diagram has changed.
[0105] If the redrawn mark is not the designated mark, it means that the station map has not changed, and no judgment is required, thereby reducing the amount of calculation.
[0106] In order to further understand the technical solution of the present disclosure, Figure 4 A detailed description may include the following steps:
[0107] Step 401: periodically determine whether the redrawing mark corresponding to the station diagram is a designated mark, if so, execute step 402, if not, execute step 409;
[0108] Step 402: determining a target trackside device located within a display range of the display screen among the trackside devices included in the station diagram;
[0109] Step 403: determine whether the current target position of the target trackside equipment is the same as the target position of the previous cycle, if so, execute step 404, if not, execute step 407;
[0110] Step 404: determine whether the current working state of the target trackside equipment is the same as the working state of the previous cycle, if yes, execute step 409, if no, execute step 405;
[0111] Step 405: Based on the type of the target trackside equipment, determine whether the target trackside equipment supports redrawing of a partial area of the equipment. If yes, execute step 406; if no, execute step 407;
[0112] Step 406: Based on the display area of the current working state of the target trackside equipment and the display area of the working state of the previous cycle, determine the area in the display area that needs to be redrawn, and redraw the determined area;
[0113] Step 407: redrawing the entire area of the target trackside equipment;
[0114] Step 408: Displaying the redrawn target trackside equipment on the display screen;
[0115] Step 409: Display the target trackside equipment of the previous cycle on the display screen.
[0116] Based on the same disclosure concept, the method for displaying trackside equipment in a station diagram as described above can also be implemented by a display device for trackside equipment in a station diagram. The effect of the display device for trackside equipment in the station diagram is similar to that of the aforementioned method, and will not be described in detail here.
[0117] Figure 5 It is a schematic diagram of the structure of a display device for trackside equipment in a station diagram according to an embodiment of the present disclosure.
[0118] like Figure 5 As shown, the display device 500 of the trackside equipment in the station diagram of the present disclosure may include a target trackside equipment determination module 510, a judgment module 520, a target trackside equipment redrawing module 530 and a display module 540.
[0119] The target trackside equipment determination module 510 is used to periodically determine the target trackside equipment included in the station diagram and located within the display range of the display screen;
[0120] The judgment module 520 is used for determining, for any target trackside device, that the target trackside device needs to be redrawn if it is determined that the current target position of the target trackside device is different from the target position of the previous cycle, and / or the current working state of the target trackside device is different from the working state of the previous cycle; wherein the target position is the position of the trackside device relative to the display screen;
[0121] A target trackside equipment redrawing module 530 is used to redraw the target trackside equipment that needs to be redrawn, and display the redrawn target trackside equipment on the display screen;
[0122] The display module 540 is used to display the target trackside equipment of the previous cycle on the display screen for the target trackside equipment that does not need to be redrawn.
[0123] In one embodiment, if the display mode of the target trackside equipment in the station map is animation display;
[0124] The determination module 520 is further configured to:
[0125] Comparing the display duration of the current animation state of the target trackside device with the preset display duration corresponding to the current animation state;
[0126] If it is determined that the display duration of the current animation state is less than the preset display duration, it is determined that the current working state of the target trackside equipment is the same as the working state of the target trackside equipment in the previous cycle;
[0127] If it is determined that the display duration of the current animation state is not less than the preset display duration, it is determined that the current working state of the target trackside equipment is different from the working state of the target trackside equipment in the previous cycle.
[0128] In one embodiment, if the display mode of the target trackside equipment in the station map is non-animated display;
[0129] The determination module 520 is further configured to:
[0130] The current working state of the target trackside device is compared with the working state of the target trackside device in the previous cycle to determine whether the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle.
[0131] In one embodiment, if the target trackside device needs to be redrawn by using the method that the current working state of the target trackside device is different from the working state of the previous cycle, the target trackside device redrawing module 530 is specifically used to:
[0132] Based on the type of the target trackside equipment, determining whether the target trackside equipment supports redrawing of a partial area of the equipment;
[0133] If it is determined that the target trackside device supports redrawing of a partial area of the device, then based on the display area of the current working state of the target trackside device and the display area of the working state of the previous cycle, determine the area in the display area that needs to be redrawn, and redraw the determined area;
[0134] If it is determined that the target trackside equipment does not support redrawing of a partial area, the entire area of the target trackside equipment is redrawn.
[0135] In one embodiment, the apparatus further comprises:
[0136] The target trackside equipment determination module 550 is used to determine the target trackside equipment located within the display screen range among the trackside equipment included in the station diagram by:
[0137] For any trackside equipment in the station map, comparing the actual position of the trackside equipment in the station map with the display range of the station map on the display screen;
[0138] If it is determined that the actual position of the trackside equipment is within the display range, the trackside equipment is determined to be the target trackside equipment.
[0139] After introducing a method and device for displaying trackside equipment in a station diagram according to an exemplary embodiment of the present disclosure, next, an electronic device according to another exemplary embodiment of the present disclosure is introduced.
[0140] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0141] In some possible implementations, the electronic device according to the present disclosure may include at least one processor and at least one computer storage medium. The computer storage medium stores program code, and when the program code is executed by the processor, the processor executes the steps of the method for displaying trackside equipment in a station diagram according to various exemplary embodiments of the present disclosure described above in this specification. For example, the processor may execute the following steps: Figure 2 Steps 201-204 shown in .
[0142] Refer to the following Figure 6 The electronic device 600 according to this embodiment of the present disclosure is described. Figure 6 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0143] like Figure 6 As shown, the electronic device in the embodiment of the present disclosure includes: a radio frequency (RF) circuit 610, a power supply 620, a processor 630, a memory 640, an input unit 650, a display unit 660, a camera 670, a communication interface 680, and a wireless fidelity (WiFi) module 690 and other components.
[0144] Those skilled in the art will understand that Figure 6The structure of the electronic device shown in the figure does not constitute a limitation on the electronic device. The electronic device provided by the embodiment of the present disclosure may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.
[0145] Combine the following Figure 6 The components of the electronic device 600 are described in detail:
[0146] The RF circuit 610 can be used for receiving and sending data during communication or calls. In particular, after receiving downlink data from the base station, the RF circuit 610 sends it to the processor 630 for processing; in addition, the uplink data to be sent is sent to the base station. Generally, the RF circuit 610 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.
[0147] In addition, the RF circuit 610 can also communicate with the network and other terminals through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobilecommunication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0148] WiFi technology is a short-range wireless transmission technology. The electronic device 600 can access the data network by connecting to an access point (AP) via the WiFi module 690. The WiFi module 690 can be used for receiving and sending data during the communication process.
[0149] The electronic device 600 can be physically connected to other terminals through the communication interface 680. Optionally, the communication interface 680 is connected to the communication interface of the other terminal through a cable to achieve data transmission between the electronic device 600 and the other terminal.
[0150] The electronic device 600 can implement communication services, and the electronic device 600 needs to have a data transmission function, that is, the electronic device 600 needs to include a communication module. Figure 6 Communication modules such as the RF circuit 610, the WiFi module 690, and the communication interface 680 are shown, but it is understandable that at least one of the above components or other communication modules (such as a Bluetooth module) for implementing communication exist in the electronic device 600 to perform data transmission.
[0151] For example, when the electronic device 600 is a mobile phone, the electronic device 600 may include the RF circuit 610 and may also include the WiFi module 690; when the electronic device 600 is a computer, the electronic device 600 may include the communication interface 680 and may also include the WiFi module 690; when the electronic device 600 is a tablet computer, the electronic device 600 may include the WiFi module.
[0152] The memory 640 can be used to store software programs and modules. The processor 630 executes various functional applications and data processing of the electronic device 600 by running the software programs and modules stored in the memory 640, and when the processor 630 executes the program code in the memory 640, the embodiments of the present disclosure can be implemented. Figure 2 part or all of the process.
[0153] Optionally, the memory 640 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, various application programs (such as communication applications), and various modules for WLAN connection, etc.; the data storage area may store data created according to the use of the terminal, etc.
[0154] In addition, the memory 640 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0155] The input unit 650 may be configured to receive digital or character information input by a user, and to generate key signal input related to user settings and function control of the electronic device 600 .
[0156] Optionally, the input unit 650 may include a touch panel 651 and other input terminals 652 .
[0157] Among them, the touch panel 651, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel 651 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 651 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 630, and can receive and execute commands sent by the processor 630. In addition, the touch panel 651 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
[0158] Optionally, the other input terminals 652 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0159] The display unit 660 may be used to display information input by a user or information provided to a user and various menus of the electronic device 600. The display unit 660 is a display system of the electronic device 600, and is used to present an interface and realize human-computer interaction.
[0160] The display unit 660 may include a display panel 661. Optionally, the display panel 661 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0161] Furthermore, the touch panel 651 may cover the display panel 661. When the touch panel 651 detects a touch operation on or near it, it transmits it to the processor 630 to determine the type of touch event. Then the processor 630 provides corresponding visual output on the display panel 661 according to the type of touch event.
[0162] Although in Figure 6 In the embodiment, the touch panel 651 and the display panel 661 are used as two independent components to realize the input and output functions of the electronic device 600, but in some embodiments, the touch panel 651 and the display panel 661 can be integrated to realize the input and output functions of the electronic device 600.
[0163] The processor 630 is the control center of the electronic device 600. It connects various components using various interfaces and lines, and executes various functions and processes data of the electronic device 600 by running or executing software programs and / or modules stored in the memory 640 and calling data stored in the memory 640, thereby realizing various services based on the electronic device.
[0164] Optionally, the processor 630 may include one or more processing units. Optionally, the processor 630 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 630.
[0165] The camera 670 is used to implement the shooting function of the electronic device 600 and take pictures or videos.
[0166] The electronic device 600 also includes a power supply 620 (such as a battery) for supplying power to various components. Optionally, the power supply 620 can be logically connected to the processor 630 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption.
[0167] Although not shown, the electronic device 600 may further include at least one sensor, which will not be described in detail herein.
[0168] In some possible implementations, various aspects of a method for displaying trackside equipment in a station diagram provided by the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the method for displaying trackside equipment in a station diagram according to various exemplary embodiments of the present disclosure described above in this specification.
[0169] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access computer storage medium (RAM), a read-only computer storage medium (ROM), an erasable programmable read-only computer storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only computer storage medium (CD-ROM), an optical computer storage medium, a magnetic computer storage medium, or any suitable combination of the above.
[0170] The program product for displaying the trackside equipment in the station diagram of the embodiment of the present disclosure may adopt a portable compact disk read-only computer storage medium (CD-ROM) and include program code, and can be run on an electronic device. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0171] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0172] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0173] Program code for performing the disclosed operations may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user electronic device, partially on the user device, as a separate software package, partially on the user electronic device and partially on a remote electronic device, or entirely on a remote electronic device or server. In the case of a remote electronic device, the remote electronic device may be connected to the user electronic device via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external electronic device (e.g., via the Internet using an Internet service provider).
[0174] It should be noted that although several modules of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules to be embodied.
[0175] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0176] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk computer storage media, CD-ROM, optical computer storage media, etc.) containing computer-usable program codes.
[0177] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0178] These computer program instructions may also be stored in a computer-readable computer storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable computer storage medium produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0179] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0180] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.
Claims
1. A method for displaying trackside equipment in a station diagram, characterized in that: The method comprises: Periodically determining, among the trackside equipment included in the station yard diagram, a target trackside equipment located within a display range of the display screen, wherein the display mode of the target trackside equipment in the station yard diagram is animation display; For any target trackside device, if it is determined that the current target position of the target trackside device is different from the target position of the previous cycle, and / or the current working state of the target trackside device is different from the working state of the previous cycle, it is determined that the target trackside device needs to be redrawn; wherein the target position is the position of the trackside device relative to the display screen, and whether the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle is determined in the following manner: comparing the display duration of the current animation state of the target trackside device with the preset display duration corresponding to the current animation state; if it is determined that the display duration of the current animation state is less than the preset display duration, it is determined that the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle; if it is determined that the display duration of the current animation state is not less than the preset display duration, it is determined that the current working state of the target trackside device is different from the working state of the target trackside device in the previous cycle; For the target trackside equipment that needs to be redrawn, redraw the target trackside equipment, and display the redrawn target trackside equipment on the display screen; For the target trackside equipment that does not need to be redrawn, the target trackside equipment of the previous cycle is displayed on the display screen.
2. The method according to claim 1, characterized in that If it is determined that the target trackside equipment needs to be redrawn by using the fact that the current working state of the target trackside equipment is different from the working state of the previous cycle, then redrawing the target trackside equipment that needs to be redrawn includes: Based on the type of the target trackside equipment, determining whether the target trackside equipment supports redrawing of a partial area of the equipment; If it is determined that the target trackside device supports redrawing of a partial area of the device, then based on the display area of the current working state of the target trackside device and the display area of the working state of the previous cycle, determine the area in the display area that needs to be redrawn, and redraw the determined area; If it is determined that the target trackside equipment does not support redrawing of a partial area, the entire area of the target trackside equipment is redrawn.
3. The method according to any one of claims 1 to 2, characterized in that: The target trackside equipment located within the display screen range among the trackside equipment included in the station diagram is determined in the following manner: For any trackside equipment in the station map, comparing the actual position of the trackside equipment in the station map with the display range of the station map on the display screen; If it is determined that the actual position of the trackside equipment is within the display range, the trackside equipment is determined to be the target trackside equipment.
4. An electronic device, characterized in that: It includes a storage unit, a display screen and a processor, wherein: The storage unit is configured to store the current target position of each trackside device, the target position of the previous cycle, the current working state and the working state of the previous cycle, wherein the target position is the position of the trackside device relative to the display screen; The processor is configured to: Periodically determining, among the trackside equipment included in the station yard diagram, a target trackside equipment located within the display range of the display screen, wherein the display mode of the target trackside equipment in the station yard diagram is animation display; For any target trackside device, if it is determined that the current target position of the target trackside device is different from the target position of the previous cycle, and / or the current working state of the target trackside device is different from the working state of the previous cycle, it is determined that the target trackside device needs to be redrawn; for the target trackside device that needs to be redrawn, the target trackside device is redrawn, wherein whether the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle is determined in the following manner: comparing the display duration of the current animation state of the target trackside device with the preset display duration corresponding to the current animation state; if it is determined that the display duration of the current animation state is less than the preset display duration, it is determined that the current working state of the target trackside device is the same as the working state of the target trackside device in the previous cycle; if it is determined that the display duration of the current animation state is not less than the preset display duration, it is determined that the current working state of the target trackside device is different from the working state of the target trackside device in the previous cycle; The display screen is configured to display the target trackside equipment after redrawing and the target trackside equipment of the previous cycle that does not need to be redrawn.
5. The electronic device according to claim 4, characterized in that: The processor executes, if it is determined that the target trackside device needs to be redrawn by using a method that the current working state of the target trackside device is different from the working state of the previous cycle, then redrawing the target trackside device for the target trackside device that needs to be redrawn, and is specifically configured as follows: Based on the type of the target trackside equipment, determining whether the target trackside equipment supports redrawing of a partial area of the equipment; If it is determined that the target trackside device supports redrawing of a partial area of the device, then based on the display area of the current working state of the target trackside device and the display area of the working state of the previous cycle, determine the area in the display area that needs to be redrawn, and redraw the determined area; If it is determined that the target trackside equipment does not support redrawing of a partial area, the entire area of the target trackside equipment is redrawn.
6. The electronic device according to any one of claims 4 to 5, characterized in that: The processor is further configured to: The target trackside equipment located within the display screen range among the trackside equipment included in the station diagram is determined in the following manner: For any trackside equipment in the station map, comparing the actual position of the trackside equipment in the station map with the display range of the station map on the display screen; If it is determined that the actual position of the trackside equipment is within the display range, the trackside equipment is determined to be the target trackside equipment.
Citation Information
Patent Citations
Rail transit station diagram general button display and control device and method
CN111176780A