CN113542061B - Data transmission control method and related device - Google Patents

Data transmission control method and related device Download PDF

Info

Publication number
CN113542061B
CN113542061B CN202110774534.XA CN202110774534A CN113542061B CN 113542061 B CN113542061 B CN 113542061B CN 202110774534 A CN202110774534 A CN 202110774534A CN 113542061 B CN113542061 B CN 113542061B
Authority
CN
China
Prior art keywords
data
data transmission
charging pile
charging
actual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110774534.XA
Other languages
Chinese (zh)
Other versions
CN113542061A (en
Inventor
黄都伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sungrow Power Supply Co Ltd
Original Assignee
Sungrow Power Supply 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 Sungrow Power Supply Co Ltd filed Critical Sungrow Power Supply Co Ltd
Priority to CN202110774534.XA priority Critical patent/CN113542061B/en
Publication of CN113542061A publication Critical patent/CN113542061A/en
Application granted granted Critical
Publication of CN113542061B publication Critical patent/CN113542061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/60Monitoring or controlling charging stations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • 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
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • 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/12Electric charging stations
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mechanical Engineering (AREA)
  • Transportation (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides a data transmission control method and a related device, which are used for acquiring a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity in the data transmission process between a charging platform and a charging pile, realizing data transmission monitoring during data transmission between the charging pile and the charging platform and improving the reliability of data transmission. Further, under the condition that the frame receiving ratio is smaller than the preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and preset data frame loss operation is executed. In other words, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.

Description

Data transmission control method and related device
Technical Field
The present invention relates to the field of data transmission, and in particular, to a data transmission control method and a related apparatus.
Background
The charging pile can be fixed on the ground or on the wall, is installed in public buildings (public buildings, shopping malls, public parking lots and the like) and residential quarter parking lots or charging stations, and can charge various types of electric vehicles according to different voltage levels.
In order to facilitate the management of charging the stake, set up corresponding platform that charges and monitor the operating condition who charges the stake, in the monitor process, can carry out data transmission between stake and the platform that charges.
At present, when data transmission is performed between a charging pile and a charging platform, the data transmission reliability is low, and therefore a method capable of improving the data transmission reliability is urgently needed.
Disclosure of Invention
In view of this, the present invention provides a data transmission control method and a related apparatus, so as to solve the problem of low data transmission reliability when data transmission is performed between a charging pile and a charging platform.
In order to solve the technical problems, the invention adopts the following technical scheme:
a data transmission control method is applied to a charging platform and comprises the following steps:
acquiring a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity in the data transmission process of the charging platform and the charging pile; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
under the condition that the frame receiving ratio is smaller than a preset threshold value, acquiring reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process based on communication with the charging pile;
and comparing the reference target data with the actual target data, determining a lost data frame, and executing a preset data frame loss operation.
Optionally, obtaining a frame reception ratio calculated based on the actual data transmission amount and the reference data transmission amount includes:
acquiring an actual data transmission quantity of target data transmitted in a preset time period and a reference data transmission quantity corresponding to the target data;
and calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain a frame receiving ratio.
Optionally, the obtaining an actual data transmission amount of the target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data includes:
under the condition that the data transmission state is that the charging platform transmits target data to the charging pile, sending a first data acquisition instruction to the charging pile;
receiving a first actual data transmission quantity sent by the charging pile; the first actual data transmission quantity is the actual data transmission quantity within the preset time period and recorded in the process of receiving the target data and output by the charging pile;
and acquiring a first reference data transmission quantity recorded in a preset time period in the process of outputting the target data by the charging platform.
Optionally, the obtaining, based on the communication with the charging pile, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process includes:
sending a second data acquisition instruction to the charging pile;
receiving first data stored in a charging pile log output by the charging pile; the first data are target data which are successfully received and stored in a charging pile log in the charging pile receiving process;
and acquiring target data which is stored in a charging platform log simultaneously in the process of outputting the target data by the charging platform.
Optionally, receiving first data stored in a charging pile log output by the charging pile includes:
and receiving first data stored in a charging pile log output by the charging pile through a preset communication mode.
Optionally, comparing the reference target data with the actual target data to determine a lost data frame, including:
and comparing the first data with the target data to determine a lost data frame.
Optionally, the obtaining an actual data transmission amount of the target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data includes:
under the condition that the data transmission state is that the charging pile transmits target data to the charging platform, a third data acquisition instruction is sent to the charging pile;
receiving a second reference data transmission quantity output by the charging pile; the second reference data transmission quantity is a reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile;
and acquiring a second actual data transmission quantity within a preset time period recorded in the process of receiving the target data by the charging platform.
Optionally, the obtaining, based on the communication with the charging pile, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process includes:
sending a fourth data acquisition instruction to the charging pile;
receiving second data stored in a charging pile log acquired and output by the charging pile; the second data are target data recorded in a charging pile log in the charging pile sending process;
acquiring third data stored by the charging platform; and the third data is the target data which is successfully received and stored in the charging pile log in the process of receiving the target data by the charging platform.
Optionally, comparing the reference target data with the actual target data to determine a lost data frame, including:
and comparing the second data with the third data to determine a lost data frame.
Optionally, a preset data frame loss operation is performed, including:
issuing a charging pile restarting instruction to the charging pile so as to enable the charging pile to execute restarting operation;
generating and outputting data transmission fault information; the data transmission failure information includes the missing data frame.
Optionally, the executing the preset data frame loss operation further includes:
under the condition that the data transmission state is that the charging platform transmits target data to the charging pile, determining that the data transmission fault is a charging pile data receiving fault;
and under the condition that the data transmission state is that the charging pile transmits target data to the charging platform, determining that the data transmission fault is a charging platform data receiving fault.
A data transmission control method is applied to a charging pile, and comprises the following steps:
in the data transmission process between a charging platform and the charging pile, the charging platform is communicated with the charging platform so that the charging platform can obtain a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
and under the condition that the charging platform determines that the frame receiving ratio is smaller than a preset threshold value, communicating with the charging platform so as to enable the charging platform to acquire reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process, comparing the reference target data with the actual target data, determining a lost data frame, and executing a preset data frame loss operation.
Optionally, communicating with the charging platform to enable the charging platform to obtain a frame reception ratio calculated based on the actual data transmission amount and the reference data transmission amount includes:
and communicating with the charging platform to enable the charging platform to acquire an actual data transmission quantity of target data transmitted in a preset time period and a reference data transmission quantity corresponding to the target data, and calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain a frame receiving ratio.
Optionally, communicating with the charging platform, so that the charging platform obtains an actual data transmission amount of target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data, including:
receiving a first data acquisition instruction sent by the charging platform under the condition that the data transmission state is that the charging platform transmits target data to the charging pile;
acquiring a first actual data transmission quantity; the first actual data transmission quantity is the actual data transmission quantity within the preset time period and recorded in the process of receiving the target data and output by the charging pile;
and sending the first actual data transmission quantity to the charging platform so that the charging platform receives the first actual data transmission quantity sent by the charging pile and acquires a first reference data transmission quantity recorded in a preset time period in the process of outputting the target data by the charging platform.
Optionally, communicating with the charging platform to enable the charging platform to obtain reference target data that should be transmitted during data transmission and actual target data that is successfully transmitted in an actual data transmission process, includes:
receiving a second data acquisition instruction sent by the charging platform;
acquiring first data stored in a charging pile log; the first data are successfully received target data which are simultaneously stored in a charging pile log in the charging pile receiving process;
and sending first data to the charging platform so that the charging platform receives the first data and acquires target data stored in a charging platform log simultaneously in the process of outputting the target data by the charging platform.
Optionally, communicating with the charging platform, so that the charging platform obtains an actual data transmission amount of target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data, including:
receiving a third data acquisition instruction sent by a charging platform under the condition that the data transmission state is that the charging pile transmits target data to the charging platform;
acquiring a second reference data transmission quantity, wherein the second reference data transmission quantity is a reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile;
and sending the second reference data transmission quantity to the charging platform so that the charging platform receives the second reference data transmission quantity and obtains a second actual data transmission quantity within a preset time period recorded in the process of receiving the target data by the charging platform.
Optionally, communicating with the charging platform to enable the charging platform to obtain reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process, where the method includes:
receiving a fourth data acquisition instruction sent by the charging platform;
acquiring second data stored in a charging pile log, wherein the second data is target data recorded in the charging pile log in the process of sending the target data by the charging pile;
sending second data to the charging platform so that the charging platform receives the second data and acquires third data stored by the charging platform; and the third data is the target data which is successfully received and stored in the charging pile log in the process of receiving the target data by the charging platform.
Optionally, the method further comprises:
receiving a charging pile restarting instruction sent by the charging platform in the process of executing the operation of losing the preset data frame;
and responding to the charging pile restarting instruction, and executing restarting operation.
A data transmission control device is applied to a charging platform and comprises:
the rate acquisition module is used for acquiring a frame receiving rate calculated based on actual data transmission quantity and reference data transmission quantity in the data transmission process of the charging platform and the charging pile; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
the data acquisition module is used for acquiring reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process based on communication with the charging pile under the condition that the frame receiving ratio is smaller than a preset threshold value;
and the data operation and maintenance module is used for comparing the reference target data with the actual target data, determining a lost data frame and executing a preset data frame loss operation.
A data transmission control device is applied to a charging pile, and comprises:
the first data communication module is used for communicating with the charging platform in the data transmission process between the charging platform and the charging pile so as to enable the charging platform to obtain a frame receiving ratio calculated based on the actual data transmission quantity and the reference data transmission quantity; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
and the second data communication module is used for communicating with the charging platform under the condition that the charging platform determines that the frame receiving ratio is smaller than a preset threshold value, so that the charging platform acquires reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process, compares the reference target data with the actual target data, determines a lost data frame and executes a preset data frame loss operation.
A storage medium comprising a stored program, wherein the program executes the above-mentioned data transmission control method applied to a charging platform, or the above-mentioned data transmission control method applied to a charging pile.
An electronic device, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls the program and is used for executing the data transmission control method applied to the charging platform or the data transmission control method applied to the charging pile.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a data transmission control method and a related device, wherein in the process of data transmission between a charging platform and a charging pile, a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity is obtained, so that data transmission monitoring during data transmission between the charging pile and the charging platform is realized, and the data transmission reliability is improved. Further, when the frame reception ratio is smaller than a preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and a preset data frame loss operation is executed. In other words, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method of controlling data transmission applied to a charging platform according to an embodiment of the present invention;
fig. 2 is a schematic view of a scene of communication between a charging pile and a charging platform according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for controlling data transmission applied to a charging platform according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for controlling data transmission according to another embodiment of the present invention;
fig. 5 is a flowchart of a method for controlling data transmission according to another embodiment of the present invention;
fig. 6 is a flowchart of a method of providing a fifth data transmission control method according to an embodiment of the present invention;
fig. 7 is a flowchart of a method of providing a sixth data transmission control method according to an embodiment of the present invention;
fig. 8 is a flowchart of a method of controlling data transmission applied to a charging pile according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a data transmission control device applied to a charging platform according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a data transmission control device applied to a charging pile according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
At present, when data transmission is carried out between a charging pile and a charging platform, monitoring of data transmission and operation and maintenance strategies when frame loss is serious are lacked, and the reliability of data transmission is low.
Therefore, the invention provides a data transmission control method and a related device, in the process of data transmission between a charging platform and a charging pile, the frame receiving rate calculated based on the actual data transmission quantity and the reference data transmission quantity is obtained, the data transmission monitoring during the data transmission between the charging pile and the charging platform is realized, and the data transmission reliability is improved. Further, when the frame reception ratio is smaller than a preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and a preset data frame loss operation is executed. In other words, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.
On the basis of the above, an embodiment of the present invention provides a data transmission control method, which is applied to a charging platform SP, and referring to fig. 1, the data transmission control method includes:
s11, in the data transmission process of the charging platform and the charging pile, obtaining a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity.
Referring to fig. 2, the charging pile Charger and the charging platform SP establish a connection in a GPRS (General Packet Radio Service)/ETH (Ethernet)/WIFI (Wireless Fidelity, mobile hotspot) manner, and then perform data transmission.
The data transmission process in this embodiment is divided into two cases:
1. and the charging platform transmits target data to the charging pile.
The target data in this embodiment may be charging data, control instructions, and the like, and the content of the target data is not required in this embodiment.
In the process that the charging platform transmits the target data to the charging pile, the charging platform stores the target data transmitted in real time in a charging platform log, and the target data to be transmitted is recorded in the charging platform log. And, the charging platform also records the total number of the transmitted data frames in the unit time.
The charging pile receives the target data, stores the target data which is successfully received to a corresponding position in the process of receiving the target data, and stores the target data which is successfully received (referred to as first data in this embodiment) to a charging pile log. Meanwhile, the charging pile can record the total number of received data frames in unit time. Specifically, the charging pile embedded system may record the total number of received data frames in unit time.
In practical applications, during data transmission, data frames may be lost due to communication failure or network delay, and the total number of data frames of the first data may be less than the total number of data frames of the target data to be transmitted.
2. And the charging pile transmits target data to the charging platform.
In this case, during the process of transmitting the target data to the charging platform, the charging pile stores the target data transmitted in real time in a charging pile log, where the target data to be transmitted (referred to as second data in this embodiment) is recorded in the charging pile log. And, the electric pile still can record the total number of sending data frame in unit time.
The charging platform receives the target data, stores the target data successfully received to a corresponding position in the process of receiving the target data, and stores the target data successfully received (referred to as third data in this embodiment) to the charging pile platform. At the same time, the total number of received data frames per unit time is also recorded.
In practical applications, during data transmission, data frames may be lost due to communication failure or network delay, and the total number of data frames of the third data may be less than the total number of data frames of the second data to be transmitted.
Generally, when calculating the frame reception ratio, the frame reception ratio is counted for a predetermined period of time, which may be 24 hours.
Specifically, referring to fig. 3, obtaining the frame reception ratio calculated based on the actual data transmission amount and the reference data transmission amount may include:
s21, acquiring an actual data transmission quantity of the target data transmitted in a preset time period and a reference data transmission quantity corresponding to the target data.
The actual data transfer amount is determined based on the total number of received data frames described above, and the reference data transfer amount is determined based on the total number of transmitted data frames described above.
Taking the preset time period of 24 hours as an example, for the actual data transmission amount, the total number of the data frames sent in the unit time is added, and the total number of the data frames sent in 24 hours is obtained through calculation, namely the actual data transmission amount.
And for the reference data transmission quantity, adding the total number of the received data frames in the recording unit time, and calculating to obtain the total number of the received data frames in 24 hours, namely the reference data transmission quantity.
And S22, calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain a frame receiving ratio.
In this embodiment, a calculation formula of the frame reception ratio is described in the preset frame reception ratio calculation rule.
Where frame reception ratio = actual data transmission quantity/reference data transmission quantity.
That is to say, the frame reception ratio from the charging pile to the charging platform = the total number of data frames received by the charging platform ÷ the total number of data frames sent by the charging pile, and the frame reception ratio from the charging platform to the charging pile = the total number of data frames received by the charging pile ÷ the total number of data frames sent by the charging platform.
And S12, under the condition that the frame receiving ratio is smaller than a preset threshold value, acquiring reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process based on communication with the charging pile.
In this embodiment, the preset threshold may be 98%, the frame receiving ratio is less than 98%, that is, the frame loss rate is greater than 2%, which indicates that the data frame is seriously lost, if data transmission is continued, a large amount of data frames are lost, the data frame received by the receiving end is incomplete, and subsequent processing cannot be performed according to the received data frame. Therefore, the operation and maintenance work of data frame loss is required in this embodiment.
Specifically, based on the communication with the charging pile, reference target data (theoretically, data to be transmitted) to be transmitted during data transmission and actual target data (actually, successfully transmitted data) to be successfully transmitted during actual data transmission are acquired.
If the frame receiving rate is not less than 98%, the charging pile can be informed, and the data can be normally received.
S13, comparing the reference target data with the actual target data, determining a lost data frame, and executing a preset data frame loss operation.
Specifically, data frame comparison may be performed on the reference target data and the actual target data, and data frame comparison may be performed on one frame by one frame, so that a lost data frame of the actual target data relative to the reference target data may be determined.
In another embodiment of the present invention, the performing of the preset data frame loss operation may be:
1) And issuing a charging pile restarting instruction to the charging pile so as to enable the charging pile to execute a restarting operation.
Specifically, the communication module or other modules of charging pile have a problem, namely, due to the self reason of the charging pile, a data receiving fault occurs, at the moment, a charging pile restarting instruction is sent by the charging platform, and the problem that the lost data frame is too high is solved by restarting.
2) Generating and outputting data transmission fault information; the data transmission failure information includes the missing data frame.
Specifically, an intelligent operation and maintenance work order can be created, wherein the intelligent operation and maintenance work order comprises the lost data frames, and the intelligent operation and maintenance work order is issued through channels such as short messages or WeChats so as to remind operation and maintenance personnel that the charging pile fails, and further manual processing such as log analysis is performed.
In addition, besides the above lost data frame, data receiving faults of the charging platform and the charging pile can be determined.
Specifically, the data transmission fault is determined as a charging pile data receiving fault under the condition that the data transmission state is that the charging platform transmits the target data to the charging pile, and the data transmission fault is determined as a charging platform data receiving fault under the condition that the data transmission state is that the charging pile transmits the target data to the charging platform.
In this embodiment, if the frame receiving ratio is smaller than the preset threshold in the process of sending data from the data sending end to the data receiving end, it is considered that the data receiving at the data receiving end is a data receiving failure.
The data sending end is one of a charging platform or a charging pile, when the data sending end is the charging platform, the data receiving end is the charging pile, and when the data sending end is the charging pile, the data receiving end is the charging platform.
In the embodiment, in the data transmission process between the charging platform and the charging pile, the frame receiving ratio calculated based on the actual data transmission quantity and the reference data transmission quantity is obtained, so that data transmission monitoring during data transmission between the charging pile and the charging platform is realized, and the data transmission reliability is improved. Further, under the condition that the frame receiving ratio is smaller than a preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and preset data frame loss operation is executed. Namely, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.
In addition, in the embodiment, the method for optimizing the data frame loss and the intelligent operation and maintenance of the charging pile can reduce cost and improve efficiency, and reduce the data loss rate of the charging pile and the charging platform. When the data loss rate of the charging pile and the charging platform is too high, the problem that data frames are seriously lost during data transmission is solved automatically in the modes of restarting the charging pile and the like.
In the above embodiments, the actual data transmission amount of the target data transmitted within the preset time period and the reference data transmission amount corresponding to the target data are obtained, and when the data are obtained, the data obtaining processes are different according to different data transmission states, which are now described separately.
1. And the data transmission state is that the charging platform transmits target data to the charging pile.
In this embodiment, the data transmission state is used to determine a data sending end and a data receiving end, and in this embodiment, the charging platform transmits target data to the charging pile.
Referring to fig. 4, acquiring an actual data transmission amount of target data transmitted in a preset time period and a reference data transmission amount corresponding to the target data may include:
s31, the charging platform sends a first data acquisition instruction to the charging pile.
In this embodiment, since the charging platform transmits the target data to the charging pile, the first data acquisition instruction is used to acquire the actual data transmission amount within the preset time period recorded in the process of receiving the target data by the charging pile.
S32, the charging pile acquires the first actual data transmission quantity.
And S33, the charging pile sends the first actual data transmission quantity to the charging platform.
The first actual data transmission quantity is the actual data transmission quantity, output by the charging pile, within the preset time period and recorded in the process of receiving the target data.
According to the above, the charging pile receives the target data, and stores the target data successfully received to the corresponding position in the process of receiving the target data, and also stores the target data successfully received (referred to as the first data in this embodiment) to the charging pile log. Meanwhile, the charging pile can record the total number of received data frames in unit time.
Therefore, the first actual data transmission amount in this embodiment is the total number of received data frames within the preset time period recorded by the charging pile.
And S34, acquiring a first reference data transmission quantity recorded in a preset time period in the process of outputting the target data by the charging platform.
According to the above discussion, in the process of transmitting the target data to the charging pile, the charging platform records the total number of the data frames sent in unit time. In this embodiment, the total number of the sent data frames recorded in the preset time period is the first reference data transmission amount.
On the basis of this embodiment, referring to fig. 5, "acquiring, based on communication with the charging pile, reference target data to be transmitted during data transmission and actual target data successfully transmitted during actual data transmission" may include:
and S41, the charging platform sends a second data acquisition instruction to the charging pile.
S42, the charging pile acquires first data stored in the charging pile log.
In this embodiment, the charging pile receives the target data, and stores the target data that is successfully received to a corresponding position in the process of receiving the target data, and in addition, stores the target data that is successfully received (referred to as first data in this embodiment) to the charging pile log.
The first data in this embodiment is also data stored for a preset time period.
S43, the charging pile sends the first data to the charging platform.
In this embodiment, the charging pile uploads the first data to the charging platform in an FTP (File Transfer Protocol) or HTTP (Hypertext Transfer Protocol) manner.
In practical application, when first data are uploaded, the charging pile logs can be directly uploaded, and the first data in the charging pile logs can also be uploaded.
And S44, acquiring the target data stored in the charging platform log in the process of outputting the target data by the charging platform.
In this embodiment, the target data stored in the charging platform log is data that should be output within a preset time period.
On the basis, the reference target data and the actual target data are compared to determine a lost data frame, that is, the first data and the target data are compared to determine the lost data frame.
That is to say, in this embodiment, the data to be transmitted and the data that is actually and successfully received are compared, and when the comparison is performed, the comparison may be performed frame by frame, for example, the first frame of the first data and the first frame of the target data are compared, and if the comparison is consistent, it is determined that the data frame is not lost. If not, the data frame is lost.
2. And the data transmission state is that the charging pile transmits target data to the charging platform.
Referring to fig. 6, acquiring an actual data transmission amount of target data transmitted in a preset time period and a reference data transmission amount corresponding to the target data, includes:
and S51, the charging platform sends a third data acquisition instruction to the charging pile.
And S52, the charging pile acquires the second reference data transmission quantity.
And the second reference data transmission quantity is a reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile.
And S53, the charging pile sends the second reference data transmission quantity to the charging platform.
And S54, the charging platform acquires a second actual data transmission quantity in a preset time period recorded in the process of receiving the target data.
In this embodiment, different from the above-described charging platform transmitting the target data to the charging pile, the reference data transmission amount is recorded by the charging pile, and the actual data transmission amount is recorded by the charging platform.
On this basis, referring to fig. 7, based on the communication with the charging pile, acquiring reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process may include:
and S61, the charging platform sends a fourth data acquisition instruction to the charging pile.
S62, the charging pile acquires second data.
The second data are target data recorded in a charging pile log in the process of sending the target data by the charging pile.
The second data recorded in this embodiment is also within a preset time period.
And S63, the charging pile sends second data to the charging platform.
And S64, the charging platform acquires third data stored by the charging platform.
The third data are the target data which are successfully received and stored in the charging pile log in the process that the charging platform receives the target data.
The third data recorded in this embodiment is also within the preset time period.
In this embodiment, different from the above-mentioned charging platform transmitting the target data to the charging pile, the successfully received data is stored in the charging platform, and the output data is stored in the charging pile.
On the basis, the reference target data and the actual target data are compared to determine a lost data frame, that is, the reference target data and the actual target data are compared to determine a lost data frame.
In this embodiment, a determination process of data frame loss when the charging pile sends data to the charging platform and when the charging platform sends data to the charging pile is given, and then the scheme in this embodiment can determine the data frame loss, so as to implement operation and maintenance operations when the data frame is lost in the data transmission process.
In addition, in this embodiment, after the log is pulled, the lost data frame can be further determined by comparing the pulled log with the platform log. Let the operation and maintenance of filling electric pile more intelligent, when filling electric pile or charging platform and taking place unusually, operation and maintenance personnel can in time discover the data frame and lose the problem.
Optionally, on the basis of the above embodiment of the data transmission control method applied to the charging platform, another embodiment of the present invention provides a data transmission control method applied to a charging pile, and with reference to fig. 8, the data transmission control method includes:
and S71, communicating with the charging platform in the data transmission process of the charging platform and the charging pile so that the charging platform obtains the frame receiving ratio calculated based on the actual data transmission quantity and the reference data transmission quantity.
The reference data transmission quantity is the data transmission quantity which is corresponding to the actual data transmission quantity and is to be transmitted.
And S72, under the condition that the charging platform determines that the frame receiving ratio is smaller than a preset threshold value, communicating with the charging platform to enable the charging platform to acquire reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process, comparing the reference target data with the actual target data, determining a lost data frame, and executing a preset data frame loss operation.
Further, communicating with the charging platform to cause the charging platform to obtain a frame reception ratio calculated based on the actual data transmission amount and the reference data transmission amount includes:
and communicating with the charging platform to enable the charging platform to acquire an actual data transmission quantity of target data transmitted in a preset time period and a reference data transmission quantity corresponding to the target data, and calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain a frame receiving ratio.
Further, communicating with the charging platform to enable the charging platform to obtain an actual data transmission amount of target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data, includes:
receiving a first data acquisition instruction sent by a charging platform under the condition that the data transmission state is that the charging platform transmits target data to the charging pile;
acquiring a first actual data transmission quantity; the first actual data transmission quantity is the actual data transmission quantity within the preset time period and recorded in the process of receiving the target data and output by the charging pile;
and sending the first actual data transmission quantity to the charging platform so that the charging platform receives the first actual data transmission quantity sent by the charging pile and acquires a first reference data transmission quantity recorded in a preset time period in the process that the charging platform outputs the target data.
Further, communicating with the charging platform to enable the charging platform to obtain reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process, includes:
receiving a second data acquisition instruction sent by the charging platform;
acquiring first data stored in a charging pile log; the first data are successfully received target data which are simultaneously stored in a charging pile log in the charging pile receiving process;
and sending first data to the charging platform so that the charging platform receives the first data and acquires target data stored in a charging platform log simultaneously in the process of outputting the target data by the charging platform.
Further, communicating with the charging platform to enable the charging platform to obtain an actual data transmission amount of target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data, includes:
receiving a third data acquisition instruction sent by the charging platform under the condition that the data transmission state is that the charging pile transmits target data to the charging platform;
acquiring a second reference data transmission quantity, wherein the second reference data transmission quantity is a reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile;
and sending the second reference data transmission quantity to the charging platform so that the charging platform receives the second reference data transmission quantity and obtains a second actual data transmission quantity within a preset time period recorded in the process of receiving the target data by the charging platform.
Further, communicating with the charging platform to enable the charging platform to obtain reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process, includes:
receiving a fourth data acquisition instruction sent by the charging platform;
acquiring second data stored in a charging pile log, wherein the second data is target data recorded in the charging pile log in the process of sending the target data by the charging pile;
sending second data to the charging platform so that the charging platform receives the second data and acquires third data stored by the charging platform; and the third data is the target data which is successfully received and stored in the charging pile log in the process of receiving the target data by the charging platform.
Further, the method also comprises the following steps:
receiving a charging pile restarting instruction sent by the charging platform in the process of executing the operation of losing the preset data frame;
and responding to the charging pile restarting instruction, and executing restarting operation.
In this embodiment, in the data transmission process between the charging platform and the charging pile, the charging platform obtains the frame reception rate calculated based on the actual data transmission amount and the reference data transmission amount, so that data transmission monitoring during data transmission between the charging pile and the charging platform is realized, and the data transmission reliability is improved. Further, under the condition that the frame receiving ratio is smaller than a preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and preset data frame loss operation is executed. Namely, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.
Optionally, on the basis of the above embodiment of the data transmission control method applied to the charging platform, another embodiment of the present invention provides a data transmission control device applied to the charging platform, and with reference to fig. 9, the data transmission control device includes:
the ratio acquisition module 11 is configured to acquire a frame reception ratio calculated based on an actual data transmission amount and a reference data transmission amount in a data transmission process between the charging platform and the charging pile; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
a data obtaining module 12, configured to, when the frame reception ratio is smaller than a preset threshold, obtain, based on communication with the charging pile, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process;
and the data operation and maintenance module 13 is configured to compare the reference target data with the actual target data, determine a lost data frame, and execute a preset data frame loss operation.
Further, the ratio acquisition module 11 includes:
the transmission quantity acquisition submodule is used for acquiring the actual data transmission quantity of the transmitted target data and the reference data transmission quantity corresponding to the target data within a preset time period;
and the ratio calculation submodule is used for calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain the frame receiving ratio.
Further, the transmission capacity acquisition submodule is specifically configured to:
under the condition that the data transmission state is that the charging platform transmits target data to the charging pile, sending a first data acquisition instruction to the charging pile, receiving a first actual data transmission quantity sent by the charging pile, and acquiring a first reference data transmission quantity within a preset time period recorded in the process that the charging platform outputs the target data;
the first actual data transmission quantity is the actual data transmission quantity within the preset time period recorded in the process of receiving the target data and output by the charging pile.
Further, the data obtaining module 12 is specifically configured to:
sending a second data acquisition instruction to the charging pile, receiving first data stored in a charging pile log output by the charging pile, and acquiring target data stored in a charging platform log simultaneously in the process of outputting the target data by the charging platform;
the first data are target data which are successfully received and stored in a charging pile log in the charging pile receiving process.
Further, when the data acquisition module 12 is used for receiving the first data stored in the charging pile log output by the charging pile, the data acquisition module is specifically configured to:
and receiving first data stored in a charging pile log output by the charging pile through a preset communication mode.
Further, the data operation and maintenance module 13 is configured to compare the reference target data with the actual target data, and when determining that a data frame is lost, specifically configured to:
and comparing the first data with the target data to determine a lost data frame.
Further, the transmission capacity acquisition submodule is specifically configured to:
under the condition that the data transmission state is that the charging pile transmits target data to the charging platform, sending a third data acquisition instruction to the charging pile, receiving a second reference data transmission quantity output by the charging pile, and acquiring a second actual data transmission quantity within a preset time period recorded in the process of receiving the target data by the charging platform;
and the second reference data transmission quantity is the reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile.
Further, the data obtaining module 12 is specifically configured to:
sending a fourth data acquisition instruction to the charging pile, receiving second data stored in a charging pile log acquired and output by the charging pile, and acquiring third data stored in the charging platform; the third data is the target data which is successfully received and stored in the charging pile log in the process that the charging platform receives the target data;
the second data are target data recorded in a charging pile log in the process of sending the target data by the charging pile.
Further, the data operation and maintenance module 13 is configured to compare the reference target data with the actual target data, and when determining a lost data frame, specifically configured to:
and comparing the second data with the third data to determine a lost data frame.
Further, the data operation and maintenance module 13 is configured to, when executing a preset data frame loss operation, specifically:
issuing a charging pile restarting instruction to the charging pile so as to enable the charging pile to execute restarting operation, and generating and outputting data transmission fault information; the data transmission failure information includes the missing data frame.
Further, the data operation and maintenance module 13 is configured to, when executing a preset data frame loss operation, further:
determining a data transmission fault as a charging pile data receiving fault under the condition that the data transmission state is that the charging platform transmits target data to the charging pile;
and under the condition that the data transmission state is that the charging pile transmits the target data to the charging platform, determining the data transmission fault as a charging platform data receiving fault.
In this embodiment, in the data transmission process between the charging platform and the charging pile, the frame reception rate calculated based on the actual data transmission amount and the reference data transmission amount is obtained, so that data transmission monitoring during data transmission between the charging pile and the charging platform is realized, and the data transmission reliability is improved. Further, under the condition that the frame receiving ratio is smaller than a preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and preset data frame loss operation is executed. Namely, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.
It should be noted that, please refer to the corresponding description in the above embodiment for the working process of each module and sub-module in this embodiment, which is not described herein again.
Optionally, on the basis of the above embodiment of the data transmission control method applied to the charging pile, another embodiment of the present invention provides a data transmission control device applied to the charging pile, and with reference to fig. 10, the data transmission control device includes:
the first data communication module 21 is configured to communicate with a charging platform during data transmission between the charging platform and the charging pile, so that the charging platform obtains a frame reception ratio calculated based on an actual data transmission amount and a reference data transmission amount; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
the second data communication module 22 is configured to communicate with the charging platform when the charging platform determines that the frame reception ratio is smaller than a preset threshold, so that the charging platform obtains reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process, compares the reference target data with the actual target data, determines a lost data frame, and performs a preset data frame loss operation.
Further, the first data communication module 21 is specifically configured to:
and communicating with the charging platform to enable the charging platform to acquire an actual data transmission quantity of target data transmitted in a preset time period and a reference data transmission quantity corresponding to the target data, and calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain a frame receiving ratio.
Further, the first data communication module 21 is specifically configured to:
under the condition that the data transmission state is that the charging platform transmits target data to the charging pile, receiving a first data acquisition instruction sent by the charging platform, acquiring a first actual data transmission quantity, and sending the first actual data transmission quantity to the charging platform, so that the charging platform receives the first actual data transmission quantity sent by the charging pile and acquires a first reference data transmission quantity recorded in a preset time period in the process that the charging platform outputs the target data.
The first actual data transmission quantity is the actual data transmission quantity within the preset time period recorded in the process of receiving the target data and output by the charging pile.
Further, the second data communication module 22 is specifically configured to:
and receiving a second data acquisition instruction sent by the charging platform, acquiring first data stored in a charging pile log, and sending the first data to the charging platform, so that the charging platform receives the first data and acquires target data stored in the charging platform log simultaneously in the process of outputting the target data by the charging platform.
The first data are target data which are successfully received and stored in a charging pile log in the charging pile receiving process.
Further, the first data communication module 21 is specifically configured to:
and under the condition that the data transmission state is that the charging pile transmits target data to the charging platform, receiving a third data acquisition instruction transmitted by the charging platform, acquiring a second reference data transmission quantity, transmitting the second reference data transmission quantity to the charging platform, so that the charging platform receives the second reference data transmission quantity, and acquiring a second actual data transmission quantity within a preset time period recorded in the process of receiving the target data by the charging platform.
And the second reference data transmission quantity is the reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile.
Further, the second data communication module 22 is specifically configured to:
receiving a fourth data acquisition instruction sent by the charging platform, acquiring second data stored in a charging pile log, and sending the second data to the charging platform so that the charging platform receives the second data and acquires third data stored by the charging platform; and the third data is the target data which is successfully received and stored in the charging pile log in the process of receiving the target data by the charging platform.
The second data are target data recorded in a charging pile log in the process of sending the target data by the charging pile.
Further, the system comprises a restart module, configured to:
and receiving a charging pile restarting instruction sent by the charging platform in the process of executing the preset data frame loss operation, responding to the charging pile restarting instruction, and executing the restarting operation.
In this embodiment, in the data transmission process between the charging platform and the charging pile, the frame reception rate calculated based on the actual data transmission amount and the reference data transmission amount is obtained, so that data transmission monitoring during data transmission between the charging pile and the charging platform is realized, and the data transmission reliability is improved. Further, under the condition that the frame receiving ratio is smaller than a preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and preset data frame loss operation is executed. In other words, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.
It should be noted that, please refer to the corresponding description in the above embodiments for the working process of each module in this embodiment, which is not described herein again.
Optionally, on the basis of the embodiments of the data transmission control method and apparatus, another embodiment of the present invention provides a storage medium, where the storage medium includes a stored program, where the program executes the data transmission control method applied to the charging platform or the data transmission control method applied to the charging pile.
Optionally, on the basis of the embodiments of the data transmission control method and apparatus, another embodiment of the present invention provides an electronic device, including: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls the program and is used for executing the data transmission control method applied to the charging platform or the data transmission control method applied to the charging pile.
In this embodiment, in the data transmission process between the charging platform and the charging pile, the frame reception rate calculated based on the actual data transmission amount and the reference data transmission amount is obtained, so that data transmission monitoring during data transmission between the charging pile and the charging platform is realized, and the data transmission reliability is improved. Further, when the frame reception ratio is smaller than a preset threshold value, reference target data to be transmitted during data transmission and actual target data successfully transmitted in an actual data transmission process are acquired based on communication with the charging pile, the reference target data and the actual target data are compared, a lost data frame is determined, and a preset data frame loss operation is executed. In other words, in the invention, when the frame loss condition is determined to be serious, the data frame loss is determined, and the preset data frame loss operation is executed, so that the data operation and maintenance when the data frame loss condition is serious are realized, and the data transmission reliability is improved.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (21)

1. A data transmission control method is characterized by being applied to a charging platform and comprising the following steps:
acquiring a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity in the data transmission process of the charging platform and the charging pile; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
under the condition that the frame receiving ratio is smaller than a preset threshold value, acquiring reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process from a charging pile log and a charging platform on the basis of communication with the charging pile; the charging pile log comprises data to be sent by the charging pile and data actually received by the charging pile;
comparing the reference target data with the actual target data, determining a lost data frame, and executing a preset data frame loss operation;
wherein the executing the preset data frame loss operation includes:
issuing a charging pile restarting instruction to the charging pile so as to enable the charging pile to execute restarting operation;
generating data transmission fault information and issuing the data transmission fault information to operation and maintenance personnel to remind the operation and maintenance personnel that data transmission between the charging pile and the charging platform fails; the data transmission failure information includes the missing data frame.
2. The data transmission control method according to claim 1, wherein obtaining the frame reception ratio calculated based on the actual data transmission amount and the reference data transmission amount comprises:
acquiring actual data transmission quantity of target data transmitted in a preset time period and reference data transmission quantity corresponding to the target data;
and calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain the frame receiving ratio.
3. The data transmission control method according to claim 2, wherein obtaining an actual data transmission amount of the target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data comprises:
under the condition that the data transmission state is that the charging platform transmits target data to the charging pile, sending a first data acquisition instruction to the charging pile;
receiving a first actual data transmission quantity sent by the charging pile; the first actual data transmission quantity is the actual data transmission quantity within the preset time period and recorded in the process of receiving the target data and output by the charging pile;
and acquiring a first reference data transmission quantity recorded in a preset time period in the process of outputting the target data by the charging platform.
4. The data transmission control method according to claim 3, wherein acquiring reference target data to be transmitted during data transmission and actual target data successfully transmitted during actual data transmission based on communication with the charging pile comprises:
sending a second data acquisition instruction to the charging pile;
receiving first data stored in a charging pile log output by the charging pile; the first data are target data which are successfully received and stored in a charging pile log in the charging pile receiving process;
and acquiring target data which is stored in a charging platform log simultaneously in the process of outputting the target data by the charging platform.
5. The data transmission control method according to claim 4, wherein receiving first data stored in a charging pile log output by the charging pile comprises:
and receiving first data stored in a charging pile log output by the charging pile through a preset communication mode.
6. The data transmission control method according to claim 4, wherein comparing the reference target data with the actual target data to determine a lost data frame comprises:
and comparing the first data with the target data to determine a lost data frame.
7. The data transmission control method according to claim 2, wherein obtaining an actual data transmission amount of the target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data comprises:
under the condition that the data transmission state is that the charging pile transmits target data to the charging platform, a third data acquisition instruction is sent to the charging pile;
receiving a second reference data transmission quantity output by the charging pile; the second reference data transmission quantity is a reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile;
and acquiring a second actual data transmission quantity within a preset time period recorded in the process of receiving the target data by the charging platform.
8. The data transmission control method of claim 7, wherein obtaining reference target data to be transmitted during data transmission and actual target data successfully transmitted during actual data transmission based on communication with the charging pile comprises:
sending a fourth data acquisition instruction to the charging pile;
receiving second data stored in a charging pile log acquired and output by the charging pile; the second data are target data recorded in a charging pile log in the charging pile sending process;
acquiring third data stored by the charging platform; the third data are the target data which are successfully received and stored in the charging pile log in the process that the charging platform receives the target data.
9. The method of claim 8, wherein comparing the reference target data with the actual target data to determine a missing data frame comprises:
and comparing the second data with the third data to determine a lost data frame.
10. The data transmission control method of claim 1, wherein performing a predetermined data frame loss operation further comprises:
under the condition that the data transmission state is that the charging platform transmits target data to the charging pile, determining that the data transmission fault is a charging pile data receiving fault;
and under the condition that the data transmission state is that the charging pile transmits target data to the charging platform, determining that the data transmission fault is a charging platform data receiving fault.
11. A data transmission control method is applied to a charging pile, and comprises the following steps:
in the data transmission process between a charging platform and the charging pile, the charging platform is communicated with the charging platform so that the charging platform can obtain a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
under the condition that the charging platform determines that the frame receiving ratio is smaller than a preset threshold value, the charging platform communicates with the charging platform so that the charging platform acquires reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process from a charging pile log and a charging platform log, compares the reference target data with the actual target data, determines a lost data frame, and executes a preset data frame loss operation; the charging pile log comprises data to be sent by the charging pile and data actually received by the charging pile;
wherein the executing the preset data frame loss operation includes:
issuing a charging pile restarting instruction to the charging pile so as to enable the charging pile to execute a restarting operation;
generating data transmission fault information and issuing the data transmission fault information to operation and maintenance personnel; the data transmission failure information includes the missing data frame.
12. The data transmission control method of claim 11, wherein communicating with the charging platform to cause the charging platform to obtain a frame reception ratio calculated based on an actual data transmission amount and a reference data transmission amount comprises:
and communicating with the charging platform to enable the charging platform to acquire an actual data transmission quantity of target data transmitted in a preset time period and a reference data transmission quantity corresponding to the target data, and calculating the actual data transmission quantity and the reference data transmission quantity according to a preset frame receiving ratio calculation rule to obtain a frame receiving ratio.
13. The method according to claim 12, wherein communicating with the charging platform to enable the charging platform to obtain an actual data transmission amount of target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data comprises:
receiving a first data acquisition instruction sent by the charging platform under the condition that the data transmission state is that the charging platform transmits target data to the charging pile;
acquiring a first actual data transmission quantity; the first actual data transmission quantity is an actual data transmission quantity, output by the charging pile, within the preset time period and recorded in the process of receiving the target data;
and sending the first actual data transmission quantity to the charging platform so that the charging platform receives the first actual data transmission quantity sent by the charging pile and acquires a first reference data transmission quantity recorded in a preset time period in the process that the charging platform outputs the target data.
14. The data transmission control method according to claim 13, wherein communicating with the charging platform to enable the charging platform to obtain reference target data to be transmitted during data transmission and actual target data successfully transmitted during actual data transmission comprises:
receiving a second data acquisition instruction sent by the charging platform;
acquiring first data stored in a charging pile log; the first data are target data which are successfully received and stored in a charging pile log in the charging pile receiving process;
and sending first data to the charging platform so that the charging platform receives the first data and acquires target data stored in a charging platform log simultaneously in the process of outputting the target data by the charging platform.
15. The method according to claim 12, wherein communicating with the charging platform to enable the charging platform to obtain an actual data transmission amount of target data transmitted within a preset time period and a reference data transmission amount corresponding to the target data comprises:
receiving a third data acquisition instruction sent by the charging platform under the condition that the data transmission state is that the charging pile transmits target data to the charging platform;
acquiring a second reference data transmission quantity, wherein the second reference data transmission quantity is a reference data transmission quantity within a preset time period recorded in the process of sending the target data by the charging pile;
and sending the second reference data transmission quantity to the charging platform so that the charging platform receives the second reference data transmission quantity and acquires a second actual data transmission quantity within a preset time period recorded in the process of receiving the target data by the charging platform.
16. The method according to claim 15, wherein communicating with the charging platform to enable the charging platform to obtain reference target data to be transmitted during data transmission and actual target data successfully transmitted during actual data transmission comprises:
receiving a fourth data acquisition instruction sent by the charging platform;
acquiring second data stored in a charging pile log, wherein the second data is target data recorded in the charging pile log in the process of sending the target data by the charging pile;
sending second data to the charging platform so that the charging platform receives the second data and acquires third data stored by the charging platform; and the third data is the target data which is successfully received and stored in the charging pile log in the process of receiving the target data by the charging platform.
17. The data transmission control method according to claim 15, further comprising:
receiving a charging pile restarting instruction sent by the charging platform in the process of executing the preset data frame loss operation;
and responding to the charging pile restarting instruction, and executing restarting operation.
18. A data transmission control device is characterized in that the data transmission control device is applied to a charging platform and comprises:
the ratio acquisition module is used for acquiring a frame receiving ratio calculated based on actual data transmission quantity and reference data transmission quantity in the data transmission process of the charging platform and the charging pile; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
the data acquisition module is used for acquiring reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process from a charging pile log and a charging platform on the basis of communication with the charging pile under the condition that the frame receiving ratio is smaller than a preset threshold value; the charging pile log comprises data to be sent by the charging pile and data actually received;
the data operation and maintenance module is used for comparing the reference target data with the actual target data, determining a lost data frame and executing a preset data frame loss operation;
wherein the executing the preset data frame loss operation includes:
issuing a charging pile restarting instruction to the charging pile so as to enable the charging pile to execute restarting operation;
generating data transmission fault information and issuing the data transmission fault information to operation and maintenance personnel; the data transmission failure information includes the missing data frame.
19. A data transmission control device is applied to a charging pile, and comprises:
the first data communication module is used for communicating with the charging platform in the data transmission process between the charging platform and the charging pile so as to enable the charging platform to obtain a frame receiving ratio calculated based on the actual data transmission quantity and the reference data transmission quantity; the reference data transmission quantity is the data transmission quantity to be transmitted corresponding to the actual data transmission quantity;
the second data communication module is used for communicating with the charging platform under the condition that the charging platform determines that the frame receiving ratio is smaller than a preset threshold value, so that the charging platform acquires reference target data to be transmitted during data transmission and actual target data successfully transmitted in the actual data transmission process from a charging pile log and a charging platform log, compares the reference target data with the actual target data, determines a lost data frame and executes a preset data frame loss operation; the charging pile log comprises data to be sent by the charging pile and data actually received by the charging pile;
wherein the executing of the preset data frame loss operation includes:
issuing a charging pile restarting instruction to the charging pile so as to enable the charging pile to execute restarting operation;
generating data transmission fault information and issuing the data transmission fault information to operation and maintenance personnel; the data transmission failure information includes the missing data frame.
20. A storage medium characterized by comprising a stored program, wherein the program executes the data transfer control method of any one of claims 1 to 10 or the data transfer control method of any one of claims 11 to 17.
21. An electronic device, comprising: a memory and a processor;
wherein the memory is used for storing programs;
a processor calls a program and is arranged to perform the data transfer control method of any one of claims 1 to 10, or the data transfer control method of any one of claims 11 to 17.
CN202110774534.XA 2021-07-08 2021-07-08 Data transmission control method and related device Active CN113542061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110774534.XA CN113542061B (en) 2021-07-08 2021-07-08 Data transmission control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110774534.XA CN113542061B (en) 2021-07-08 2021-07-08 Data transmission control method and related device

Publications (2)

Publication Number Publication Date
CN113542061A CN113542061A (en) 2021-10-22
CN113542061B true CN113542061B (en) 2023-03-31

Family

ID=78098074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110774534.XA Active CN113542061B (en) 2021-07-08 2021-07-08 Data transmission control method and related device

Country Status (1)

Country Link
CN (1) CN113542061B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108128204A (en) * 2017-12-29 2018-06-08 山东鲁能智能技术有限公司 A kind of data transmission method and system for charging pile CAN bus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123584B (en) * 2007-05-21 2010-11-10 华为技术有限公司 A method and device for measuring packet drop of IP link
CN102111305A (en) * 2009-12-23 2011-06-29 比亚迪股份有限公司 Method for monitoring running state of network node in network structure of CAN
CN102546081B (en) * 2010-12-21 2015-09-16 中兴通讯股份有限公司 Method for detecting packet loss, system and media client
CN102857354B (en) * 2011-06-27 2018-08-03 南京中兴新软件有限责任公司 Alarm information reporting method, apparatus and system
CN105162653B (en) * 2015-08-25 2019-02-26 四川九洲电器集团有限责任公司 A kind of fault detection means of communication data
CN107634873A (en) * 2017-09-01 2018-01-26 昆明能讯科技有限责任公司 A kind of charging pile OA operation analysis platform based on dynamic topology and location technology
CN108989135B (en) * 2018-09-29 2021-12-07 新华三技术有限公司合肥分公司 Network equipment fault detection method and device
CN111482973A (en) * 2020-03-31 2020-08-04 岭东核电有限公司 Health management method and device for robot for nuclear power station and robot

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108128204A (en) * 2017-12-29 2018-06-08 山东鲁能智能技术有限公司 A kind of data transmission method and system for charging pile CAN bus

Also Published As

Publication number Publication date
CN113542061A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN109150670B (en) Heartbeat method and system for maintaining connection
CN105904986A (en) Remote battery management and detection method and system for new-energy vehicle
US20160269918A1 (en) Cross-layer optimization in multimedia communications
CN111806279B (en) Method for improving charging safety of charging pile, server, charging pile and system
CN110239387B (en) Car charging system based on internet
CN110445682B (en) Method, server, equipment and system for monitoring survival state of networking node
CN109936395A (en) A kind of more charging pile networking control systems and method based on power coordination
CN112953839A (en) Data framing transmission method, telemetering equipment and data center platform
CN115158097B (en) Charging pile management method and system based on Internet of things and storage medium
CN112714113A (en) Robot network self-repairing method, device, terminal and storage medium
CN111815389A (en) Charging order abnormality cause determination method, storage medium and electronic device
CN110705979A (en) Charging information processing method, storage medium and electronic device
Bilh et al. Evaluating electric vehicles’ response time to regulation signals in smart grids
CN116744419A (en) 5G base station energy consumption supervision method, system and storage medium
CN111818478A (en) Data transmission method, device, storage medium and device for vehicle
CN104503417B (en) A kind of Hydropower Station Monitor system
CN113542061B (en) Data transmission control method and related device
CN112448959B (en) Communication method for charging pile and control center
CN116760732A (en) Power distribution terminal data communication monitoring method and device and related equipment
CN112073472B (en) Soft zero clearing processing method for counter
CN111105560A (en) Charging service network operation monitoring system of charging pile and working method thereof
CN112469087B (en) Method for adjusting communication rate of air conditioning equipment, terminal and storage medium
CN110601914B (en) Method and system for monitoring survival state of server
CN211786009U (en) Power supply detection system based on serial server video monitoring network
CN112118420A (en) Automatic configuration method and device for monitoring system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant