CN111586115A - Data transmission system and method - Google Patents

Data transmission system and method Download PDF

Info

Publication number
CN111586115A
CN111586115A CN202010337502.9A CN202010337502A CN111586115A CN 111586115 A CN111586115 A CN 111586115A CN 202010337502 A CN202010337502 A CN 202010337502A CN 111586115 A CN111586115 A CN 111586115A
Authority
CN
China
Prior art keywords
working state
netty
state information
cloud platform
charging pile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010337502.9A
Other languages
Chinese (zh)
Inventor
王亮
张海亮
谈缓缓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Towatt Energy Technology Co ltd
Original Assignee
Towatt Energy Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Towatt Energy Technology Co ltd filed Critical Towatt Energy Technology Co ltd
Priority to CN202010337502.9A priority Critical patent/CN111586115A/en
Publication of CN111586115A publication Critical patent/CN111586115A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/10Protocols in which an application is distributed across nodes in the network
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention provides a data transmission system and a method, wherein the system comprises: the system comprises a charging pile, a Netty forwarding server and a cloud platform; the charging pile sends working state information to the Netty forwarding server; and after receiving the working state information, the Netty forwarding server feeds a heartbeat packet back to the charging pile, and sends the working state information to the cloud platform. By applying the scheme provided by the embodiment of the invention, the stability of sending data to the cloud platform by the charging pile can be improved based on the Netty framework technology, so that the charging stability is improved.

Description

Data transmission system and method
Technical Field
The present invention relates to the field of charging technologies, and in particular, to a data transmission system and method.
Background
With the increasing number of new energy automobiles, the charging platform for providing the charging service terminal is produced. In the charging platform, the charging pile can send the working state information to the cloud platform in real time, and the cloud platform can monitor whether the charging pile is in a normal working state or not through the received working state information in real time, and timely control the charging pile to interrupt charging under the condition that the charging pile works abnormally.
In implementation, if the charging pile sends the working state information to the platform, the working state information is lost, and the cloud platform considers that the charging pile is in an abnormal working state, so that the charging pile is controlled to be interrupted. This also leads to filling electric pile under normal operating condition, and the cloud platform control fills electric pile and interrupts charging, seriously influences the stability of charging. Therefore, how to ensure the stability of data transmission between the charging pile and the cloud platform so as to improve the charging stability becomes a problem that operators of the charging platform pay more and more attention to.
Disclosure of Invention
The embodiment of the invention aims to provide a data transmission system and a data transmission method so as to improve charging stability. The specific technical scheme is as follows:
in one aspect of the present invention, a data transmission system is provided, including: the system comprises a charging pile, a Netty forwarding server and a cloud platform; wherein the content of the first and second substances,
the charging pile sends working state information to the Netty forwarding server;
and after receiving the working state information, the Netty forwarding server feeds a heartbeat packet back to the charging pile, and sends the working state information to the cloud platform.
Optionally, the operating state information includes: the product serial number of the charging pile;
after receiving the working state information, the Netty forwarding server verifies the legality of the charging pile by using the product serial number, feeds a heartbeat packet back to the charging pile under the condition that the verification is passed, and sends the working state information to the cloud platform.
Optionally, the step of sending the working state information to the cloud platform includes:
and the Netty forwarding server sends the working state information to the cloud platform through a message queue pre-established between the Netty forwarding server and the cloud platform.
Optionally, the system further includes: a Netty data server; wherein the step of sending the working state information to the cloud platform comprises:
the Netty forwarding server sends the working state information to the Netty data server;
the Netty data server receives the working state information and stores the working state information;
and the cloud platform reads the working state information from the data stored in the Netty data server.
Optionally, the cloud platform sends a control instruction to the Netty data server, where the control instruction is used to control the working state of the charging pile;
after receiving the control instruction, the Netty data server sends the control instruction to the Netty forwarding server;
after receiving the control instruction, the Netty forwarding server sends a heartbeat packet to the Netty data server and sends the control instruction to the charging pile;
and after the charging pile receives the control command, executing the operation indicated by the control command.
In another aspect of the present invention, a data transmission method is further provided, which is applied to a Netty forwarding server in a data transmission system, where the data transmission system further includes: the charging pile comprises a charging pile and a cloud platform; the method comprises the following steps:
receiving the working state sent by the charging pile, and feeding back a heartbeat packet to the charging pile;
and sending the working state to the cloud platform.
Optionally, the operating state information includes: the product serial number of the charging pile further comprises, before the step of sending the working state to the cloud platform:
reading a product serial number contained in the working state information;
verifying the legality of the charging pile by using the product serial number;
correspondingly, the step of sending the working state to the cloud platform includes:
and sending the working state to the cloud platform under the condition that the verification is passed.
Optionally, the step of sending the working state information to the cloud platform includes:
and sending the working state information to the cloud platform through a message queue pre-established between the cloud platform and the working state information.
Optionally, the system further includes: the step of sending the working state information to the cloud platform by the Netty data server comprises the following steps:
and sending the working state information to the Netty data server, so that after the Netty data server receives and stores the working state information, the cloud platform reads the working state information from the data stored in the Netty data server.
In another aspect of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing any one of the above data transmission methods when executing the program stored in the memory.
The data transmission system and the data transmission method provided by the embodiment of the invention have the advantages that the data transmission system among the charging pile, the Netty forwarding server and the cloud platform is constructed based on the Netty framework technology, and the charging pile in the system can send working state information to the Netty forwarding server; after receiving the working state information, the Netty forwarding server feeds a heartbeat packet back to the charging pile, and sends the working state information to the cloud platform. By applying the scheme provided by the embodiment of the invention, the stability of sending data to the cloud platform by the charging pile can be improved based on the Netty framework technology, so that the charging stability 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 description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device 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.
Referring to fig. 1, a schematic structural diagram of a data transmission system provided in an embodiment of the present invention is shown, where the system includes: the system comprises a charging pile, a Netty forwarding server and a cloud platform;
and the charging pile sends the working state information to the Netty forwarding server.
The operating state information may include: voltage information, current information, information indicating that the charging pile is in an idle state, information indicating that the charging pile is in a charging state, and the like of the charging pile,
After receiving the working state information, the Netty forwarding server feeds a heartbeat packet back to the charging pile to indicate that the working state information is received, and sends the working state information to the cloud platform.
In order to ensure the security of the system, in an implementation manner, the working state information may further include: a product serial number of the charging pile; under the condition, after the Netty forwarding server receives the working state information, the product serial number in the working state information can be read, the read product serial number is used for matching in the product serial number stored in the Netty forwarding server, if the matching is successful, the charging pile is a legal device, and at the moment, the working state information sent by the charging pile is sent to the cloud platform.
In one implementation manner, the Netty forwarding server may send the working state information to the cloud platform through a message queue pre-established with the cloud platform.
The message queue may use one of rabbitMq, activeMq, and kafka.
In another implementation, the system further includes: a Netty data server; in this case, the Netty forwarding server may send the working state information to the Netty data server; after receiving the working state information, the Netty data server stores the working state information; when the cloud platform needs to know the working state of the charging pile, the working state information can be read from the data stored in the Netty data server.
In an implementation manner of the embodiment of the invention, the cloud platform can also send a control instruction to the charging pile through the Netty data server and the Netty forwarding server, so as to control the working state of the charging pile, for example, control the charging pile to start charging, control the charging pile to stop charging, and the like.
Specifically, the cloud platform can send a control instruction to the Netty data server;
after receiving the control instruction, the Netty data server sends the control instruction to the Netty forwarding server;
after the Netty forwarding server receives the control command, sending a heartbeat packet to the Netty data server to indicate that the control command is received, and sending the control command to the charging pile;
and after the charging pile receives the control command, executing the operation indicated by the control command.
According to the scheme provided by the embodiment of the invention, a data transmission system among the charging pile, the Netty forwarding server and the cloud platform is constructed based on the Netty framework technology, and the charging pile in the system can send working state information to the Netty forwarding server; after the Netty forwarding server receives the working state information, a heartbeat packet is fed back to the charging pile, the working state information is sent to the cloud platform, and the stability of data sent by the charging pile to the cloud platform is improved based on a Netty framework technology, so that the charging stability is improved.
Referring to fig. 2, a data transmission method provided in the embodiment of the present invention is applied to a Netty forwarding server in a data transmission system, where the data transmission system further includes: the charging pile comprises a charging pile and a cloud platform; the method comprises the following steps:
s200, receiving the working state sent by the charging pile and feeding back a heartbeat packet to the charging pile;
s210, sending the working state to the cloud platform.
Optionally, the operating state information includes: the product serial number of the charging pile further comprises, before the step of sending the working state to the cloud platform:
reading a product serial number contained in the working state information;
verifying the legality of the charging pile by using the product serial number;
correspondingly, the step of sending the working state to the cloud platform includes:
and sending the working state to the cloud platform under the condition that the verification is passed.
Optionally, the step of sending the working state information to the cloud platform includes:
and sending the working state information to the cloud platform through a message queue pre-established between the cloud platform and the working state information.
Optionally, the system further includes: the step of sending the working state information to the cloud platform by the Netty data server comprises the following steps:
and sending the working state information to the Netty data server, so that after the Netty data server receives and stores the working state information, the cloud platform reads the working state information from the data stored in the Netty data server.
According to the scheme provided by the embodiment of the invention, a data transmission system among the charging pile, the Netty forwarding server and the cloud platform is constructed based on the Netty framework technology, and the charging pile in the system can send working state information to the Netty forwarding server; after the Netty forwarding server receives the working state information, a heartbeat packet is fed back to the charging pile, the working state information is sent to the cloud platform, and the stability of data sent by the charging pile to the cloud platform is improved based on a Netty framework technology, so that the charging stability is improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 3, including a processor 001, a communication interface 002, a memory 003 and a communication bus 004, where the processor 001, the communication interface 002 and the memory 003 complete mutual communication through the communication bus 004,
a memory 003 for storing a computer program;
the processor 001 is configured to implement the data transmission method described in any one of the above when executing the program stored in the memory 003, and the method includes:
receiving the working state sent by the charging pile, and feeding back a heartbeat packet to the charging pile;
and sending the working state to the cloud platform.
According to the scheme provided by the embodiment of the invention, a data transmission system among the charging pile, the Netty forwarding server and the cloud platform is constructed based on the Netty framework technology, and the charging pile in the system can send working state information to the Netty forwarding server; after the Netty forwarding server receives the working state information, a heartbeat packet is fed back to the charging pile, the working state information is sent to the cloud platform, and the stability of data sent by the charging pile to the cloud platform is improved based on a Netty framework technology, so that the charging stability is improved.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method and electronic device embodiments, since they are substantially similar to the system embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A data transmission system, comprising: the system comprises a charging pile, a Netty forwarding server and a cloud platform; wherein the content of the first and second substances,
the charging pile sends working state information to the Netty forwarding server;
and after receiving the working state information, the Netty forwarding server feeds a heartbeat packet back to the charging pile, and sends the working state information to the cloud platform.
2. The system of claim 1, wherein the operational status information comprises: the product serial number of the charging pile;
after receiving the working state information, the Netty forwarding server verifies the legality of the charging pile by using the product serial number, feeds a heartbeat packet back to the charging pile under the condition that the verification is passed, and sends the working state information to the cloud platform.
3. The system of claim 1, wherein the step of sending the operational status information to the cloud platform comprises:
and the Netty forwarding server sends the working state information to the cloud platform through a message queue pre-established between the Netty forwarding server and the cloud platform.
4. The system of claim 1, wherein the system further comprises: a Netty data server; wherein the step of sending the working state information to the cloud platform comprises:
the Netty forwarding server sends the working state information to the Netty data server;
the Netty data server receives the working state information and stores the working state information;
and the cloud platform reads the working state information from the data stored in the Netty data server.
5. The system of claim 4,
the cloud platform sends a control instruction to the Netty data server, wherein the control instruction is used for controlling the working state of the charging pile;
after receiving the control instruction, the Netty data server sends the control instruction to the Netty forwarding server;
after receiving the control instruction, the Netty forwarding server sends a heartbeat packet to the Netty data server and sends the control instruction to the charging pile;
and after the charging pile receives the control command, executing the operation indicated by the control command.
6. A data transmission method, applied to a Netty forwarding server in a data transmission system, the data transmission system further comprising: the charging pile comprises a charging pile and a cloud platform; the method comprises the following steps:
receiving the working state sent by the charging pile, and feeding back a heartbeat packet to the charging pile;
and sending the working state to the cloud platform.
7. The method of claim 6, wherein the operational state information comprises: the product serial number of the charging pile further comprises, before the step of sending the working state to the cloud platform:
reading a product serial number contained in the working state information;
verifying the legality of the charging pile by using the product serial number;
correspondingly, the step of sending the working state to the cloud platform includes:
and sending the working state to the cloud platform under the condition that the verification is passed.
8. The method of claim 6, wherein the step of sending the operational status information to the cloud platform comprises:
and sending the working state information to the cloud platform through a message queue pre-established between the cloud platform and the working state information.
9. The method of claim 6, wherein the system further comprises: the step of sending the working state information to the cloud platform by the Netty data server comprises the following steps:
and sending the working state information to the Netty data server, so that after the Netty data server receives and stores the working state information, the cloud platform reads the working state information from the data stored in the Netty data server.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 6 to 9 when executing a program stored in the memory.
CN202010337502.9A 2020-04-26 2020-04-26 Data transmission system and method Pending CN111586115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010337502.9A CN111586115A (en) 2020-04-26 2020-04-26 Data transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010337502.9A CN111586115A (en) 2020-04-26 2020-04-26 Data transmission system and method

Publications (1)

Publication Number Publication Date
CN111586115A true CN111586115A (en) 2020-08-25

Family

ID=72127078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010337502.9A Pending CN111586115A (en) 2020-04-26 2020-04-26 Data transmission system and method

Country Status (1)

Country Link
CN (1) CN111586115A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073963A (en) * 2020-09-16 2020-12-11 武汉虹旭信息技术有限责任公司 Communication interaction data transmission method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491071A (en) * 2013-09-06 2014-01-01 乐视致新电子科技(天津)有限公司 Wireless communication system
CN107634995A (en) * 2017-09-08 2018-01-26 深圳市智物联网络有限公司 A kind of charging pile management method and management platform based on Internet of Things
CN109204055A (en) * 2018-10-30 2019-01-15 四川洪诚电气科技有限公司 A kind of electric bicycle charging management system based on cloud platform
CN109714369A (en) * 2019-02-28 2019-05-03 深圳智链物联科技有限公司 Communication means, charging pile and the interconnection device of distributed charging pile communication system
CN109862445A (en) * 2019-02-28 2019-06-07 深圳智链物联科技有限公司 A kind of communication system and its communication means of distributed charging pile
CN110225005A (en) * 2019-05-27 2019-09-10 广东华卓科技有限公司 A kind of smart machine control method and system based on Netty network frame
CN110816319A (en) * 2019-11-04 2020-02-21 清华四川能源互联网研究院 Vehicle information processing system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491071A (en) * 2013-09-06 2014-01-01 乐视致新电子科技(天津)有限公司 Wireless communication system
CN107634995A (en) * 2017-09-08 2018-01-26 深圳市智物联网络有限公司 A kind of charging pile management method and management platform based on Internet of Things
CN109204055A (en) * 2018-10-30 2019-01-15 四川洪诚电气科技有限公司 A kind of electric bicycle charging management system based on cloud platform
CN109714369A (en) * 2019-02-28 2019-05-03 深圳智链物联科技有限公司 Communication means, charging pile and the interconnection device of distributed charging pile communication system
CN109862445A (en) * 2019-02-28 2019-06-07 深圳智链物联科技有限公司 A kind of communication system and its communication means of distributed charging pile
CN110225005A (en) * 2019-05-27 2019-09-10 广东华卓科技有限公司 A kind of smart machine control method and system based on Netty network frame
CN110816319A (en) * 2019-11-04 2020-02-21 清华四川能源互联网研究院 Vehicle information processing system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073963A (en) * 2020-09-16 2020-12-11 武汉虹旭信息技术有限责任公司 Communication interaction data transmission method and device

Similar Documents

Publication Publication Date Title
CN109391673B (en) Method, system and terminal equipment for managing update file
CN104917749A (en) Account registration method and device
CN112181541A (en) Data processing method and device, electronic equipment and storage medium
US8069236B2 (en) Flow control of events based on threshold, grace period, and event signature
CN110247897B (en) System login method, device, gateway and computer readable storage medium
CN111141971A (en) Charging alarm system and method
CN112256551A (en) Remote log capturing method and device, electronic equipment and storage medium
CN114268957A (en) Abnormal business data processing method, device, server and storage medium
CN111586115A (en) Data transmission system and method
CN111949421A (en) SDK calling method and device, electronic equipment and computer readable storage medium
CN115412609B (en) Service processing method, device, server and storage medium
CN115599467A (en) Capacity expansion processing method, device, system and medium for stock service
CN114374686B (en) File processing method, device and equipment based on browser
CN115580522A (en) Method and device for monitoring running state of container cloud platform
CN112866265B (en) CSRF attack protection method and device
CN112506540B (en) Electric energy meter application upgrading method, electric energy meter and system
CN115277479A (en) Method and system for realizing system operation condition monitoring based on monitoring assistant
CN115708378A (en) Short message deduction amount detection method and device, electronic equipment and storage medium
CN110362464B (en) Software analysis method and equipment
CN112214437A (en) Storage device, communication method and device and computer readable storage medium
CN111782418A (en) Data attribution method and device, electronic equipment and computer readable medium
CN114491653A (en) Data content tamper-proof system, method and device
CN111507594A (en) Data processing method and equipment
CN111064675A (en) Access flow control method, device, network equipment and storage medium
CN113765864B (en) Service request processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825

RJ01 Rejection of invention patent application after publication