CN115991223A - Rail transit computing system and method - Google Patents

Rail transit computing system and method Download PDF

Info

Publication number
CN115991223A
CN115991223A CN202310287467.8A CN202310287467A CN115991223A CN 115991223 A CN115991223 A CN 115991223A CN 202310287467 A CN202310287467 A CN 202310287467A CN 115991223 A CN115991223 A CN 115991223A
Authority
CN
China
Prior art keywords
computing
request
calculation
node
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310287467.8A
Other languages
Chinese (zh)
Other versions
CN115991223B (en
Inventor
任宇艳
李�浩
原浩强
王一民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Research and Design Institute Group Co Ltd
Original Assignee
CRSC Research and Design Institute Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Research and Design Institute Group Co Ltd filed Critical CRSC Research and Design Institute Group Co Ltd
Priority to CN202310287467.8A priority Critical patent/CN115991223B/en
Publication of CN115991223A publication Critical patent/CN115991223A/en
Application granted granted Critical
Publication of CN115991223B publication Critical patent/CN115991223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a track traffic computing system and a track traffic computing method. Relates to the technical field of rail traffic signals, and the system comprises: the system comprises a user interaction module, an interface access module, a calculation request processing module and a virtual calculation node; the user interaction module is used for receiving a calculation request input by a user and forwarding the calculation request to the interface access module; the interface access module is used for sending the calculation request to the calculation request processing module; the computing request processing module is used for determining a target computing node for executing the computing request from the virtual computing nodes which are created in advance according to the computing request; and the target computing node is used for processing the computing request. The technical scheme of the embodiment of the invention improves the calculation efficiency of the calculation request.

Description

Rail transit computing system and method
Technical Field
The invention relates to the technical field of rail transit signals, in particular to a rail transit computing system and a rail transit computing method.
Background
With the development of rail transit technology, the number of calculation requests in the train operation control process is increasing.
Currently, an increased number of computing requests are mainly handled by providing computing devices at each section of a track and by increasing the number of computing devices.
However, the existing computing system has a problem of low computing efficiency due to factors such as dispersion of computing devices and a large number of computing devices.
Disclosure of Invention
The invention provides a rail transit computing system and a rail transit computing method, which are used for solving the problem of low computing efficiency of the existing computing system.
According to an aspect of the present invention, there is provided a rail transit computing system, the system comprising: the system comprises a user interaction module, an interface access module, a calculation request processing module and a virtual calculation node;
the user interaction module is used for receiving a calculation request input by a user and forwarding the calculation request to the interface access module;
the interface access module is used for sending the calculation request to the calculation request processing module;
the computing request processing module is used for determining a target computing node for executing the computing request from the virtual computing nodes which are created in advance according to the computing request;
and the target computing node is used for processing the computing request.
According to another aspect of the present invention, there is provided a rail transit calculating method, the method comprising:
receiving a calculation request input by a user through a user interaction module, and forwarding the calculation request to an interface access module;
sending the calculation request to a calculation request processing module through an interface access module;
Determining a target computing node for executing the computing request from the virtual computing nodes which are created in advance according to the computing request through a computing request processing module;
and processing the calculation request through the target calculation node.
According to the technical scheme, the user interaction module is used for receiving a calculation request input by a user and transmitting the calculation request to the interface access module, the interface access module is used for sending the calculation request to the calculation request processing module, the calculation request processing module is used for determining a target calculation node to be executed for the calculation request in the virtual calculation nodes which are created in advance according to the calculation request, and the target calculation node is used for processing the calculation request, so that the problem of low calculation efficiency of an existing calculation system is solved, and the calculation efficiency of the calculation request is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a rail transit computing system according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device implementing a rail transit calculating method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a rail transit computing system according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a rail transit computing system according to a second embodiment of the present invention;
fig. 5 is a flowchart of a track traffic calculation method according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device for implementing the rail transit calculating method according to the fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," "target," and the like in the description and claims of the present invention and in the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a schematic structural diagram of a rail transit computing system according to a first embodiment of the present invention. The embodiment of the invention is applicable to the situation of processing the calculation request, the system can execute a rail traffic calculation method, the system can be realized in the form of hardware and/or software, and the rail traffic calculation system can be configured in electronic equipment carrying the rail traffic calculation function. Alternatively, there may be a plurality of electronic devices. The user interaction module can be independently configured in the electronic device with the communication function relative to other modules in the system.
Referring to the track traffic computing system shown in fig. 1, comprising: a user interaction module 110, an interface access module 120, a computing request processing module 130, and a virtual computing node 140. The user interaction module 110 is configured to receive a calculation request input by a user, and forward the calculation request to the interface access module 120. The interface access module 120 is configured to send the calculation request to the calculation request processing module 130. The computing request processing module 130 is configured to determine, according to the computing request, a target computing node to be executed for the computing request from among the virtual computing nodes 140 created in advance. And the target computing node is used for processing the computing request.
Wherein, the user interaction module 110 is in communication connection with the interface access module 120; the interface access module 120 is communicatively connected to the computation request processing module 130; the computing request processing module 130 creates a virtual computing node 140 and determines a target computing node in the virtual computing node 140 to execute the computing request. The virtual compute nodes 140 are created in advance by the compute request processing module 130 and distributed and managed by the compute request processing module 130. Alternatively, the number of virtual compute nodes 140 may be multiple. The number of target computing nodes may be at least one.
When the user needs the system to perform calculation, the user inputs a calculation request to the user interaction module 110. Alternatively, the user may be an operation and maintenance person in the field. The compute request may include a target compute node and compute data required to execute the compute request, and the like.
Specifically, the user interaction module 110 may provide a visual interface, and a user may input a calculation request through the visual interface provided by the user interaction module 110. The user interaction module 110 may forward the computing request to the interface access module 120 through a communication connection with the interface access module 120. The interface access module 120 may provide an access interface. The interface access module 120 sends the calculation request to the calculation request processing module 130 through the access interface. The computing request processing module 130 may determine a target computing node of the computing request to be executed among the virtual computing nodes 140 created in advance according to a target computing node required in the computing request. And the target computing node processes the computing request according to the computing data contained in the computing request.
According to the technical scheme, the user interaction module is used for receiving a calculation request input by a user and transmitting the calculation request to the interface access module, the interface access module is used for sending the calculation request to the calculation request processing module, the calculation request processing module is used for determining a target calculation node to be subjected to the calculation request in the virtual calculation nodes which are created in advance according to the calculation request, the target calculation node is used for processing the calculation request, the centralized and unified management of the calculation capacity of the system can be achieved by creating the virtual calculation node, the flexible distribution of the virtual calculation node is achieved by determining the target calculation node in the virtual calculation node according to the calculation request, the adaptation degree of the target calculation node and the processed calculation request is guaranteed, and the calculation efficiency of the system is improved.
In an alternative embodiment of the present invention, the target computing node is configured to feed back a processing result of the computing request to the computing request processing module 130; a calculation request processing module 130, configured to feed back a processing result to the interface access module 120; the interface access module 120 is configured to feed back a processing result to the user interaction module 110; the user interaction module 110 is configured to provide the processing result of the calculation request to the user.
The processing results of the calculation request may include an execution state of the calculation request, an execution result of the calculation request, and the like. The execution state of the calculation request may include executing, normal execution ending, and abnormal execution suspending. The execution result of the calculation request may include a processing result of calculation data of the calculation request.
According to the scheme, the target computing node is used for feeding back the processing result of the computing request to the computing request processing module, the computing request processing module is used for feeding back the processing result to the interface access module, the interface access module is used for feeding back the processing result to the user interaction module, and the user interaction module is used for providing the processing result of the computing request for a user, so that the feedback of the processing result of the computing request is realized, and the query and the post-processing of the processing result are facilitated.
In an alternative embodiment of the present invention, the calculation request processing module 130 is further configured to screen the target calculation nodes to execute the calculation request from the virtual calculation nodes 140 created in advance according to the number of target calculation nodes in the calculation request and the preset resource availability threshold of each target calculation node.
The computing request comprises the number of target computing nodes, a preset resource availability threshold value of each target computing node and the like. The number of target compute nodes may be a required number of target compute nodes when executing the compute request. The preset resource availability threshold may be a minimum value of the resource availability required by the target computing node when executing the computing request. Alternatively, the resource availability may include CPU (Central Processing Unit ) availability, memory availability, and the like.
When creating the virtual compute nodes 140, the computing request processing module 130 may create different amounts of resources available for each virtual compute node 140. Accordingly, when processing each calculation request, the demand for the available amount of resources of the target calculation node is different due to the different calculation amount of each calculation request. Therefore, different computing requests, the corresponding preset resource availability thresholds of the target computing nodes are also different. In addition, for the same calculation request, at least one target calculation node is required to process the calculation request due to the magnitude of the calculation amount, the processing mode of the calculation data, and the like.
Specifically, the calculation request processing module 130 may select, according to the number of target calculation nodes in the calculation request and the preset resource availability threshold of each target calculation node, among the virtual calculation nodes 140 created in advance, the virtual calculation nodes with the resource availability greater than or equal to the number of target calculation nodes of the preset resource availability threshold, and determine the virtual calculation nodes as the target calculation nodes to be executed with the calculation request.
According to the scheme, through the calculation request processing module, the target calculation nodes to be executed are screened from the virtual calculation nodes which are created in advance according to the number of the target calculation nodes in the calculation request and the preset resource availability threshold value of each target calculation node, so that the number of the target calculation nodes and the resource availability of each target calculation node can meet the calculation request, each target calculation node can normally process the calculation request, and the processing efficiency of the calculation request is further improved.
In an optional embodiment of the present invention, the calculation request processing module 130 is further configured to screen, among the virtual computing nodes 140 created in advance, idle virtual computing nodes 140 according to the node states of the virtual computing nodes 140, and screen, among the idle virtual computing nodes 140, target computing nodes to be executed with the calculation request according to the number of target computing nodes in the calculation request and a preset resource availability threshold of each target computing node.
Node states may include occupied, idle, and failed, among others. The node state is related to the execution state of the computing request by the virtual compute node 140. Specifically, if the execution state of the virtual computing node 140 to the computing request is executing, the node state of the virtual computing node 140 is occupied; if the execution state of the virtual computing node 140 to the computing request is that the normal execution is finished, the node state of the virtual computing node 140 is idle; if the execution state of the virtual computing node 140 for the computing request is an abnormal execution suspension, the node state of the virtual computing node 140 is a failure.
Alternatively, the execution identifier of the calculation request may be detected by a probe, and the execution state of the virtual computing node 140 for the calculation request may be determined according to the correspondence between the execution identifier of the calculation request and the execution state of the calculation request. Wherein the probe may be program code that detects an execution identity of the computation request. The probes may be preconfigured in the operating environment of the virtual compute node 140. During the processing of the calculation request by the virtual computing node 140, the execution identifier of the calculation request is updated in real time according to the processing procedure. The execution status of the computing request by the virtual compute node 140 may be determined by detecting the execution identification of the computing request updated in real time.
For example, the execution flags of the calculation request may be 0, null (invalid), and 1, where the execution flag 0 corresponds to the execution state being executed, the normal execution of the execution state corresponding to the execution flag 1 is ended, and the execution flag null corresponds to the execution state aborted. If the probe detects that the execution identifier of the calculation request is 0, the execution state of the calculation request is executing, and the node state of each virtual calculation node 140 corresponding to the calculation request is occupied; if the probe detects that the execution identifier of the calculation request is 1, the execution state of the calculation request is that the normal execution is ended, and the node state of each virtual calculation node 140 corresponding to the calculation request is idle; if the probe detects that the execution identifier of the calculation request is null, the execution state of the calculation request is abnormal execution suspension, and the node state of each virtual calculation node 140 corresponding to the calculation request is fault.
Alternatively, the same virtual compute node may only handle one compute request at a time. When the target computing node to be subjected to the computing request is screened out of the virtual computing nodes 140, the virtual computing node 140 whose node state is idle may be selected as the target computing node. At this time, parallel processing conflicts between different computing requests can be avoided for the same target computing node.
The method is further used for screening idle virtual computing nodes in the pre-established virtual computing nodes according to the node states of the virtual computing nodes, screening target computing nodes to be subjected to computing requests according to the number of the target computing nodes in the computing requests and the preset resource availability threshold value of each target computing node in the idle virtual computing nodes, guaranteeing that the node states of the target computing nodes are idle, avoiding the situation of parallel processing conflicts among different computing requests of the same target computing node, ensuring normal computing of the computing requests by the target computing nodes, and further guaranteeing the execution efficiency of the computing requests.
In an alternative embodiment of the present invention, the calculation request processing module 130 is further configured to send an exception alarm to the interface access module 120 when detecting that the node status of the target calculation node is a failure; the interface access module 120 is further configured to feed back an abnormal alarm to the user interaction module 110.
Specifically, the node state of the target computing node is a failure, which can be understood that the execution state of the computing request corresponding to the target computing node is abnormal execution suspension. At this time, the computing request processing module 130 issues an abnormality alert to the interface access module 120, and the interface access module 120 feeds back the abnormality alert to the user interaction module 110 so that the user can detect and recover the target computing node.
According to the scheme, through the calculation request processing module, when the node state of the target calculation node is detected to be a fault, an abnormal alarm is sent to the interface access module, and the interface access module is further used for feeding the abnormal alarm back to the user interaction module, so that the detection and recovery of the target calculation node are facilitated, and the fault tolerance of the system is improved.
In an alternative embodiment of the invention, the number of user interaction modules is at least one, different user interaction modules being deployed on communication devices on different sections of the track.
Because the coverage area of the track is wide, a large number of road sections are arranged in the track, and the distance between the road sections is long. In the prior art, hardware computing equipment is arranged on different road sections of a track to process a computing request of a track traffic signal. In the scheme, the communication equipment is configured on different road sections, and the user interaction module 110 is deployed on the communication equipment on different road sections, however, other modules in the system can be configured on the same electronic equipment, so that the computing capacity is centralized and uniformly managed. Fig. 2 is a schematic structural diagram of an electronic device for implementing a rail transit calculation method according to an embodiment of the present invention. As shown in fig. 2, the communication devices Y1, Y2, … …, and YN are configured in different paths, and user interaction modules, that is, user module 111, user interaction modules 112, … …, and user interaction module 11N are deployed on the communication devices, and other modules in the system are deployed on the same electronic device, that is, interface access module 120, calculation request processing module 130, and virtual calculation node 140 are deployed on electronic device 100, so that each user interaction module 110 can obtain calculation requests of different paths on the track, and meanwhile, the calculation capability is centralized and uniformly managed.
According to the scheme, the number of the user interaction modules is at least one, and different user interaction modules are deployed on communication equipment on different sections of the track, so that the receiving of calculation requests on different sections of the track is realized, the influence of excessive dispersion of equipment on calculation efficiency and equipment maintenance cost is avoided, the execution efficiency of the calculation requests of the track traffic signals is improved, and the equipment maintenance cost is saved.
Example two
Fig. 3 is a schematic structural diagram of a rail transit computing system according to a second embodiment of the present invention. On the basis of the embodiment, the embodiment of the invention further increases a resource providing module and a computing device, provides hardware support for the target computing node, and ensures normal computing of the target computing node.
Referring to the track traffic computing system shown in fig. 3, further comprising: a resource provisioning module 150 and a computing device 160. A resource providing module 150, configured to, when creating the virtual computing node 140, allocate a corresponding computing device 160 to the created virtual computing node 140; the computing device 160 is configured to run the corresponding virtual computing node 140.
The resource provisioning module 150 may be used to allocate computing devices 160 for the virtual computing nodes 140. Computing device 160 may be a hardware device upon which virtual computing node 140 depends. By way of example, the computing device may include, but is not limited to, a server. Computing device 160 may provide computing resources for virtual computing node 140. The computing resources may include a CPU, a memory, and the like.
In particular, the resource provisioning module 150 may allocate computing devices 160 for the virtual computing nodes 140 according to the computing device's resource allocation policy when the computing request processing module 130 creates the virtual computing nodes 140. Wherein the resource allocation policy may be set and adjusted empirically by a skilled person.
According to the technical scheme provided by the embodiment of the invention, the resource providing module and the computing equipment are added, the resource providing module is used for distributing the corresponding computing equipment 160 for the created virtual computing node 140 when the virtual computing node 140 is created, the computing equipment 160 is used for running the corresponding virtual computing node 140, and the hardware equipment is provided for the virtual computing node in advance, so that a target computing node in the virtual computing node can normally process a computing request, and further the execution efficiency of the computing request is ensured.
Optionally, the resource providing module 150 may further provide the computing device 160 for the interface access module 120 and the computing request processing module 130, respectively.
The resource providing module is used for providing computing equipment for the interface access module and the computing request processing module respectively, and providing hardware support for the interface access module and the computing request processing module respectively, so that the processing efficiency of the interface access module and the computing request processing module is ensured.
In an alternative embodiment of the present invention, the computing request processing module 130 is further configured to, after determining the target computing node on which the computing request is to be executed, download and install the image file included in the computing request onto the target computing node, and deploy on the target computing node the execution environment and at least one computing software required for executing the computing request.
The calculation request may also include an image file of the execution calculation request. Wherein the image file may be a software environment required to execute the computing request. Alternatively, the image file may include the operating environment and at least one computing software needed to execute the computing request.
The scheme is further used for downloading and installing the mirror image file included in the calculation request to the target calculation node after the target calculation node for executing the calculation request is determined through the calculation request processing module, deploying the operation environment and at least one calculation software required by executing the calculation request on the target calculation node, and providing a software environment for the target calculation node so that the target calculation node can normally process the calculation request, and further, the execution efficiency of the calculation request is guaranteed.
In an alternative embodiment of the present invention, the calculation request processing module is further configured to initialize the target calculation node after the calculation request processing is completed.
The processing of the calculation request is completed, and it can be understood that the target calculation node normally executes the calculation request. The operating environment and at least one computing software deployed on the target computing node may be initialized and the target computing node reclaimed. Thus, the target computing node may perform the new task request.
According to the scheme, the calculation request processing module is further used for initializing the target calculation node after the calculation request is processed, so that the cyclic use of the target calculation node is realized, and the processing efficiency of the calculation request is further improved.
Optionally, the system further includes: and (5) a database. The computing request processing module 130 is further configured to store node data of the target computing node to a database; the user interaction module 110 is configured to receive a query request from a user, and forward the query request to the interface access module 120; an interface access module 120, configured to send a query request to the calculation request processing module 130; the calculation request processing module 130 is configured to query node data in the database and feed back to the interface access module 120; the interface access module 120 is configured to feed back the node data to the user interaction module 110.
The node data comprises a node identifier, a node state, a calculation request identifier, an image file corresponding to the calculation request and the like. The node identification is used to uniquely identify the target computing node. The compute request identification is used to uniquely identify the compute request.
The method comprises the steps of adding a database, storing node data of a target computing node into the database through a computing request processing module, a user interaction module, a user query module, an interface access module, a computing request processing module, a feedback interface access module and an interface access module, wherein the user interaction module is used for receiving a query request of a user and transmitting the query request to the interface access module, the interface access module is used for transmitting the query request to the computing request processing module, the computing request processing module is used for querying the node data in the database and feeding the node data back to the interface access module, the interface access module is used for feeding the node data back to the user interaction module, monitoring and feedback of the node data of the target computing node are achieved, screening of virtual computing nodes by the node data is facilitated, and the user query and browsing of the node data of the virtual computing node are facilitated.
Optionally, the resource providing module 150 is further configured to provide the computing device 160 to a database.
The resource providing module provides the database with the computing equipment, and provides hardware support for the database, so that the data storage and query efficiency of the database are ensured.
Fig. 4 is a schematic structural diagram of a rail transit computing system according to a second embodiment of the present invention. Referring to the track traffic computing system shown in fig. 4, comprising: a user interaction module 110, an interface access module 120, a computing request processing module 130, and a resource providing module 140.
Wherein the user interaction module 110 may provide a visual interface. A user may interact with the interface access module 120 through a visual interface of the user interaction module. The functions of the user interaction module 110 specifically include receiving a calculation request (or a query request) sent by a user, displaying node data, displaying an execution state of the calculation request, and the like. The node data comprises a node identifier, a node state, a calculation request identifier, an image file corresponding to the calculation request and the like. The execution state of the calculation request includes executing, normal execution ending, and abnormal execution suspending.
The interface access module 120 is configured to provide a unified access interface. Through the access interface, a user with access rights can send a calculation request (or a query request), query node data, an execution state of the query calculation request, and the like to the system through the access interface.
The calculation request processing module 130 is configured to obtain a calculation request sent by the interface access module 120, process the calculation request, manage the virtual calculation node 140, store node data of the virtual calculation node 140, store an execution state of the calculation request, detect node data of the virtual calculation node, detect an execution state of the calculation request, and the like.
The resource providing module 150 is used to provide computing devices, which may be servers in particular. The resource providing module 150 includes a virtual compute node server, a compute request processing module server, an interface access module server, and a database server. Wherein the compute request processing module server provides hardware devices for the compute request processing module 130. The interface access module server provides hardware devices for the interface access module 120. The database server provides hardware devices for the database. The virtual compute node server is used to allocate computing devices 160 for the virtual compute nodes.
Specifically, the compute request processing module 130 creates virtual compute nodes 140 and processing threads in advance. The calculation request processing module 130 may obtain, through a processing thread, a calculation request sent by the interface access module 120, process the calculation request, manage the virtual calculation node 140, store node data of the virtual calculation node 140, store an execution state of the calculation request, detect node data of the virtual calculation node, detect an execution state of the calculation request, and the like.
Optionally, the specific process of the track traffic system for processing the calculation request is as follows:
s401, the interface access module 120 receives the calculation request sent by the user interaction module 110 and sends the calculation request to the calculation request processing module 130; the computing requests comprise the number of target computing nodes, a preset resource availability threshold value of each target computing node, mirror image files configured by each target computing node and computing data corresponding to the computing requests.
S402, the calculation request processing module 130 analyzes the calculation request to obtain the number of target calculation nodes, the preset resource availability threshold value of each target calculation node, the mirror image file configured by each target calculation node and the calculation data corresponding to the calculation request.
S403, the calculation request processing module 130 screens target calculation nodes in the virtual calculation nodes 140 according to the number of the target calculation nodes and the preset resource availability threshold of each target calculation node; wherein the node status prioritizes the virtual compute nodes that are idle. At the same time, virtual compute nodes 140 are ordered from low to high resource availability.
S404, the computing request processing module 130 downloads and installs the image file contained in the computing request to each target computing node, and deploys the operating environment and at least one computing software required by the computing request on each target computing node.
S405, the calculation request processing module 130 sends the calculation data included in the calculation request to each target calculation node.
S406, each target computing node processes the computing request according to the computing data contained in the computing request, and stores the node data of the target computing node and the execution state of the computing request into a database. The execution state of the calculation request is determined by detecting an execution identifier of the calculation request through a probe which is pre-configured in the running environment of the target calculation node.
S407, the calculation request processing module 130 updates the node data of each target calculation node according to the execution state of the calculation request.
Specifically, if the execution state of the computation request is executing, the computation request processing module 130 updates the node state of the target computation node to be occupied; if the execution state of the computing request is that the normal execution is finished, the computing request processing module 130 updates the node state of the target computing node to be idle, and initializes the running environment of the target computing node and at least one computing software; if the execution state of the calculation request is abnormal execution suspension, the calculation request processing module 130 updates the running state of the target calculation node to be a fault, and feeds back an abnormal alarm.
Optionally, the specific process of the track traffic system for processing the query request is as follows:
s411, the user sends a query request to the interface access module 120 at the user interaction module 110.
S412, the interface access module 120 checks the access rights of the user and determines a right check result.
S413, when the authority verification result is passed, the interface access module 120 sends the query request to the calculation request processing module 130 through the access interface.
S414, the calculation request processing module 130 queries node data of each virtual calculation node in the database and the execution state of each calculation request through processing threads, and feeds back to the interface access module 120.
S415, the interface access module 120 feeds back the node data of each virtual computing node and the execution status of each computing request to the user interaction module 110.
S416, the user browses and inquires the node data of each virtual computing node and the execution state of each computing request through the visual interface of the user interaction module 110.
By setting the system, the scattered computing equipment is centralized and uniformly managed, the computing resources are flexibly distributed through the virtual computing nodes, the high adaptation of the target computing node for executing the computing request and the computing request is ensured, the execution efficiency of the computing request is ensured, and the computing efficiency of the system is also considered. Meanwhile, the waste of equipment maintenance cost during maintenance of the scattered computing equipment can be avoided, and the equipment maintenance cost is saved. In addition, the node data of the virtual computing node and the execution state of each computing request can be stored in a database, so that the method is convenient for inquiring the node data and the execution state of the computing request, and the applicable virtual computing node can be selected for the computing request according to the node data, so that the computing efficiency of the system is further improved.
The track traffic calculation system provided by the embodiment of the invention can execute the track traffic calculation method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example III
Fig. 5 is a flowchart of a track traffic calculation method according to a third embodiment of the present invention. The embodiment of the invention is applicable to the situation of processing the calculation request, the method can be executed by a track traffic calculation system, the track traffic calculation system can be realized in the form of hardware and/or software, and the track traffic calculation system can be configured in electronic equipment carrying track traffic calculation functions. Alternatively, there may be a plurality of electronic devices. The user interaction module can be independently configured in the electronic device with the communication function relative to other modules in the system.
Referring to the track traffic calculation method shown in fig. 5, the method includes:
s510, receiving a calculation request input by a user through the user interaction module and forwarding the calculation request to the interface access module.
S520, sending the calculation request to the calculation request processing module through the interface access module.
S530, determining a target computing node to be executed for the computing request from pre-created virtual computing nodes according to the computing request through the computing request processing module;
S540, processing the calculation request through the target calculation node.
According to the technical scheme, the user interaction module is used for receiving a calculation request input by a user and transmitting the calculation request to the interface access module, the interface access module is used for transmitting the calculation request to the calculation request processing module, the calculation request processing module is used for determining a target calculation node for executing the calculation request in the virtual calculation nodes which are created in advance according to the calculation request, the target calculation node is used for processing the calculation request, the virtual calculation node is created, the centralized and unified management of the calculation capacity of the system can be realized, the target calculation node is determined in the virtual calculation node according to the calculation request, the flexible distribution of the virtual calculation node is realized, the adaptation degree of the target calculation node and the processed calculation request is ensured, and the calculation efficiency of the system is improved.
Optionally, the method further comprises: feeding back a processing result of the calculation request to the calculation request processing module through a target calculation node; the processing result is fed back to the interface access module through a calculation request processing module; the processing result is fed back to the user interaction module through an interface access module; and providing the processing result of the calculation request for the user through a user interaction module.
Optionally, the method further comprises: when a virtual computing node is created, corresponding computing equipment is distributed for the created virtual computing node through a resource providing module; and running the corresponding virtual computing node through the computing equipment.
Optionally, after determining the target computing node to perform the computing request, the method further comprises: and downloading and installing the image file included in the computing request to the target computing node through a computing request processing module, and deploying the operating environment and at least one computing software required by executing the computing request on the target computing node.
Optionally, after the computing request is processed, the method further includes: and initializing the target computing node through a computing request processing module.
Optionally, the method further comprises: and screening target computing nodes to be executed for the computing request from the pre-created virtual computing nodes according to the number of the target computing nodes in the computing request and a preset resource availability threshold value of each target computing node through a computing request processing module.
Optionally, the method further comprises: and screening idle virtual computing nodes in the pre-created virtual computing nodes according to the node states of the virtual computing nodes through a computing request processing module, and screening target computing nodes to be executed with the computing request in the idle virtual computing nodes according to the number of target computing nodes in the computing request and a preset resource availability threshold value of each target computing node.
Optionally, the method further comprises: through a calculation request processing module, when detecting that the node state of the target calculation node is a fault, sending an abnormal alarm to the interface access module; the interface access module is further used for feeding the abnormal alarm back to the user interaction module.
Optionally, the number of the user interaction modules is at least one, and different user interaction modules are deployed on communication devices on different sections of the track.
In the technical scheme of the embodiment of the invention, the related calculation requests, the number of the target calculation nodes, the preset resource availability threshold value of each target calculation node, the acquisition, storage, application and the like of mirror image files and the like all meet the requirements of related laws and regulations, and the public sequence harmony is not violated.
Example IV
Fig. 6 shows a schematic diagram of an electronic device 600 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein. The structure of the electronic apparatus 600 in the present embodiment is the same as the communication apparatus and the electronic apparatus in the above-described embodiments.
As shown in fig. 6, the electronic device 600 includes at least one processor 601, and a memory, such as a Read Only Memory (ROM) 602, a Random Access Memory (RAM) 603, etc., communicatively connected to the at least one processor 601, in which the memory stores a computer program executable by the at least one processor, and the processor 601 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 602 or the computer program loaded from the storage unit 608 into the Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 can also be stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the electronic device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information/data with other devices through a computer network, such as the internet, and/or various telecommunication networks.
The processor 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 601 performs the various methods and processes described above, such as the rail transit calculation method.
In some embodiments, the rail transit calculation method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by processor 601, one or more steps of the track traffic calculation method described above may be performed. Alternatively, in other embodiments, processor 601 may be configured to perform the rail transit calculation method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS (Virtual Private Server ) service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A rail transit computing system, the system comprising: the system comprises a user interaction module, an interface access module, a calculation request processing module and a virtual calculation node;
the user interaction module is used for receiving a calculation request input by a user and forwarding the calculation request to the interface access module;
the interface access module is used for sending the calculation request to the calculation request processing module;
The computing request processing module is used for determining a target computing node for executing the computing request from virtual computing nodes which are created in advance according to the computing request;
the target computing node is configured to process the computing request.
2. The system of claim 1, wherein the target computing node is configured to feed back a processing result of the computing request to the computing request processing module;
the calculation request processing module is used for feeding back the processing result to the interface access module;
the interface access module is used for feeding back the processing result to the user interaction module;
and the user interaction module is used for providing the processing result of the calculation request for the user.
3. The system of claim 1, wherein the system further comprises: a resource provisioning module and a computing device;
the resource providing module is used for distributing corresponding computing equipment for the created virtual computing node when the virtual computing node is created; the computing device is to run a corresponding virtual computing node.
4. The system of claim 1, wherein the computing request processing module is further configured to, after determining a target computing node on which the computing request is to be executed, download and install an image file included in the computing request onto the target computing node, and deploy on the target computing node an operating environment and at least one computing software required to execute the computing request.
5. The system of claim 4, wherein the computing request processing module is further configured to initialize the target computing node after the computing request processing is completed.
6. The system of claim 1, wherein the computing request processing module is further configured to screen the target computing nodes to execute the computing request among the pre-created virtual computing nodes according to a number of target computing nodes in the computing request and a preset resource availability threshold for each of the target computing nodes.
7. The system of claim 6, wherein the computing request processing module is further configured to screen, among the pre-created virtual computing nodes, idle virtual computing nodes according to a node state of the virtual computing nodes, and screen, among the idle virtual computing nodes, target computing nodes to be executed for the computing request according to a target computing node number in the computing request and a preset resource availability threshold value of each of the target computing nodes.
8. The system of claim 7, wherein the computing request processing module is further configured to issue an exception alert to the interface access module when the node status of the target computing node is detected as a failure;
The interface access module is further used for feeding the abnormal alarm back to the user interaction module.
9. The system of claim 1, wherein the number of user interaction modules is at least one, different ones of the user interaction modules being deployed on communication devices on different segments of the track.
10. A method of track traffic calculation, the method comprising:
receiving a calculation request input by a user through a user interaction module, and forwarding the calculation request to an interface access module;
sending the calculation request to the calculation request processing module through the interface access module;
determining a target computing node for executing the computing request from virtual computing nodes which are created in advance according to the computing request through the computing request processing module;
and processing the calculation request through the target calculation node.
CN202310287467.8A 2023-03-23 2023-03-23 Rail transit computing system and method Active CN115991223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310287467.8A CN115991223B (en) 2023-03-23 2023-03-23 Rail transit computing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310287467.8A CN115991223B (en) 2023-03-23 2023-03-23 Rail transit computing system and method

Publications (2)

Publication Number Publication Date
CN115991223A true CN115991223A (en) 2023-04-21
CN115991223B CN115991223B (en) 2023-06-27

Family

ID=85993869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310287467.8A Active CN115991223B (en) 2023-03-23 2023-03-23 Rail transit computing system and method

Country Status (1)

Country Link
CN (1) CN115991223B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917077A (en) * 2012-11-20 2013-02-06 无锡城市云计算中心有限公司 Resource allocation method in cloud computing system
CN103248696A (en) * 2013-05-10 2013-08-14 无锡云动科技发展有限公司 Dynamic configuration method for virtual resource in cloud computing environment
US20140282944A1 (en) * 2013-03-12 2014-09-18 Stackinsider Technology LLC Methods and systems of deploying cloud computing platforms
CN112104723A (en) * 2020-09-07 2020-12-18 腾讯科技(深圳)有限公司 Multi-cluster data processing system and method
CN112532675A (en) * 2019-09-19 2021-03-19 贵州白山云科技股份有限公司 Method, device and medium for establishing network edge computing system
CN113452758A (en) * 2021-06-04 2021-09-28 中国联合网络通信集团有限公司 Service access method and device
CN113676512A (en) * 2021-07-14 2021-11-19 阿里巴巴新加坡控股有限公司 Network system, resource processing method and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917077A (en) * 2012-11-20 2013-02-06 无锡城市云计算中心有限公司 Resource allocation method in cloud computing system
US20140282944A1 (en) * 2013-03-12 2014-09-18 Stackinsider Technology LLC Methods and systems of deploying cloud computing platforms
CN103248696A (en) * 2013-05-10 2013-08-14 无锡云动科技发展有限公司 Dynamic configuration method for virtual resource in cloud computing environment
CN112532675A (en) * 2019-09-19 2021-03-19 贵州白山云科技股份有限公司 Method, device and medium for establishing network edge computing system
CN112104723A (en) * 2020-09-07 2020-12-18 腾讯科技(深圳)有限公司 Multi-cluster data processing system and method
CN113452758A (en) * 2021-06-04 2021-09-28 中国联合网络通信集团有限公司 Service access method and device
CN113676512A (en) * 2021-07-14 2021-11-19 阿里巴巴新加坡控股有限公司 Network system, resource processing method and equipment

Also Published As

Publication number Publication date
CN115991223B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN106708622B (en) Cluster resource processing method and system and resource processing cluster
EP3149591B1 (en) Tracking application deployment errors via cloud logs
US11411814B2 (en) Network resource management devices methods and systems
CN113656147B (en) Cluster deployment method, device, equipment and storage medium
CN110134518A (en) A kind of method and system improving big data cluster multinode high application availability
EP3400528A1 (en) Deferred server recovery in computing systems
CN111897558A (en) Kubernets upgrading method and device for container cluster management system
EP3358790A1 (en) Network function virtualization resource processing method and virtualized network function manager
WO2019108465A1 (en) Automated capacity management in distributed computing systems
CN111679888A (en) Deployment method and device of agent container
CN111782341B (en) Method and device for managing clusters
US9832137B1 (en) Provisioning system and method for a distributed computing environment using a map reduce process
US10884818B2 (en) Increasing processing capacity of virtual machines
CN114185734A (en) Cluster monitoring method and device and electronic equipment
CN115991223B (en) Rail transit computing system and method
CN110868310B (en) CDN edge node online and offline method, device and system
CN115794306A (en) Resource allocation method and device based on preemption instance, electronic equipment and medium
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
US20150244780A1 (en) System, method and computing apparatus to manage process in cloud infrastructure
US9798571B1 (en) System and method for optimizing provisioning time by dynamically customizing a shared virtual machine
CN115277398A (en) Cluster network configuration method and device
CN115421891A (en) Task distribution method, device, equipment and medium
CN114189439A (en) Automatic capacity expansion method and device
US11095501B2 (en) Provisioning and activating hardware resources
CN113783712A (en) Default gateway management method, gateway manager, server and storage medium

Legal Events

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