Unlock instant, AI-driven research and patent intelligence for your innovation.

CAN card and server SOCKET data transmission algorithm

A data transmission and server-side technology, applied in the field of communication, can solve problems such as unresolved exception handling, server data exception, server waste of resources, etc., to save maintenance time and personnel costs, save costs, and solve the effects of wasting resources

Inactive Publication Date: 2017-05-10
特瓦特能源科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] During the charging process of electric vehicles, the data information of the charging gun needs to be uploaded to the server through the transmission end, and at the same time, the client also needs to send the command information to the server to complete the control or monitoring of the charging process. , There are the following problems in the communication algorithm between the CAN data information of the client or the charging gun and the SOCKET of the server: 1. Some exceptions have not been resolved, and even some programs cannot operate normally; 2. Some programs do not have relevant algorithms, and It is to directly hand over the relevant calculation logic to the server, resulting in waste of server resources, low efficiency, and abnormal server data; 3. For related on-site problems, many data transmission terminals cannot provide real-time monitoring of data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CAN card and server SOCKET data transmission algorithm
  • CAN card and server SOCKET data transmission algorithm
  • CAN card and server SOCKET data transmission algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.

[0049] In this embodiment, the CAN card end is the client or the charging gun, the server SOCKET is: TCP / ID protocol server, used to send the data of the charging pile that has been obtained, and accept the control parameters of the charging pile, and the transmission terminal CAS is the CAN card end and An interactive platform between server-side SOCKETs.

[0050] Such as Figure 1 to Figure 4 Shown: a SOCKET data transmission algorithm between the CAN card end and the server end, the steps are as follows:

[0051] Step 1: Determine whether the communication system or network is available. The CAN card end is connected according to the system d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a CAN card and server SOCKET data transmission algorithm, comprising the following steps: step 1, judging whether a communication system or a network is available; step 2, a CAN card sending data to a transmission terminal CAS, and verifying the data according to a CAN receiving protocol; step 3, the transmission terminal CAS sending data to a server SOCKET, and verifying the data according to a SOCKET transmitting protocol; step 4, the server SOCKET transmitting data to the transmission terminal CAS, and verifying the data according to a SOCKET receiving protocol; and step 5, the transmission terminal CAS transmitting data to the CAN card, and simultaneously verifying the data according to a CAN transmitting protocol. The data transmission algorithm effectively solves the problem that most abnormal charging equipment in the present market cannot be used; and by adopting a distributed structure, the problems that a server wastes resources and the efficiency is low are solved, and the advantages, brought to the whole service logic, of distributed development are sufficiently reflected.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a SOCKET data transmission algorithm between a CAN card end and a server end. Background technique [0002] During the charging process of electric vehicles, the data information of the charging gun needs to be uploaded to the server through the transmission end, and at the same time, the client also needs to send the command information to the server to complete the control or monitoring of the charging process. , There are the following problems in the communication algorithm between the CAN data information of the client or the charging gun and the SOCKET of the server: 1. Some exceptions have not been resolved, and even some programs cannot operate normally; 2. Some programs do not have relevant algorithms, and It is to directly hand over the relevant calculation logic to the server, resulting in waste of server resources, low efficiency, and abnormal server data; 3. Fo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08H04L12/24H04L12/40
CPCH04L12/4013H04L41/0604H04L63/12H04L67/1097H04L69/06H04L69/22H04L2012/40215
Inventor 李文博
Owner 特瓦特能源科技有限公司