CN110726463A - Automatic train overload monitoring method, computer equipment and readable storage medium - Google Patents

Automatic train overload monitoring method, computer equipment and readable storage medium Download PDF

Info

Publication number
CN110726463A
CN110726463A CN201910853951.6A CN201910853951A CN110726463A CN 110726463 A CN110726463 A CN 110726463A CN 201910853951 A CN201910853951 A CN 201910853951A CN 110726463 A CN110726463 A CN 110726463A
Authority
CN
China
Prior art keywords
target
weight
train
compartment
overload
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.)
Pending
Application number
CN201910853951.6A
Other languages
Chinese (zh)
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.)
Evergrande Intelligent Technology Co Ltd
Original Assignee
Evergrande Intelligent Technology 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 Evergrande Intelligent Technology Co Ltd filed Critical Evergrande Intelligent Technology Co Ltd
Priority to CN201910853951.6A priority Critical patent/CN110726463A/en
Publication of CN110726463A publication Critical patent/CN110726463A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/02Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for weighing wheeled or rolling bodies, e.g. vehicles
    • G01G19/04Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for weighing wheeled or rolling bodies, e.g. vehicles for weighing railway vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Abstract

The invention discloses an automatic monitoring method for train overload, computer equipment and a readable storage medium, wherein the method comprises the following steps: the method comprises the steps of firstly receiving the weight of a carriage of a target train sent by a client, then obtaining the preset target weight, and finally determining that the target train is overloaded if the weight of the carriage is greater than the target weight.

Description

Automatic train overload monitoring method, computer equipment and readable storage medium
Technical Field
The invention relates to the field of data processing, in particular to an automatic train overload monitoring method, computer equipment and a readable storage medium.
Background
At present, with the continuous development of high-speed rail technology, high-speed rail trips running with high efficiency are favored by more and more users.
During the peak time of trip, because the number of passengers riding the train is large, the overload phenomenon easily occurs to the train. In the traditional method, the number of passengers of the train is often monitored only, so that the monitoring accuracy of the overload of the train is low.
Therefore, finding an accurate train overload monitoring method becomes an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides an automatic monitoring method for train overload, computer equipment and a readable storage medium, which aim to solve the problem of low monitoring accuracy of train overload.
An automatic monitoring method for train overload comprises the following steps:
receiving the weight of a target compartment of a target train sent by a client;
acquiring a preset target weight;
and if the weight of the carriage is greater than the target weight, determining that the target train is overloaded.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method for automatic monitoring of train overload when executing the computer program.
A computer-readable storage medium, which stores a computer program that, when executed by a processor, implements the steps of the above-described method for automatically monitoring an overload on a train.
In the automatic monitoring method for train overload, the computer device and the readable storage medium, the weight of the target carriage of the target train sent by the client is received, the preset target weight is obtained, and finally, if the weight of the carriage is greater than the target weight, the target train overload is determined.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic diagram of an application environment of an automatic train overload monitoring method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for automatically monitoring train overload according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The automatic train overload monitoring method provided by the application can be applied to an application environment shown in fig. 1, wherein the application environment comprises a server and a client, and the client communicates with the server through a wired network or a wireless network. Among other things, the client may be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server can be implemented by an independent server or a server cluster composed of a plurality of servers. The client side is used for collecting the weight of the carriage, and the server side is used for analyzing the weight of the carriage and determining that the target train and/or the target carriage is overloaded.
In an embodiment, as shown in fig. 2, an automatic train overload monitoring method is provided, which is described by taking the example of the method applied to the service end in fig. 1, and includes the following steps:
and S10, receiving the weight of the target compartment of the target train sent by the client.
In order to obtain the weight of each target car of the target train, a weight sensor is generally installed in each target car of the target train.
Specifically, for each target compartment, the client acquires the area weight of each compartment area of the target compartment of the target train by using a weight sensor, simultaneously transmits the acquired area weight to the server, calculates the sum of the area weights when the server receives the area weights, and determines the sum as the compartment weight of the target compartment, wherein the compartment weight is the weight of the target compartment, the area weight is the weight of each compartment area of each target compartment, and the compartment area is each area of each target compartment.
It should be noted that the weight sensor may be a force-measuring sensor, or other sensors, and the specific content of the weight sensor may be set according to the practical application, and is not limited herein. A local area network is formed between the weight sensors and the server, each weight sensor is divided into a local area network IP, and a router is adopted to connect each weight sensor with the server.
And S20, acquiring the preset target weight.
Specifically, in order to analyze whether the target train is overloaded or not, or whether the target car of the target train is overloaded or not, it is necessary to acquire a storage path of the maximum allowable total target weight of the target train in the weight database, and then extract the total target weight according to the storage path, and acquire a sub-target weight storage path of the maximum allowable load of each target car of the target train in the weight database, and then extract the sub-target weight according to the storage path. Wherein, the total target weight and the sub-target weight are preset, stored in the weight database and can be called at any time.
For example, the weight database is a MySQL database, the maximum storage path of the total target weight allowed to be borne by the target train is C: \ ProgramFiles \ MySQL \ MySQL Server 5.0\ data \ of the target train, firstly, C: \ ProgramFiles \ MySQL \ MySQL Server 5.0\ data \ is obtained in the MySQL database, and then the total target weight is extracted according to the C: \ ProgramFiles \ MySQL \ MySQL Server 5.0\ data'.
It should be noted that the maximum allowable sub-target weight of each target car in a target train is equal. The weight database may be a MySQL database or an oracle database, and the specific content of the weight database may be set according to the actual application, which is not limited herein.
And S30, if the weight of the train car is greater than the target weight, determining that the target train is overloaded.
Specifically, if the sum of the car weights acquired in step S10 is greater than the total target weight acquired in step S20, it is determined that the target train is overloaded, or if the car weight of at least one target car acquired in step S10 is greater than the sub-target weight acquired in step S20, it is determined that the target car of the target train is overloaded; if the sum of the car weights acquired in step S10 is less than or equal to the total target weight acquired in step S20, it is determined that the target train is not overloaded, that is, if the sum of the car weights acquired in step S10 is less than the total target weight acquired in step S20, it is determined that the target train is empty or not full, if the sum of the car weights acquired in step S10 is equal to the total target weight acquired in step S20, it is determined that the target train is full, or if the car weights of all the target cars acquired in step S10 are less than or equal to the sub-target weight acquired in step S20, it is determined that the target car of the target train is not overloaded, that is, if the weight of all the target cars acquired in step S10 is less than the sub-target weight acquired in step S20, it is determined that the target car of the target train is not full, if the weight of all the target cars acquired in step S10 is equal to the sub-target weight acquired in step S20, it is determined that the target car of the target train is full.
Further, after determining that the target train is overloaded, the method further comprises:
further, after determining that the target car of the target train is overloaded, the method further includes: the server side sends the overload early warning instruction to the client side, and when the client side receives the overload early warning instruction, the client side outputs overload early warning prompt information, for example, when the client side receives the overload early warning instruction, the client side outputs voice that the current train is overloaded, the passenger who gets on the train last is requested to get off, the next train is waited for, and the client side declines, or outputs the voice that the current train is overloaded, the passenger who gets on the train last is requested to get off, the next train is waited for, and the passenger declines through the display screen. Meanwhile, when the client outputs the overload early warning prompt message, the client records the output record of the overload early warning prompt message, and simultaneously sends the output record to the server, when the server receives the output record, the server acquires a preset target condition, judges whether the output record is within the preset target condition, if the output record is within the preset target condition, the server returns to execute the step S10, for example, if the output record is the output frequency and the output frequency is 2, the target condition is that the output frequency is smaller than a preset threshold value, the preset threshold value is 3, obviously 2 is smaller than 3, that is, the output record is within the preset target condition, the server returns to execute the step S10, so that the monitoring accuracy of the weight of the target compartment of the target train is improved by monitoring the weight of the target compartment of the target train for many times.
The output record may be the number of times of output, the volume of output sound, the output frequency, or the like.
If the output record is not in the preset target condition, sending an overload early warning release instruction to the client, meanwhile, a storage path of the total number of target carriages of the target train counted in advance is obtained in the number database, the total number is extracted according to the storage path, then the client acquires the overload compartment identification of the overloaded target compartment, counts the number of the overloaded target compartment according to the overload compartment identification, sends the number of the compartments to the server, when the service end receives the number of the carriages, judging whether the number of the carriages is less than the total number, if the number of the carriages is less than the total number, the remaining car id filling instruction is sent to the client, and when the client receives the remaining car id filling instruction, the client side uploads the rest carriage identifications of the rest carriages to the server side according to the rest carriage identification filling instructions, wherein the rest carriages are carriages except the overloaded target carriage; and then the server determines the difference value between the carriage weight of the overloaded target carriage and the sub-target weight as the overload weight, and simultaneously sends the carriage weight allocating instruction, the overloaded carriage identification and the residual carriage identification to the carriage weight allocating system, and when the carriage weight allocating system receives the carriage weight allocating instruction, the overloaded carriage identification and the residual carriage identification, the overloaded weight is allocated to the residual carriage with the unique identification of the residual carriage identification from the carriage weight of the overloaded carriage with the unique identification of the overloaded carriage identification, so that the target carriage is ensured not to be overloaded, the weight of the target train is balanced, and the safety of the target train is improved.
And if the number of the carriages is equal to the total number, determining that the target train is overloaded, and if the number of the carriages is greater than the total number, outputting number error prompt information.
It should be noted that the quantity database may be a MySQL database or an oracle database, and the specific contents of the quantity database, the overload warning prompt information, the overload car identifier, the remaining car identifier, and the quantity error prompt information may be set according to the actual application, and the specific contents are not limited here.
In the embodiment corresponding to fig. 2, the weight of the target car of the target train sent from the client is received first, then the preset target weight is obtained, and finally, if the weight of the car is greater than the target weight, the target train is determined to be overloaded.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile readable storage medium, an internal memory. The non-transitory readable storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile readable storage medium. The database of the computer equipment is used for storing data related to the automatic train overload monitoring method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of automatic monitoring of train overload.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the automatic train overload monitoring method of the above embodiments, such as steps S10 to S30 shown in fig. 2.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the method for automatic monitoring of train overload in the above-described method embodiments. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An automatic monitoring method for train overload is characterized by comprising the following steps:
receiving the weight of a target compartment of a target train sent by a client;
acquiring a preset target weight;
and if the weight of the carriage is greater than the target weight, determining that the target train is overloaded.
2. The method of claim 1, wherein the target weight is a total target weight, and wherein determining that the target train is overloaded if the car weight is greater than the target weight comprises:
and if the sum of the weights of the carriages is greater than the total target weight, determining that the target train is overloaded.
3. The method of claim 1, wherein the target weight is a sub-target weight, and wherein determining that the target train is overloaded if the car weight is greater than the target weight comprises:
and if the weight of the at least one target compartment is greater than the sub-target weight, determining that the target compartment of the target train is overloaded.
4. The method of claim 1, wherein receiving the car weight of the target car of the target train from the client comprises:
receiving the area weight of each compartment area of the target compartment sent by the client for each section of the target compartment;
determining the sum of the area weights as the car weight of the target car.
5. The method of automatically monitoring for train overload of claim 3, wherein after the determining that the target car of the target train is overloaded, the method of automatically monitoring for train overload further comprises:
and sending the overload early warning instruction to the client so that the client can output overload early warning prompt information based on the overload early warning instruction.
6. The method of claim 5, wherein after the sending the overload warning command to the client for the client to output the overload warning prompt message based on the overload warning command, the method of automatically monitoring the overload of the train further comprises:
acquiring the total number of the target carriages of the target train counted in advance;
receiving the number of overloaded cars of the target car sent by the client;
if the number of the carriages is less than the total number, receiving an overloaded carriage identification of the overloaded target carriage sent by the client;
receiving a remaining compartment identifier of a remaining compartment sent by the client, wherein the remaining compartment is a compartment other than the overloaded target compartment;
determining a difference between the car weight of the overloaded target car and the sub-target weight as an overload weight;
and sending a compartment weight allocation instruction, the overloaded compartment identifier and the remaining compartment identifiers to a compartment weight allocation system, so that the compartment weight allocation system allocates the overloaded weight to the remaining compartments with the remaining compartment identifiers based on the compartment weight allocation instruction from the compartment weight of the target compartment uniquely identified by the overloaded compartment identifier.
7. The method of claim 6, wherein before said obtaining a pre-counted total number of said target cars of said target train, said method of automatically monitoring train overload further comprises:
receiving an output record of the overload early warning prompt message sent by the client;
if the output record is in the preset target condition, returning to the step of executing the carriage weight of each target carriage of the target train sent by the receiving client;
and if the output record is not in the preset target condition, executing the step of acquiring the total number of the target carriages of the target train counted in advance, and simultaneously sending an overload early warning relieving instruction to the client so that the client can perform overload early warning relieving processing on the target train based on the overload early warning relieving instruction.
8. The method of any one of claims 1 to 7, wherein the target train is determined not to be overloaded if the car weight is less than or equal to the target weight.
9. Computer arrangement comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements a method for automatic monitoring of train overload according to any of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a method for automatic monitoring of a train overload according to any one of claims 1 to 8.
CN201910853951.6A 2019-09-10 2019-09-10 Automatic train overload monitoring method, computer equipment and readable storage medium Pending CN110726463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910853951.6A CN110726463A (en) 2019-09-10 2019-09-10 Automatic train overload monitoring method, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910853951.6A CN110726463A (en) 2019-09-10 2019-09-10 Automatic train overload monitoring method, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN110726463A true CN110726463A (en) 2020-01-24

Family

ID=69218138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910853951.6A Pending CN110726463A (en) 2019-09-10 2019-09-10 Automatic train overload monitoring method, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110726463A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202770517U (en) * 2012-09-20 2013-03-06 南车南京浦镇车辆有限公司 Humanized motor train unit overload early warning system
CN104697614A (en) * 2015-03-12 2015-06-10 南车株洲电力机车有限公司 Magnetically levitated train load information generating system
CN106080672A (en) * 2016-06-21 2016-11-09 中车唐山机车车辆有限公司 A kind of train overload detection system and method thereof
CN206249504U (en) * 2016-09-30 2017-06-13 中车建设工程有限公司 Subway is ridden instruction system
CN109263661A (en) * 2018-11-07 2019-01-25 中车株洲电力机车有限公司 Rail traffic vehicles and platform show the control method of vehicle-mounted Customer information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202770517U (en) * 2012-09-20 2013-03-06 南车南京浦镇车辆有限公司 Humanized motor train unit overload early warning system
CN104697614A (en) * 2015-03-12 2015-06-10 南车株洲电力机车有限公司 Magnetically levitated train load information generating system
CN106080672A (en) * 2016-06-21 2016-11-09 中车唐山机车车辆有限公司 A kind of train overload detection system and method thereof
CN206249504U (en) * 2016-09-30 2017-06-13 中车建设工程有限公司 Subway is ridden instruction system
CN109263661A (en) * 2018-11-07 2019-01-25 中车株洲电力机车有限公司 Rail traffic vehicles and platform show the control method of vehicle-mounted Customer information

Similar Documents

Publication Publication Date Title
CN108965381B (en) Nginx-based load balancing implementation method and device, computer equipment and medium
CN108933993B (en) Short message cache queue selection method and device, computer equipment and storage medium
CN110445637B (en) Event monitoring method, system, computer device and storage medium
US20210036907A1 (en) Methods and apparatuses for pushing a message
CN106775936B (en) Virtual machine management method and device
CN110046794B (en) Network quality evaluation method and device, computer equipment and storage medium
US10257216B2 (en) Method and system for obtaining and analyzing forensic data in a distributed computer infrastructure
US20180046477A1 (en) Technique For Scaling An Application Having A Set Of Virtual Machines
US11025709B2 (en) Load processing method and apparatus
CN111078478B (en) Server stress testing method and device and computer readable storage medium
CN109246026B (en) Flow control method, device, equipment and storage medium
CN112689007B (en) Resource allocation method, device, computer equipment and storage medium
CN108769936B (en) Short message distribution method and device, computer equipment and storage medium
CN111143163A (en) Data monitoring method and device, computer equipment and storage medium
CN113595926B (en) API data transmission method, device, equipment and medium based on data middlebox
CN110726463A (en) Automatic train overload monitoring method, computer equipment and readable storage medium
CN112596985B (en) IT asset detection method, device, equipment and medium
CN113312244A (en) Fault monitoring method, equipment, program product and storage medium
US10445139B2 (en) Control system in which communication between devices is controlled based on execution condition being satisfied, gateway device used in the control system, and control method for the control system
CN109656707B (en) Metering data acquisition method and device, computer equipment and storage medium
CN111220248A (en) Weight-based train overload detection method and device and readable storage medium
CN108804152B (en) Method and device for adjusting configuration parameters
CN108234658B (en) Method and device for sensing health condition of server cluster and server
CN111159009A (en) Pressure testing method and device for log service system
CN110889539B (en) Method, system and device for organizing spot market clearing cases based on cloud platform

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200124

WD01 Invention patent application deemed withdrawn after publication