CN116032732A - Information transmission method, system, equipment and medium for railway freight system - Google Patents
Information transmission method, system, equipment and medium for railway freight system Download PDFInfo
- Publication number
- CN116032732A CN116032732A CN202310300491.0A CN202310300491A CN116032732A CN 116032732 A CN116032732 A CN 116032732A CN 202310300491 A CN202310300491 A CN 202310300491A CN 116032732 A CN116032732 A CN 116032732A
- Authority
- CN
- China
- Prior art keywords
- data
- information
- railway freight
- service platform
- sharing service
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 88
- 238000000034 method Methods 0.000 title claims abstract description 79
- 230000003068 static effect Effects 0.000 claims abstract description 27
- 230000003993 interaction Effects 0.000 claims abstract description 12
- 238000004891 communication Methods 0.000 claims description 16
- 238000003860 storage Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 230000010365 information processing Effects 0.000 claims description 5
- 238000007726 management method Methods 0.000 claims description 5
- 238000011084 recovery Methods 0.000 claims description 5
- 238000010276 construction Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 abstract description 9
- 230000000694 effects Effects 0.000 abstract description 3
- 238000005457 optimization Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Abstract
The invention relates to a railway freight system information transmission method, a system, equipment and a medium, wherein the railway freight system information transmission method comprises the following steps: constructing a data sharing service platform; constructing a data transmission protocol based on the data sharing service platform; and the data sharing service platform is used as an information transmission medium, and information data is sent or acquired based on the data transmission protocol so as to realize the transmission of the information of the railway freight system. The invention builds a data sharing service platform by adopting a Net framework, realizes information real-time interaction between railway freight systems by adopting a WebService mode, achieves the effect of reducing resource occupation by adopting a mode of separately processing static information and dynamic information, and ensures that the data is not missed by adopting the interaction data to backup the landing file, and has higher instantaneity, lower time delay and higher data processing efficiency and stability.
Description
Technical Field
The invention belongs to the technical field of railway information transmission, and particularly relates to a railway freight system information transmission method.
Background
Since the information age, the information transmission between domestic railway freight rooms is changed from the traditional paper-based transmission medium to the information and electronic transmission, and the information transmission between each railway freight system is indispensable. The information transmission between the existing railway freight rooms is realized mainly by sharing an Oracle database or by sharing FTP files.
The method of sharing the Oracle database takes the Oracle database as a transmission medium, the freight system for providing data is responsible for writing the data into the Oracle database, the freight system for using the data reads the data from the Oracle database, the method has the advantages that the message transmission is stable and reliable, but because the data party is unclear whether the data in the Oracle database is the latest data or not, the Oracle database needs to be actively polled at regular time, the resource occupation of the railway freight system is increased, the timeliness of the message cannot be guaranteed, the database has the length limitation required to be defined for the message field, and the flexibility is poor.
The method has the advantages that the interacted data is stored in a mode of the files, the data can be tried to be sent for many times when the sending fails, but the problem that the files are occupied when the data providing party and the data using party synchronously use the FTP files occurs, so that the data cannot be obtained immediately, the default network port number of the FTP can also often receive network attacks, and the security risk coefficient is higher.
Accordingly, there is a need to provide a new method, system, apparatus and medium for information transmission in a railway freight system that solves the above-mentioned problems.
Disclosure of Invention
The invention aims to solve the problems and provide a railway freight system information transmission method, a railway freight system information transmission system, railway freight system information transmission equipment and a railway freight system information transmission medium.
The invention realizes the above purpose through the following technical scheme:
a method for transmitting information of a railway freight system, comprising the steps of:
constructing a data sharing service platform;
constructing a data transmission protocol based on the data sharing service platform;
and the data sharing service platform is used as an information transmission medium, and information data is sent or acquired based on the data transmission protocol so as to realize the transmission of the information of the railway freight system.
The data sharing service platform is constructed based on a Net framework and comprises an information receiving module, an information processing module, a disaster recovery management module and an information sending module; the information receiving module is used for receiving information data, and the information processing module is used for identifying and judging the information data; the disaster recovery management module is used for carrying out backup storage on the information data; the information sending module is used for sending information data.
As a further optimization scheme of the invention, the data transmission protocol is constructed based on the data sharing service platform, and the method specifically comprises the following steps:
the information sharing service platform standardizes a data transmission protocol, and the transmitted or acquired information data adopts { key: value } format, namely { field name: field value } format for information interaction.
As a further optimization scheme of the invention, the data sharing service platform is used as an information transmission medium, and information data is sent or acquired based on the data transmission protocol, and the specific process is as follows:
providing an information data transmission method by the information sharing service platform based on a data transmission protocol, and calling the information data transmission method by a railway freight system providing data party through WebService to transmit information data to the information sharing service platform;
after receiving the information data, the data information service platform sends corresponding receipt information to the data providing party of the railway freight system, judges the information data, divides the information data into static information and dynamic information and stores the static information and the dynamic information separately;
based on a data transmission protocol, the information sharing service platform provides an information data acquisition method, and a railway freight system data user invokes the information data acquisition method through WebService to acquire information data from the information sharing service platform.
As a further optimization scheme of the invention, the information data sending method is a method SendInfo (para 1, para 2), wherein the para1 parameter is used for distinguishing sent information data as request sending data information or application data information, and the para2 parameter represents specific data content and has a format of { key: value }.
As a further optimization scheme of the invention, after the data information service platform receives the information data, the data information service platform provides the corresponding receipt information for the railway freight system, judges the information data, and divides the information data into static information and dynamic information and stores the static information and the dynamic information separately, wherein the specific process is as follows:
after the data sharing service platform receives a method SendInfo (para 1, para 2) called by a data party of the railway freight system, judging a Request information type according to a para1 parameter, and if the para1 parameter corresponds to 'pleaseCommand', namely 'Request to send data command', feeding back 'Request { YES }' in the same link, namely 'data can be sent' to the data party of the railway freight system;
if the para1 parameter corresponds to "SendData", namely "sending application data", the data sharing service platform recognizes the data as application data, compares the application data with the previous packet of application data, judges the application data as static information or dynamic information, and stores the dynamic information and the static information separately.
As a further optimization scheme of the invention, the data sharing service platform performs local backup on application data sent by a data provider of the railway freight system, stores the application data in a text file format, and takes Key value of the para2 parameter as a file name in a time stamping format.
As a further optimization scheme of the invention, after the data sharing service platform receives the latest application data, the latest data reading in the local backup is found according to the time reverse sequence through the Key value in the para2 parameter and is loaded into the memory in the form of a data table.
As a further optimization scheme of the invention, the specific process of judging the application data as static information or dynamic information is as follows:
acquiring the latest package of application data;
reading the application data of the same type of the last packet stored locally;
loading the latest packet of application data and the application data of the same type as the last packet into a new data table data_new and an old data table data_old which correspond to the latest packet of application data and the application data of the same type as the last packet of application data in a memory respectively;
judging whether the total data amount, the data field name and the data field value in the new data table data_new and the old data table data_old are consistent, if yes, marking the latest application data as static information; and if not, marking the latest pack of application data as dynamic information.
As a further optimization scheme of the invention, the static information comprises a station name dictionary and a vehicle type dictionary; the dynamic information includes phase planning information, corroborative information, train information, consist information, disintegration information, and freight handling information.
As a further optimization scheme of the invention, the information data acquisition method is a method GetInfo (para 3, para 4), wherein the para3 parameter represents the type of data to be acquired by a railway freight system data user, and the para4 parameter represents the specific data content returned after the call, and the format is { key: value }.
As a further optimization scheme of the invention, the data types comprise train information TrainInfo, marshalling Info, splitting information split Info, loading information LoadInfo, unloading information UnloadInfo, train type information CarbaseInfo and station name information StationInfo.
A railway freight system information transmission system comprising:
the platform building module is used for building a data sharing service platform based on the Net framework;
the data sharing service platform is used as an information transmission medium;
the transmission protocol construction module is used for constructing a data transmission protocol based on the data sharing service platform;
and the information transmission module is used for sending or acquiring information data based on the data transmission protocol.
An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the railway freight system information transmission method when executing the program stored in the memory.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method of railroad freight system information transmission.
The invention has the beneficial effects that:
the invention builds a data sharing service platform by adopting a Net framework, realizes information real-time interaction between railway freight systems by adopting a WebService mode, achieves the effect of reducing resource occupation by adopting a mode of separately processing static information and dynamic information, and ensures that the data is not missed by adopting the interaction data to backup the floor files. Compared with the currently used method, the method has the advantages of higher real-time performance, low time delay, higher data processing efficiency and stability, high flexibility, capability of arbitrarily completing data interaction among a plurality of railway freight systems, unified data interaction mode and higher universality, and the data interaction format is defined according to the { key: value }.
Drawings
FIG. 1 is an overall process flow diagram of the present invention;
FIG. 2 is a block diagram of a data sharing service platform of the present invention;
FIG. 3 is a flow chart of information data transmission of the present invention;
fig. 4 is a flow chart of an algorithm for determining static information and dynamic information according to the present invention.
Detailed Description
The following detailed description of the present application is provided in conjunction with the accompanying drawings, and it is to be understood that the following detailed description is merely illustrative of the application and is not to be construed as limiting the scope of the application, since numerous insubstantial modifications and adaptations of the application will be to those skilled in the art in light of the foregoing disclosure.
As shown in fig. 1, a method for transmitting information of a railway freight system includes the following steps:
s1: constructing a data sharing service platform;
s2: constructing a data transmission protocol based on the data sharing service platform;
s3: and the data sharing service platform is used as an information transmission medium, and information data is sent or acquired based on the data transmission protocol so as to realize the transmission of the information of the railway freight system.
In this embodiment, the method specifically includes:
based on the Net framework, a data sharing service platform is built, and the data sharing service platform mainly comprises a large-function module of an information receiving module, an information processing module, a disaster recovery management module and an information sending module 4, as shown in fig. 2.
In order to realize the information transmission and unification of the railway freight system, the following scheme is provided, comprising the following steps:
A. based on Net frame, data sharing service platform is set up, and data sharing service is used as information transmission medium between railway freight systems to realize information interaction between systems.
B. The data transfer protocol is specified by the information sharing service platform. The { key: value } format is used, namely { field name: field value } performs information interaction to achieve a unified data transmission format for providing a data party (Sender) and using a data party (Receiver).
C. Providing a method SendInfo (para 1, para 2) by an information sharing service platform, and calling the method by a railway freight system through WebService to realize the function of providing data; there are 2 parameters para1 and para2, the para1 parameter is used to distinguish whether to request to send data information or apply data information, and the para2 parameter represents specific data content in the format { key: value }.
D. The data information service platform obtains whether the data is changed or not by adopting a self-grinding algorithm, and the data is divided into two main types of static information and dynamic information according to whether the data is changed or not; the static information comprises basic information such as a station name dictionary, a vehicle type dictionary and the like; the dynamic information includes transportation production information such as phase planning information, confirmation information, train information, grouping information, disintegration information, freight handling information, and the like.
E. A local backup mechanism and an information receipt mechanism after the data sharing service receives the data.
F. The information sharing service platform provides a method GetInfo (para 3, para 4), and the railway freight system invokes the method through WebService to realize the function of acquiring data; the parameter para3 indicates the type of data that the party wants to acquire, and the parameter para4 is the specific data content returned after the method is called, and the format is { key: value }.
As shown in fig. 3, the specific flow of this example is as follows:
(1) The railway freight system transmits the data flow:
the specific implementation steps are as follows:
1.1, a data sharing service platform provides a data party Sender for a railway freight system to provide a SendInfo (para 1, para 2) method called by WebService; the Sender sends a SendInfo ("filecommand", "{ Command: ASK") method to the data sharing service to inquire whether to receive application data, waiting for receipt information sent by the data sharing service in the same connection.
1.2 if the receipt information received by the Sender of the data sent by the railway freight system is "{ Request: YES }", the Sender can send SendInfo ("SendData", "{ Key: value }") to the data sharing service, and the data sharing service can obtain the application data "{ Key: value }" sent by the Sender and wait for receipt information sent by the data sharing service in the same connection.
(2) Data processing of Net-based data sharing service:
2.1 after receiving the SendInfo method called by the Sender of the data sent by the railway freight system, the data sharing service judges the type of the Request information according to a parameter para1 in the SendInfo method, and if the parameter para1 corresponds to ' pleaseCommand ', the Request information is fed back to the Sender ' in the same connection { Request: YES }.
2.2 if the parameter para1 corresponds to "SendData", the data sharing service identifies application data, and compares the application data with the previous packet of data, so as to analyze whether the data change to determine whether the transmission content of the railway freight information is static information or dynamic information, as shown in fig. 4, and specifically implement the following steps:
the data sharing service locally backs up each packet of application data sent from the railway freight system, stores the data in a text file format, and names the Key value obtained from the para2 parameter two in a time stamp format, such as 'Key 1141806. Txt'.
After receiving the latest application data, finding the latest data read in the local backup according to the time reverse sequence by the Key value in the parameter two para2 and loading the latest data read into the memory in a data table form.
Comparing the package data with the last package data loaded into the memory, wherein the two packages of data are sequenced according to ascending order, the comparison has 3 dimensions, whether the total amount of data is consistent is firstly compared, if the total amount of data is consistent, then whether the field names of the data are consistent is compared, if the total amount of data is consistent with the field names, finally, whether the field values of the data are consistent is compared, and if the total amount of data is consistent, the static information is marked; otherwise, the dynamic information is marked.
2.3, the received dynamic information and static information are stored separately, the static information adopts a coverage mode to reduce the memory occupation, the total data amount can not be increased limitlessly, thus the Receiver of the data user can respond to the required data quickly, the data delay is reduced, and the information transmission efficiency between the systems is ensured.
2.4 the data sharing service platform provided by the method has an information receipt mechanism for the interaction of the data provider and the user of the railway freight system.
When the railway freight system does not receive the receipt sent by the data sharing service within 3 seconds, whether the receipt is a network cause or not is checked, when the network is restored, the data complement can be carried out, the railway freight system sends the data through a SendInfo () method, the data is obtained through a GetInfo () method, and repeated sending for multiple times is supported to obtain the data.
When the receipt received by the railroad freight system is "{ Request: success }", it is indicated that the railroad freight system provides the data party Sender to successfully send the application data.
When the receipt received by the railway freight system is "{ Request: error01}", the railway freight system provides that the data party Sender should confirm whether the data format is accurate.
When the receipt received by the railway freight system is "{ Request: error02}", the obtained application data is indicated that the data sharing service platform does not find the data information of the type, and the data party Sender is required to be provided for confirmation with the railway freight system.
When the receipt received by the railway freight system is "{ Key: value }", the railway freight system is explained that the application data is successfully acquired by using a data party Receiver, and the content format is "{ Key: value }".
And 2.5, executing the steps, performing parallel processing by using multithreading, and integrating according to the condition of resource occupation so as to achieve the effect of saving the resource occupation.
(3) The railway freight system obtains the data flow:
3.1 providing a GetInfo (para 3, para 4) method called by WebService for a railway freight system by a data sharing service by using a data party Receiver; when the railway freight system acquires data, getInfo ("data type", "standby information") is sent to the data sharing service, wherein the data type can be divided into train information according to actual application: trainInfo, grouping information: marshall info, disintegration information: split info, loading information: loadInfo, unloading information: unloadInfo, vehicle category information: carraseinfo, station name information: stationInfo.
3.2 after the data sharing service receives the GetInfo () method sent by the Receiver, the data information with the message content format { Key: value } is fed back to the railway freight system, and the Key value corresponds to TrainInfo, marshallingInfo, splitInfo, loadInfo, unloadInfo, carbaseInfo, stationInfo.
A railway freight system information transmission system comprising:
the platform building module is used for building a data sharing service platform based on the Net framework;
the data sharing service platform is used as an information transmission medium;
the transmission protocol construction module is used for constructing a data transmission protocol based on the data sharing service platform;
and the information transmission module is used for sending or acquiring information data based on the data transmission protocol.
The implementation process of the functions and roles of each unit in the above system is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For system embodiments, reference is made to the description of method embodiments for the relevant points, since they essentially correspond to the method embodiments. The system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
In the above embodiment, any of the platform building module, the data sharing service platform, the transmission protocol building module, and the information transmission module may be combined and implemented in one module, or any one of the modules may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. At least one of the platform building block, the data sharing service platform, the transport protocol building block, and the information transfer block may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in hardware or firmware, such as any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of any of three implementations of software, hardware, and firmware. Alternatively, at least one of the platform building module, the data sharing service platform, the transmission protocol construction module and the information transmission module may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the railway freight system information transmission method when executing the program stored in the memory.
The communication bus may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like.
The communication interface is used for communication between the electronic device and other devices.
The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method of railroad freight system information transmission.
The computer-readable storage medium may be embodied in the apparatus/means described in the above embodiments; or may exist alone without being assembled into the apparatus/device. The computer-readable storage medium carries one or more programs which, when executed, implement a railroad freight system information transmission method according to an embodiment of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention.
Claims (15)
1. A method for transmitting information of a railway freight system, comprising the steps of:
constructing a data sharing service platform;
constructing a data transmission protocol based on the data sharing service platform;
and the data sharing service platform is used as an information transmission medium, and information data is sent or acquired based on the data transmission protocol so as to realize the transmission of the information of the railway freight system.
2. A method of information transmission in a railway freight system according to claim 1, wherein: the data sharing service platform is constructed based on a Net framework and comprises an information receiving module, an information processing module, a disaster recovery management module and an information sending module; the information receiving module is used for receiving information data, and the information processing module is used for identifying and judging the information data; the disaster recovery management module is used for carrying out backup storage on the information data; the information sending module is used for sending information data.
3. The method for transmitting information of a railway freight system according to claim 1, wherein constructing a data transmission protocol based on the data sharing service platform specifically comprises:
the information sharing service platform standardizes a data transmission protocol, and the transmitted or acquired information data adopts { key: value } format, namely { field name: field value } format for information interaction.
4. The information transmission method of a railway freight system according to claim 1, wherein the data sharing service platform is used as an information transmission medium, and the information data is sent or acquired based on the data transmission protocol, and the specific process is as follows:
providing an information data transmission method by the information sharing service platform based on a data transmission protocol, and calling the information data transmission method by a railway freight system providing data party through WebService to transmit information data to the information sharing service platform;
after receiving the information data, the data information service platform sends corresponding receipt information to the data providing party of the railway freight system, judges the information data, divides the information data into static information and dynamic information and stores the static information and the dynamic information separately;
based on a data transmission protocol, the information sharing service platform provides an information data acquisition method, and a railway freight system data user invokes the information data acquisition method through WebService to acquire information data from the information sharing service platform.
5. The method for transmitting information of a railway freight system according to claim 4, wherein: the information data sending method is a method SendInfo (para 1, para 2), wherein a para1 parameter is used for distinguishing sent information data as request sending data information or application data information, and a para2 parameter represents specific data content and has a format of { key: value }.
6. The method for transmitting information of a railway freight system according to claim 5, wherein after receiving the information data, the data information service platform provides the railway freight system with the corresponding receipt information sent by the data party, judges the information data, and divides the information data into static information and dynamic information and stores the static information and the dynamic information separately, the specific process is as follows:
after the data sharing service platform receives a method SendInfo (para 1, para 2) called by a data party of the railway freight system, judging a Request information type according to a para1 parameter, and if the para1 parameter corresponds to 'pleaseCommand', namely 'Request to send data command', feeding back 'Request { YES }' in the same link, namely 'data can be sent' to the data party of the railway freight system;
if the para1 parameter corresponds to "SendData", namely "sending application data", the data sharing service platform recognizes the data as application data, compares the application data with the previous packet of application data, judges the application data as static information or dynamic information, and stores the dynamic information and the static information separately.
7. The method of claim 6, wherein the data sharing service platform locally backs up the application data sent by the data provider of the railway freight system, stores the application data in a text file format, and names the file in a Key value time stamp format of para2 parameters.
8. The method for transmitting information of a railway freight system according to claim 6, wherein: after receiving the latest application data, the data sharing service platform finds the latest data read in the local backup according to the time reverse sequence through Key values in the para2 parameters and loads the latest data read into the memory in a data table data form.
9. The method for transmitting information of a railway freight system according to claim 7, wherein the specific process of judging whether the application data is static information or dynamic information is as follows:
acquiring the latest package of application data;
reading the application data of the same type of the last packet stored locally;
loading the latest packet of application data and the application data of the same type as the last packet into a new data table data_new and an old data table data_old which correspond to the latest packet of application data and the application data of the same type as the last packet of application data in a memory respectively;
judging whether the total data amount, the data field name and the data field value in the new data table data_new and the old data table data_old are consistent, if yes, marking the latest application data as static information; and if not, marking the latest pack of application data as dynamic information.
10. The method for transmitting information of a railway freight system according to claim 4, wherein: the static information comprises a station name dictionary and a vehicle type dictionary; the dynamic information includes phase planning information, corroborative information, train information, consist information, disintegration information, and freight handling information.
11. The method for transmitting information of a railway freight system according to claim 4, wherein: the information data acquisition method is a method GetInfo (para 3, para 4), wherein the para3 parameter represents the type of data to be acquired by a railway freight system data user, and the para4 parameter represents the specific data content returned after calling, and the format is { key: value }.
12. A method of information transmission in a railway freight system as claimed in claim 11, wherein: the data types comprise train information TrainInfo, marshalling information Marshall Info, split information split Info, loading information LoadInfo, unloading information UnloadInfo, vehicle type information CarbaseInfo and station name information StationInfo.
13. A railway freight system information transmission system, comprising:
the platform building module is used for building a data sharing service platform based on the Net framework;
the data sharing service platform is used as an information transmission medium;
the transmission protocol construction module is used for constructing a data transmission protocol based on the data sharing service platform;
and the information transmission module is used for sending or acquiring information data based on the data transmission protocol.
14. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the railway freight system information transmission method according to any one of claims 1 to 12 when executing a program stored on a memory.
15. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the railway freight system information transmission method according to any one of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310300491.0A CN116032732A (en) | 2023-03-27 | 2023-03-27 | Information transmission method, system, equipment and medium for railway freight system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310300491.0A CN116032732A (en) | 2023-03-27 | 2023-03-27 | Information transmission method, system, equipment and medium for railway freight system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116032732A true CN116032732A (en) | 2023-04-28 |
Family
ID=86074319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310300491.0A Pending CN116032732A (en) | 2023-03-27 | 2023-03-27 | Information transmission method, system, equipment and medium for railway freight system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116032732A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843878A (en) * | 2016-03-17 | 2016-08-10 | 杭州优云软件有限公司 | IT system event standardization realization method |
CN107368586A (en) * | 2017-07-24 | 2017-11-21 | 华电重工股份有限公司 | A kind of multisystem data analysing method and platform |
CN110417815A (en) * | 2019-08-28 | 2019-11-05 | 四川长虹电器股份有限公司 | The method of Internet of Things cloud platform Unified Device protocol conversion |
CN112243026A (en) * | 2020-09-25 | 2021-01-19 | 中国铁道科学研究院集团有限公司 | Railway data interaction system and method |
US20210227529A1 (en) * | 2020-01-04 | 2021-07-22 | Nxp Usa, Inc. | Method and apparatus for communications |
CN113297847A (en) * | 2020-02-21 | 2021-08-24 | 南京烽火星空通信发展有限公司 | Http protocol information extraction method and device |
CN113612516A (en) * | 2021-07-13 | 2021-11-05 | 深圳震有科技股份有限公司 | Compression test method, system and equipment for satellite communication data packet |
-
2023
- 2023-03-27 CN CN202310300491.0A patent/CN116032732A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843878A (en) * | 2016-03-17 | 2016-08-10 | 杭州优云软件有限公司 | IT system event standardization realization method |
CN107368586A (en) * | 2017-07-24 | 2017-11-21 | 华电重工股份有限公司 | A kind of multisystem data analysing method and platform |
CN110417815A (en) * | 2019-08-28 | 2019-11-05 | 四川长虹电器股份有限公司 | The method of Internet of Things cloud platform Unified Device protocol conversion |
US20210227529A1 (en) * | 2020-01-04 | 2021-07-22 | Nxp Usa, Inc. | Method and apparatus for communications |
CN113297847A (en) * | 2020-02-21 | 2021-08-24 | 南京烽火星空通信发展有限公司 | Http protocol information extraction method and device |
CN112243026A (en) * | 2020-09-25 | 2021-01-19 | 中国铁道科学研究院集团有限公司 | Railway data interaction system and method |
CN113612516A (en) * | 2021-07-13 | 2021-11-05 | 深圳震有科技股份有限公司 | Compression test method, system and equipment for satellite communication data packet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11700548B2 (en) | Split bearer packet data converge protocol protocol data unit routing | |
CN110858850B (en) | Comprehensive network management method, device and system for rail transit system | |
CN101461181A (en) | Reliable multicast/broadcast in a wireless network | |
CN103618776A (en) | Method and device for downloading advertisement materials based on CDN | |
CN105337837A (en) | Message transmitting method and device | |
CN103973421A (en) | File transmitting method and device | |
WO2017049927A1 (en) | Message dispatching method, device and system | |
CN106446168A (en) | Oriented distribution data warehouse high efficiency load client end realization method | |
CN103971687A (en) | Method and device for realizing load balance of voice recognition system | |
CN109951514A (en) | Document handling method, system and computer equipment based on cloud storage | |
CN113794652A (en) | Data processing method and device, electronic equipment and storage medium | |
CN104283800A (en) | Gateway device, communication system and flow control method | |
CN103678423A (en) | Data file input system, device and method | |
US9537735B2 (en) | Data collection method, mobile terminal and data storage device | |
CN102238055A (en) | Downloading method and system based on MDIO (Management Data Input/Output) interface | |
CN102238493B (en) | Machine-to-machine (M2M)-platform-based message sequential transmission and receiving method and device | |
CN116032732A (en) | Information transmission method, system, equipment and medium for railway freight system | |
CN111464422B (en) | Interaction method, interaction device, electronic equipment and storage medium | |
CN115086380B (en) | Data transmission system and method based on energy management platform | |
CN109039427B (en) | Ship monitoring management device | |
CN111401819B (en) | Intersystem data pushing method and system | |
CN114372690A (en) | Order processing method, system, device and storage medium | |
CN113890891A (en) | Data sharing interaction method and device of energy cloud network | |
CN111311471B (en) | Batch picture segmentation scheduling processing synthesis system and method based on FPGA (field programmable Gate array) calculation | |
CN108243091B (en) | Information sharing device and information sharing method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230428 |
|
RJ01 | Rejection of invention patent application after publication |