CN111131082A - Charging facility data transmission dynamic control method and system - Google Patents

Charging facility data transmission dynamic control method and system Download PDF

Info

Publication number
CN111131082A
CN111131082A CN201911357002.5A CN201911357002A CN111131082A CN 111131082 A CN111131082 A CN 111131082A CN 201911357002 A CN201911357002 A CN 201911357002A CN 111131082 A CN111131082 A CN 111131082A
Authority
CN
China
Prior art keywords
message
queue
message queue
data
preset
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.)
Withdrawn
Application number
CN201911357002.5A
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.)
Guangdong Electric Power Science Research Institute Energy Technology Co Ltd
Original Assignee
Guangdong Electric Power Science Research Institute Energy Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Electric Power Science Research Institute Energy Technology Co Ltd filed Critical Guangdong Electric Power Science Research Institute Energy Technology Co Ltd
Priority to CN201911357002.5A priority Critical patent/CN111131082A/en
Publication of CN111131082A publication Critical patent/CN111131082A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • Y02T90/167Systems integrating technologies related to power network operation and communication or information technologies for supporting the interoperability of electric or hybrid vehicles, i.e. smartgrids as interface for battery charging of electric vehicles [EV] or hybrid vehicles [HEV]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S30/00Systems supporting specific end-user applications in the sector of transportation
    • Y04S30/10Systems supporting the interoperability of electric or hybrid vehicles
    • Y04S30/12Remote or cooperative charging

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a charging facility data transmission dynamic control method and a charging facility data transmission dynamic control system, wherein the method comprises the following steps: receiving a remote signaling and telemetering data message sent by charging pile equipment, and sending the remote signaling and telemetering data message to a message queue for caching; when detecting that the cache message amount in the message queue is larger than a preset first message amount threshold value and the out-of-limit accumulation time exceeds a preset first time threshold value, acquiring an attribute parameter of a first target message queue, wherein the first target message queue is the message queue of which the cache message amount in the message queue exceeds the preset message amount threshold value and the out-of-limit accumulation time exceeds the first time threshold value; and establishing an extended message queue according to the attribute parameters. The data processing system solves the technical problem that the transmission processing capacity is poor under the condition of high concurrency of mass data because the existing data processing system adopts a fixed message queue mode to distribute and process data.

Description

Charging facility data transmission dynamic control method and system
Technical Field
The present application relates to the field of information transmission technologies, and in particular, to a method and a system for dynamically controlling data transmission of a charging facility.
Background
With the vigorous popularization of electric automobiles in China, the construction of charging facilities such as charging piles is promoted on a large scale, and the remaining quantity and coverage rate of the charging facilities are continuously increased. A background monitoring system is generally required to be established in a charging facility, so that networked charging operation service is realized.
However, with the increasing of the equipment base number of the charging facilities, the data volume processed by the background monitoring system is increased explosively, and the charging pile of the electric automobile has a lot of data, including remote signaling and remote measuring data such as equipment state, voltage, current, power, alarm events, charging bills and equipment parameters. The data types are various, the data importance degree is different, and for the types of equipment states, charging bills and the like, the data is characterized by sporadic and high priority and real-time requirements, and the voltage and current acquisition data has the requirements of regularity and low real-time; in the aspect of time dimension of data concurrency, due to the fact that the user of the electric vehicle has a trip habit, peak-valley properties are different, and therefore the background monitoring system needs to meet the requirements of reliable data acquisition and timely data processing at the same time. At present, an existing data processing system adopts a fixed message queue or message middleware mode to distribute and process data, the mode has a bottleneck of fixed throughput for processing information, and under the condition of high concurrency of massive data, the situations of message blocking and loss in transmission and processing are easily caused, and normal operation of the system is influenced.
Disclosure of Invention
The application provides a charging facility data transmission dynamic control method and system, which are used for solving the technical problem that the transmission processing capacity is poor under the condition of high concurrency of mass data because the existing data processing system adopts a fixed message queue mode to distribute and process data.
In view of the above, a first aspect of the present application provides a charging facility data transmission dynamic control method, including:
when detecting that the cache message amount in the message queue is larger than a preset first message amount threshold value and the out-of-limit accumulation time exceeds a preset first time threshold value, acquiring an attribute parameter of a first target message queue, wherein the first target message queue is the message queue of which the cache message amount in the message queue exceeds the preset message amount threshold value and the out-of-limit accumulation time exceeds the first time threshold value;
and establishing an extended message queue for data transmission according to the attribute parameters, wherein the attribute parameters of the extended message queue are consistent with the target message queue.
Optionally, the establishing an extended message queue according to the attribute parameter specifically includes:
classifying the first target message queue according to a queue type parameter in the attribute parameters to obtain a plurality of first message queue type sets;
determining the upper limit value of the queue number corresponding to each first message queue type set according to the corresponding relation between the preset queue type parameters and the upper limit value of the queue number;
and quantitatively establishing a plurality of extended message queues according to the attribute parameters and the queue number upper limit value corresponding to each message queue type set, so that the number of the message queues of the same type is not greater than the queue number upper limit value.
Optionally, the method further comprises:
when detecting that the message buffer amount in the message queue or the extended message queue is zero and the idle accumulated time exceeds a preset second time threshold, determining a second target message queue, wherein the second target message queue is the message queue and/or the extended message queue, the message buffer amount is zero, and the idle accumulated time exceeds the preset second time threshold;
destroying the second target message queue.
Optionally, the destroying the second target message queue specifically includes:
classifying the second target message queues according to queue type parameters in the attribute parameters to obtain a plurality of second message queue type sets;
determining a queue number lower limit value corresponding to each second message queue type set according to a corresponding relation between a preset queue type parameter and the queue number upper limit and the queue number lower limit;
and quantitatively destroying a plurality of second target message queues according to the queue number lower limit value corresponding to each message queue type set, so that the number of the message queues of the same type is not less than the queue number lower limit value.
Optionally, the method further comprises:
performing data analysis according to the received remote signaling and telemetry data message to obtain the data type of the remote signaling and telemetry data message;
and distributing the remote signaling telemetry data message to a corresponding third target message queue according to the corresponding relation between the preset data type and the queue type parameter.
Optionally, distributing the remote signaling telemetry data message to the corresponding third target message queue further includes:
and judging whether the cache message amount in the third target message queue is smaller than a preset maximum message amount threshold value or not, and whether the total amount of the third target message queue is smaller than an upper limit of the queue amount or not, if not, transferring the remote signaling telemetry data message to an abnormal data cache library.
A second aspect of the present application provides a charging facility data transmission dynamic control system, including: the system comprises a message receiving module, a queue control module and a message queue transmission module;
the message queue transmission module comprises a plurality of message queues;
the message receiving module is specifically used for receiving a remote signaling and telemetry data message sent by the charging pile equipment and sending the remote signaling and telemetry data message to a message queue for caching;
the queue control module is specifically configured to, when it is detected that the amount of cache messages in the message queue is greater than a preset first message amount threshold and the out-of-limit accumulation time exceeds a preset first time threshold, obtain an attribute parameter of a first target message queue, where the first target message queue is a message queue in which the amount of cache messages in the message queue exceeds the preset message amount threshold and the out-of-limit accumulation time exceeds the first time threshold, and establish an extended message queue for data transmission according to the attribute parameter, where the attribute parameter of the extended message queue is consistent with the target message queue.
Optionally, the queue control module is further configured to:
and when the message buffer amount in the message queue and/or the extended message queue is detected to be zero and the idle accumulated time exceeds a preset second time threshold, determining a second target message queue, wherein the second target message queue is the message queue and/or the extended message queue, the message buffer amount is zero, the idle accumulated time exceeds the message queue of the preset second time threshold, and destroying the second target message queue.
Optionally, the method further comprises: and the distribution processing module is used for carrying out data analysis according to the received remote signaling and remote measuring data message to obtain the data type of the remote signaling and remote measuring data message, and distributing the remote signaling and remote measuring data message to a corresponding third target message queue according to the corresponding relation between the preset data type and the queue type parameter.
Optionally, the method further comprises: and the transfer judging module is used for judging whether the cache message amount in the third target message queue is smaller than a preset maximum message amount threshold value or not, judging whether the total amount of the third target message queue is smaller than an upper limit of the queue amount or not, and if not, transferring the remote signaling and telemetry data message to an abnormal data cache library.
According to the technical scheme, the embodiment of the application has the following advantages:
the application provides a charging facility data transmission dynamic control method, which comprises the following steps: receiving a remote signaling telemetry data message sent by charging pile equipment, and sending the remote signaling telemetry data message to a message queue for caching; when detecting that the cache message amount in the message queue is larger than a preset first message amount threshold value and the out-of-limit accumulation time exceeds a preset first time threshold value, acquiring an attribute parameter of a first target message queue, wherein the first target message queue is a message queue of which the cache message amount in the message queue exceeds the preset message amount threshold value and the out-of-limit accumulation time exceeds the first time threshold value; and establishing an extended message queue for data transmission according to the attribute parameters, wherein the attribute parameters of the extended message queue are consistent with the target message queue.
According to the control method, the number of the message queues is controlled according to the message storage amount of the message queues for data distribution and transmission, the number of the message queues is dynamically expanded under the condition of mass data concurrency, the data transmission capability is enhanced, and the technical problem that the transmission processing capability is poor due to the fact that the existing data processing system adopts a fixed message queue mode to distribute and process data under the condition of high mass data concurrency is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a first embodiment of a dynamic control method for data transmission of a charging facility according to the present application;
fig. 2 is a schematic flowchart of a second embodiment of a dynamic control method for data transmission of a charging facility according to the present application;
fig. 3 is a schematic structural diagram of a charging facility data transmission dynamic control system according to a first embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the embodiments described below are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a charging facility data transmission dynamic control method and system, which are used for solving the technical problem of poor transmission processing capability caused by the fact that an existing data processing system distributes and processes data in a fixed message queue mode under the condition of high concurrency of mass data.
Referring to fig. 1 and fig. 3, a first embodiment of the present application provides a method for dynamically controlling data transmission of a charging facility, including:
and step 100, receiving a remote signaling and telemetry data message sent by the charging pile equipment, and sending the remote signaling and telemetry data message to a message queue for caching.
Step 101, when detecting that the amount of the cache messages in the message queue is larger than a preset first message amount threshold and the out-of-limit accumulation time exceeds a preset first time threshold, acquiring an attribute parameter of a first target message queue. The first target message queue is a message queue of which the buffer message quantity in the message queue exceeds a preset message quantity threshold value and the out-of-limit accumulation time exceeds a first time threshold value.
It should be noted that, each message queue of this embodiment is used as a transmission "bridge" between the data acquisition node and the background monitoring system, and in the transmission process, by monitoring the buffer message amount of the message queue, when it is detected that the buffer message amount in the message queue is greater than a preset first message amount threshold and the out-of-limit accumulated time exceeds a preset first time threshold, it is indicated that the processing capability of the message queue is insufficient, and then, it is necessary to determine the message queues with insufficient processing capability, that is, the first target message queue, and acquire the attribute parameter of the first target message queue, where the attribute parameter of this embodiment may include: queue data length, data throughput rate, and other queue basic attributes.
And step 102, establishing an extended message queue according to the attribute parameters, and improving the data distribution throughput rate, wherein the attribute parameters of the extended message queue are consistent with the target message queue.
It should be noted that, according to the attribute parameter of the first target message queue, an extended message queue whose attribute parameter is consistent with that of the target message queue is established, so that data distribution is performed through cooperation between the extended message queue and the original message queue, so as to improve the overall data throughput of the message queue and accelerate the efficiency of data transmission.
According to the control method, the number of the message queues is controlled according to the message storage amount of the message queues for data distribution and transmission, the number of the message queues is dynamically expanded under the condition of mass data concurrency, the data transmission capability is enhanced, and the technical problem that the transmission processing capability is poor due to the fact that the existing data processing system adopts a fixed message queue mode to distribute and process data under the condition of high mass data concurrency is solved.
The above is a detailed description of a first embodiment of a charging facility data transmission dynamic control method provided by the present application, and the following is a detailed description of a second embodiment of a charging facility data transmission dynamic control method provided by the present application.
Referring to fig. 2, a second embodiment of the present application provides a dynamic control method for data transmission of a charging facility based on the first embodiment of the present application, which specifically includes:
step 102 in the first embodiment of the present application specifically includes:
step 1021, classifying the first target message queue according to the queue type parameter in the attribute parameters to obtain a plurality of first message queue type sets.
It should be noted that, before the extended message queue is established, the first target message queue determined in step 101 may be classified according to the queue type parameter in the attribute parameter, so as to obtain a first message queue type set, where it is understood that the number of the first message queue type sets is related to the number of the first target message queue determined in step 101, if the first target message queue has only one object, which is equivalent to only one type of queue, the number of the first message queue type sets is also 1, and if the first target message queue has two objects, that is, if the first target message queue includes one or two types of queues, the number of the first message queue type sets is 1 or 2.
And 1022, determining the upper limit value of the queue number corresponding to each first message queue type set according to the corresponding relationship between the preset queue type parameter and the upper limit value of the queue number.
It should be noted that, according to the preset corresponding relationship between the queue type parameter and the upper limit of the queue number, the upper limit of the queue number corresponding to each first message queue type set is determined. The message queue type of this embodiment sets an upper limit value of the queue number, which is used to limit the number of the message queues corresponding to each message queue type to be not greater than the upper limit value, and the upper limit value may be set by a user, which is not described herein.
And 1023, quantitatively establishing a plurality of extended message queues according to the attribute parameters and the queue number upper limit value corresponding to each message queue type set, so that the number of the message queues of the same type is not greater than the queue number upper limit value.
It should be noted that, after the upper limit of the number of queues corresponding to each set of message queue types is determined, the number of the extended message queues is determined according to the difference between the number of message queues corresponding to each set of message queue types and the upper limit of the number of queues, so that the number of message queues of the same type added with the number of the extended message queues is not greater than the upper limit of the number of queues of the queue type.
And then establishing an extended message queue with the attribute parameters consistent with the target message queue according to the attribute parameters of the first target message queue.
Further, after step 102 of the first embodiment of the present application, the method further includes:
and 103, when the message buffer amount in the message queue and/or the expanded message queue is detected to be zero and the idle accumulated time exceeds a preset second time threshold, determining a second target message queue. The second target message queue is a message queue and/or an extended message queue, the message buffer amount is zero, and the idle accumulated time exceeds a preset second time threshold;
and step 104, destroying the second target message queue.
It should be noted that, after the transmission capability is enhanced by establishing the extended message queue, after a message peak time period elapses, the message volume is greatly reduced, and at this time, the system resources are occupied by excessive message queues, which increases the system load, and at this time, the occupied system resources can be released by determining the idle second target message queues and destroying the message queues.
Further, step 104 of this embodiment specifically includes:
step 1041, according to the queue type parameter in the attribute parameters, classifying the second target message queues to obtain a plurality of second message queue type sets.
Step 1042, determining a queue number lower limit value corresponding to each second message queue type set according to the corresponding relationship between the preset queue type parameter and the queue number upper limit.
And 1043, quantitatively destroying the second target message queues according to the lower limit value of the queue number corresponding to each message queue type set, so that the number of the message queues of the same type is not less than the lower limit value of the queue number.
It should be noted that, as in the first target message queue, this embodiment may further include, in addition to having the upper limit value of the queue number: and the lower limit value of the queue number is used for ensuring that each type of message queue at least keeps a certain number and ensuring the integrity of the message queue type.
In this embodiment, by monitoring the operation conditions of the message queue, including the number of queues, the queue length, the queue throughput, and associating the data of specific data characteristics with the corresponding relationship between the queues, the data queue with high importance has control measures such as redundancy and backup. The queue is a first-in first-out linear table, and the data enqueued and dequeued by the independent queues have the same data characteristics. When the queue control service monitors that the queue length of a certain type of data queue exceeds a specified threshold value and lasts for a certain time, the current data processing capacity is judged to be insufficient, new queue management needs to be applied to participate in data distribution, and after the application is successful, the data type and the queue are registered, so that the data processing service can provide calling for a distribution processing module and the data processing service. When the queue control service monitors that the idle of a certain type of data queue exceeds a specified threshold value, the queue is recycled and destroyed, resources are released, and the system overhead is reduced.
Further, this embodiment may further include, before step 101:
1001, performing data analysis according to the received remote signaling and telemetry data message to obtain a data type of the remote signaling and telemetry data message;
step 1002, distributing the remote signaling telemetry data message to a corresponding third target message queue according to the corresponding relation between the preset data type and the queue type parameter.
It should be noted that, after receiving the remote signaling telemetry data message collected from the entity device, according to the communication protocol analysis, according to the data type of the remote signaling telemetry data message, in combination with the preset corresponding relationship between the data type and the queue type parameter, the remote signaling telemetry data message is distributed to the specific type of message queue, i.e., the third target message queue, so as to implement the data distribution processing.
Further, before step 1002, the method may further include:
step 1003, judging whether the buffer message amount in the third target message queue is smaller than a preset maximum message amount threshold value, and if not, executing step 1004.
And step 1004, transferring the remote signaling telemetry data message to an abnormal data cache library.
It should be noted that, in this embodiment, an abnormal data buffer library is further provided, when the data amount is very large, which causes the data buffered in the message queue to reach the maximum message amount threshold and the total amount of the third target message queue to be smaller than the upper limit of the queue number, and the extended message queue cannot be established, in order to prevent the telecommand telemetry data message that is not stored in the message queue from being lost when the received data is refreshed, the telecommand telemetry data message may be sent to the abnormal data buffer library of this embodiment for buffering, so that the problem of data jam after accumulation is solved, and the integrity of the acquired data is ensured.
The above is a detailed description of the second embodiment of the charging facility data transmission dynamic control method provided by the present application, and the following is a detailed description of the first embodiment of the charging facility data transmission dynamic control method provided by the present application.
Referring to fig. 3, a third embodiment of the present application provides a charging facility data transmission dynamic control system, which includes a message receiving module, a queue control module, and a message queue transmission module;
the message queue transmission module comprises a plurality of message queues;
the message receiving module is specifically used for receiving a remote signaling and telemetry data message sent by the charging pile equipment and sending the remote signaling and telemetry data message to a message queue for caching;
the queue control module is specifically configured to, when it is detected that the amount of the buffered messages in the message queue is greater than a preset first message amount threshold and the out-of-limit accumulation time exceeds a preset first time threshold, acquire an attribute parameter of a first target message queue, where the first target message queue is a message queue in which the amount of the buffered messages in the message queue exceeds the preset message amount threshold and the out-of-limit accumulation time exceeds the first time threshold, and establish an extended message queue for data transmission according to the attribute parameter, where the attribute parameter of the extended message queue is consistent with the target message queue.
Further, the queue control module is further configured to:
and when the message buffer amount in the message queue and/or the expanded message queue is detected to be zero and the idle accumulated time exceeds a preset second time threshold, determining a second target message queue, wherein the second target message queue is a message queue and/or an expanded message queue, the message buffer amount is zero, the idle accumulated time exceeds the message queue with the preset second time threshold, and destroying the second target message queue.
It should be noted that the queue control module, the message queue module, and the independent message queue of this embodiment constitute a data distribution model. The queue control module monitors the running condition of the message queue module, and comprises the number of message queues, the length of the message queues, the throughput rate of the message queues, and the corresponding relation between data related to specific data characteristics and the message queues. The message queue is a first-in first-out linear table, and the data enqueued and dequeued by the independent message queue has the same data characteristic. When the queue control module monitors that the length of distributed data in a certain type of data message queue exceeds a specified warning threshold value and lasts for a certain time threshold value, the processing capacity of the current certain type of data pipe section is judged to be insufficient, new management needs to be applied to participate in data distribution, after the data is successfully applied, the data type and the message queue are registered, the data processing module can provide calling for the distribution processing module and data processing service, the maximum and minimum message queue number can be configured for each type of data message queue independently, the maximum message queue number is the maximum number for processing certain type of data message queues, and the application cannot be continued after the capacity expansion reaches the maximum number. If the data length in the single message queue exceeds the specified rejection threshold value, the rejection strategy is started, the message queue stops receiving the data, and the distribution processing module distributes the data rejected to the abnormal data cache bank for processing. When the queue control module monitors that the time when the length of a certain type of data message queue is zero exceeds a specified idle threshold value, the message queue is recycled and destroyed, resources are released, and the system overhead is reduced until the idle message queue of a certain data type is not destroyed after the minimum number of the message queues is reached. The message queue module realizes the operations of creating, destroying, maintaining the state of the message queue, pushing the data in the message queue, reading the data in the message queue and the like, each data type can correspond to a plurality of message queues to realize the load balance of data distribution, the message queue number and the throughput can be self-adapted along with the concurrent transmission of the data acquisition service by dynamically adjusting the message queue of the message queue module, the flexibility and the processing timeliness of the system are enhanced, and the message queue distribution efficiency can be preferentially ensured for the service data with high real-time requirement.
Further, still include: and the distribution processing module is used for carrying out data analysis according to the received remote signaling and remote measuring data message to obtain the data type of the remote signaling and remote measuring data message, and distributing the remote signaling and remote measuring data message to a corresponding third target message queue according to the preset corresponding relation between the data type and the queue type parameter.
More specifically, the distribution processing module of this embodiment is configured to parse a packet according to a communication protocol, generate a data object, check the rationality of the data object, deliver an abnormal data service when the check is abnormal, classify data according to importance based on data characteristics when the check passes, query the queue control module to obtain a current state of a queue and a specific distribution queue, and distribute the data object to the specific queue, thereby implementing data distribution processing.
Further, still include: and the transfer judging module is used for judging whether the cache message amount in the third target message queue is smaller than a preset maximum message amount threshold value or not, judging whether the total amount of the third target message queue is smaller than an upper limit of the queue amount or not, and transferring the remote signaling and remote measuring data message to the abnormal data cache library if the total amount of the third target message queue is not smaller than the upper limit of the queue amount.
It should be noted that the abnormal data cache library of this embodiment may obtain the current queue blocking data and the abnormal data, and process the queue blocking data by using various means such as real-time library caching, database persistence, and the like, so as to meet the requirement of data integrity.
More specifically, the data node cluster shown in fig. 3 is a data uploading node set formed by a large number of charging facilities, and is a source for collecting system data, the charging facilities establish communication after registering with the traffic monitoring service, and are connected with each other in a long Socket protocol, and the charging facilities upload remote signaling, remote measuring, and service data communication messages periodically or in a burst manner. The flow monitoring module is used for managing the flow of the charging facility and the safety of the data uploading, and a monitoring algorithm of the flow monitoring module is based on updating and detecting the message frequency and counting the delivery data flow value of the equipment in a fixed time window according to a certain time interval. When the interaction frequency detection exceeds the threshold or the flow exceeds the threshold, the flow monitoring service judges that the equipment is abnormal, the connection with the equipment is actively disconnected, the equipment is listed in a temporary blacklist, the charging facility limits the equipment to send message data within a certain period until the blacklist is removed, and the disturbance of the abnormal movement of the charging equipment to the system is avoided.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A charging facility data transmission dynamic control method is characterized by comprising the following steps:
receiving a remote signaling telemetry data message sent by charging pile equipment, and sending the remote signaling telemetry data message to a message queue for caching;
when detecting that the cache message amount in the message queue is larger than a preset first message amount threshold value and the out-of-limit accumulation time exceeds a preset first time threshold value, acquiring an attribute parameter of a first target message queue, wherein the first target message queue is the message queue of which the cache message amount in the message queue exceeds the preset message amount threshold value and the out-of-limit accumulation time exceeds the first time threshold value;
and establishing an extended message queue for data transmission according to the attribute parameters, wherein the attribute parameters of the extended message queue are consistent with the target message queue.
2. The method according to claim 1, wherein the establishing an extended message queue according to the attribute parameter specifically includes:
classifying the first target message queue according to a queue type parameter in the attribute parameters to obtain a plurality of first message queue type sets;
determining the upper limit value of the queue number corresponding to each first message queue type set according to the corresponding relation between the preset queue type parameters and the upper limit value of the queue number;
and quantitatively establishing a plurality of extended message queues according to the attribute parameters and the queue number upper limit value corresponding to each message queue type set, so that the number of the message queues of the same type is not greater than the queue number upper limit value.
3. The method of claim 1, further comprising:
when detecting that the message buffer amount in the message queue or the extended message queue is zero and the idle accumulated time exceeds a preset second time threshold, determining a second target message queue, wherein the second target message queue is the message queue and/or the extended message queue, the message buffer amount is zero, and the idle accumulated time exceeds the preset second time threshold;
destroying the second target message queue.
4. The method according to claim 3, wherein the destroying the second target message queue specifically comprises:
classifying the second target message queues according to queue type parameters in the attribute parameters to obtain a plurality of second message queue type sets;
determining a queue number lower limit value corresponding to each second message queue type set according to a corresponding relation between a preset queue type parameter and a queue number upper limit;
and quantitatively destroying a plurality of second target message queues according to the queue number lower limit value corresponding to each message queue type set, so that the number of the message queues of the same type is not less than the queue number lower limit value.
5. The method of claim 2, further comprising:
performing data analysis according to the received remote signaling and telemetry data message to obtain the data type of the remote signaling and telemetry data message;
and distributing the remote signaling telemetry data message to a corresponding third target message queue according to the corresponding relation between the preset data type and the queue type parameter.
6. The method of claim 5, wherein distributing the remote signaling telemetry data message to a corresponding third target message queue further comprises:
and judging whether the cache message amount in the third target message queue is smaller than a preset maximum message amount threshold value or not, and whether the total amount of the third target message queue is smaller than an upper limit of the queue amount or not, if not, transferring the remote signaling telemetry data message to an abnormal data cache library.
7. A charging facility data transmission dynamic control system, comprising: the system comprises a message receiving module, a queue control module and a message queue transmission module;
the message queue transmission module comprises a plurality of message queues;
the message receiving module is specifically used for receiving a remote signaling and telemetry data message sent by the charging pile equipment and sending the remote signaling and telemetry data message to a message queue for caching;
the queue control module is specifically configured to, when it is detected that the amount of the cache messages in the message queue is greater than a preset first message amount threshold and the out-of-limit accumulation time exceeds a preset first time threshold, obtain an attribute parameter of a first target message queue, where the first target message queue is a message queue in which the amount of the cache messages in the message queue exceeds the preset message amount threshold and the out-of-limit accumulation time exceeds the first time threshold, and establish an extended message queue for data transmission according to the attribute parameter, where the attribute parameter of the extended message queue is consistent with the target message queue.
8. The charging facility data transmission dynamic control system of claim 7, wherein the queue control module is further configured to:
and when the message buffer amount in the message queue or the extended message queue is detected to be zero and the idle accumulated time exceeds a preset second time threshold, determining a second target message queue, wherein the second target message queue is the message queue and/or the extended message queue, the message buffer amount is zero, the idle accumulated time exceeds the preset second time threshold, and destroying the second target message queue.
9. The charging facility data transmission dynamic control system of claim 7, further comprising: and the distribution processing module is used for carrying out data analysis according to the received remote signaling and remote measuring data message to obtain the data type of the remote signaling and remote measuring data message, and distributing the remote signaling and remote measuring data message to a corresponding third target message queue according to the corresponding relation between the preset data type and the queue type parameter.
10. The charging facility data transmission dynamic control system of claim 7, further comprising: and the transfer judging module is used for judging whether the cache message amount in the third target message queue is smaller than a preset maximum message amount threshold value or not, judging whether the total amount of the third target message queue is smaller than an upper limit of the queue amount or not, and if not, transferring the remote signaling and telemetry data message to an abnormal data cache library.
CN201911357002.5A 2019-12-25 2019-12-25 Charging facility data transmission dynamic control method and system Withdrawn CN111131082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911357002.5A CN111131082A (en) 2019-12-25 2019-12-25 Charging facility data transmission dynamic control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911357002.5A CN111131082A (en) 2019-12-25 2019-12-25 Charging facility data transmission dynamic control method and system

Publications (1)

Publication Number Publication Date
CN111131082A true CN111131082A (en) 2020-05-08

Family

ID=70503591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911357002.5A Withdrawn CN111131082A (en) 2019-12-25 2019-12-25 Charging facility data transmission dynamic control method and system

Country Status (1)

Country Link
CN (1) CN111131082A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881165A (en) * 2020-07-15 2020-11-03 杭州安恒信息技术股份有限公司 Data aggregation method and device and computer readable storage medium
CN112039800A (en) * 2020-09-07 2020-12-04 北京航天自动控制研究所 Method and device for sending telemetering data
CN112988413A (en) * 2021-02-07 2021-06-18 杭州复杂美科技有限公司 Trade batch broadcasting dynamic adjustment method, computer equipment and storage medium
CN113177883A (en) * 2021-05-18 2021-07-27 深圳市数存科技有限公司 Data queue-based arrangement transmission system
CN114885018A (en) * 2022-06-22 2022-08-09 中国平安财产保险股份有限公司 Message pushing method, device, equipment and storage medium based on double queues
CN115134320A (en) * 2022-08-25 2022-09-30 四川汉唐云分布式存储技术有限公司 Transaction system for determining time sequence based on message distribution

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071848A1 (en) * 2003-09-29 2005-03-31 Ellen Kempin Automatic registration and deregistration of message queues
US20150271256A1 (en) * 2014-03-19 2015-09-24 Dell Products L.P. Message Processing Using Dynamic Load Balancing Queues in a Messaging System
CN105183549A (en) * 2015-08-27 2015-12-23 携程计算机技术(上海)有限公司 Automatic ticketing system based on task assignment
CN108574645A (en) * 2017-03-14 2018-09-25 华为技术有限公司 A kind of array dispatching method and device
CN109327486A (en) * 2017-07-31 2019-02-12 西门子公司 Data are uploaded to the method for cloud platform, system and gateway and machine readable media
CN109660607A (en) * 2018-12-05 2019-04-19 北京金山云网络技术有限公司 A kind of service request distribution method, method of reseptance, device and server cluster

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071848A1 (en) * 2003-09-29 2005-03-31 Ellen Kempin Automatic registration and deregistration of message queues
US20150271256A1 (en) * 2014-03-19 2015-09-24 Dell Products L.P. Message Processing Using Dynamic Load Balancing Queues in a Messaging System
CN105183549A (en) * 2015-08-27 2015-12-23 携程计算机技术(上海)有限公司 Automatic ticketing system based on task assignment
CN108574645A (en) * 2017-03-14 2018-09-25 华为技术有限公司 A kind of array dispatching method and device
CN109327486A (en) * 2017-07-31 2019-02-12 西门子公司 Data are uploaded to the method for cloud platform, system and gateway and machine readable media
CN109660607A (en) * 2018-12-05 2019-04-19 北京金山云网络技术有限公司 A kind of service request distribution method, method of reseptance, device and server cluster

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881165A (en) * 2020-07-15 2020-11-03 杭州安恒信息技术股份有限公司 Data aggregation method and device and computer readable storage medium
CN111881165B (en) * 2020-07-15 2023-03-24 杭州安恒信息技术股份有限公司 Data aggregation method and device and computer readable storage medium
CN112039800A (en) * 2020-09-07 2020-12-04 北京航天自动控制研究所 Method and device for sending telemetering data
CN112039800B (en) * 2020-09-07 2024-02-20 北京航天自动控制研究所 Method and device for sending telemetry data
CN112988413A (en) * 2021-02-07 2021-06-18 杭州复杂美科技有限公司 Trade batch broadcasting dynamic adjustment method, computer equipment and storage medium
CN113177883A (en) * 2021-05-18 2021-07-27 深圳市数存科技有限公司 Data queue-based arrangement transmission system
CN113177883B (en) * 2021-05-18 2024-06-07 深圳市数存科技有限公司 Arrangement transmission system based on data queue
CN114885018A (en) * 2022-06-22 2022-08-09 中国平安财产保险股份有限公司 Message pushing method, device, equipment and storage medium based on double queues
CN114885018B (en) * 2022-06-22 2023-08-29 中国平安财产保险股份有限公司 Message pushing method, device, equipment and storage medium based on double queues
CN115134320A (en) * 2022-08-25 2022-09-30 四川汉唐云分布式存储技术有限公司 Transaction system for determining time sequence based on message distribution
CN115134320B (en) * 2022-08-25 2023-01-03 四川汉唐云分布式存储技术有限公司 Transaction system for determining time sequence based on message distribution

Similar Documents

Publication Publication Date Title
CN111131082A (en) Charging facility data transmission dynamic control method and system
CN110213371B (en) Message consumption method, device, equipment and computer storage medium
CN110233860B (en) Load balancing method, device and system
CN110535713B (en) Monitoring management system and monitoring management method
CN103220173B (en) A kind of alarm monitoring method and supervisory control system
CN111200538A (en) Monitoring method and device for intelligent equipment
CN101192992B (en) Complementary collection system and method for performance data of telecom network management system
CN101098260A (en) Distributed equipment monitor management method, equipment and system
CN102487494B (en) Short message flow control method and system
CN101656013A (en) Vehicle-mounted monitoring alarm terminal, system and alarm method
CN110809060B (en) Monitoring system and monitoring method for application server cluster
CN108924202B (en) Distributed cluster data disaster tolerance method and related device
CN104967537A (en) Alarm information pushing method and device
CN111538563A (en) Event analysis method and device for Kubernetes
CN105991412A (en) Method and device for pushing message
CN107509119A (en) A kind of monitoring alarm method and device
CN107579858A (en) The alarm method and device of cloud main frame, communication system
CN105187554A (en) Method and system for monitoring server performance
CN114500543B (en) Distributed elastic edge acquisition system and application method thereof
EP1179914A3 (en) System, method and record medium for packet transmission capable of reducing delay due to resource assignment
CN110011843A (en) Alarm information processing method, electronic equipment and storage medium
CN109560951A (en) A kind of configuration method, alarm real-time statistical method, server and system
CN111182479A (en) Information sending control method and device
CN111352746B (en) Message flow limiting method and storage medium
CN107231284B (en) Message sending method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 501-503, annex building, Huaye building, No.1-3 Chuimao new street, Xihua Road, Yuexiu District, Guangzhou City, Guangdong Province 510000

Applicant after: China Southern Power Grid Power Technology Co.,Ltd.

Address before: Room 501-503, annex building, Huaye building, No.1-3 Chuimao new street, Xihua Road, Yuexiu District, Guangzhou City, Guangdong Province 510000

Applicant before: GUANGDONG ELECTRIC POWER SCIENCE RESEARCH INSTITUTE ENERGY TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
WW01 Invention patent application withdrawn after publication

Application publication date: 20200508

WW01 Invention patent application withdrawn after publication