CN114500648A - Tower crane data multi-form conversion forwarding method and system - Google Patents
Tower crane data multi-form conversion forwarding method and system Download PDFInfo
- Publication number
- CN114500648A CN114500648A CN202210058669.0A CN202210058669A CN114500648A CN 114500648 A CN114500648 A CN 114500648A CN 202210058669 A CN202210058669 A CN 202210058669A CN 114500648 A CN114500648 A CN 114500648A
- Authority
- CN
- China
- Prior art keywords
- forwarding
- configuration
- data
- target
- conversion
- 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
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 86
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000001914 filtration Methods 0.000 claims description 5
- 238000004806 packaging method and process Methods 0.000 claims description 5
- 238000013519 translation Methods 0.000 claims description 4
- 230000036316 preload Effects 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 6
- 238000004458 analytical method Methods 0.000 abstract description 2
- 230000000087 stabilizing effect Effects 0.000 abstract 1
- 230000033772 system development Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Abstract
The invention provides a method for converting and forwarding data of tower crane equipment to a multi-data form. And through configuration of the forwarding set, the conversion of data such as working conditions and alarms of mechanical equipment is realized, and the data are forwarded and reported to other multi-data platforms. Forwarding multiple data conversion configuration items, configured to configure rules for data conversion and forwarding, forwarding reporting method configuration items: and configuring request modes such as data forwarding, alarming and the like, data contents, returned results and the like. The basic scheme of the invention is as follows: firstly, a front-end collector is bound with a protocol analysis, after a platform acquires a data packet sent by the front-end collector, the data packet is analyzed according to a function set and stored in a corresponding platform, and then data such as basic working conditions, alarms and the like are forwarded to a target through configuration of a forwarding configuration set. The method provided by the invention can ensure that the physical network forwarding has the following obvious advantages: stabilizing the main body frame; the dynamic expansibility, easy maintenance and compatibility are strong; the system development cycle is fast, and the cost is ideal.
Description
Technical Field
The invention relates to a tower crane data multi-form conversion forwarding method and system, and belongs to the technical field of data networks.
Background
With the development of internet technology and the coming of big data era, several engineering machinery companies in China establish corresponding internet of things platforms, and each local safety supervision station correspondingly goes out of a management method to collect data such as working conditions and alarms of engineering machinery in local construction. And the safety inspection stations of the platforms of the safety supervision stations need to synchronize the data of the tower crane to the system in real time.
The management platforms of safety supervision stations in various regions have different formats for data definition collected by mechanical equipment, so that engineering machinery companies need to interface the mechanical equipment data with the platforms thereof according to various local standards and requirements.
However, the prior art has the following disadvantages:
1. the maintenance cost is high, and the modification difficulty is large. The working condition and the alarm information of the same mechanical equipment need to be converted and forwarded according to various local standards, each type of mechanical equipment needs to be customized and developed for various cities, and the cost is high; the maintenance cost is high; how to complete the conversion and forwarding quickly and concisely and reduce the maintenance complexity becomes a challenge. When the monitoring range of the platform of the other party is changed, the monitoring strength is changed, and the specific information is changed, repeated modification, compiling and releasing are needed, so that the stability of the system is influenced, and the cost is high.
2. The developer has the advantages of more repeated work, low code reuse degree, low development efficiency and large workload.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a tower crane data multi-format conversion forwarding method and system, which can realize flexible conversion of data formats and improve dynamic expansibility and easy maintainability.
In order to achieve the purpose, the invention is realized by adopting the following technical scheme:
in a first aspect, the invention provides a tower crane data multi-format conversion forwarding method, which comprises the following steps:
acquiring forwarding set configuration; the forwarding set configuration comprises basic information configuration, conversion configuration and forwarding configuration;
acquiring collected data, analyzing the collected data according to basic information configuration, acquiring and storing working condition information data;
converting the working condition information data into a target data format according to the conversion configuration;
and forwarding the converted working condition information data to a target platform according to forwarding configuration.
Further, the basic information configuration includes:
the version identification can be manually input or automatically generated by a system, the version identification can be changed when the configuration is modified every time, and the uniqueness of the history is ensured;
the target identification is used for recording and forwarding basic information of the target platform;
the conversion set identifier is used for recording the identification information and the version number of the conversion set;
a data source identification key value;
a data source identification name;
the conversion configuration includes:
the target method returns a class configuration path which comprises a target return body text file path;
configuring a path by a target method parameter entity;
the conversion set identification key value comprises a target platform definition field name and a data source identification;
a translation set fixed value;
the forwarding configuration comprises:
target entity configuration file path including target method parameter text path for dynamically writing in former configuration content and parameter content;
the target method name comprises a method name of a target platform receiving working condition information data;
the target method type comprises a mode that a target platform receives a working condition information data request;
target request modes comprise http and tcp;
configuring a target forwarding thread name;
configuring the number of target forwarding threads;
and sending the strategy configuration, including the minimum value of the data interval.
Further, the method for acquiring the collected data comprises the following steps:
uploading and storing data of a terminal collector into a big database; and acquiring the acquired data by taking the data in the database as a data source.
Further, the method for converting the working condition information data into the target data format comprises the following steps:
obtaining effective data in corresponding time according to the minimum interval time of the sending strategy configuration in the forwarding configuration, and if the data exists, converting the data according to the conversion configuration;
the method for converting according to the conversion configuration comprises the following steps:
creating a participating entity according to the method type path of the conversion configuration;
packaging the data in the entity according to the conversion identifier;
establishing basic request information according to the relevant information configuration of the forwarding target;
and encapsulating the return type configuration class information of the conversion configuration to create an entity.
Further, the method further comprises:
acquiring configured forwarding set configuration;
preloading a forwarding set configuration, calculating a hash value of the forwarding set configuration, and storing the hash value and the corresponding forwarding set configuration into a cache;
maintaining basic information configuration of forwarding set configuration, and storing the basic information configuration in a cache according to the target number in a classified manner;
and maintaining the latest state of the forwarding set configuration according to the hash value and the forwarding set configuration.
The method for forwarding the converted working condition information data to the target platform according to the forwarding configuration comprises the following steps:
configuring forwarding threads according to the names of the target forwarding threads, and keeping the number of the threads consistent with the number configuration of the target forwarding threads in the configuration of the forwarding set;
acquiring data in the interval time of forwarding configuration from a data source according to the forwarding configuration;
filtering invalid and illegal data, and reserving the valid forwarding data;
and forwarding the data to the target platform in a corresponding request mode and a data structure.
In a second aspect, the invention provides a tower crane data multi-format conversion and forwarding system, which comprises a controller, a converter and a repeater;
the controller is used for obtaining the configuration of the forwarding set; the forwarding set configuration comprises basic information configuration, conversion configuration and forwarding configuration; the controller is also used for acquiring the acquired data from the terminal acquisition unit, analyzing the acquired data according to basic information configuration, acquiring and storing working condition information data;
the converter is used for converting the working condition information data into a target data format according to the conversion configuration;
the repeater is used for forwarding the converted working condition information data to the target platform and receiving the return information according to the forwarding configuration.
Further, the operation method of the system comprises the following steps:
the controller preloads the configuration of the forwarding set, calculates the hash value of the forwarding set, and stores the hash value and the configuration information into a cache so as to be called when analyzing;
the controller maintains the latest configuration state of the forwarding set according to the hash value and the version identifier;
the controller manages the target forwarding thread according to the target forwarding thread name and keeps the number of the threads consistent with the target number in the configuration of the forwarding set;
the repeater forwarding thread acquires data in the interval time of forwarding configuration from a data source;
the repeater filters invalid and illegal data and retains the valid forwarding data;
the converter encapsulates the forwarding data into a corresponding data structure according to a target method, parameter configuration and conversion set configuration in the forwarding set;
the repeater forwards the data to the target platform in a corresponding request mode and a data structure according to the forwarding configuration of the forwarding set;
the repeater generates a forwarding return result and stores the forwarding return result in the platform.
Further, the method for encapsulating the forwarding data into the corresponding data structure by the converter according to the target method, the parameter configuration and the conversion set configuration in the forwarding set comprises the following steps:
creating a participating entity according to the method type path of the conversion configuration;
packaging the data in the entity according to the conversion identifier;
establishing basic request information according to the relevant information configuration of the forwarding target;
and encapsulating the return type configuration class information of the conversion configuration to create an entity.
In a third aspect, the invention provides a tower crane data multi-format conversion forwarding system, which comprises a processor and a storage medium;
a storage medium to store instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method of the first aspect.
Compared with the prior art, the invention has the following beneficial effects:
1. compared with the prior art, the method for forwarding the working condition information can improve the code reuse rate, simplify the butt joint workload, uniformly manage the multi-platform forwarding information and improve the operation and maintenance cost and efficiency.
2. The invention realizes the flexible conversion of data formats, the dynamic program and the platform interaction by configuring the forwarding set, so that the system has strong dynamic expansibility and easy maintainability; the data forwarding storage of the invention can be expanded, is suitable for the configuration management of a multi-target platform and a method thereof, and is easy to maintain;
3. the method of the invention can support target multidata types, target multidata protocols and unified management and control, and has high code reuse rate and low cost.
Drawings
FIG. 1 is a flow chart of controller operation;
fig. 2 is a flow chart of the operation of the translation repeater.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The first embodiment is as follows:
the embodiment provides a tower crane data multi-form conversion forwarding method, which performs data conversion and forwarding according to configuration after analysis based on a forwarding configuration set. In the embodiment, by configuring the forwarding set, flexible conversion of data formats, program dynamics and platform interaction are realized, and the system has extremely strong dynamic expansibility and easy maintainability.
Step 1: acquiring forwarding set configuration; the forwarding set configuration comprises basic information configuration, conversion configuration and forwarding configuration;
acquiring collected data from a terminal collector, analyzing the collected data according to basic information configuration, and acquiring and storing working condition information data;
step 2: converting the working condition information data into a target data format according to the conversion configuration;
and step 3: and according to the forwarding configuration, forwarding the converted working condition information data to target platforms of all safety supervision stations for monitoring the operation of equipment.
Each safety supervision station is used for monitoring a target platform of equipment operation, and is referred to as a target platform hereinafter, wherein related data information is referred to as target data for short.
The forwarding set configuration comprises: basic information configuration, conversion configuration and forwarding configuration.
Specifically, the basic information configuration includes:
the version identification can be manually input or automatically generated by a system, the version identification can be changed when the configuration is modified every time, and the uniqueness of the history is ensured;
the target identification is used for recording and forwarding basic information of the target platform;
the conversion set identifier is used for recording the identification information and the version number of the conversion set;
a data source identification key value;
the data source identifies a name.
Specifically, the conversion configuration includes:
the target method returns a class configuration path which comprises a target return body text file path;
configuring a path by a target method parameter entity;
the conversion set identification key value comprises a target platform definition field name and a data source identification;
a translation set fixed value.
Specifically, the forwarding configuration includes:
target entity configuration file path including target method parameter text path for dynamically writing in former configuration content and parameter content;
the target method name comprises a method name of a target platform receiving working condition information data;
the target method type comprises a mode that a target platform receives a working condition information data request;
target request modes comprise http and tcp;
configuring a target forwarding thread name;
configuring the number of target forwarding threads;
and sending the strategy configuration, including the minimum value of the data interval.
Specifically, the method for acquiring the collected data from the terminal collector comprises the following steps:
uploading and storing data of the terminal collector into a big database (both a local database and a cloud database); and acquiring the acquired data by taking the data in the database as a data source.
Specifically, the method of step 2 comprises the following steps:
and obtaining effective data in corresponding time according to the minimum interval time of the sending strategy configuration in the forwarding configuration, and converting the data according to the conversion configuration if the data exists.
Specifically, the method for performing conversion according to the conversion configuration includes:
step 2.1: creating a participating entity according to the method type path of the conversion configuration;
step 2.2: packaging the data in the entity according to the conversion identifier;
step 2.3: establishing basic request information according to the relevant information configuration of the forwarding target;
step 2.4: and encapsulating the return type configuration type information of the conversion configuration to create a sending entity.
Specifically, the method specifically comprises the following steps:
acquiring configured forwarding set configuration (which is derived from manual configuration and can also be machine algorithm configuration);
preloading a forwarding set configuration, calculating a hash value of the forwarding set configuration, and storing the hash value and the corresponding forwarding set configuration into a cache so as to be called when analyzing;
maintaining basic information configuration of forwarding set configuration, and storing the basic information configuration in a cache according to the target number in a classified manner;
maintaining the latest configuration state of the forwarding set according to the hash value and the configuration of the forwarding set;
configuring forwarding threads according to the names of the target forwarding threads, and keeping the number of the threads consistent with the number configuration of the target forwarding threads in the configuration of the forwarding set;
acquiring data in the interval time of forwarding configuration from a data source according to the forwarding configuration;
filtering invalid and illegal data, and reserving the valid forwarding data;
encapsulating the forwarding data into a corresponding data structure;
and forwarding the data to the target platform in a corresponding request mode and a data structure.
The hash function refers to a function that maps key keys of elements in a hash table to storage locations of the elements. In a general linear table, a tree, the relative position of a record in a structure is random, that is, there is no definite relationship with a key of the record, and therefore, a series of comparisons with the key are required when looking up the record in the structure. This type of search method is based on "comparison", and the efficiency of the search depends on the number of comparisons performed during the search. It is desirable to be able to directly find the desired record, so that a certain correspondence f must be established between the storage location of the record and its key, so that each key corresponds to a unique storage location in the structure.
The method is based on the Internet of things platform, after the Internet of things platform described herein receives data from a terminal collector, the received data is analyzed according to a configured working condition set, the analyzed working condition information data is stored in a corresponding platform, and whether the data needs to be converted and forwarded is determined according to the configuration of a forwarding set, and if the data needs to be thrown into a repeater for processing; and the forwarder converts and forwards the data to each local platform according to the forwarding set.
The overall flow of the system is as follows:
E1. the configuration-dependent forwarding sets are stored in the forwarder.
E2. And the controller maintains the configuration of the forwarding set, stores the configuration into the cache according to the target number in a classified manner, and updates the latest cache forwarding set information in real time if external force changes.
E3. And the converter is used for converting and assembling the conversion data into a target format according to the conversion set configuration.
E4. And the repeater forwards the converted data according to the target configuration and stores the result in the platform.
The specific steps of converting and forwarding include:
preloading forwarding set configuration, calculating a hash value of the forwarding set configuration, and storing the hash value and configuration information into a cache so as to be called when analyzing;
maintaining the latest configuration state of the forwarding set according to the hash value and the version identifier;
managing the target forwarding thread according to the target forwarding thread name, and keeping the number of the threads consistent with the target number in the configuration of the forwarding set;
the forwarding thread acquires data in the interval time of forwarding configuration from a data source;
filtering invalid and illegal data, and reserving the valid forwarding data;
encapsulating the forwarding data into a corresponding data structure according to a target method, parameter configuration and conversion set configuration in the forwarding set;
forwarding the data to the target platform in a corresponding request mode and a data structure according to the forwarding configuration of the forwarding set;
and generating a forwarding return result and storing the forwarding return result in a storage platform.
The method of the embodiment has the advantages that: the capacity expansion can be realized, the multi-target platform and the method thereof are configured and managed, the maintenance is easy, and the target platform needs data to be decoupled from the local platform data.
Example two:
the embodiment provides a tower crane data multi-form conversion and forwarding system, which comprises a controller, a converter and a repeater;
the controller is used for maintaining basic information and version information of the forwarding set configuration and storing the basic information and the version information into the cache in a classified manner according to the target number;
the converter is used for converting the working condition data into a target data format according to the configuration of the conversion set;
and the repeater forwards the converted data according to the configuration information of the data format required by the target platform in the configuration, and stores the result in the system. And related configurations such as target methods, parameters and the like in the forwarding set configuration.
The overall flow of the system is as follows:
E1. the controller configures the associated forwarding set for storage in the repeater.
E2. And the controller maintains the configuration of the forwarding set, stores the configuration into the cache according to the target number in a classified manner, and updates the latest cache forwarding set information in real time if external force changes.
E3. And the converter is used for converting and assembling the conversion data into a target format according to the conversion set configuration.
E4. And the repeater forwards the converted data according to the target configuration and stores the result in the platform.
The controller and the data conversion and forwarding specifically comprise the following steps: (controller flow is shown in FIG. 1, repeater flow is shown in FIG. 2)
E1. The controller preloads the configuration of the forwarding set, calculates the hash value of the forwarding set, and stores the hash value and the configuration information into a cache so as to be called when analyzing;
E2. the controller maintains the latest configuration state of the forwarding set according to the hash value and the version identifier;
E3. the controller manages the target forwarding thread according to the target forwarding thread name and keeps the number of the threads consistent with the target number in the configuration of the forwarding set;
E4. the repeater acquires data in the interval time of the forwarding configuration from the data source;
E5. the repeater filters invalid and illegal data and retains the valid forwarding data;
E6. the converter encapsulates the forwarding data into a corresponding data structure according to a target method, parameter configuration and conversion set configuration in the forwarding set;
E7. the repeater forwards the data to the target platform in a corresponding request mode and a data structure according to the forwarding configuration;
E8. the repeater generates a forwarding return result and stores the forwarding return result in the platform.
Example three:
the embodiment of the invention also provides a tower crane data multi-form conversion and forwarding system, which comprises a processor and a storage medium;
a storage medium to store instructions;
the processor is configured to operate according to the instructions to perform the steps of the method of embodiment one:
preloading a forwarding set configuration, calculating a hash value of the forwarding set configuration, and storing the hash value and configuration information into a cache so as to be called when analyzing;
maintaining the latest configuration state of the forwarding set according to the hash value and the version identifier;
managing the target forwarding thread according to the target forwarding thread name, and keeping the number of the threads consistent with the target number in the configuration of the forwarding set;
the forwarding thread acquires data in the interval time of forwarding configuration from a data source;
filtering invalid and illegal data, and reserving the valid forwarding data;
encapsulating the forwarding data into a corresponding data structure according to a target method, parameter configuration and conversion set configuration in the forwarding set;
forwarding the data to the target platform in a corresponding request mode and a data structure according to the forwarding configuration of the forwarding set;
and generating a forwarding return result and storing the forwarding return result in a storage platform.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A tower crane data multi-form conversion forwarding method is characterized by comprising the following steps:
acquiring forwarding set configuration; the forwarding set configuration comprises basic information configuration, conversion configuration and forwarding configuration;
acquiring collected data, analyzing the collected data according to basic information configuration, acquiring and storing working condition information data;
converting the working condition information data into a target data format according to the conversion configuration;
and forwarding the converted working condition information data to a target platform according to forwarding configuration.
2. The tower crane data multi-form conversion forwarding method according to claim 1, wherein the basic information configuration comprises:
the version identification can be manually input or automatically generated by a system, the version identification can be changed when the configuration is modified every time, and the uniqueness of the history is ensured;
the target identification is used for recording and forwarding basic information of the target platform;
the conversion set identifier is used for recording the identification information and the version number of the conversion set;
a data source identification key value;
a data source identification name;
the conversion configuration includes:
the target method returns a class configuration path which comprises a target return body text file path;
configuring a path by a target method parameter entity;
the conversion set identification key value comprises a target platform definition field name and a data source identification;
a translation set fixed value;
the forwarding configuration comprises:
target entity configuration file path including target method parameter text path for dynamically writing in former configuration content and parameter content;
the target method name comprises a method name of a target platform receiving working condition information data;
the target method type comprises a mode that a target platform receives a working condition information data request;
target request modes comprise http and tcp;
configuring a target forwarding thread name;
configuring the number of target forwarding threads;
and sending the strategy configuration, including the minimum value of the data interval.
3. The tower crane data multi-form conversion and forwarding method as claimed in claim 2, wherein the method for acquiring the collected data comprises the following steps:
uploading and storing data of a terminal collector into a big database; and acquiring the acquired data by taking the data in the database as a data source.
4. The tower crane data multi-form conversion and forwarding method as claimed in claim 2, wherein the method for converting the working condition information data into the target data format comprises the following steps:
obtaining effective data in corresponding time according to the minimum interval time of the sending strategy configuration in the forwarding configuration, and if the data exists, converting the data according to the conversion configuration;
the method for converting according to the conversion configuration comprises the following steps:
creating a participating entity according to the method type path of the conversion configuration;
packaging the data in the entity according to the conversion identifier;
establishing basic request information according to the relevant information configuration of the forwarding target;
and encapsulating the return type configuration class information of the conversion configuration to create an entity.
5. The tower crane data multi-form conversion forwarding method according to claim 4, characterized in that the method further comprises:
acquiring configured forwarding set configuration;
preloading a forwarding set configuration, calculating a hash value of the forwarding set configuration, and storing the hash value and the corresponding forwarding set configuration into a cache;
maintaining basic information configuration of forwarding set configuration, and storing the basic information configuration in a cache according to the target number in a classified manner;
and maintaining the latest state of the forwarding set configuration according to the hash value and the forwarding set configuration.
6. The tower crane data multi-form conversion and forwarding method according to claim 5, wherein the method for forwarding the converted working condition information data to the target platform according to the forwarding configuration comprises the following steps:
configuring forwarding threads according to the names of the target forwarding threads, and keeping the number of the threads consistent with the number configuration of the target forwarding threads in the configuration of the forwarding set;
acquiring data in the interval time of forwarding configuration from a data source according to the forwarding configuration;
filtering invalid and illegal data, and reserving the valid forwarding data;
and forwarding the data to the target platform in a corresponding request mode and a data structure.
7. A tower crane data multi-form conversion forwarding system is characterized by comprising a controller, a converter and a repeater;
the controller is used for obtaining the configuration of the forwarding set; the forwarding set configuration comprises basic information configuration, conversion configuration and forwarding configuration; the controller is also used for acquiring the acquired data from the terminal acquisition unit, analyzing the acquired data according to basic information configuration, acquiring and storing working condition information data;
the converter is used for converting the working condition information data into a target data format according to the conversion configuration;
the repeater is used for forwarding the converted working condition information data to the target platform and receiving the return information according to the forwarding configuration.
8. The tower crane data multi-form conversion and forwarding system as claimed in claim 7, wherein the operation method of the system comprises:
the controller preloads the configuration of the forwarding set, calculates the hash value of the forwarding set, and stores the hash value and the configuration information into a cache so as to be called when analyzing;
the controller maintains the latest configuration state of the forwarding set according to the hash value and the version identifier;
the controller manages the target forwarding thread according to the target forwarding thread name and keeps the number of the threads consistent with the target number in the configuration of the forwarding set;
the repeater forwarding thread acquires data in the interval time of forwarding configuration from a data source;
the repeater filters invalid and illegal data and retains the valid forwarding data;
the converter encapsulates the forwarding data into a corresponding data structure according to a target method, parameter configuration and conversion set configuration in the forwarding set;
the repeater forwards the data to the target platform in a corresponding request mode and a data structure according to the forwarding configuration of the forwarding set;
the repeater generates a forwarding return result and stores the forwarding return result in the platform.
9. The tower crane data multi-form conversion and forwarding system as claimed in claim 8, wherein the method for encapsulating the forwarding data into the corresponding data structure by the converter according to the target method, the parameter configuration and the conversion set configuration in the forwarding set comprises:
creating a participating entity according to the method type path of the conversion configuration;
packaging the data in the entity according to the conversion identifier;
establishing basic request information according to the relevant information configuration of the forwarding target;
and encapsulating the return type configuration class information of the conversion configuration to create an entity.
10. A tower crane data multi-form conversion forwarding system is characterized by comprising a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210058669.0A CN114500648A (en) | 2022-01-17 | 2022-01-17 | Tower crane data multi-form conversion forwarding method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210058669.0A CN114500648A (en) | 2022-01-17 | 2022-01-17 | Tower crane data multi-form conversion forwarding method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114500648A true CN114500648A (en) | 2022-05-13 |
Family
ID=81472678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210058669.0A Pending CN114500648A (en) | 2022-01-17 | 2022-01-17 | Tower crane data multi-form conversion forwarding method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114500648A (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090121949A (en) * | 2008-05-23 | 2009-11-26 | 주식회사 유소프테이션 | Method and system for converting mobile contents |
US20140244809A1 (en) * | 2011-11-04 | 2014-08-28 | Huawei Technologies Co., Ltd. | Service configuration method and apparatus |
CN106953897A (en) * | 2017-02-28 | 2017-07-14 | 江苏徐工信息技术股份有限公司 | The parsing of engineering machinery Internet of Things data and dynamic display method based on operating mode collection |
CN108365967A (en) * | 2018-01-02 | 2018-08-03 | 珠海兴业新材料科技有限公司 | Method, system, terminal and the computer readable storage medium of dynamic configuration communications parameter |
CN108563768A (en) * | 2018-04-19 | 2018-09-21 | 中国平安财产保险股份有限公司 | Data transfer device, device, equipment and the storage medium of different data model |
CN108833394A (en) * | 2018-06-07 | 2018-11-16 | 中国人民解放军63889部队 | The protocol conversion algorithm of data collection system |
CN110688343A (en) * | 2019-08-26 | 2020-01-14 | 天津开心生活科技有限公司 | Method and device for converting data format |
CN111367975A (en) * | 2018-12-25 | 2020-07-03 | 中国移动通信集团浙江有限公司 | Multi-protocol data conversion processing method and device |
CN111695884A (en) * | 2020-08-17 | 2020-09-22 | 广东新视野信息科技股份有限公司 | Internet of things big data visualization method and system based on smart construction site |
CN112202816A (en) * | 2020-11-10 | 2021-01-08 | 中电工业互联网有限公司 | Configurable soft gateway communication protocol analysis conversion system and method |
CN112749117A (en) * | 2020-12-30 | 2021-05-04 | 宁波海大物联科技有限公司 | Data transmission module and data transmission method of Internet of things equipment and platform |
CN113162942A (en) * | 2021-04-27 | 2021-07-23 | 深圳市伊起来科技有限公司 | Method for forwarding self-adaptive protocol |
CN113536115A (en) * | 2021-06-21 | 2021-10-22 | 浙江吉利控股集团有限公司 | Network appointment information pushing method, device and platform |
CN113742005A (en) * | 2021-01-15 | 2021-12-03 | 北京京东拓先科技有限公司 | Platform docking method and device |
-
2022
- 2022-01-17 CN CN202210058669.0A patent/CN114500648A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090121949A (en) * | 2008-05-23 | 2009-11-26 | 주식회사 유소프테이션 | Method and system for converting mobile contents |
US20140244809A1 (en) * | 2011-11-04 | 2014-08-28 | Huawei Technologies Co., Ltd. | Service configuration method and apparatus |
CN106953897A (en) * | 2017-02-28 | 2017-07-14 | 江苏徐工信息技术股份有限公司 | The parsing of engineering machinery Internet of Things data and dynamic display method based on operating mode collection |
CN108365967A (en) * | 2018-01-02 | 2018-08-03 | 珠海兴业新材料科技有限公司 | Method, system, terminal and the computer readable storage medium of dynamic configuration communications parameter |
CN108563768A (en) * | 2018-04-19 | 2018-09-21 | 中国平安财产保险股份有限公司 | Data transfer device, device, equipment and the storage medium of different data model |
CN108833394A (en) * | 2018-06-07 | 2018-11-16 | 中国人民解放军63889部队 | The protocol conversion algorithm of data collection system |
CN111367975A (en) * | 2018-12-25 | 2020-07-03 | 中国移动通信集团浙江有限公司 | Multi-protocol data conversion processing method and device |
CN110688343A (en) * | 2019-08-26 | 2020-01-14 | 天津开心生活科技有限公司 | Method and device for converting data format |
CN111695884A (en) * | 2020-08-17 | 2020-09-22 | 广东新视野信息科技股份有限公司 | Internet of things big data visualization method and system based on smart construction site |
CN112202816A (en) * | 2020-11-10 | 2021-01-08 | 中电工业互联网有限公司 | Configurable soft gateway communication protocol analysis conversion system and method |
CN112749117A (en) * | 2020-12-30 | 2021-05-04 | 宁波海大物联科技有限公司 | Data transmission module and data transmission method of Internet of things equipment and platform |
CN113742005A (en) * | 2021-01-15 | 2021-12-03 | 北京京东拓先科技有限公司 | Platform docking method and device |
CN113162942A (en) * | 2021-04-27 | 2021-07-23 | 深圳市伊起来科技有限公司 | Method for forwarding self-adaptive protocol |
CN113536115A (en) * | 2021-06-21 | 2021-10-22 | 浙江吉利控股集团有限公司 | Network appointment information pushing method, device and platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111737023A (en) | Vehicle-mounted event processing method, cloud server and computer-readable storage medium | |
CN111478965A (en) | Method, device and system for processing device shadow | |
CN111711677A (en) | Virtual and real loop visualization method, system and medium for process layer switch of intelligent substation | |
CN111614579B (en) | Access method, access device and access system of edge device | |
CN103488696A (en) | Business query method, device and system of CPE (customer premises equipment), ACS (auto-configuration server) and CPE | |
WO2018202440A1 (en) | Data transmission method and apparatus | |
CN112764874B (en) | Virtual machine server information acquisition method based on CMDB configuration management system | |
CN114500648A (en) | Tower crane data multi-form conversion forwarding method and system | |
EP3171565B1 (en) | Methods, devices and system for netconf hello packets interaction | |
CN103944957A (en) | Off-line data collection method for industrial monitoring system and collection system thereof | |
CN113259425A (en) | 61850 standard-based data conversion method, transformer substation gateway and storage medium | |
CN107547382B (en) | Neighbor relation discovery method and device | |
CN114064312A (en) | Data processing system and model training method | |
CN114328751A (en) | Method and device for synchronizing multi-source heterogeneous data, storage medium and electronic equipment | |
CN112422314B (en) | Method and system for collecting and reporting alarm performance data | |
CN114760077A (en) | Abnormal data detection method and device based on block chain, storage medium and gateway | |
CN109189786B (en) | Method for periodically generating custom report form for network element management system | |
CN111193805A (en) | Resource discovery method and device | |
JPH06252986A (en) | Hierarchical network management device | |
CN116126622A (en) | Data monitoring method and device, electronic equipment and storage medium | |
CN116822461A (en) | Numerical control device data semantic conversion method, system, medium and device | |
CN111241355B (en) | Message forwarding method and server | |
CN117082106B (en) | Multi-level data networking method, system, device and equipment oriented to government cloud environment | |
CN114301709B (en) | Message processing method and device, storage medium and computing equipment | |
CN102244619A (en) | Equipment management method, gateway and server |
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 |