CN118282996A - Data distribution method, system, device, equipment and medium - Google Patents

Data distribution method, system, device, equipment and medium Download PDF

Info

Publication number
CN118282996A
CN118282996A CN202211733541.6A CN202211733541A CN118282996A CN 118282996 A CN118282996 A CN 118282996A CN 202211733541 A CN202211733541 A CN 202211733541A CN 118282996 A CN118282996 A CN 118282996A
Authority
CN
China
Prior art keywords
priority
message
internet
priority class
things
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211733541.6A
Other languages
Chinese (zh)
Inventor
黄尊涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
Filing date
Publication date
Application filed by BYD Co Ltd filed Critical BYD Co Ltd
Publication of CN118282996A publication Critical patent/CN118282996A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention provides a data distribution method, a system, a device, equipment and a medium, which are applied to an Internet of things gateway, wherein the method comprises the following steps: receiving a message sent by the Internet of things equipment; the message comprises a message type identifier and a device identifier; according to the message type identification and the equipment identification, assigning a priority class and a priority level under the priority class to the message; and sending the message to the Internet of things platform according to the priority class and the priority level under the priority class. By configuring the corresponding priority of the message sent by the equipment, different transmission is carried out on the message based on different priorities, and the accuracy and timeliness of receiving a large number of equipment report messages sent by the Internet of things gateway in real time by the Internet of things platform are improved.

Description

Data distribution method, system, device, equipment and medium
Technical Field
The present invention relates to the technical field of rail transit, and in particular, to a data distribution method, a data distribution system, a data distribution device, a data distribution apparatus, and a data distribution medium.
Background
The internet of things (IOT, internet of things), i.e. the internet connected with everything, can connect various things with the internet through various sensors, and then exchange information and communicate with each other, so that actions such as intelligent recognition, positioning, tracking, monitoring and management of the things through the internet can be realized. The internet of things for rail transit is applied to the field of rail transit as the name implies, and is an internet of things platform with higher safety, reliability and expandability, which is established based on the general internet of things.
The Internet of things gateway serves as an intermediate layer between the Internet of things platform and the equipment, plays a role in supporting the upward and downward movement, not only can collect the state data reported by the equipment to the Internet of things platform, but also can timely and accurately transmit the equipment instruction issued by the Internet of things platform to the equipment end. The main function of the Internet of things is as a data channel between an Internet of things platform and equipment and analyzing, converting and transmitting related protocols of data.
In general, the data of the devices need to be sequentially sent, received, analyzed, processed, converted and persisted, however, in some situations, such as in real-time monitoring of rail transit, in order to ensure driving safety and perform corresponding scheduling, the number of devices required to be monitored by the upper layer system is very large, and the number of state data of each device required to be collected is also very large, if the gateway of the internet of things sends each telemetry data of each device in sequence, the gateway of the internet of things can cause that some data with higher importance and safety requirements cannot be timely and accurately sent to the platform of the internet of things, and meanwhile, the situation that some important index telemetry data are lost can also occur, thereby influencing driving safety.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention have been made to provide a data distribution method, a data distribution system, a data distribution device, a data distribution apparatus, and a data distribution medium that overcome or at least partially solve the foregoing problems.
In order to solve the above problems, an embodiment of the present invention discloses a data distribution method, which is applied to an internet of things gateway, and the method includes:
receiving a message sent by the Internet of things equipment; the message comprises a message type identifier and a device identifier;
assigning a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier;
and sending the message to an Internet of things platform according to the priority class and the priority level under the priority class.
Optionally, the sending the message to the internet of things platform according to the priority class and the priority level under the priority class includes:
and sending the message to the Internet of things platform according to the priority order of the priority level under the priority class.
Optionally, the sending the message to the internet of things platform according to the priority order of the priority level under the priority class includes:
Determining transmission links corresponding to the priority class and the priority level under the priority class;
And sending the message to the Internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
Optionally, the method further comprises:
Acquiring configuration information from the Internet of things platform, wherein the configuration information comprises device identifiers of various types of devices, message type identifiers and mapping relations between the device identifiers and priority levels under the priority categories;
the assigning the priority class and the priority level under the priority class to the message according to the message type identifier and the equipment identifier comprises the following steps:
And determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation, and distributing the message.
Optionally, the method further comprises:
and creating one-to-one corresponding transmission links for each priority level under each priority class.
Optionally, the priority class includes: quality of service priority class, transmission speed priority class, and timing priority class.
The embodiment of the invention also discloses a data distribution system, which comprises: internet of things equipment, internet of things gateway and Internet of things platform:
The internet of things device is used for sending a message to the internet of things gateway; the message comprises a message type identifier and a device identifier;
The Internet of things gateway is used for receiving messages sent by Internet of things equipment; assigning a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier; according to the priority class and the priority level under the priority class, sending the message to an Internet of things platform;
the internet of things platform is used for receiving the message.
Optionally, the internet of things platform is configured to generate the configuration information of the mapping relationship between the device identifier and the message type identifier of the multiple types of devices and the priority level under the priority class according to the device identifier and the message type identifier of the multiple types of devices, the priority class and the priority level under the priority class;
the internet of things gateway is used for acquiring configuration information from the internet of things platform, determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation, and distributing the message.
Optionally, the internet of things platform is further configured to create a device model and a message model corresponding to the device model, where the device model includes device identifiers of the multiple types of devices, and the message model includes the message type identifiers.
Optionally, the internet of things gateway is configured to send the message to the internet of things platform according to a priority order of the priority level under the priority class.
Optionally, the internet of things gateway is configured to determine a transmission link corresponding to the priority class and a priority level under the priority class; and sending the message to the Internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
Optionally, the internet of things gateway is further configured to create a one-to-one transmission link for each priority level under each priority class.
Optionally, the priority class includes: quality of service priority class, transmission speed priority class, and timing priority class.
The embodiment of the invention also discloses a data distribution method which is applied to the gateway of the Internet of things, and the device comprises the following steps:
the receiving module is used for receiving the message sent by the Internet of things equipment; the message comprises a message type identifier and a device identifier;
The allocation module is used for allocating a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier;
And the sending module is used for sending the message to the Internet of things platform according to the priority class and the priority level under the priority class.
Optionally, the sending module includes:
And the sending sub-module is used for sending the message to the Internet of things platform according to the priority order of the priority level under the priority class.
Optionally, the sending submodule includes:
a determining subunit, configured to determine a transmission link corresponding to the priority class and a priority level under the priority class;
And the sending subunit is used for sending the message to the internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
Optionally, the method further comprises:
the acquisition module is used for acquiring configuration information from the Internet of things platform, wherein the configuration information comprises device identifiers of various types of devices, message type identifiers and mapping relations between the device identifiers and priority levels under the priority categories;
the distribution module comprises:
And the determining submodule is used for determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation and distributing the message.
Optionally, the method further comprises:
the creating module is used for creating one-to-one corresponding transmission links for each priority level under each priority class.
Optionally, the priority class includes: quality of service priority class, transmission speed priority class, and timing priority class.
The embodiment of the invention also provides electronic equipment, which comprises: a processor, a memory and a computer program stored on the memory and capable of running on the processor, which computer program, when executed by 5 the processor, implements the steps of the data splitting method as described above.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of the data distribution method when being executed by a processor.
The embodiment of the invention has the following advantages: 0 in the embodiment of the invention, receiving a message sent by the Internet of things equipment; the message comprises a message type identifier and a device identifier; according to the message type identification and the equipment identification, assigning a priority class and a priority level under the priority class to the message; and sending the message to the Internet of things platform according to the priority class and the priority level under the priority class. Based on absence by configuring the corresponding priority of the messages sent by the device
And the messages are transmitted in different modes with the same priority, so that the accuracy and timeliness of the Internet of things platform for receiving a large number of equipment report messages sent by the Internet of things gateway in real time 5 are improved.
Drawings
FIG. 1 is a flow chart of steps of a data offloading method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a gateway according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a device status telemetry value classification according to an embodiment of the present invention;
FIG. 4 is a block diagram of a data distribution system according to an embodiment of the present invention;
fig. 5 is a block diagram of a data splitting device according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The mass equipment in the rail transit related system, such as vehicles, fire automatic alarm system related equipment, environmental control system related equipment, automatic ticket selling system related equipment, passenger service system related equipment, access control system related equipment and the like, has various state telemetering to be monitored, but according to different types of each system and each equipment, the requirements on importance, safety and the like are not completely the same, for example, vehicle data relate to driving safety, have higher requirements on service quality of data, data related to the fire automatic alarm system have higher requirements on real-time performance and accuracy, and data related to passenger service are only used for providing related convenience for passengers, and have lower requirements on service quality.
However, when the existing internet of things gateway reports telemetry messages of various devices, the telemetry messages are usually sequentially sent to the internet of things platform, for example, when the reporting time of fire automatic alarm messages of a large number of devices is later than that of vehicle data messages and passenger service data messages, the fire automatic alarm messages need to be reported after the internet of things platform finishes processing the vehicle data messages and the passenger service data messages, so that the pressure of the platform is increased, data loss is possibly caused, and the reporting quality and timeliness of the data messages are affected.
One of the core concepts of the embodiment of the invention is that the information data with different priorities are processed and transmitted differently by carrying out multidimensional priority allocation on different information of different types of equipment, so that the accuracy and timeliness of receiving the rail transit real-time monitoring data by the internet of things platform are improved.
Referring to fig. 1, a step flow chart of a data splitting method provided by an embodiment of the present invention is shown and applied to an internet of things gateway, where the method specifically may include the following steps:
step 101, receiving a message sent by an internet of things device; the message includes a message type identification and a device identification.
In the embodiment of the invention, the device in the track traffic field is taken as an example for explanation. Fig. 2 is a schematic diagram of a gateway provided in an embodiment of the present invention, where the internet of things device may be a vehicle in the rail traffic field, a related device of an automatic fire alarm system, a related device of a ring control system, a related device of an automatic ticket vending and checking system, a related device of a passenger service system, a related device of an access control system, etc., and the embodiment of the present invention is not limited herein.
The message sent by the internet of things device may be a status telemetry message, an alarm message, an instruction message, etc. of the device, which is not limited herein.
As one example, different device types may send different types of messages, e.g., smoke sensing type devices may send fire status telemetry messages, fault status telemetry messages, fire alarm messages, etc.
As an example, the internet of things gateway may include a data receiving module configured to receive a message reported by an underlying device or system.
As an example, the internet of things gateway may receive different types of messages sent by different types of devices. The message can be provided with a message type identifier and a device identifier so that the gateway of the Internet of things can distinguish the message type from the device type.
And 102, distributing a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier.
As an example, fig. 2 is a schematic diagram of a gateway according to an embodiment of the present invention, where an internet of things gateway may include an event processing module, which is configured to parse and convert a device report message, allocate a message priority class and a priority level, and so on.
For example, there may be multiple priority classes, and there may be multiple priority levels under each priority class. The priority class to which the message belongs and the priority level under the priority class to which the message belongs can be determined according to the message type identifier and the device identifier.
As an example, the internet of things gateway may parse the status telemetry message and convert the status telemetry message into a data type to be reported to the internet of things platform through the event processing module. Meanwhile, according to the equipment identification and the corresponding state telemetry message identification, the state telemetry message is assigned with a priority class and a priority level under the priority class.
In one embodiment of the present invention, configuration information is obtained from the platform of the internet of things, where the configuration information includes device identifiers of multiple types of devices, message type identifiers, and mapping relationships between the device identifiers and priority levels under the priority classes; the assigning the priority class and the priority level under the priority class to the message according to the message type identifier and the equipment identifier comprises the following steps: and determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation, and distributing the message.
As an example, a user may create a device model, a message model of a device, which may be a status telemetry model, an alarm model, an instruction model, etc., through an object model management module of an internet of things platform. For example, a user can create a smoke temperature sensing type equipment model in the automatic fire alarm system on the internet of things platform, and create information such as a telemetry model, an alarm model and the like of the smoke temperature sensing type equipment model, including a fire alarm state, a communication state, a fault state and the like.
As an example, a device corresponding to the device model is created on the internet of things platform through the device management module, and relevant information of the device is input, for example, a device under a smoke temperature sensing type device model of the fire automatic alarm system is created on the internet of things platform, and a smoke temperature sensing device identifier, a correspondence between the smoke temperature sensing device and a gateway, an affiliated device model, a device position, a device system and the like are input.
The internet of things platform may generate the configuration information of the mapping relationship between the device identifier 5 and the message type identifier of the multiple types of devices and the priority level under the priority class according to the device identifier, the message type identifier, the priority class and the priority level under the priority class of the multiple types of devices.
The gateway of the internet of things can configure a mapping relation in the information, determine a priority class of the message reported by the device and a priority level under the priority class, and allocate a corresponding priority class and level for the message. For example, priority class and telemetry model messages for smoke-sensing type devices
Priority levels are assigned, e.g. fire status telemetry involves personal safety, fire status telemetry 0 messages can be categorized into priority classes with priority for transmission speed, and the priority should be highest, so that
The fire state telemetry information is configured to be in transmission speed priority, and the priority is the first level; the fault state telemetry message also belongs to the state telemetry message of the smoke temperature sensing type equipment, but only relates to the overhaul of the equipment, so that the priority class and the priority level of the fault state telemetry message can be configured as the transmission speed priority, and the priority level is the second level.
5, The device model refers to a device data model abstracted from a device in reality, and may include properties such as attributes, methods, events, metadata, and the like, and a class of devices may be described by the properties. The object model management module is used for managing the equipment model, including the management of the whole life cycle of the equipment model; and the equipment management module is used for managing the model and the equipment configuration information and synchronizing equipment data with the Internet of things platform.
0 As an example, after the gateway of the internet of things is started, the gateway of the internet of things can be used for the internet of things through the device management module
The platform acquires the equipment information and the message model information corresponding to the equipment, and synchronizes the equipment data with the platform of the Internet of things.
In one embodiment of the invention, the priority class includes: quality of service priority class, transmission speed priority class, and timing priority class.
5 Illustratively, the priority classes may include a quality of service priority class, a transmission speed priority
Category and timing priority category.
For example, related devices of an automatic ticketing system need to report ticketing information accurately, so telemetry messages of such devices can be categorized into quality of service priority classes; related equipment of the fire automatic alarm system relates to personal safety, equipment state telemetry must be timely reported to an upper service system to assist related personnel in timely treatment of fire, so telemetry information of the equipment can be classified into a transmission speed priority class; the door control system related devices need to report the open and close status messages in sequence, so the telemetry messages of such devices can be categorized into time sequence priority categories.
And step 103, sending the message to an Internet of things platform according to the priority class and the priority level under the priority class.
As an example, fig. 2 is a schematic diagram of a gateway according to an embodiment of the present invention, where an internet of things gateway may include a data sending module, configured to send a message to an internet of things platform according to a priority class of the message and a priority level under the priority class.
In one embodiment of the present invention, the sending the message to the internet of things platform according to the priority class and the priority level under the priority class includes: and sending the message to the Internet of things platform according to the priority order of the priority level under the priority class.
As an example, the internet of things gateway may send the message to the internet of things platform in a priority order under the priority type to which the message belongs. For example, the state telemetry message of the smoke temperature sensing type device includes a fire state telemetry message and a fault state telemetry message, the fire state telemetry message belongs to a transmission speed priority class, the priority is a first level, the fault state telemetry message belongs to the transmission speed priority class, and the priority is a second level, when the internet of things gateway receives the fire state telemetry message and the fault state telemetry message, according to the priority order, the fire state telemetry message with the priority of the first level is sent to the internet of things platform, and then the fault state telemetry message with the priority of the second level is sent to the internet of things platform.
In one embodiment of the present invention, the sending the message to the internet of things platform according to the priority order of the priority level under the priority class includes: determining transmission links corresponding to the priority class and the priority level under the priority class; and sending the message to the Internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
As an example, the internet of things gateway may include a link management module for managing all message links, performing scheduling work for the links according to different message priority classes and priority levels.
The gateway of the Internet of things can also comprise a thread management module used for thread scheduling in the gateway operation and message processing process.
For example, priority levels under different priority classes may correspond to different transmission links. For example, as shown in fig. 3, a schematic diagram of device status telemetry value classification provided in an embodiment of the present invention is shown, where priority classes are a quality of service priority class, a transmission speed priority class, and a time sequence priority class, and each priority class has 5 priority levels, such as a first priority, a second priority, a third priority, a fourth priority, and a fifth priority, and then 15 transmission links may be correspondingly provided.
As an example, the internet of things gateway may determine the transmission link corresponding to the priority class and the priority level under the priority class, and then send the message to the internet of things platform through the transmission link corresponding to the message according to the priority order of the priority level under the priority class, so as to reduce the pressure brought to the internet of things platform by sequentially transmitting the message according to a single transmission link in the prior art.
In one embodiment of the invention, a one-to-one correspondence of transmission links is created for each priority level under each priority class, respectively.
As an example, the internet of things gateway may create a one-to-one transmission link for each priority level under each priority class, respectively, in advance. For example, as shown in fig. 3, a schematic diagram of classifying telemetry values of device status according to an embodiment of the present invention is shown, where priority classes are a quality of service priority class, a transmission speed priority class, and a time sequence priority class, and each priority class has 5 priority levels, including a first priority, a second priority, a third priority, a fourth priority, and a fifth priority, so that 15 transmission links can be created correspondingly, so that different data can be processed differently, and transmission pressure of a single link can be reduced.
In addition, as shown in fig. 2, which is a schematic diagram of a gateway provided in the embodiment of the present invention, the gateway of the internet of things may further include a log management module, which is used for managing log printing, recording, etc. inside the gateway, so as to facilitate the problem tracking and help to solve the problem.
In the embodiment of the invention, a message sent by the Internet of things equipment is received; the message comprises a message type identifier and a device identifier; according to the message type identification and the equipment identification, assigning a priority class and a priority level under the priority class to the message; and sending the message to the Internet of things platform according to the priority class and the priority level under the priority class. By configuring the corresponding priority of the message sent by the equipment, different transmission is carried out on the message based on different priorities, and the accuracy and timeliness of receiving a large number of equipment report messages sent by the Internet of things gateway in real time by the Internet of things platform are improved. In addition, through respectively establishing a one-to-one corresponding transmission link for each priority level under each priority class, different types of messages are transmitted according to the links of the corresponding priorities, and the pressure brought to the platform of the Internet of things by sequentially transmitting the messages by a single transmission link is reduced.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 4, a block diagram of a data distribution system according to an embodiment of the present invention is shown, which may specifically include: the internet of things device 401, the internet of things gateway 401 and the internet of things platform 403:
the internet of things device 401 is configured to send a message to the internet of things gateway 403; the message comprises a message type identifier and a device identifier;
The internet of things gateway 403 is configured to receive a message sent by the internet of things device 401; assigning a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier; according to the priority class and the priority level under the priority class, sending the message to the internet of things platform 403;
The internet of things platform 403 is configured to receive the message.
In an optional embodiment, the internet of things platform is configured to generate configuration information of mapping relationships between device identifiers and message type identifiers of multiple types of devices and priority levels under the priority categories according to the device identifiers and message type identifiers of the multiple types of devices, the priority categories and the priority levels under the priority categories;
the internet of things gateway is used for acquiring configuration information from the internet of things platform, determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation, and distributing the message.
In an optional embodiment, the internet of things platform is further configured to create a device model and a message model corresponding to the device model, where the device model includes device identifiers of the multiple types of devices, and the message model includes the message type identifiers.
In an optional embodiment, the internet of things gateway is configured to send the message to the internet of things platform according to a priority order of the priority level under the priority class.
In an optional embodiment, the internet of things gateway is configured to determine a transmission link corresponding to the priority class and a priority level under the priority class; and sending the message to the Internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
In an optional embodiment, the internet of things gateway is further configured to create a one-to-one transmission link for each priority level under each priority class.
In an alternative embodiment, the priority class includes: quality of service priority class, transmission speed priority class, and timing priority class.
In the embodiment of the invention, a message sent by the Internet of things equipment is received; the message comprises a message type identifier and a device identifier; according to the message type identification and the equipment identification, assigning a priority class and a priority level under the priority class to the message; and sending the message to the Internet of things platform according to the priority class and the priority level under the priority class. By configuring the corresponding priority of the message sent by the equipment, different transmission is carried out on the message based on different priorities, and the accuracy and timeliness of receiving a large number of equipment report messages sent by the Internet of things gateway in real time by the Internet of things platform are improved.
Referring to fig. 5, a block diagram of a data splitting device provided by an embodiment of the present invention is shown and applied to an internet of things gateway, where the device may specifically include the following steps:
a receiving module 501, configured to receive a message sent by an internet of things device; the message comprises a message type identifier and a device identifier;
An allocation module 502, configured to allocate a priority class and a priority level under the priority class to the message according to the message type identifier and the device identifier;
And a sending module 503, configured to send the message to an internet of things platform according to the priority class and the priority level under the priority class.
In an alternative embodiment, the sending module 503 includes:
And the sending sub-module is used for sending the message to the Internet of things platform according to the priority order of the priority level under the priority class.
In an alternative embodiment, the transmitting sub-module includes:
a determining subunit, configured to determine a transmission link corresponding to the priority class and a priority level under the priority class;
And the sending subunit is used for sending the message to the internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
In an alternative embodiment, further comprising:
the acquisition module is used for acquiring configuration information from the Internet of things platform, wherein the configuration information comprises device identifiers of various types of devices, message type identifiers and mapping relations between the device identifiers and priority levels under the priority categories;
The allocation module 502 includes:
And the determining submodule is used for determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation and distributing the message.
In an alternative embodiment, further comprising:
the creating module is used for creating one-to-one corresponding transmission links for each priority level under each priority class.
In an alternative embodiment, the priority class includes: quality of service priority class, transmission speed priority class, and timing priority class.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The embodiment of the invention also provides electronic equipment, which comprises:
The system comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein the computer program realizes the processes of the data distribution method embodiment when being executed by the processor, can achieve the same technical effects, and is not repeated here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the above data splitting method embodiment, and can achieve the same technical effects, and for avoiding repetition, the description is omitted here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The foregoing has described in detail a data distribution method, a data distribution system, a data distribution device, a data distribution apparatus and a data distribution medium according to the present invention, and specific examples have been used herein to illustrate the principles and embodiments of the present invention, where the above examples are only for aiding in understanding of the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (16)

1. A data offloading method, applied to an internet of things gateway, the method comprising:
receiving a message sent by the Internet of things equipment; the message comprises a message type identifier and a device identifier;
assigning a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier;
and sending the message to an Internet of things platform according to the priority class and the priority level under the priority class.
2. The method of claim 1, wherein the sending the message to the internet of things platform according to the priority class and the priority level under the priority class comprises:
and sending the message to the Internet of things platform according to the priority order of the priority level under the priority class.
3. The method of claim 2, wherein the sending the message to the internet of things platform according to the priority order of the priority levels under the priority category comprises:
Determining transmission links corresponding to the priority class and the priority level under the priority class;
And sending the message to the Internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
4. The method as recited in claim 1, further comprising:
Acquiring configuration information from the Internet of things platform, wherein the configuration information comprises device identifiers of various types of devices, message type identifiers and mapping relations between the device identifiers and priority levels under the priority categories;
the assigning the priority class and the priority level under the priority class to the message according to the message type identifier and the equipment identifier comprises the following steps:
And determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation, and distributing the message.
5. The method as recited in claim 1, further comprising:
and creating one-to-one corresponding transmission links for each priority level under each priority class.
6. The method of claim 1, wherein the priority class comprises: quality of service priority class, transmission speed priority class, and timing priority class.
7. A data distribution system, comprising: the system comprises Internet of things equipment, an Internet of things gateway and an Internet of things platform;
The internet of things device is used for sending a message to the internet of things gateway; the message comprises a message type identifier and a device identifier;
The Internet of things gateway is used for receiving messages sent by Internet of things equipment; assigning a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier; according to the priority class and the priority level under the priority class, sending the message to an Internet of things platform;
the internet of things platform is used for receiving the message.
8. The system of claim 7, wherein the system further comprises a controller configured to control the controller,
The internet of things platform is used for generating configuration information containing the equipment identifiers of the equipment of the multiple types, the message type identifiers and the mapping relation with the priority levels under the priority categories according to the equipment identifiers of the equipment of the multiple types, the message type identifiers, the priority categories and the priority levels under the priority categories;
the internet of things gateway is used for acquiring configuration information from the internet of things platform, determining a priority class matched with the message type identifier and the equipment identifier and a priority level under the priority class according to the mapping relation, and distributing the message.
9. The system of claim 8, wherein the system further comprises a controller configured to control the controller,
The internet of things platform is further used for creating a device model and a message model corresponding to the device model, the device model comprises device identifiers of the plurality of types of devices, and the message model comprises the message type identifiers.
10. The system of claim 7, wherein the system further comprises a controller configured to control the controller,
The internet of things gateway is used for sending the message to the internet of things platform according to the priority order of the priority level under the priority class.
11. The system of claim 10, wherein the system further comprises a controller configured to control the controller,
The internet of things gateway is used for determining transmission links corresponding to the priority class and the priority level under the priority class; and sending the message to the Internet of things platform on the transmission link according to the priority order of the priority level under the priority class.
12. The system of claim 7, wherein the system further comprises a controller configured to control the controller,
The internet of things gateway is used for creating one-to-one corresponding transmission links for each priority level under each priority class.
13. The system of claim 7, wherein the priority class comprises: quality of service priority class, transmission speed priority class, and timing priority class.
14. A data splitting device, characterized in that it is applied to an internet of things gateway, said device comprising:
the receiving module is used for receiving the message sent by the Internet of things equipment; the message comprises a message type identifier and a device identifier;
The allocation module is used for allocating a priority class and a priority level under the priority class to the message according to the message type identifier and the equipment identifier;
And the sending module is used for sending the message to the Internet of things platform according to the priority class and the priority level under the priority class.
15. An electronic device, comprising: a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor performs the steps of the data splitting method according to any of claims 1-6.
16. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the data splitting method according to any of claims 1-6.
CN202211733541.6A 2022-12-30 Data distribution method, system, device, equipment and medium Pending CN118282996A (en)

Publications (1)

Publication Number Publication Date
CN118282996A true CN118282996A (en) 2024-07-02

Family

ID=

Similar Documents

Publication Publication Date Title
RU2677970C2 (en) Remote data collection system
EP1922597B1 (en) Fault data management
CN101399715B (en) Network test platform and test method for optical fiber channel
WO2023125852A1 (en) Remote diagnosis method and apparatus, and electronic device and storage medium
CN103414916A (en) Fault diagnosis system and method
CN111897718A (en) Vehicle machine automatic test method based on big data and storage medium
CN113419920B (en) Real-time monitoring method for joint debugging test process of simulation test system of Internet of things management platform
CN110457176A (en) For the monitoring method of distributed system, device, storage medium and electronic equipment
CN112637366A (en) Vehicle network vehicle data acquisition method based on micro-service
CN113704089A (en) Full-scene GSM-R interface server test platform system
CN107463490B (en) Cluster log centralized collection method applied to platform development
CN107943657A (en) A kind of linux system problem automatic analysis method and system
CN111026072B (en) Test system and method for control equipment
CN103678423A (en) Data file input system, device and method
CN109495546B (en) Data processing method, system and server
CN112949798B (en) Laboratory equipment management method and system based on RFID technology
CN118282996A (en) Data distribution method, system, device, equipment and medium
CN116629802A (en) Big data platform system for railway port station
CN109245927A (en) Warning system and method in cloud data system
CN114756376A (en) Cross-domain multi-service resource automatic adaptation maintenance platform
CN113572817A (en) Vehicle-mounted interface platform system and communication system under cloud platform
KR20180029515A (en) Apparatus and method of converting for railway safety data integrated transport
CN114691633A (en) Log management method, device and storage medium for rail transit signal system
CN107295087B (en) System and method for realizing data aggregation between network systems
CN115497191B (en) Derailment original data polling reporting method and device for running part monitoring system

Legal Events

Date Code Title Description
PB01 Publication