Railway line monitoring method, device, equipment and medium
By adopting the CS architecture in the railway monitoring system, the railway monitoring tasks are executed in the target client and integrated with the GIS system, the problems of high terminal performance requirements and slow response in the existing technology are solved, and more efficient user experience and system response are achieved.
Patent Information
- Application Number
- CN202411566197.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-04
AI Technical Summary
In the existing railway monitoring system, the browser and server (BS) architecture has high requirements for terminal performance, resulting in slow response or even crash in the terminal, and poor user experience.
The railway monitoring tasks are executed in the target client of the server and client (CS) architecture, and the integration of the target client and the geographic information system (GIS) system is realized. The monitoring screen of each camera is displayed through the target client integration to reduce the dependence on the browser.
It improves terminal response speed, improves user experience, avoids slow system response and crash, and achieves efficient integration with GIS system.
Smart Images

Figure CN119559497A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of railway monitoring technology, and in particular to a railway line monitoring method, device, equipment and medium. Background Art
[0002] With the rapid development of railway transportation industry, railway safety monitoring has become increasingly important.
[0003] The railway system is huge. Currently, there are hundreds of railway lines in normal operation, with a total length of hundreds of thousands of kilometers, and hundreds of thousands of cameras deployed along the lines. Related technologies can monitor whether there are safety hazards on railway lines through the monitoring images of cameras. Specifically, related technologies generally use the browser and server (Browser Server, BS) architecture to obtain and display the monitoring images of cameras.
[0004] However, the BS architecture has high requirements on browser and terminal performance, which often leads to slow terminal response or even crash, resulting in poor user experience. Summary of the invention
[0005] The present invention provides a railway line monitoring method, device, equipment and medium, which are used to solve the defects in the related technology that the BS architecture has high requirements on the browser and terminal performance, which often leads to slow terminal response or even crash and poor user experience. The railway monitoring task is executed in the target client of the CS architecture, and the target client is integrated with the GIS system, so as to improve the terminal response speed and the user experience.
[0006] In a first aspect, the present invention provides a railway line monitoring method, comprising: Acquire line information of a plurality of railway lines in a railway line system, and acquire device information of each camera arranged in each of the railway lines; Determining the longitude and latitude information of each camera according to the line information of each railway line and the equipment information of each camera; Creating a railway line layer in a geographic information system (GIS) according to the line information of each railway line; and creating a camera layer in the GIS according to the device information and longitude and latitude information of each camera; Creating a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by the GIS; The railway map webpage is embedded into a target client of a server and client CS architecture, so as to monitor the line conditions and surrounding environment of the plurality of railway lines through the railway map webpage in the target client.
[0007] Optionally, the line information of each railway line includes a line identifier of the railway line and longitude and latitude information corresponding to each unit length; The equipment information of each camera includes the line identifier of the railway line where the camera is located and the camera kilometer mark, and the camera kilometer mark is the kilometer mark where the camera is located in the corresponding railway line.
[0008] Optionally, determining the longitude and latitude information of each camera according to the line information of each railway line and the device information of each camera includes: For any of the cameras, the line information corresponding to the railway line is determined based on the line identifier of the railway line in the device information of the camera. In the determined line information of the railway line, the longitude and latitude information corresponding to the camera kilometer mark in the device information of the camera is searched for and used as the longitude and latitude information of the camera.
[0009] Optionally, creating a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by the GIS includes: Rendering the railway line layer, the camera layer and the base map layer provided by the GIS into a blank map webpage of the GIS to obtain a rendered target map webpage; wherein the target map webpage includes a railway line distribution map, the railway line distribution map includes a simulated line corresponding to each railway line, each simulated line includes a camera identification point corresponding to each camera set in the railway line, and the distribution position of each camera identification point corresponds to the latitude and longitude information of the camera; A click event monitor of the camera identification point is added to the camera layer of the target map webpage to obtain a map webpage with the click event monitor added thereto, and the map webpage is used as the railway map webpage.
[0010] Optionally, the click event monitor is used to monitor whether the camera identification point is clicked; the target client is used to determine the longitude and latitude information corresponding to the camera identification point when it is determined by the click event monitor that the camera identification point is clicked, determine the device information and monitoring screen of the camera according to the determined longitude and latitude information, and display the device information, longitude and latitude information and monitoring screen of the camera.
[0011] In a second aspect, the present invention provides a railway line monitoring device, comprising: An acquisition unit, used to acquire line information of a plurality of railway lines in a railway line system, and to acquire device information of each camera arranged in each of the railway lines; A determination unit, configured to determine the longitude and latitude information of each of the cameras according to the line information of each of the railway lines and the device information of each of the cameras; A first creation unit is used to create a railway line layer in a geographic information system (GIS) according to the line information of each railway line, and to create a camera layer in the GIS according to the device information and the longitude and latitude information of each camera; A second creation unit is used to create a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by the GIS; The embedding unit is used to embed the railway map webpage into the target client of the server and client CS architecture, so as to monitor the line conditions and surrounding environment of the multiple railway lines through the railway map webpage in the target client.
[0012] Optionally, the line information of each railway line includes a line identifier of the railway line and longitude and latitude information corresponding to each unit length; The equipment information of each camera includes the line identifier of the railway line where the camera is located and the camera kilometer mark, and the camera kilometer mark is the kilometer mark where the camera is located in the corresponding railway line.
[0013] Optionally, determine the unit, also used to: For any of the cameras, the line information corresponding to the railway line is determined based on the line identifier of the railway line in the device information of the camera. In the determined line information of the railway line, the longitude and latitude information corresponding to the camera kilometer mark in the device information of the camera is searched for and used as the longitude and latitude information of the camera.
[0014] Optionally, the second creation unit is further used for: Rendering the railway line layer, the camera layer and the base map layer provided by the GIS into a blank map webpage of the GIS to obtain a rendered target map webpage; wherein the target map webpage includes a railway line distribution map, the railway line distribution map includes a simulated line corresponding to each railway line, each simulated line includes a camera identification point corresponding to each camera set in the railway line, and the distribution position of each camera identification point corresponds to the latitude and longitude information of the camera; A click event monitor of the camera identification point is added to the camera layer of the target map webpage to obtain a map webpage with the click event monitor added thereto, and the map webpage is used as the railway map webpage.
[0015] Optionally, the click event monitor is used to monitor whether the camera identification point is clicked; the target client is used to determine the longitude and latitude information corresponding to the camera identification point when it is determined by the click event monitor that the camera identification point is clicked, determine the device information and monitoring screen of the camera according to the determined longitude and latitude information, and display the device information, longitude and latitude information and monitoring screen of the camera.
[0016] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the railway line monitoring method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0017] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the railway line monitoring method of the first aspect or any corresponding embodiment thereof.
[0018] The railway line monitoring method, device, equipment and medium provided by the present invention can obtain the line information of multiple railway lines in the railway line system, and obtain the equipment information of each camera set in each railway line. According to the line information of each railway line and the equipment information of each camera, the longitude and latitude information of each camera is determined. According to the line information of each railway line, a railway line layer is created in the geographic information system GIS. And, according to the equipment information and longitude and latitude information of each camera, a camera layer is created in the GIS. Based on the railway line layer, the camera layer and the base map layer provided by the GIS, a corresponding railway map webpage is created. The railway map webpage is embedded in the target client of the server and client CS architecture, so as to monitor the line conditions and surrounding environment of multiple railway lines through the railway map webpage in the target client. The present invention can realize the execution of railway monitoring tasks in the target client of the CS architecture, realize the integration of the target client and the GIS system, integrate and display the monitoring screens of each camera through the target client, reduce the dependence on the browser, reduce the requirements on the terminal performance, avoid the slow response and crash of the system, improve the system response speed, and enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flow chart of a railway line monitoring method provided by an embodiment of the present invention; Figure 2 A schematic diagram of obtaining longitude and latitude information of another camera provided in an embodiment of the present invention; Figure 3 A schematic diagram of adding the latitude and longitude information of a camera to its device information provided by an embodiment of the present invention; Figure 4 A schematic diagram of obtaining a camera identification according to the latitude and longitude information of a camera provided by an embodiment of the present invention; Figure 5 A flow chart of another railway line monitoring method provided by an embodiment of the present invention; Figure 6 A schematic diagram of the structure of a railway line monitoring device provided by an embodiment of the present invention; Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] Combine the following Figure 1-Figure 5 The railway line monitoring method of the present invention is described.
[0023] like Figure 1 As shown, this embodiment proposes a first railway line monitoring method, which may include the following steps: S101, obtaining line information of a plurality of railway lines in a railway line system, and obtaining device information of each camera arranged in each railway line.
[0024] The railway line system may be composed of all railway lines distributed in a certain area, which may be an area of a city or province, or an area including multiple cities or provinces.
[0025] Among them, each railway line can be equipped with multiple cameras for monitoring the railway line conditions and the surrounding environment of the railway line.
[0026] Optionally, the line information of each railway line includes a line identifier of the railway line and longitude and latitude information corresponding to each unit length.
[0027] The device information of each camera includes the line identifier of the railway line where the camera is located and the camera kilometer mark, where the camera kilometer mark is the kilometer mark where the camera is located in the corresponding railway line.
[0028] The line identifier of the railway line may be a unique identifier of the railway line. The line identifier of the railway line may specifically be a line code of the railway line.
[0029] Optionally, the line information of each railway line may also include information such as the total length of the line and the number of cameras set on the railway line.
[0030] Optionally, the device information of the camera may further include a camera identifier for uniquely identifying the camera.
[0031] Specifically, the length unit of the railway line may be meter. In this case, the longitude and latitude information corresponding to each unit length in the line information of the railway line is the longitude and latitude information corresponding to each meter.
[0032] Optionally, the code representation of the railway information of a railway line can be: Line: Linecode: 3006, / / line code Linekm: 135000, / / Total length of line (unit: meter) cameracount: 639, / / The number of cameras in the current line lineinfo: [ / / The longitude and latitude information corresponding to each meter on the line {kilometer:10000, lng:116.333, lat:39.666…}, / / kilometer is the kilometer mark {kilometer:10001, lng:116.334, lat:39.667…}, / / lat: latitude {kilometer:10002, lng:116.335, lat:39.668…}, / / lng: longitude {kilometer:10003, lng:116.336, lat:39.669…} … ]…} Among them, Line represents the railway line, Linecode represents the line code, Linekm represents the total length of the line in kilometers, cameracount represents the number of cameras included in the railway line, and lineinfo represents the longitude and latitude information corresponding to each meter on the road.
[0033] It should be noted that each railway line has its own fixed unique code linecode, and the complete information of the line is stored in the Geographic Information System (GIS) service. The railway monitoring system of the related technology does not have the ability to obtain the latitude and longitude information of the camera in real time when adding a camera, resulting in the railway monitoring system being unable to obtain the detailed geographical location information of the camera. Only when the corresponding line kilometer mark is marked in the camera name, it is represented by the data object as follows: Camera: name: outdoor fixed focus upward on a railway line, / / camera name cameraid:601321145156111456, / / camera ID linecode:3006, / / The line code where the camera is located kilometer: 4522, / / camera kilometer mark lat: null, / / camera latitude lng: null, / / camera longitude, … } Among them, Camera indicates the camera, name indicates the camera name, cameraid indicates the camera ID, linecode indicates the line code of the railway line where the camera is located, kilometer indicates the kilometer mark of the camera on the railway line, and lat and lng indicate the latitude and longitude of the camera respectively.
[0034] S102: Determine the longitude and latitude information of each camera according to the line information of each railway line and the equipment information of each camera.
[0035] Specifically, in this embodiment, the line information of the corresponding railway line can be determined according to the device information of the camera, and the longitude and latitude information of the camera can be determined from the determined line information.
[0036] Optionally, step S102 may include: For any camera, the line information of the corresponding railway line is determined according to the line identification of the railway line in the camera's device information. In the determined line information of the railway line, the longitude and latitude information corresponding to the camera kilometer mark in the camera's device information is searched and used as the longitude and latitude information of the camera.
[0037] Specifically, this embodiment can first obtain the route identifier and the camera kilometer mark carried in the device information of the camera, and then determine the corresponding route information according to the route identifier. In the determined route information, the corresponding latitude and longitude are searched according to the camera kilometer mark, and the found latitude and longitude are determined as the longitude and latitude information of the camera.
[0038] Specifically, this embodiment can select a railway line and a camera set on the railway line, and call the interface in the GIS service according to the unique correspondence between the line and the camera, to determine the latitude and longitude information of the camera. This embodiment can obtain the line identifier and the camera kilometer mark in the camera's device information, and call the interface according to the line identifier and the camera kilometer mark to obtain the corresponding longitude and latitude information. Figure 2 As shown, the route identifier and camera kilometer mark obtained in this embodiment are 3006 and 10000 respectively. The interface is called according to the route identifier and camera kilometer mark to obtain the corresponding return data point, and the latitude 111.00926693 and the longitude 38.62510273 are separated from the point.
[0039] Optionally, after acquiring the latitude and longitude information of the camera, this embodiment may associate the latitude and longitude information of the camera with its device information, or may add the latitude and longitude information of the camera to its device information. Figure 3 As shown, this embodiment can obtain the camera identification, call the interface for setting the camera information, and add the latitude and longitude information of the camera to its device information. Figure 3 As shown, in this embodiment, the longitude and latitude of the camera (latitude 111.00926693, longitude 38.62510273) can be added to the device information of the camera with the camera ID of 601321145156111456.
[0040] S103. Create a railway line layer in the geographic information system (GIS) according to the line information of each railway line; and create a camera layer in the GIS according to the device information and longitude and latitude information of each camera.
[0041] Specifically, this embodiment can create a railway line layer in GIS according to the line information of all railway lines, and create a camera layer in GIS according to the device information and longitude and latitude information of all cameras.
[0042] Specifically, this embodiment can transmit the line information of all railway lines back to the GIS service, and create a railway line layer through the layer creation service in the GIS. This embodiment can transmit all the cameras of the entire line that already contain the longitude and latitude back to the GIS service, and create a camera layer through the layer creation service in the GIS.
[0043] S104, creating a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by GIS.
[0044] Specifically, this embodiment can render the base map layer provided by GIS, the created camera layer and the railway line layer on the web page to create a corresponding railway map web page.
[0045] Optionally, step S104 may include: Rendering the railway line layer, the camera layer and the base map layer provided by the GIS into a blank map webpage of the GIS to obtain a rendered target map webpage; wherein the target map webpage includes a railway line distribution map, the railway line distribution map includes a simulated line corresponding to each railway line, each simulated line includes a camera identification point corresponding to each camera set in the railway line, and the distribution position of each camera identification point corresponds to the latitude and longitude information of the camera; A click event monitor of the camera identification point is added to the camera layer of the target map webpage, and a map webpage with the click event monitor added is obtained, and used as a railway map webpage.
[0046] Specifically, this embodiment can call the base map service, line layer service, and camera layer service provided by the GIS service, render all the above layers on the web side, and add a click event to the camera layer to create a railway map webpage.
[0047] S105 , embedding the railway map webpage into a target client of a server and client (Client Server, CS) architecture, so as to monitor the line conditions and surrounding environments of multiple railway lines through the railway map webpage in the target client.
[0048] The target client is the client in the CS architecture.
[0049] Specifically, the present embodiment can embed the railway map webpage into the target client. Afterwards, the user can monitor the line conditions and surrounding environment of the railway line through the railway map webpage in the target client.
[0050] Optionally, the click event monitor is used to monitor whether the camera identification point is clicked; the target client is used to determine the longitude and latitude information corresponding to the camera identification point when it is determined through the click event monitor that the camera identification point is clicked, determine the camera device information and monitoring screen according to the determined longitude and latitude information, and display the camera device information, longitude and latitude information and monitoring screen.
[0051] Specifically, when a user clicks a camera on the camera layer displayed on the target client, the embodiment receives the corresponding query instruction, calls the interface in the GIS service, obtains the corresponding camera identifier, and returns it to the target client. Figure 4 As shown in the figure, when the user clicks a camera mark point on the camera layer (i.e. Figure 4 When the latitude and longitude points described are detected, this embodiment can obtain the latitude and longitude information of the camera, such as the latitude is 116.334 and the longitude is 39.667. Then, the interface can be called in the GIS service according to the latitude and longitude information to obtain the corresponding camera identifier 601321145156111456.
[0052] Afterwards, the target client can obtain the monitoring screen of the camera corresponding to the camera identifier, as well as the latitude and longitude information and device information of the camera, and display the device information, latitude and longitude information and monitoring screen of the camera on the target client.
[0053] It should be noted that, in the railway monitoring system of the related art under the BS architecture, if more than 6 cameras need to be monitored simultaneously, extremely high requirements will be placed on the browser and computer performance, which often leads to slow system response or even crash. Relatively speaking, the railway line monitoring method of the CS architecture of this embodiment has a relatively simple requirement on computer performance due to its high coding efficiency. Therefore, when more than 6 videos need to be watched simultaneously, the CS architecture can provide a smoother video display experience.
[0054] The inventors of the present invention have found that the CS architecture performs well in video playback, but it performs poorly in integration with GIS, and compatibility issues and crash errors often occur, which seriously affect the user's operation. Furthermore, the railway system is large in scale, with a large number of railway lines, total line lengths, and cameras installed along the lines. The railway GIS system performs well in line management and can accurately record the location information of each line. However, there are obvious deficiencies in the geographic information management of cameras, which may lead to the risk of mispositioning. Therefore, it is particularly important to conduct comprehensive geographic information management of the railway monitoring system. This embodiment can improve the accuracy and safety of line management by strengthening the geographic information management of cameras, thereby ensuring the smooth operation of the railway system and the safe travel of passengers. This embodiment can efficiently and stably achieve integration with the GIS system while ensuring that the video display experience is not affected.
[0055] It should be noted that this embodiment can load GIS on the web side and embed it into the client of the CS architecture, bringing the following beneficial effects: Spatial positioning: GIS can provide accurate geographic location information, which enables the monitoring client to display the specific location of each camera. In the event of an emergency, the location of the incident can be quickly located.
[0056] Incident response: Combined with GIS data, the monitoring system can respond to incidents more quickly. For example, if unusual activity is detected in a specific area, the relevant department can immediately view a map of the area, understand the surrounding environment, and respond quickly.
[0057] Resource allocation: GIS can help managers better understand the distribution of resources (such as cameras and patrol teams) so that they can be allocated and deployed more effectively.
[0058] Video retrieval: To quickly retrieve historical videos of specific locations from a large amount of video data, GIS can provide a convenient map interface, and users can directly access historical videos of related cameras through markers on the map.
[0059] Reduce dependence on browsers, render GIS on the web interface, execute video surveillance tasks on the client, and reduce dependence on browsers. The railway line monitoring method proposed in this embodiment can obtain the line information of multiple railway lines in the railway line system, and obtain the device information of each camera set in each railway line. According to the line information of each railway line and the device information of each camera, the longitude and latitude information of each camera is determined. According to the line information of each railway line, a railway line layer is created in the geographic information system GIS. And, according to the device information and longitude and latitude information of each camera, a camera layer is created in the GIS. Based on the railway line layer, the camera layer and the base map layer provided by the GIS, a corresponding railway map webpage is created. The railway map webpage is embedded in the target client of the server and client CS architecture to monitor the line conditions and surrounding environment of multiple railway lines through the railway map webpage in the target client. This embodiment can realize the execution of railway monitoring tasks in the target client of the CS architecture, realize the integration of the target client and the GIS system, integrate and display the monitoring screens of each camera through the target client, reduce the dependence on the browser, reduce the requirements on the terminal performance, avoid slow system response and crash, improve the system response speed, and enhance the user experience.
[0060] like Figure 5As shown, this embodiment proposes another railway line monitoring method, in which this embodiment can obtain the longitude and latitude information of the camera by passing the line ID and kilometer mark carried in the device information of the camera to the GIS service on the web BS architecture of the web page. After that, this embodiment can sort the longitude and latitude obtained by line classification on the web side, and then return it to the GIS service in a specified format to create a camera layer. After that, this embodiment can call the map base map, map line layer and camera layer through the specified interface on the web side, add click events to the camera layer and station layer, and can pass the information of the clicked node through the click event to create the corresponding railway map web page Web-GIS.
[0061] Afterwards, this embodiment can embed Web-GIS into the target client of the CS architecture. At this time, the target client can provide a tree-structured directory tree, a resource search function, and a monitoring video display function.
[0062] The railway line monitoring method proposed in this embodiment can embed the webGIS interface into the client in the CS architecture, call the GIS service on the web side, and then embed the web interface into the client to realize the integrated communication display of video monitoring and GIS functions, process video data and geographic information data, and realize data synchronization and fusion. This embodiment can effectively collect camera-related geographic information data and ensure that these data can be synchronized in real time and accurately during the collection process to meet the needs of monitoring and GIS applications. It can efficiently integrate video data with geographic information data so as to achieve seamless integration and interaction between the two in subsequent applications. By taking advantage of the client, users can directly access the Web-GIS server through the client, thereby simultaneously displaying video monitoring images and GIS functions in a single interface, improving user experience and system practicality. This embodiment can solve the problems of data collection, processing, storage, service provision and integrated display in the integration of railway monitoring system and GIS.
[0063] like Figure 6 As shown, this embodiment provides a railway line monitoring device, which may include: An acquisition unit 601 is used to acquire line information of a plurality of railway lines in a railway line system, and acquire device information of each camera arranged in each railway line; A determination unit 602, configured to determine the longitude and latitude information of each camera according to the line information of each railway line and the device information of each camera; The first creation unit 603 is used to create a railway line layer in the geographic information system GIS according to the line information of each railway line, and to create a camera layer in the GIS according to the device information and longitude and latitude information of each camera; The second creation unit 604 is used to create a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by the GIS; The embedding unit 605 is used to embed the railway map webpage into the target client of the server and client CS architecture, so as to monitor the line conditions and surrounding environments of multiple railway lines through the railway map webpage in the target client.
[0064] It should be noted that the processing of the acquisition unit 601, the determination unit 602, the first creation unit 603, the second creation unit 604 and the embedding unit 605 and the beneficial effects thereof can be respectively referred to in Figure 1 Steps S101 to S105 in the above are not described in detail.
[0065] Optionally, the line information of each railway line includes a line identifier of the railway line and longitude and latitude information corresponding to each unit length; The device information of each camera includes the line identifier of the railway line where the camera is located and the camera kilometer mark, where the camera kilometer mark is the kilometer mark where the camera is located in the corresponding railway line.
[0066] Optionally, the determining unit 602 is further configured to: For any camera, the line information of the corresponding railway line is determined according to the line identification of the railway line in the camera's device information. In the determined line information of the railway line, the longitude and latitude information corresponding to the camera kilometer mark in the camera's device information is searched and used as the longitude and latitude information of the camera.
[0067] Optionally, the second creating unit 604 is further configured to: Rendering the railway line layer, the camera layer and the base map layer provided by the GIS into a blank map webpage of the GIS to obtain a rendered target map webpage; wherein the target map webpage includes a railway line distribution map, the railway line distribution map includes a simulated line corresponding to each railway line, each simulated line includes a camera identification point corresponding to each camera set in the railway line, and the distribution position of each camera identification point corresponds to the latitude and longitude information of the camera; A click event monitor of the camera identification point is added to the camera layer of the target map webpage, and a map webpage with the click event monitor added is obtained, and used as a railway map webpage.
[0068] Optionally, the click event monitor is used to monitor whether the camera identification point is clicked; the target client is used to determine the longitude and latitude information corresponding to the camera identification point when it is determined through the click event monitor that the camera identification point is clicked, determine the camera device information and monitoring screen according to the determined longitude and latitude information, and display the camera device information, longitude and latitude information and monitoring screen.
[0069] The railway line monitoring device proposed in this embodiment can obtain the line information of multiple railway lines in the railway line system, and obtain the equipment information of each camera set in each railway line. According to the line information of each railway line and the equipment information of each camera, the longitude and latitude information of each camera is determined. According to the line information of each railway line, a railway line layer is created in the geographic information system GIS. And, according to the equipment information and longitude and latitude information of each camera, a camera layer is created in the GIS. Based on the railway line layer, the camera layer and the base map layer provided by the GIS, a corresponding railway map webpage is created. The railway map webpage is embedded in the target client of the server and client CS architecture to monitor the line conditions and surrounding environment of multiple railway lines through the railway map webpage in the target client. The present invention can realize the execution of railway monitoring tasks in the target client of the CS architecture, realize the integration of the target client and the GIS system, integrate and display the monitoring screens of each camera through the target client, reduce the dependence on the browser, reduce the requirements on the terminal performance, avoid slow system response and crash, improve the system response speed, and enhance the user experience.
[0070] The railway line monitoring device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0071] The embodiment of the present invention also provides a computer device having the above Figure 6 The railway line monitoring device shown.
[0072] See also Figure 7, a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0073] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0074] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0075] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function. The data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0076] The memory 20 may include a volatile memory, such as a random access memory. The memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive. The memory 20 may also include a combination of the above-mentioned types of memory.
[0077] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0078] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A railway line monitoring method, characterized in that: include: Acquire line information of a plurality of railway lines in a railway line system, and acquire device information of each camera arranged in each of the railway lines; Determining the longitude and latitude information of each camera according to the line information of each railway line and the equipment information of each camera; Creating a railway line layer in a geographic information system (GIS) according to the line information of each railway line; And, creating a camera layer in the GIS according to the device information and longitude and latitude information of each camera; Creating a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by the GIS; The railway map webpage is embedded into a target client of a server and client CS architecture, so as to monitor the line conditions and surrounding environment of the plurality of railway lines through the railway map webpage in the target client.
2. The method according to claim 1, characterized in that The line information of each railway line includes the line identifier of the railway line and the longitude and latitude information corresponding to each unit length; The equipment information of each camera includes the line identifier of the railway line where the camera is located and the camera kilometer mark, and the camera kilometer mark is the kilometer mark where the camera is located in the corresponding railway line.
3. The method according to claim 2, characterized in that Determining the longitude and latitude information of each camera according to the line information of each railway line and the device information of each camera includes: For any of the cameras, the line information corresponding to the railway line is determined based on the line identifier of the railway line in the device information of the camera. In the determined line information of the railway line, the longitude and latitude information corresponding to the camera kilometer mark in the device information of the camera is searched for and used as the longitude and latitude information of the camera.
4. The method according to claim 1, characterized in that: The step of creating a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by the GIS comprises: Rendering the railway line layer, the camera layer and the base map layer provided by the GIS into a blank map webpage of the GIS to obtain a rendered target map webpage; wherein the target map webpage includes a railway line distribution map, the railway line distribution map includes a simulated line corresponding to each railway line, each simulated line includes a camera identification point corresponding to each camera set in the railway line, and the distribution position of each camera identification point corresponds to the latitude and longitude information of the camera; A click event monitor of the camera identification point is added to the camera layer of the target map webpage to obtain a map webpage with the click event monitor added thereto, and the map webpage is used as the railway map webpage.
5. The method according to claim 4, characterized in that The click event monitor is used to monitor whether the camera identification point is clicked; the target client is used to determine the longitude and latitude information corresponding to the camera identification point when it is determined by the click event monitor that the camera identification point is clicked, determine the device information and monitoring screen of the camera according to the determined longitude and latitude information, and display the device information, longitude and latitude information and monitoring screen of the camera.
6. A railway line monitoring device, characterized in that: include: An acquisition unit, used to acquire line information of a plurality of railway lines in a railway line system, and to acquire device information of each camera arranged in each of the railway lines; A determination unit, configured to determine the longitude and latitude information of each of the cameras according to the line information of each of the railway lines and the device information of each of the cameras; A first creation unit is used to create a railway line layer in a geographic information system (GIS) according to the line information of each railway line, and to create a camera layer in the GIS according to the device information and the longitude and latitude information of each camera; A second creation unit is used to create a corresponding railway map webpage based on the railway line layer, the camera layer and the base map layer provided by the GIS; The embedding unit is used to embed the railway map webpage into the target client of the server and client CS architecture, so as to monitor the line conditions and surrounding environment of the multiple railway lines through the railway map webpage in the target client.
7. The device according to claim 6, characterized in that The line information of each railway line includes the line identifier of the railway line and the longitude and latitude information corresponding to each unit length; The equipment information of each camera includes the line identifier of the railway line where the camera is located and the camera kilometer mark, and the camera kilometer mark is the kilometer mark where the camera is located in the corresponding railway line.
8. The device according to claim 7, characterized in that Determines the unit, also used for: For any of the cameras, the line information corresponding to the railway line is determined based on the line identifier of the railway line in the device information of the camera. In the determined line information of the railway line, the longitude and latitude information corresponding to the camera kilometer mark in the device information of the camera is searched for and used as the longitude and latitude information of the camera.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the railway line monitoring method according to any one of claims 1 to 5 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the railway line monitoring method according to any one of claims 1 to 5.