CN110378251B - Control method and device for weighing system of train weighing department and readable storage medium - Google Patents

Control method and device for weighing system of train weighing department and readable storage medium Download PDF

Info

Publication number
CN110378251B
CN110378251B CN201910573862.6A CN201910573862A CN110378251B CN 110378251 B CN110378251 B CN 110378251B CN 201910573862 A CN201910573862 A CN 201910573862A CN 110378251 B CN110378251 B CN 110378251B
Authority
CN
China
Prior art keywords
current
value
compartment
carriage
positioning
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.)
Active
Application number
CN201910573862.6A
Other languages
Chinese (zh)
Other versions
CN110378251A (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.)
Lianyuan Iron & Steel Group Co
Lysteel Co Ltd
Original Assignee
Lianyuan Iron & Steel Group Co
Lysteel 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 Lianyuan Iron & Steel Group Co, Lysteel Co Ltd filed Critical Lianyuan Iron & Steel Group Co
Priority to CN201910573862.6A priority Critical patent/CN110378251B/en
Publication of CN110378251A publication Critical patent/CN110378251A/en
Application granted granted Critical
Publication of CN110378251B publication Critical patent/CN110378251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • G06V10/245Aligning, centring, orientation detection or correction of the image by locating a pattern; Special marks for positioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content

Abstract

The invention provides a control method, a device and a readable storage medium for a weighing scale metering system of a train, which comprise the following steps: acquiring a carriage length value and a carriage speed value of a current carriage, and a carriage speed value and a positioning frame value of an upper carriage, wherein the positioning frame value is the position of a vehicle identifier in a plurality of frame images contained in a target video; determining a speed correction coefficient corresponding to the current compartment according to a preset correction rule and the vehicle speed value of the current compartment; determining a positioning frame value of the current compartment according to a preset identification positioning rule, a vehicle speed value and a positioning frame value of the upper compartment, a compartment length value and a speed correction coefficient of the current compartment and a frame rate of a monitoring device; and positioning the target frame image containing the vehicle identification of the current compartment from the target video according to the positioning frame value of the current compartment. According to the technical scheme, the positioning frame value of the current carriage is determined according to the positioning frame value of the previous carriage, so that the positioning accuracy of the target frame image of the vehicle identifier is ensured, the whole process is automatic, and the working efficiency is improved.

Description

Control method and device for weighing system of train weighing department and readable storage medium
Technical Field
The invention relates to the technical field of weighing scale metering of trains, in particular to a weighing scale metering system of a train, a control method and a readable storage medium.
Background
The weighing system for railway truck is used for weighing the load of railway truck and includes weighing running railway truck and parking railway train. When the existing metering system processes the dynamic weighing scale and when the locomotive passes through the dynamic weighing scale slowly, the video monitoring system can transmit videos and data to the hard disk video recorder, the metering center television wall and the weighing scale personnel interface, and the dynamic weighing scale daemon program can automatically and continuously acquire dynamic weight values and vehicle model number information according to video content and store the dynamic weighing scale dynamic data into a dynamic weighing scale dynamic data table of the checking system. When the weighing staff hear that the locomotive passes through the train dynamic scale or receives a contact call needing the dynamic scale to be measured, the weighing software is opened, after the field equipment is confirmed to be ready or normally run and the train video is ready, the corresponding weighing point is selected, and the weighing can be started after the train passes through. After weighing is finished, the weighing data can be automatically uploaded to the inspection request system, and the video can be uploaded to the metering center and stored in a related system. Then, the weighing staff needs to process the video to position the frame image where the train wagon number or the tare weight is located, so as to obtain the wagon number and tare weight data of each carriage of the train. At the moment, because the carriage length of each carriage is different from the speed of the dynamic scale, the positioning accuracy of the existing system is not high when the dynamic scale video positioning train number or the tare weight is processed, and a scale operator needs to frequently adjust the position of the train identifier of each carriage on each train so as to position the train number or the tare weight of each carriage on the train.
Disclosure of Invention
The invention mainly aims to provide a control method and a control device for a weighing scale metering system of a train weighing scale and a readable storage medium, and aims to solve the problem that the positioning accuracy is low when the existing system is used for processing a dynamic weighing scale video positioning train wagon number or a scale weight.
In order to achieve the above object, a first aspect of the embodiments of the present invention provides a method for controlling a weighing scale metering system of a train, including the following steps:
acquiring a carriage length value and a vehicle speed value of a current carriage, and a vehicle speed value and a positioning frame value of an upper carriage, wherein the positioning frame value is the position of a vehicle identifier in a plurality of frame images contained in a target video;
determining a speed correction coefficient corresponding to the current compartment according to a preset correction rule and the vehicle speed value of the current compartment;
determining a positioning frame value of the current compartment according to a preset identification positioning rule, the vehicle speed value and the positioning frame value of the upper compartment, the compartment length value and the speed correction coefficient of the current compartment and the frame rate of a monitoring device;
and positioning a target frame image containing the vehicle identifier of the current compartment from the target video according to the positioning frame value of the current compartment.
Preferably, the determining the speed correction coefficient corresponding to the current car according to a preset correction rule and the vehicle speed value of the current car includes:
determining a vehicle speed grade corresponding to the vehicle speed value of the current compartment;
and determining a speed correction coefficient corresponding to the current compartment according to the vehicle speed grade.
Preferably, the vehicle speed value of the upper section of the vehicle is vi-1The positioning frame value of the upper carriage is ti-1The length value of the current compartment is l, the speed correction coefficient of the current compartment is delta, the frame rate of the monitoring equipment is rate, and the positioning frame value of the current compartment is tiThe preset identification positioning rule is as follows:
Figure BDA0002111542190000021
preferably, before the obtaining of the car length value and the car speed value of the current car, the method includes:
acquiring the number information of a current compartment, and judging whether the current compartment is a first compartment or not according to the number information;
when the current compartment is judged not to be the first compartment, executing the following steps: and obtaining the length value and the speed value of the current compartment.
Preferably, the judging whether the current car is the first car according to the number information further includes:
when the current carriage is judged to be the first carriage, sending a manual positioning instruction;
acquiring a positioning frame value of the current compartment determined by the scale staff in the target video corresponding to the current compartment based on the manual positioning instruction, and executing: and positioning the target frame image containing the vehicle identifier according to the positioning frame value of the current compartment.
Preferably, before locating the target frame image containing the vehicle identifier from the target video corresponding to the current car according to the locating frame value of the current car, the method further includes:
and downloading the corresponding target video from the monitoring equipment according to the weighing information of the target train to which the current carriage belongs.
Preferably, the method further comprises the following steps:
when a login request instruction sent by a new user is acquired, acquiring current user information of a current point of title from a data record table according to the login request instruction, and judging whether the current point of title is occupied by an old user or not according to the current user information, wherein the login request instruction comprises user account information of the new user;
when the current weighing point is judged to be not occupied, assigning the user account information to the current user information;
when the current weighing point is judged to be occupied, an idle setting instruction is sent to the new user, and when an operation determination instruction made by the new user based on the idle setting instruction is received, the user account information is assigned to the current user information;
and logging in the account of the new user according to the current user information.
Preferably, after logging in the account of the new user according to the current user information, the method further includes:
and sending reminding information for informing the old user of exiting the system.
The second aspect of the embodiment of the present invention also provides a train weighing scale metering device, which includes a memory, a processor and a computer program stored in the memory and operable on the processor, wherein the processor implements the steps of the method when executing the computer program.
The third aspect of the embodiments of the present invention also provides a readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method as described above.
In the invention, a train weighing scale metering system acquires a carriage length value and a carriage speed value of a current carriage, and a carriage speed value and a positioning frame value of a previous carriage; determining a speed correction coefficient corresponding to the current compartment according to a preset correction rule and the vehicle speed value of the current compartment; and finally, positioning a target frame image containing the vehicle identifier of the current compartment from the target video according to the positioning frame value of the current compartment, and storing the target frame image. According to the technical scheme, the positioning frame value of the current carriage is determined according to the positioning frame value of the previous carriage, the positioning accuracy of the target frame image of the vehicle identification can be guaranteed, meanwhile, the whole correction and positioning process is realized through an automatic program, manual repositioning is not needed, and the working efficiency is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an implementation of a control method of a weighing scale metering system of a train according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an implementation of a control method of a weighing scale metering system of a train according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of an implementation of a control method of a weighing scale metering system of a train according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a weighing scale metering device of a train provided by the fourth embodiment of the invention;
fig. 5 is a schematic diagram of a hardware structure of a weighing scale/terminal device of a train weigher according to a fifth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminal devices described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, a schematic flow chart of an implementation of a control method of a weighing scale metering system of a train according to an embodiment of the present invention is shown, where the method includes:
s11, acquiring a carriage length value and a carriage speed value of a current carriage, and a carriage speed value and a positioning frame value of an upper carriage, wherein the positioning frame value is the position of a vehicle identifier in a plurality of frame images contained in a target video;
in this embodiment, the weighing system of the train weighing company comprises a dynamic weighing apparatus for weighing, a video monitoring system for recording the process that the train passes through the dynamic weighing apparatus, and a dynamic weighing daemon. When the target train passes through the dynamic weighing apparatus, the speed of the target train is reduced to pass through the dynamic weighing apparatus, and the passing speed does not exceed 25 km/h. The dynamic weighing apparatus obtains dynamic weight values of all sections of carriages of a target train, wherein the dynamic weight values comprise the standard tare weight and the cargo weight of the train. The dynamic balance daemon stores the dynamic weight value of each carriage of the target train, the speed value of each carriage when passing through the dynamic balance, the weighing time of the target train, the weighing point and other information into a dynamic balance dynamic data table.
When the target train passes through the dynamic scale of a certain weighing point, the scale operator of the metering center switches the operation interface to the dynamic scale of the corresponding weighing point, and the monitoring picture is simultaneously switched to the corresponding weighing point. The department scale personnel start the on-site daemon and display the main picture of the dynamic balance scale. And when the weighing staff sees that the target train in the monitoring picture completely passes through, and the preparation work such as the readiness of field equipment or the normal operation, the establishment of a check list and the like is determined to be ready, positioning the vehicle identification of each carriage of the target train.
Firstly, a weighing department staff downloads a corresponding target video from the monitoring equipment on a main picture of the dynamic weighing department according to weighing information of a target train. Specifically, the driver scale personnel find out the vehicle information table of the target train on the main picture of the dynamic weighing driver scale according to the weighing information of the target train. The weighing information comprises weighing point information, channel information and weighing time. The vehicle information table contains the number information of each compartment of the target train, the vehicle type information of each compartment, the dynamic weight value and the vehicle speed value of each compartment. The train number information of the target train is recorded in the test order, and the carriage information of each carriage is determined according to the train number information of the target train recorded in the test order.
After the operation is finished, the driver weighing staff starts to download the target video, and the weighing system of the train weighing scale enters the loading of data and video. It should be noted that the target video records the process of each train car passing through the dynamic weighing apparatus, and includes several frame images.
Processing of the video then begins. In this embodiment, after the driver weighing staff triggers the "video processing" button, the train weighing scale metering system receives the video processing instruction, and obtains the car length value and the car speed value of the current car, and the car speed value and the positioning frame value of the previous car according to the video processing instruction. It should be noted that, in the present embodiment, the positioning frame value refers to the position of the vehicle identifier of each car in the frames of images included in the target video. It can be understood that the locating frame value of the ith car is smaller than the locating frame value of the (i + 1) th car.
Specifically, the vehicle type information and the vehicle speed value of each compartment are obtained from the vehicle information table in the dynamic balancing process, and the compartment length value of each compartment can be determined according to the vehicle type information. Wherein, the carriage length value comprises the length of the carriage body and the gap length between the carriage body and the adjacent carriage.
S12, determining a speed correction coefficient corresponding to the current compartment according to a preset correction rule and the vehicle speed value of the current compartment;
because the length values of the carriages of different models are different and the speed of each carriage passing through the dynamic weighing apparatus is different, a fixed conversion relation does not exist between the positioning frame values of the vehicle identifications of each carriage. It will be appreciated that the longer the video recording time, the greater the ratio of car length to vehicle speed, the greater the number of frame images obtained.
In the embodiment, the speed correction coefficient is adopted to correct the vehicle speed value of the current compartment. Specifically, the speed correction coefficient of the current car is determined according to a preset correction rule and the vehicle speed value of the current car.
In a preferred embodiment, determining the speed correction factor of the current car according to a preset correction rule and the vehicle speed value of the current car comprises: determining a vehicle speed grade corresponding to the vehicle speed value of the current compartment; and determining a speed correction coefficient corresponding to the current compartment according to the vehicle speed grade. The vehicle speed rank may be determined with reference to the vehicle speed rank table shown in table 1.
TABLE 1 speedometer
Vehicle speed range v (kilometers per hour) Velocity correction factor
20<v≤25 1.5
15<v≤20 1.3
10<v≤15 1.15
v≤10 1.1
S13, determining the positioning frame value of the current compartment according to a preset identification positioning rule, the vehicle speed value and the positioning frame value of the upper compartment, the compartment length value and the speed correction coefficient of the current compartment and the frame rate of the monitoring equipment;
in the present embodiment, after the velocity correction coefficient of the current car is determined, the positioning frame value of the current car is determined based on the positioning frame value of the previous car.
Concretely, the vehicle speed value of the upper section of the vehicle is recorded as vi-1The positioning frame value of the upper carriage is ti-1When the length value of the compartment is l, the speed correction coefficient of the compartment is delta, the frame rate of the monitoring equipment is rate, and when the positioning frame value of the compartment is tiThe preset identifier positioning rule is to calculate the positioning frame value of the current car by using formula 1, where formula 1 is expressed as follows:
Figure BDA0002111542190000081
in formula 1, the frame rate of the monitoring device is determined by the attribute of the monitoring device, and represents the number of refreshed pictures per second of the monitoring device, i.e. the number of still frames displayed per second, which is a fixed value.
The number of the vehicle identifications of each compartment can be 1 or more. In this embodiment, the number of the vehicle identifiers in each compartment is two, including the vehicle number identifier and the tare weight identifier. The car number mark and the tare weight mark are respectively positioned at two ends of the carriage. For example, the car number identifier is the 1 st identifier, and the tare weight identifier is the 2 nd identifier, then the positioning frame value corresponding to the 1 st identifier of each car satisfies formula 1, and the positioning frame value corresponding to the 2 nd identifier of each car also satisfies formula 1.
Recording: the value of the positioning frame of the 1 st mark of the upper compartment is ti-1,1When the value of the positioning frame of the 1 st mark of the car is ti,1Then, the following conditions are satisfied:
Figure BDA0002111542190000082
recording: the 2 nd identifier of the upper carriage has a positioning frame value of ti-1,2When the value of the positioning frame of the No. 2 mark of the car is ti,2Then, the following conditions are satisfied:
Figure BDA0002111542190000083
and S14, positioning a target frame image containing the vehicle identifier of the current compartment from the target video according to the positioning frame value of the current compartment.
In this embodiment, after the location frame value of the current car is obtained according to step S13, the corresponding target frame image is located from the target video of the target train according to the location frame value of the current car.
It should be noted that the positioning frame values of the cars are simultaneously stored in the identification positioning table. According to the positioning frame value of each compartment, the system can automatically position the corresponding frame image. The system can identify the contained identification information, such as the number of the car and the tare weight, based on the existing image identification technology according to the frame image. Meanwhile, the identification information contained in the electronic scale can be read by a scale operator. When the weighing staff clicks a certain positioning frame value of a certain carriage in the identification positioning table, the system automatically positions the corresponding frame image and displays the frame image on an interface so that the weighing staff can read the identification information.
It is understood that after the above steps S11 to S14, the cargo weight of each car of the target train and the cargo weight of the whole train can be calculated according to the read or identified tare weight based on the dynamic weight value measured by the dynamic weighing machine.
Referring to fig. 2, a schematic flow chart of a control method of a weighing scale metering system of a train weighing apparatus according to a second embodiment of the present invention includes S21 to S26, where S23 to S26 are the same as S11 to S14, which are not repeated herein, but include S21 and S22, which are detailed as follows:
s21, acquiring the number information of the current compartment, and judging whether the current compartment is the first compartment according to the number information;
in this embodiment, the weighing scale weighing system of the train may start positioning from the middle carriage of the target train or the first carriage of the target train according to the operation of the weighing scale personnel when starting to process the video. Therefore, before the car length value and the car speed value of the current car are obtained, whether the current car is the first car or not is judged. Specifically, the number information of the current-section carriage is acquired, and whether the current-section carriage is the first-section carriage is judged according to the number information.
The vehicle information table stores the number information of each car. The number information refers to the current car as it belongs to the second car of the target train. For example, the number information is 1, which indicates that the car belongs to the first car, and the number information is 2, which indicates that the car is the second car.
When it is determined that the car is not the first car, step S23 is executed: the method comprises the steps of obtaining a carriage length value and a vehicle speed value of a current carriage, and a vehicle speed value and a positioning frame value of an upper carriage, wherein the positioning frame value is the position of a vehicle identifier in a plurality of frame images contained in a target video.
And S22, when the current compartment is judged to be the first compartment, sending a manual positioning instruction, and acquiring a positioning frame value of the current compartment, which is determined by a weighing staff in the target video corresponding to the current compartment based on the manual positioning instruction.
And judging that the carriage is the first carriage according to the numbering information, processing the video by a weighing staff, and determining the positioning frame value of the vehicle identifier of the first carriage. Specifically, when the first carriage is judged, a manual positioning instruction is sent. The manual positioning instruction is displayed on the dynamic balance main picture, for example, "please manually determine the first carriage". And when the weighing staff sees the manual positioning instruction, opening the downloaded target video, and searching and adjusting the frame position of the first carriage vehicle identification. After the weighing staff finishes the operation, the weighing system of the train weighing obtains and saves the positioning frame value of the first carriage, and executes the following steps: and positioning the target frame image containing the vehicle identifier according to the positioning frame value of the current compartment, and storing the target frame image.
In other embodiments, after step S26, the method further includes: judging whether the current compartment is the last compartment or not, and finishing the processing of the target video when the current compartment is judged to be the last compartment; when it is determined that the car is not the last car, the encoding information of the next car is acquired, and step S23 is performed.
Optionally, whether the current car is the last car is judged according to the comparison between the number information of the current car and the total number of the cars contained in the target train. For example, when the number information of a car is 13 and the total number of the cars contained in the target train is 13, the car is the last car.
Referring to fig. 3, it is a schematic diagram of an implementation flow of the control method of the weighing scale system of the train weighing scale provided by the third embodiment of the present invention, and further includes S31 to S35, which are detailed as follows:
s31, when a login request instruction sent by a new user is obtained, obtaining current user information of a current point of scale from a data record table according to the login request instruction, and judging whether the current point of scale is occupied by an old user or not according to the current user information, wherein the login request instruction comprises user account information of the new user:
s32, when the current weighing point is judged not to be occupied, assigning the user account information to the current user information;
s33, when the current weighing point is judged to be occupied, an idle setting instruction is sent to the new user, and when an operation determination instruction made by the new user based on the idle setting instruction is received, the user account information is assigned to the current user information;
and S34, logging in the account of the new user according to the current user information.
In order to overcome the problem that after an old user uses the train weighing scale metering system, the old user does not timely quit the current system, so that the current weighing point is always occupied by the old user, and the new user uses the train weighing scale metering system again, in the embodiment, when a login request instruction sent by the new user is obtained, the current user information of the current weighing point is obtained from a preset data recording table according to the login request instruction, and whether the current weighing point associated with the train weighing scale metering system is occupied by the old user or not is judged according to the current user information.
In the data record table, two situations exist in the current user information, the first situation is that the current user information is empty, the current weighing point is indicated to be not occupied by the user, and the other situation is that the current user information comprises user account information, the current weighing point is indicated to be occupied, and weighing staff occupying the weighing point can be identified according to the user account information. The user account information can be the job number of the weighing staff.
And if the current user information is empty, the current point is not occupied, and the user account information of the new user is assigned to the current user information. And the weighing scale metering system logs in the account of the new user according to the user account information in the current user information.
If the current user information is not null, the current weighing point is occupied, and the metering system sends an idle setting instruction to a user (namely a weighing staff) on an operation interface. Specifically, an idle setting button is arranged on the operation interface, and when the metering system sets the idle setting button to be in a selectable state, a user clicks the idle setting button to send an operation determination instruction to the metering system. And the metering system assigns the user account information contained in the login request instruction to the current user information according to the operation determination instruction. And the weighing scale metering system logs in the account of the new user according to the user account information in the current user information. It should be noted that the metering software does not need to restart the system after the idle is successfully set. The system automatically defines the users of the point according to the new current user information, and subsequent related operations are recorded according to the account number of the new user and stored in all related data tables of the system, such as data tables for weighing tare weight, weighing gross weight and the like.
After logging in the account of the new user, the metering system broadcasts a notice that the old user exits the current call point to the whole network so as to inform the old user. The train weighing department scale metering systems are installed on the plurality of terminals, the plurality of terminals form a local area network, and when an old user logs in the train weighing department scale metering system through another terminal, the old user broadcasts a notice of quitting the current weighing point.
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.
The embodiment of the invention also provides a train weighing scale metering system 4, and each unit included in the train weighing scale metering system 4 is used for executing each step in the embodiment corresponding to the figure 1. Please refer to fig. 1 for the related description of the corresponding embodiment. Fig. 4 shows a schematic diagram of a weighing scale metering system 4 of a train provided by a third embodiment of the present invention, including:
the information acquisition module 41 is configured to acquire a car length value and a car speed value of a current car, and a car speed value and a positioning frame value of a previous car, where the positioning frame value is a position of a car identifier in a plurality of frame images included in a target video;
the correction module 42 is configured to determine a speed correction coefficient corresponding to the current car according to a preset correction rule and the vehicle speed value of the current car;
a calculating module 43, configured to determine a positioning frame value of the current car according to a preset identifier positioning rule, the car speed value and the positioning frame value of the upper car, the car length value and the speed correction coefficient of the current car, and a frame rate of a monitoring device;
and the positioning module 44 is configured to position and store a target frame image containing the vehicle identifier of the current car from the target video according to the positioning frame value of the current car.
Further, a judgment module 45 and an interaction module 46 are also included,
the judging module 45 is configured to obtain number information of a current carriage, and judge whether the current carriage is a first carriage according to the number information;
the information obtaining module 41 is configured to, when it is determined that the current car is not the first car, perform: obtaining the length value and the speed value of the current compartment;
the interaction module 46 is further configured to issue a manual positioning instruction when it is determined that the current carriage is the first carriage, and is configured to acquire a positioning frame value of the current carriage, which is determined by a scale staff in a target video corresponding to the current carriage based on the manual positioning instruction.
Further, the information obtaining module 41 is further configured to download the corresponding target video from the monitoring device according to the weighing information of the target train to which the current car belongs.
Further, still include: a login instruction acquisition module 47, a point occupation analysis module 48, a setting module 49 and a login module 410,
the login instruction obtaining module 47 is configured to obtain a login request instruction sent by a new user, where the login request instruction includes user account information of the new user;
the called point occupation analysis module 48 is configured to obtain current user information of a current called point from a data record table according to the login request instruction, and determine whether the current called point is occupied by an old user according to the current user information;
the setting module 49 is configured to assign the user account information to the current user information when it is determined that the current weighing point is not occupied, and is further configured to issue an idle setting instruction to the new user when it is determined that the current weighing point is occupied, and assign the user account information to the current user information when an operation determination instruction made by the new user based on the idle setting instruction is received;
and a login module 410, configured to log in the account of the new user according to the current user information.
The function implementation of each module in the weighing scale metering device 4 of the train corresponds to each step in the control method embodiment of the weighing scale metering system of the train, and the function and implementation process are not described in detail herein.
Fig. 5 is a schematic diagram of a hardware structure of a weighing scale metering device/terminal device 5 of a train provided by the fourth embodiment of the present invention. As shown in fig. 5, the weighing scale metering device/terminal apparatus 5 of the present embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a loop control program, stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the various embodiments of the control method for a train weighing scale metering system described above, such as steps S11-S14 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 46 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 52 in the train weighing scale metering device/terminal 5. For example, the computer program 52 may be divided into an information acquisition module, a modification module, and a positioning module (module in a virtual device), and each module has the following specific functions:
the information acquisition module is used for acquiring a carriage length value and a carriage speed value of a current carriage, and a carriage speed value and a positioning frame value of an upper carriage, wherein the positioning frame value is the position of a vehicle identifier in a plurality of frame images contained in a target video;
the correction module is used for determining a speed correction coefficient corresponding to the current compartment according to a preset correction rule and the vehicle speed value of the current compartment;
the calculation module is used for determining the positioning frame value of the current compartment according to a preset identification positioning rule, the vehicle speed value and the positioning frame value of the upper compartment, the compartment length value and the speed correction coefficient of the current compartment and the frame rate of the monitoring equipment;
and the positioning module is used for positioning a target frame image containing the vehicle identifier of the current compartment from the target video according to the positioning frame value of the current compartment and storing the target frame image.
The train weighing scale metering device/terminal equipment 5 can be computing equipment such as a desktop computer, a notebook computer, a palm computer and a cloud server. The train weigher metering device/terminal 5 may include, but is not limited to, a processor 50, a memory 51. It will be understood by those skilled in the art that fig. 5 is merely an example of the terminal device 5, and does not constitute a limitation of the train weighing scale metering apparatus/terminal device 5, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device 5 may further include input and output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the train weighing scale metering device/terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the weighing scale metering device/terminal device 5 of the train weighing scale, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the terminal device. Further, the memory 51 may also include both an internal storage unit and an external storage device of the train weighing scale metering device/terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
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. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a readable storage medium and used by a processor to implement the steps of the above-described embodiments of the method. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
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 (9)

1. A control method of a weighing system of a train weighing department is characterized by comprising the following steps:
acquiring a carriage length value and a vehicle speed value of a current carriage, and a vehicle speed value and a positioning frame value of an upper carriage, wherein the positioning frame value is the position of a vehicle identifier in a plurality of frame images contained in a target video;
determining a speed correction coefficient corresponding to the current compartment according to a preset correction rule and the vehicle speed value of the current compartment;
determining a positioning frame value of the current compartment according to a preset identification positioning rule, the vehicle speed value and the positioning frame value of the upper compartment, the compartment length value and the speed correction coefficient of the current compartment and the frame rate of a monitoring device;
positioning a target frame image containing the vehicle identifier of the current compartment from the target video according to the positioning frame value of the current compartment;
the speed value of the upper section of the carriage is vi-1The positioning frame value of the upper carriage is ti-1The length value of the current car is l, the speed correction coefficient of the current car is delta, the frame rate of the monitoring equipment is rate, and the current car is atThe positioning frame value of the carriage is tiThe preset identification positioning rule is as follows:
Figure FDA0002941810220000011
2. the control method according to claim 1, wherein the determining the speed correction coefficient corresponding to the current car according to a preset correction rule and the vehicle speed value of the current car comprises:
determining a vehicle speed grade corresponding to the vehicle speed value of the current compartment;
and determining a speed correction coefficient corresponding to the current compartment according to the vehicle speed grade.
3. The control method according to claim 1 or 2, wherein the obtaining of the car length value and the vehicle speed value of the current car comprises:
acquiring the number information of a current compartment, and judging whether the current compartment is a first compartment or not according to the number information;
when the current compartment is judged not to be the first compartment, executing the following steps: and obtaining the length value and the speed value of the current compartment.
4. The control method according to claim 3, wherein said judging whether the current car is the first car according to the number information further comprises:
when the current carriage is judged to be the first carriage, sending a manual positioning instruction;
acquiring a positioning frame value of the current compartment determined by the scale staff in the target video corresponding to the current compartment based on the manual positioning instruction, and executing: and positioning the target frame image containing the vehicle identifier according to the positioning frame value of the current compartment.
5. The control method according to claim 1 or 2, before locating the target frame image containing the vehicle identifier from the target video corresponding to the current car according to the locating frame value of the current car, further comprising:
and downloading the corresponding target video from the monitoring equipment according to the weighing information of the target train to which the current carriage belongs.
6. The control method according to claim 1 or 2, further comprising:
when a login request instruction sent by a new user is acquired, acquiring current user information of a current point of title from a data record table according to the login request instruction, and judging whether the current point of title is occupied by an old user or not according to the current user information, wherein the login request instruction comprises user account information of the new user;
when the current weighing point is judged to be not occupied, assigning the user account information to the current user information;
when the current weighing point is judged to be occupied, an idle setting instruction is sent to the new user, and when an operation determination instruction made by the new user based on the idle setting instruction is received, the user account information is assigned to the current user information;
and logging in the account of the new user according to the current user information.
7. The method of claim 6, wherein after logging in the account of the new user according to the current user information, the method further comprises:
and sending reminding information for informing the old user of exiting the system.
8. A train weigher gauging device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, wherein said processor when executing said computer program performs the steps of the method according to any one of claims 1 to 7.
9. A readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910573862.6A 2019-06-28 2019-06-28 Control method and device for weighing system of train weighing department and readable storage medium Active CN110378251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910573862.6A CN110378251B (en) 2019-06-28 2019-06-28 Control method and device for weighing system of train weighing department and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910573862.6A CN110378251B (en) 2019-06-28 2019-06-28 Control method and device for weighing system of train weighing department and readable storage medium

Publications (2)

Publication Number Publication Date
CN110378251A CN110378251A (en) 2019-10-25
CN110378251B true CN110378251B (en) 2021-04-27

Family

ID=68251207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910573862.6A Active CN110378251B (en) 2019-06-28 2019-06-28 Control method and device for weighing system of train weighing department and readable storage medium

Country Status (1)

Country Link
CN (1) CN110378251B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000007059A1 (en) * 1998-07-29 2000-02-10 Spodek Joshua D Apparatus for displaying images to viewers in motion
CN101093534A (en) * 2007-07-13 2007-12-26 江苏瑞福智能科技有限公司 Method for identifying data of electronic label on truck in high speed
CN102855499A (en) * 2012-08-23 2013-01-02 西南交通大学 Method for determining railway contact net main column identification information based on combination of multiple clue data pipelines
CN104159161A (en) * 2014-08-25 2014-11-19 广东欧珀移动通信有限公司 Video image frame location method and device
CN105550654A (en) * 2015-12-15 2016-05-04 成都交大光芒科技股份有限公司 High-speed train image acquisition system, and real-time train number detection system and method
CN105760849A (en) * 2016-03-09 2016-07-13 北京工业大学 Target object behavior data acquisition method and device based on videos
CN107886017A (en) * 2017-11-09 2018-04-06 陕西外号信息技术有限公司 A kind of read method and equipment of optical label sequence

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204118A (en) * 2017-08-03 2017-09-26 山东博安智能科技股份有限公司 Weighing information matching process, device and server
CN107833456B (en) * 2017-10-19 2019-05-07 东峡大通(北京)管理咨询有限公司 Vehicle monitoring device management method, device and machine readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000007059A1 (en) * 1998-07-29 2000-02-10 Spodek Joshua D Apparatus for displaying images to viewers in motion
CN101093534A (en) * 2007-07-13 2007-12-26 江苏瑞福智能科技有限公司 Method for identifying data of electronic label on truck in high speed
CN102855499A (en) * 2012-08-23 2013-01-02 西南交通大学 Method for determining railway contact net main column identification information based on combination of multiple clue data pipelines
CN104159161A (en) * 2014-08-25 2014-11-19 广东欧珀移动通信有限公司 Video image frame location method and device
CN105550654A (en) * 2015-12-15 2016-05-04 成都交大光芒科技股份有限公司 High-speed train image acquisition system, and real-time train number detection system and method
CN105760849A (en) * 2016-03-09 2016-07-13 北京工业大学 Target object behavior data acquisition method and device based on videos
CN107886017A (en) * 2017-11-09 2018-04-06 陕西外号信息技术有限公司 A kind of read method and equipment of optical label sequence

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Dynamic calibration of a weigh in Motion System;Yi Ding等;《ASME》;20180614;第1-8页 *
基于视频的高铁列车检测算法研究;张会朋;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20180115(第1期);C033-282 *

Also Published As

Publication number Publication date
CN110378251A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN108521521B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN107526631B (en) Task monitoring method, device, equipment and medium
CN103460185B (en) The equipment that application program for mobile terminal is analyzed and classified for the docking station for motor vehicles
CN109359118B (en) Data writing method and device
CN111654453B (en) Form data offline caching method and device, terminal and storage medium
CN111738316B (en) Zero sample learning image classification method and device and electronic equipment
JP2011198334A (en) Information providing device and information processor
WO2022205868A1 (en) Method and device for detecting overrun source of vehicle, and computer storage medium
CN111327913A (en) Message processing method and device and electronic equipment
CN110378251B (en) Control method and device for weighing system of train weighing department and readable storage medium
CN110069547B (en) Online database table data statistics method, device, medium and electronic equipment
CN111212300A (en) Online document processing method and device, electronic equipment and storage medium
CN110852253A (en) Ladder control scene detection method and device and electronic equipment
CN105469028A (en) Information processing device, information processing method
KR20190094096A (en) Document information input methods, devices, servers, and storage media
CN111818509B (en) Resource conversion method, device and equipment
CN115809713A (en) Training method of express delivery prediction model, and prediction method and device of express delivery amount
CN112416989A (en) Management method and device of Internet performance broker platform and electronic equipment
CN112651668A (en) Flight resource allocation method and device and server
CN104714879A (en) Picture testing method and device
CN114372070B (en) Data consistency checking method and device
CN111143346A (en) Method and device for determining difference of tag group, electronic equipment and readable medium
KR102634663B1 (en) Method of providing user-customized contents in the process of driving a vehicle
CN112416859B (en) Opinion feedback method and related equipment used in iOS application
CN111784524A (en) Insurance order processing method and device and electronic equipment

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