CN114301962A - Charging pile communication method and system based on Internet of things cloud platform - Google Patents

Charging pile communication method and system based on Internet of things cloud platform Download PDF

Info

Publication number
CN114301962A
CN114301962A CN202111422267.6A CN202111422267A CN114301962A CN 114301962 A CN114301962 A CN 114301962A CN 202111422267 A CN202111422267 A CN 202111422267A CN 114301962 A CN114301962 A CN 114301962A
Authority
CN
China
Prior art keywords
charging pile
communication
cloud platform
broker server
message
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
CN202111422267.6A
Other languages
Chinese (zh)
Inventor
李静
任苗
唐珊
金伟潮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Zhonhen Electric Co ltd
Original Assignee
Hangzhou Zhonhen Electric 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 Hangzhou Zhonhen Electric Co ltd filed Critical Hangzhou Zhonhen Electric Co ltd
Priority to CN202111422267.6A priority Critical patent/CN114301962A/en
Publication of CN114301962A publication Critical patent/CN114301962A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The application relates to a charging pile communication method and system based on an Internet of things cloud platform, wherein the method comprises the following steps: the charging pile and the cloud platform complete pairing based on an MQTT protocol and establish remote communication; the communication message issued by the charging pile is subscribed by a Broker server, the Broker server receives the communication message and determines a corresponding target topic, and issues the communication message to an MQTT client subscribing the target topic, wherein the MQTT client comprises a cloud platform, the charging pile and a user terminal, and the communication message comprises a synchronous message and an asynchronous message; the charging pile subscribes to one or more target topics in the Broker server, receives communication messages under the target topics and responds to corresponding action instructions, wherein the communication messages issued by the Broker server are acquired from the MQTT client. By the method and the device, the problem of poor reliability of the communication method of the charging pile is solved, the response speed is improved, and the frame loss situation is reduced.

Description

Charging pile communication method and system based on Internet of things cloud platform
Technical Field
The application relates to the field of intelligent charging piles, in particular to a charging pile communication method and system based on an internet of things cloud platform.
Background
The charging infrastructure is used as the most important part matched with the new energy automobile, and the intelligent charging pile is required to be capable of carrying out interactive communication with the background server and needs to receive a command sent by the background server and carry out action and feedback; meanwhile, the background server also needs to collect information such as real-time states (such as charging states, permission verification, transaction states and environment states) of the charging pile modules, and unified management is performed on the internet of things cloud platform.
In the related art, wireless communication modes such as 3G, 4G, GPRS, wifi and the like or Ethernet communication are generally adopted in the current charging pile. The communication method is based on a TCP mode of a Server/Client, and the communication method is accessed to the operation platform according to the IP address and the port number of the background, so that remote communication can be realized. However, in the above method, when the network is unstable or a large number of charging piles are connected to the operation platform at the same time, the problem of frame loss or slow response occurs in the remote communication between the background and the charging piles. Especially for charging pile devices with limited network environments (such as low bandwidth and unstable network), the communication method has a great adverse effect on user experience.
At present, no effective solution is provided for the problem of poor reliability of a charging pile remote communication method in the related art.
Disclosure of Invention
The embodiment of the application provides a charging pile communication method, a charging pile communication system and computer equipment based on an Internet of things cloud platform, and at least solves the problem that a charging pile remote communication method in the related art is poor in reliability.
In a first aspect, an embodiment of the present application provides a charging pile communication method based on an internet of things cloud platform, where the method includes:
the charging pile and the cloud platform complete pairing based on an MQTT protocol and establish remote communication;
the charging pile issues a communication message to a Broker server, the Broker server determines a target topic corresponding to the communication message and issues the communication message to an MQTT client subscribing the target topic, wherein the MQTT client comprises a cloud platform, the charging pile and a user terminal, and the communication message comprises a synchronous message and an asynchronous message;
the charging pile subscribes to one or more target topics in a Broker server, receives communication messages under the target topics and responds to corresponding action instructions of the communication messages, wherein the communication messages issued by the Broker server are acquired from the MQTT client.
In some embodiments, the charging pile and the cloud platform completing pairing and establishing remote communication based on the MQTT protocol comprises:
deploying a Broker server on the electronic equipment;
and configuring an IP address and a port of the Broker server and the client ID of the charging pile in the cloud platform, wherein the client IDs of the charging piles are independent.
In some embodiments, before the charging pile and the cloud platform complete pairing based on MQTT protocol and establish remote communication, the method further comprises:
the charging pile acquires equipment parameters bound on the cloud platform, wherein the equipment parameters comprise equipment asset codes, equipment keys and product keys;
and the charging pile converts the equipment parameters into registration information for connecting the Broker server according to a preset rule between the charging pile and the cloud platform, wherein the registration information comprises a user name, a password and the client ID.
In some of these embodiments, the method further comprises:
the charging pile monitors the connection state of the charging pile and the Broker server in real time, and tries to reconnect with the Broker server through a preset strategy under the condition that the connection is interrupted;
the Broker server caches the current communication message based on a data caching function;
after the charging pile is reconnected with the Broker server, the Broker server sends the cached communication message to the MQTT client subscribing to the target topic.
In some of these embodiments, the method further comprises:
the Broker server receives a communication message sent by the user terminal, determines a target topic corresponding to the communication message, and publishes the communication message to a charging pile subscribed to the target topic;
and the charging pile receives the communication message and responds to an action instruction corresponding to the communication message.
In some embodiments, the communication message of the MQTT client is converted into a Json format;
and the charging pile selectively transmits the protocol field data in the communication message according to the running state of the equipment.
In a second aspect, an embodiment of the present application provides an electric pile communication system fills based on thing networking cloud platform, the system includes: the system comprises a charging pile, a cloud platform and a Broker server, wherein the charging pile is connected with the cloud platform;
the charging pile and the cloud platform are used for completing pairing based on an MQTT protocol and establishing remote communication;
the charging pile is also used for issuing communication messages to a Broker server, subscribing the communication messages issued by the cloud platform through the Broker server and responding to action instructions corresponding to the communication messages;
the cloud platform is also used for publishing communication messages to the charging pile through the Broker server and subscribing the communication messages published by the charging pile;
the Broker server is used for receiving communication messages of the MQTT client, determining a target topic corresponding to the communication messages and sending the communication messages to the MQTT client subscribing the target topic, wherein the MQTT client comprises a cloud platform, a charging pile and a user terminal, and the communication messages comprise synchronous messages and asynchronous messages.
In some embodiments, the charging pile comprises a human-computer interaction unit, a control unit, a metering unit and a safety protection unit;
the human-computer interaction unit comprises: the pile body LCD touch screen, the card reading module and the charging interface are used for acquiring and responding to a field interaction instruction of a user;
the control unit includes: the main monitoring unit and the auxiliary module are used for monitoring the working state of each unit of the charging pile and processing manual operation signals;
the metering unit is used for acquiring the energy storage condition of the current charging pile; the safety protection unit is used for safety protection of the charging pile.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the charging pile communication method based on the cloud platform of the internet of things according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the charging pile communication method based on an internet of things cloud platform according to any one of the first aspects.
Compared with the related art, the charging pile communication method based on the Internet of things cloud platform is based on the MQTT protocol, the communication between the charging pile and the cloud platform is carried out by taking the Broker server as a middle person, the charging pile and the cloud platform are not in direct communication, so that a publisher and a subscriber are decoupled, the response speed is improved, and the charging pile communication method is particularly suitable for remote communication of the charging pile in a limited environment (such as low bandwidth, high network delay and unstable network communication). Meanwhile, the Broker server has a cache function, so that when the charging pile is reconnected after the connection is interrupted, the cached message can be directly sent to the subscriber, the frame loss in the communication process can be reduced, and the reliability is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic application environment diagram of a charging pile communication method based on an internet of things cloud platform according to an embodiment of the application;
fig. 2 is a flowchart of a charging pile communication method based on an internet of things cloud platform according to an embodiment of the application;
FIG. 3 is a schematic diagram of different types of clients implementing data interaction based on a Broker server according to an embodiment of the application;
fig. 4 is a block diagram of a charging pile communication system based on an internet of things cloud platform according to an embodiment of the present application;
fig. 5 is a schematic diagram of a charging pile according to an embodiment of the application;
fig. 6 is a communication flow diagram of a charging post according to an embodiment of the application;
fig. 7 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The charging pile communication method based on the internet of things cloud platform can be applied to an application environment shown in fig. 1, fig. 1 is an application environment schematic diagram of the charging pile communication method based on the internet of things cloud platform according to the embodiment of the application, as shown in fig. 1, a charging pile 10 is arranged at a position with a large vehicle flow, such as a residential quarter or an office building, and the charging pile 10 needs to be in normal interactive communication with a cloud platform 11, can receive an instruction issued by the cloud platform 11 and perform action and feedback, collects real-time states of various modules of the charging pile, such as a charging state, authority verification, a transaction state, an environment state and the like, and stores and forwards the information to the cloud platform 11. The person can charge the vehicle or other equipment through the charging pile 10 operated by modes such as card swiping, touch operation and mobile terminal. Further, the interactive communication between the charging pile 10 and the cloud platform 11 is realized based on the MQTT protocol, and messages sent by the charging pile and the cloud platform can be forwarded via a Broker service. In this embodiment, a communication method based on the MQTT protocol is adopted, and the release and subscription of the charging pile 10 and the cloud platform 11 in the communication process are decoupled, so that the response speed is increased.
Fig. 2 is a flowchart of a charging pile communication method based on an internet of things cloud platform according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
s201, completing pairing between a charging pile and a cloud platform based on an MQTT protocol and establishing remote communication;
the MQTT (message queue telemetry transport) protocol is a message publishing/subscribing transport protocol based on a client-message middleware-server, and has the characteristics of light weight, simplicity, openness and the like. In this embodiment, the Broker server is used as a "message middleware" in the MQTT protocol, and the charging pile and the cloud platform do not communicate directly, but are responsible for publishing/subscribing messages between the charging pile and the cloud platform through the Broker server.
Further, the pairing process of the Broker server, the charging pile and the cloud platform can be realized in software applications installed in the PC device. After the registration is completed and the operation is carried out, the remote connection communication is established between the charging pile and the browser server.
S202, the charging pile issues communication messages to a Broker server, the Broker server receives the communication messages, determines corresponding target topics, and issues the communication messages to MQTT clients subscribing the target topics, wherein the MQTT clients comprise cloud platforms, the charging pile and user terminals, and the communication messages comprise synchronous messages and asynchronous messages;
in the above embodiment, a PUB/SUB (publish/subscribe) communication mode is adopted between the charging pile and the cloud platform, specifically, the communication mode includes an asynchronous communication mode and a synchronous communication mode, where the asynchronous communication is realized by using a universal MQTT communication mode, and the synchronous communication is realized by using an RRPC mode. The synchronous communication mode is a communication mode of continuously sending the next data packet, such as sending a mail, without waiting for the receiver to send back a response after the sender sends data. The asynchronous communication is a communication mode, such as making a call, in which a sender sends data and then sends a next data packet after waiting for a receiver to send a response.
The communication messages issued by the charging piles can be self running state information, alarm logs and the like.
It should be noted that the Broker is responsible for maintaining multiple topics (Topic), and under one Topic, a list of users who publish and subscribe to the Topic is included. In the embodiment, after the asynchronous message is received by the Broker, the Broker determines a corresponding target topic according to attribute information such as an ID of the asynchronous message, and queries a subscriber on the target topic; and then forwarding the message to all charging pile devices or cloud platforms subscribing to the topic. Due to the publishing/subscribing mechanism, interaction between the charging pile and the cloud platform is decoupled, and therefore the response speed can be kept under the condition of large data volume.
S203, the charging pile subscribes to one or more target topics in the Broker server, receives communication messages under the target topics and responds to corresponding action instructions, wherein the communication messages issued by the Broker server are acquired from the MQTT client.
Through the communication mode, the charging pile remote communication method is particularly suitable for remote communication of the charging pile in a limited environment (such as low bandwidth, high network delay and unstable network communication).
Through the steps S201 to S203, compared with a TCP charging pile communication mode of servers/clients such as 3G, 4G, GPRS and wifi in the related technology, remote communication between the charging pile and the cloud platform is achieved based on MQTT, a Broker is used as a middle person to process forwarding and subscription of messages, the cloud platform or each charging pile does not need to know IP addresses and ports of the other party, and forwarding and receiving of the messages can be achieved through the Broker. Because the publisher and the subscriber are decoupled by the Broker, the data access amount of the cloud platform is large, and the response speed is improved when a large amount of charging piles are accessed to the operation platform at one time.
In some embodiments, the specific implementation steps of the remote interaction between the charging pile and the cloud platform include:
firstly, charging pile acquires the equipment parameters bound on the cloud platform, wherein the charging pile acquires the equipment parameters which can be information configured by a user through interactive action on a charging pile LCD touch screen, and the information reflects the equipment triple parameters bound on the cloud platform for each charging pile, and specifically comprises: a device asset code, a device key, and a product key.
Further, the charging pile converts the equipment parameters into registration information for connecting a Broker server according to a preset rule between the charging pile and the cloud platform, wherein the registration information comprises a user name, a password and a client ID. The preset rule between the charging pile and the cloud platform depends on the specific charging pile and the specific cloud platform, and the preset rule is different when the applied cloud platforms are different, so that the preset rule is not specifically limited in this embodiment.
In addition, after the code of the MQTT communication protocol is loaded by each charging pile device, the charging pile device can be regarded as an MQTT client.
In some embodiments, the specific implementation steps of the remote interaction between the charging pile and the cloud platform further include:
deploying a Broker server on the electronic device, for example, installing a Broker plug-in on the electronic device (such as a PC computer), and then the PC computer can serve as the Broker server to provide a Broker service;
further, an IP address and a port of the Broker server and a client ID of the charging pile are configured in the cloud platform, wherein the client IDs of the charging piles are independent of each other, the client ID is a client ID of the charging pile, and is determined by an association rule between the charging pile and the cloud platform, for example, the client ID of a certain charging pile is VBGF 110101101000000845. In addition, it should be noted that, the information to be configured also includes a user name and a password of the charging pile, and optionally, the password is generated by a Token tool of the cloud platform.
In some embodiments, the charging pile monitors the connection state of the charging pile and the Broker server in real time, and tries to reconnect with the Broker server through a preset strategy under the condition of connection interruption; meanwhile, the Broker server caches the current communication message based on the data caching function;
after the charging pile is reconnected with the Broker server, the Broker server can directly send the cached communication message to the MQTT client subscribing the target topic, so that the frame loss condition in the communication process can be reduced, and the reliability is improved.
In some embodiments, the conventional MQTT protocol is based on an asynchronous PUB/SUB communication mode, which is not applicable to a scenario where a device side is synchronously controlled by a server side to return results. In this embodiment, besides meeting common asynchronous communication requirements, in consideration of some scenes requiring synchronous communication, the embodiment of the present application implements synchronous communication between the charging pile and the platform in the RRPC mode.
In some embodiments, in addition to the cloud platform and the charging pile, the embodiments of the present application may also access other clients, such as a mobile terminal of a user. In the mobile terminal, the output of the interactive information can be realized through a mobile phone APP, an applet, a web terminal and the like. Fig. 3 is a schematic diagram of different types of clients implementing data interaction based on a Broker server according to an embodiment of the present application, and as shown in fig. 3, the Broker may also implement publish/subscribe of a user terminal in addition to satisfy the publish/subscribe between a charging pile and a cloud platform.
Further, the user can send an operation instruction through the APP installed on the mobile terminal, and the operation instruction is received by the Broker server and forwarded to the target charging pile subscribed to Topic. And the charging pile executes the action instruction corresponding to the message, such as starting charging, charging and charging, detecting the residual electric quantity and the like.
Through above-mentioned embodiment, the user not only can be at the scene through artifical interactive action (like touch-control LCD display screen, card swiping etc.), can also carry out remote operation through mobile terminal, very big user's that has made things convenient for experience, for example, when the office work, when the electric quantity of vehicle was lower in the discovery garage, control through cell-phone APP and fill electric pile and charge the vehicle.
In some embodiments, in order to improve the scalability of the communication method, the message sent by each client in this embodiment is converted into a text description in json format. Since the json format uses a text format that is completely independent of the programming language to store and represent data, it is easy to read and write, and it is also easy to machine parse and generate.
After converting the message data to json format, the application message may be divided into a message header and message content. Optionally, different operation states of the charging pile correspond to different types of message headers, and different message headers may correspond to different message contents. Therefore, the protocol field data in the message can be selectively transmitted according to the running state of the charging pile, so that convenience in upgrading the communication protocol is improved, and compatibility is improved.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment also provides a charging pile communication system based on the internet of things cloud platform, and the charging pile communication system is used for realizing the above embodiments and preferred embodiments, and the description is omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a charging pile communication system based on an internet of things cloud platform according to an embodiment of the present application, and as shown in fig. 4, the system includes: a Broker server 41, a charging pile 40, and a cloud platform 42, wherein;
the charging piles 40 cloud platforms 42 are used for completing pairing and establishing remote communication based on an MQTT protocol;
the charging pile 40 is further configured to publish a communication message to the Broker server 41, subscribe the communication message published by the cloud platform 42 through the Broker server, and respond to an action instruction corresponding to the communication message;
the cloud platform 42 is further configured to publish a communication message to the charging pile 40 through the Broker server 41, and subscribe the communication message published by the charging pile 40;
the Broker server 41 is configured to receive a communication message of the MQTT client, determine a target topic corresponding to the communication message, and send the communication message to an MQTT client subscribing to the target topic, where the MQTT client includes a cloud platform 42, a charging pile 40, and a user terminal, and the communication message includes a synchronous message and an asynchronous message.
In some embodiments, fig. 5 is a schematic diagram of a charging pile according to an embodiment of the present disclosure, and as shown in fig. 5, the charging pile 40 includes a human-machine interaction unit, a control unit, a metering unit and a safety protection unit, wherein,
the man-machine interaction unit comprises: the pile body LCD touch screen, the card reading module and the charging interface are used for acquiring and responding to a field interaction instruction of a user;
the control unit includes: the main monitoring unit and the auxiliary module are used for monitoring the working state of each unit of the charging pile, such as environment monitoring; and processing manual operation signals, optionally including billing processing, alarm processing, and the like;
the metering unit is used for acquiring the energy storage condition of the current charging pile, and can be an electric energy meter; the safety protection unit is used for safety protection of the charging pile, and can be a common insulating device and the like.
In addition, the charging pile further comprises a communication module, wherein an MQTT protocol interface and an Httpd server interface are provided for accessing a cloud platform and a web terminal.
Fig. 6 is a communication flow chart of the charging pile according to the embodiment of the present application, and as shown in fig. 6, the charging pile 40 monitors the connection state with the Broker server in real time in the first thread code program, and when it is monitored that the connection is interrupted, tries to reconnect with the Broker server 41 according to a preset policy, and at the same time, caches the communication message. After the charging pile 40 reconnects with the Broker server 41, the cached communication message is released.
On the other hand, in the second thread code program of the charging pile 40, it is responsible for sending, processing and sending communication messages, wherein the charging pile 40 acquires data from the subscribed topic, optionally, the messages may be received in an RRPC synchronous manner or in a SUB asynchronous manner, and further, the charging pile responds to actions corresponding to the communication messages, for example, opening an electronic lock to charge a vehicle, detecting the current remaining power amount and reporting the current remaining power amount; meanwhile, the charging pile 40 frames the data according to a specific service function to generate a communication message, and further issues the communication message to a target topic according to an RRPC synchronous mode or a PUB asynchronous mode through an interface of an MQTT protocol.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to realize a charging pile communication system based on the Internet of things cloud platform. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 7 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 7, there is provided an electronic device, which may be a server, and an internal structure diagram of which may be as shown in fig. 7. The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected by an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used for providing computing and control capabilities, the network interface is used for being connected and communicated with an external terminal through a network, the internal memory is used for providing an environment for an operating system and running of a computer program, the computer program is executed by the processor to achieve a charging pile communication system based on an internet of things cloud platform, and the database is used for storing data.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A charging pile communication method based on an Internet of things cloud platform is characterized by comprising the following steps:
the charging pile and the cloud platform complete pairing based on an MQTT protocol and establish remote communication;
the charging pile issues a communication message to a Broker server, the Broker server determines a target topic corresponding to the communication message and issues the communication message to an MQTT client subscribing the target topic, wherein the MQTT client comprises a cloud platform, the charging pile and a user terminal, and the communication message comprises a synchronous message and an asynchronous message;
the charging pile subscribes to one or more target topics in a Broker server, receives communication messages under the target topics and responds to corresponding action instructions of the communication messages, wherein the communication messages issued by the Broker server are acquired from the MQTT client.
2. The method of claim 1, wherein the charging post and the cloud platform completing pairing and establishing remote communication based on the MQTT protocol comprises:
deploying a Broker server on the electronic equipment;
and configuring an IP address and a port of the Broker server and the clientID of the charging pile in the cloud platform, wherein the clientID of each charging pile is independent.
3. The method of claim 2, wherein before the charging post and the cloud platform complete pairing based on the MQTT protocol and establish remote communication, the method further comprises:
the charging pile acquires equipment parameters bound on the cloud platform, wherein the equipment parameters comprise equipment asset codes, equipment keys and product keys;
and the charging pile converts the equipment parameters into registration information for connecting the Broker server according to a preset rule between the charging pile and the cloud platform, wherein the registration information comprises a user name, a password and the client ID.
4. The method of claim 1, further comprising:
the charging pile monitors the connection state of the charging pile and the Broker server in real time, and tries to reconnect with the Broker server through a preset strategy under the condition that the connection is interrupted;
the Broker server caches the current communication message based on a data caching function;
after the charging pile is reconnected with the Broker server, the Broker server sends the cached communication message to the MQTT client subscribing to the target topic.
5. The method of claim 1, further comprising:
the Broker server receives a communication message sent by the user terminal, determines a target topic corresponding to the communication message, and publishes the communication message to a charging pile subscribed to the target topic;
and the charging pile receives the communication message and responds to an action instruction corresponding to the communication message.
6. The method according to any one of claims 1 and 5, wherein: the communication message of the MQTT client is converted into a Json format;
and the charging pile selectively transmits the protocol field data in the communication message according to the running state of the equipment.
7. The utility model provides a fill electric pile communication system based on thing networking cloud platform which characterized in that, the system includes: the system comprises a charging pile, a cloud platform and a Broker server, wherein the charging pile is connected with the cloud platform;
the charging pile and the cloud platform are used for completing pairing based on an MQTT protocol and establishing remote communication;
the charging pile is also used for issuing communication messages to a Broker server, subscribing the communication messages issued by the cloud platform through the Broker server and responding to action instructions corresponding to the communication messages;
the cloud platform is also used for publishing communication messages to the charging pile through the Broker server and subscribing the communication messages published by the charging pile;
the Broker server is used for receiving communication messages of the MQTT client, determining a target topic corresponding to the communication messages and sending the communication messages to the MQTT client subscribing the target topic, wherein the MQTT client comprises a cloud platform, a charging pile and a user terminal, and the communication messages comprise synchronous messages and asynchronous messages.
8. The system of claim 7, wherein the charging post comprises a human-computer interaction unit, a control unit, a metering unit and a safety protection unit, wherein;
the human-computer interaction unit comprises: the pile body LCD touch screen, the card reading module and the charging interface are used for acquiring and responding to a field interaction instruction of a user;
the control unit includes: the main monitoring unit and the auxiliary module are used for monitoring the working state of each unit of the charging pile and processing manual operation signals;
the metering unit is used for acquiring the energy storage condition of the current charging pile; the safety protection unit is used for safety protection of the charging pile.
9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements a charging pile communication method based on an internet of things cloud platform according to any one of claims 1 to 6.
10. A computer-readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements the charging pile communication method based on the internet of things cloud platform according to any one of claims 1 to 6.
CN202111422267.6A 2021-11-26 2021-11-26 Charging pile communication method and system based on Internet of things cloud platform Pending CN114301962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111422267.6A CN114301962A (en) 2021-11-26 2021-11-26 Charging pile communication method and system based on Internet of things cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111422267.6A CN114301962A (en) 2021-11-26 2021-11-26 Charging pile communication method and system based on Internet of things cloud platform

Publications (1)

Publication Number Publication Date
CN114301962A true CN114301962A (en) 2022-04-08

Family

ID=80965986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111422267.6A Pending CN114301962A (en) 2021-11-26 2021-11-26 Charging pile communication method and system based on Internet of things cloud platform

Country Status (1)

Country Link
CN (1) CN114301962A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033282A (en) * 2022-06-30 2022-09-09 杭州凯达电力建设有限公司 Charging pile operation platform compatible method, device, equipment and storage medium
CN115550443A (en) * 2022-10-09 2022-12-30 杭州明特科技有限公司 Electric power data acquisition method, system and storage medium
CN117097766A (en) * 2023-10-18 2023-11-21 厦门海辰储能科技股份有限公司 Data monitoring method and data monitoring device of energy storage system
CN117407007A (en) * 2023-12-13 2024-01-16 北京东土科技股份有限公司 Application management system and method of chemical equipment controller
WO2024187458A1 (en) * 2023-03-16 2024-09-19 李皞白 Operation architecture and management method for electric vehicle charging station

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180191663A1 (en) * 2017-01-02 2018-07-05 International Business Machines Corporation Cluster assisted MQTT client coverage for fat-pipe cloud applications
CN109927582A (en) * 2018-12-29 2019-06-25 西安盈胜电气科技有限公司 A kind of charging pile system and two-way orderly charging/discharging thereof based on technology of Internet of things
CN110442814A (en) * 2019-06-19 2019-11-12 中国电力科学研究院有限公司 A kind of data interaction system and method for ubiquitous electric power Intelligent terminal for Internet of things
CN110913000A (en) * 2019-11-27 2020-03-24 浙江华诺康科技有限公司 Method, system and computer readable storage medium for processing service information
KR102123314B1 (en) * 2019-02-18 2020-06-17 금오공과대학교 산학협력단 MMS-based Industrial Internet of Things platform using unidirectional data transfer technique
CN111580995A (en) * 2020-05-12 2020-08-25 南京甄视智能科技有限公司 Synchronous communication method and system of distributed cloud platform and Internet of things intelligent terminal based on MQTT asynchronous communication scene
CN111799867A (en) * 2020-07-21 2020-10-20 国网智能科技股份有限公司 Mutual trust authentication method and system between charging equipment and charging management platform
CN112422544A (en) * 2020-11-09 2021-02-26 深圳市华昊软件有限公司 Machine room equipment information monitoring system based on MQTT communication protocol
WO2021232197A1 (en) * 2020-05-18 2021-11-25 Oppo广东移动通信有限公司 Method and apparatus for monitoring device state, device, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180191663A1 (en) * 2017-01-02 2018-07-05 International Business Machines Corporation Cluster assisted MQTT client coverage for fat-pipe cloud applications
CN109927582A (en) * 2018-12-29 2019-06-25 西安盈胜电气科技有限公司 A kind of charging pile system and two-way orderly charging/discharging thereof based on technology of Internet of things
KR102123314B1 (en) * 2019-02-18 2020-06-17 금오공과대학교 산학협력단 MMS-based Industrial Internet of Things platform using unidirectional data transfer technique
CN110442814A (en) * 2019-06-19 2019-11-12 中国电力科学研究院有限公司 A kind of data interaction system and method for ubiquitous electric power Intelligent terminal for Internet of things
CN110913000A (en) * 2019-11-27 2020-03-24 浙江华诺康科技有限公司 Method, system and computer readable storage medium for processing service information
CN111580995A (en) * 2020-05-12 2020-08-25 南京甄视智能科技有限公司 Synchronous communication method and system of distributed cloud platform and Internet of things intelligent terminal based on MQTT asynchronous communication scene
WO2021232197A1 (en) * 2020-05-18 2021-11-25 Oppo广东移动通信有限公司 Method and apparatus for monitoring device state, device, and storage medium
CN111799867A (en) * 2020-07-21 2020-10-20 国网智能科技股份有限公司 Mutual trust authentication method and system between charging equipment and charging management platform
CN112422544A (en) * 2020-11-09 2021-02-26 深圳市华昊软件有限公司 Machine room equipment information monitoring system based on MQTT communication protocol

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033282A (en) * 2022-06-30 2022-09-09 杭州凯达电力建设有限公司 Charging pile operation platform compatible method, device, equipment and storage medium
CN115033282B (en) * 2022-06-30 2023-08-22 杭州凯达电力建设有限公司 Charging pile operation platform compatible method, device, equipment and storage medium
CN115550443A (en) * 2022-10-09 2022-12-30 杭州明特科技有限公司 Electric power data acquisition method, system and storage medium
WO2024187458A1 (en) * 2023-03-16 2024-09-19 李皞白 Operation architecture and management method for electric vehicle charging station
CN117097766A (en) * 2023-10-18 2023-11-21 厦门海辰储能科技股份有限公司 Data monitoring method and data monitoring device of energy storage system
CN117407007A (en) * 2023-12-13 2024-01-16 北京东土科技股份有限公司 Application management system and method of chemical equipment controller

Similar Documents

Publication Publication Date Title
CN114301962A (en) Charging pile communication method and system based on Internet of things cloud platform
Glaroudis et al. Survey, comparison and research challenges of IoT application protocols for smart farming
US9288272B2 (en) System and method for secure real-time cloud services
US9100424B1 (en) System and method for secure real-time cloud services
CN108200165B (en) Request Transmission system, method, apparatus and storage medium
CN102469124B (en) Based on the implementation method of the mobile Internet business of AOG, gateway, agency and system
TWI363545B (en) Management method for remote digital signages
WO2007095800A1 (en) Presence service interface device, presence service system and method for publishing and obtaining presence information
CN105159256B (en) A kind of intelligent home control system based on Web service
US9172765B2 (en) Polling-based secure network message notification system and method with performance enhancing features
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN101202716A (en) Method for storing information and communication system and related devices
CN102118325B (en) Method and device for configuring chat client terminal, as well as chat client terminal
CN113965628A (en) Message scheduling method, server and storage medium
Sharma et al. Hardware implementation and comparison of iot data protocol for home automation application
Pullela et al. A component based architecture for mobile information access
CN115225706A (en) Data transmission method, device, vehicle and storage medium
CN103581312B (en) Mobile Internet service implementation method, gateway, agent and system based on AOG
Thakur et al. A Comparison of Various IoT Application Layer Protocol
CN109951550A (en) A kind of method and system of object storage
CN108134837A (en) For the monitoring device and current transformer of current transformer
CN108737525A (en) A kind of Web service system based on REST frameworks
CN118264723A (en) Communication method and communication system
CN114679435B (en) Session management system, method, computer device and storage medium
Martínez et al. Interact-DDM: a solution for the integration of domestic devices on network management platforms

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