# US 2019/0173951 A1 · Vehicle communication using publish-subscribe messaging protocol

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0173951 A1
- Document ID: US20190173951A1
- Status: Published application
- Kind: A1
- Application number: 15/829,356
- Filed: 2017-12-01
- Published: 2019-06-06
- Earliest claimed: 2017-12-01
- Applicants: GM Global Technology Operations LLC
- Inventors: Anthony J. Sumcad; Amar Badal
- Web page: https://patentgrep.com/patent/US20190173951A1

## CPC

- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L 63/00: {Network architectures or network communication protocols for network security (cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00; network architectures or network communication protocols for wireless network security H04W12/00; security arrangements for protecting computers or computer systems against unauthorised activity G06F21/00)}
- H04L 67/55: Push-based network services
- H04L 67/562: Brokering proxy services
- H04W 4/12: Messaging; Mailboxes; Announcements
- H04W 4/40: for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A system and method of communicating with a vehicle through use of a publish-subscribe messaging protocol, wherein the vehicle includes a wireless communications device that is capable of carrying out data communications with a remote server or system through use of a messaging broker according to the publish-subscribe messaging protocol, the method including: establishing at least one connection with a messaging broker using the wireless communications device, wherein the connection is established using the publish-subscribe messaging protocol, and wherein each of the at least one connection is established by sending a connection request message from the vehicle to the messaging broker; obtaining vehicle information from at least one vehicle system module (VSM) of the vehicle; generating a publish message at the vehicle, wherein the publish message includes the obtained vehicle information; and sending the publish message from the vehicle to the messaging broker using the publish-subscribe messaging protocol.

## Claims

### Claim 1

A method of communicating with a vehicle through use of a publish-subscribe messaging protocol, wherein the vehicle includes a wireless communications device that is capable of carrying out data communications with a remote server or system through use of a messaging broker according to the publish-subscribe messaging protocol, the method comprising:
establishing at least one connection with a messaging broker using the wireless communications device, wherein the connection is established using the publish-subscribe messaging protocol, and wherein each of the at least one connection is established by sending a connection request message from the vehicle to the messaging broker;
obtaining vehicle information from at least one vehicle system module (VSM) of the vehicle;
generating a publish message at the vehicle, wherein the publish message includes the obtained vehicle information; and
sending the publish message from the vehicle to the messaging broker using the publish-subscribe messaging protocol.

### Claim 2 (depends on 1)

The method of claim 1, wherein the establishing step further comprises, after sending the connection request message, receiving a connection acknowledgement message from the messaging broker, wherein the connection acknowledgement message indicates that the established connection is successful.

### Claim 3 (depends on 1)

The method of claim 1, wherein the connection request message includes one or more topic names of topics to which the vehicle or a vehicle system module, including the at least one VSM, is requesting a subscription.

### Claim 4 (depends on 3)

The method of claim 3, further comprising the step of receiving a second publish message from the messaging broker, wherein at least some of the data included in the second publish message is at least partly based on information included in a third publish message that was received by the messaging broker from a client device.

### Claim 5 (depends on 4)

The method of claim 4, wherein the client device is a mobile device and wherein the at least some of the data included in the second publish message includes a vehicle command.

### Claim 6 (depends on 5)

The method of claim 5, wherein the third publish message includes a quality of service indicator that guarantees delivery of the second publish message at least once.

### Claim 7 (depends on 5)

The method of claim 5, wherein the messaging broker is configured to:
in response to receiving the third publish message at the messaging broker from the mobile device, determine whether the third publish message specifies a topic name of a topic to which the vehicle holds a subscription;
when it is determined that the third publish message specifies a topic name of a topic to which the vehicle holds a subscription, determine whether the vehicle is presently connected to the messaging broker via the established connection; and
when it is determined that the vehicle is not presently connected to the messaging broker via the established connection, sending a wake up message to the vehicle.

### Claim 8 (depends on 7)

The method of claim 7, wherein the wake up message is received at the vehicle using a data messaging protocol other than the publish-subscribe messaging protocol and wherein the method further comprises: in response to receiving the wake up message from the message broker, re-establishing the connection with the messaging broker so as to allow the second publish message to be received at the vehicle.

### Claim 9 (depends on 1)

The method of claim 1, wherein the vehicle includes a plurality of vehicle system modules (VSMs) and wherein the at least one connection includes a connection for each of the plurality of VSMs, and wherein each of the plurality of VSMs establish the connection with the messaging broker using the wireless communications device included in the vehicle.

### Claim 10 (depends on 9)

The method of claim 9, wherein each of the connection request messages includes a client identifier that is based on or derived from an identification number of the vehicle and wherein each of the client identifiers are unique from one another.

### Claim 11 (depends on 1)

The method of claim 1, wherein the publish message includes a topic name, and wherein the messaging broker is configured to send at least part of the publish message to one or more client devices that are subscribed to the topic name in response to receiving the publish message.

### Claim 12 (depends on 1)

The method of claim 1, wherein the connection establishment step further includes carrying out a Secure Sockets Layer (SSL) handshake with the messaging broker.

### Claim 13

A method of communicating with a vehicle through use of a publish-subscribe messaging protocol, wherein the vehicle includes a wireless communications device that is capable of carrying out data communications with a remote server or system through use of a messaging broker according to the publish-subscribe messaging protocol, the method comprising:
establishing a connection with a messaging broker using the wireless communications device, wherein the connection is established using a publish-subscribe messaging protocol, and wherein the connection is established by:
sending a connection request message from the vehicle to the messaging broker; and
after sending the connection request message, receiving a connection acknowledgement message from the messaging broker, wherein the connection acknowledgement message indicates that the established connection is successful;
obtaining vehicle information from one or more vehicle system modules (VSMs) of the vehicle;
generating a publish message at the vehicle, wherein the publish message comprises metadata and a payload that includes the obtained vehicle information, and wherein the metadata includes a topic name corresponding to the vehicle and/or the obtained vehicle information;
sending the publish message from the vehicle to the messaging broker using the publish-subscribe messaging protocol, wherein the messaging broker is configured to send at least part of the publish message to one or more client devices that are subscribed to the topic name that was included in the publish message; and
after sending the publish message, receiving a publish acknowledgement message from the messaging broker.

### Claim 14

A vehicle communications system, comprising:
a vehicle backend services facility that comprises:
one or more servers that each include a processing device and a memory device; and
one or more databases that includes vehicle information; and
a vehicle comprising:
a wireless communications device including a processing device, a memory device, and wireless communications circuitry;
a plurality of vehicle system modules (VSMs); and
a communications bus that connects the wireless communications device with the plurality of VSMs;
wherein the wireless communications device is configured to:
receive a first set of messages from the plurality of VSMs using the communications bus; and
send a second set of messages to a messaging broker according to a publish-subscribe messaging protocol using the wireless communications circuitry, wherein the second set of messages are based at least partly on the first set of messages; and
wherein the messaging broker is configured to:
receive the second set of messages from the vehicle;
determine whether the vehicle backend services facility is subscribed to a topic name included in the second set of messages; and
when it is determined that the vehicle backend services facility is subscribed to a topic name included in the second set of messages, send a third set of messages to the vehicle backend services, wherein the third set of messages includes vehicle information contained in the second set of messages; and
wherein the vehicle backend services facility includes computer instructions included on the memory device that, when executed, cause the processing device to:
receive the third set of messages from the messaging broker according to the publish-subscribe messaging protocol;
extract the vehicle information contained in the payload of third set of messages; and
store the vehicle information into the one or more databases.

### Claim 15 (depends on 14)

The vehicle communications system of claim 14, wherein the wireless communications circuitry includes a cellular chipset that is capable of carrying out communications with a cellular carrier system.

### Claim 16 (depends on 15)

The vehicle communications system of claim 15, wherein the second set of messages and the third set of messages are the same.

### Claim 17 (depends on 15)

The vehicle communications system of claim 15, wherein the wireless communications device is configured to establish a connection with the messaging broker according to the publish-subscribe messaging protocol and through carrying out a Secure Sockets Layer (SSL) handshake, and wherein communications between the wireless communications device and the messaging broker are carried out using Transport Control Protocol/Internet Protocol (TCP/IP) along with SSL encryption.

### Claim 18 (depends on 17)

The vehicle communications system of claim 17, wherein the vehicle communications system further comprises the messaging broker.

### Claim 19 (depends on 18)

The vehicle communications system of claim 18, wherein the second set of messages includes a payload, wherein the wireless communications device is further configured to encrypt the payload of the second set of messages using a first encryption key, wherein the third set of messages includes the encrypted payload of the second set of messages, and wherein the vehicle backend services facility includes a second encryption key that corresponds to the first encryption key according to a common encryption key so that the vehicle backend services facility can decrypt the encrypted payload of the third set of messages that are received from the messaging broker.

### Claim 20 (depends on 19)

The vehicle communications system of claim 19, wherein the publish-subscribe messaging protocol is Message Queue Telemetry Transport.
