# US 12,113,883 B2 · Data interaction method and apparatus, vehicle, readable storage medium and chip

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

- Number: US 12,113,883 B2
- Document ID: US12113883B2
- Status: Granted
- Kind: B2
- Application number: 18/104,041
- Filed: 2023-01-31
- Published: 2024-04-04
- Granted: 2024-10-08
- Earliest claimed: 2022-09-30
- Assignees: Xiaomi EV Technology Co., Ltd.
- Applicants: Xiaomi EV Technology Co., Ltd.
- Inventors: Gang Wang
- Web page: https://patentgrep.com/patent/US12113883B2

## CPC

- H04L 69/22: Parsing or analysis of headers
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04L 1/1642: {Formats specially adapted for sequence numbers}
- H04L 1/1819: {with retransmission of additional or different redundancy}
- H04W 4/40: for vehicles, e.g. vehicle-to-pedestrians [V2P]
- Y02D 30/70: in wireless communication networks
- 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)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A data interaction method, apparatuses and computer readable medium for connecting a user device to Service-Oriented Architecture (SOA) service in a vehicle. A data interaction method includes: forming a plurality of BLE channels by connecting a mobile terminal with a plurality of Bluetooth low energy (BLE) nodes of a vehicle separately, obtaining a service-oriented architecture (SOA) service request data packet of the vehicle, where data in the SOA service request data packet are configured to call an SOA service of the vehicle, obtaining a plurality of data sub-packets by dividing the SOA service request data packet, and sending the plurality of data sub-packets separately to the vehicle through the plurality of BLE channels; and sending a data packet of the mobile terminal to the vehicle through the plurality of BLE nodes, such that the SOA service of the vehicle can be called according to the data in the data packet.

## Claims

### Claim 1

A data interaction method comprising:
forming a plurality of Bluetooth low energy (BLE) channels by connecting a plurality of BLE nodes of a vehicle separately;
obtaining a service-oriented architecture (SOA) service request data packet of the vehicle, wherein data in the SOA service request data packet are configured to call an SOA service of the vehicle;
obtaining a plurality of data sub-packets by dividing the SOA service request data packet; and
sending the plurality of data sub-packets separately to the vehicle through the plurality of BLE channels.

### Claim 2 (depends on 1)

The data interaction method according to claim 1, wherein obtaining an SOA service request data packet of the vehicle comprises:
generating an initial SOA service request data packet according to a selection operation of a user; and
obtaining the SOA service request data packet by serializing parameters of the initial SOA service request data packet.

### Claim 3 (depends on 2)

A non-transitory computer-readable storage medium storing a computer program instruction, wherein the computer program instruction when executed by one or more processors cause the one or more processors to collectively execute the data interaction method of claim 2.

### Claim 4 (depends on 1)

The data interaction method according to claim 1, wherein sending the plurality of data sub-packets separately to the vehicle through the plurality of BLE channels comprises:
traversing each of the plurality of BLE channels, and in response to detecting an idle BLE channel, executing a packet sending process once until all the data sub-packets are sent to the vehicle;
wherein the packet sending comprises:
selecting a target data sub-packet from the plurality of data sub-packets;
obtaining a field-filled target data sub-packet by filling a header of the target data sub-packet with a service identifier, a packet sending sequence identifier and cyclic redundancy check data, wherein the service identifier represents a category of the SOA service, the packet sending sequence identifier is a packet sending sequence corresponding to the target data sub-packet, and the cyclic redundancy check data are configured to check data integrity of the target data sub-packet; and
transmitting the field-filled target data sub-packet by using the idle BLE channel.

### Claim 5 (depends on 1)

A mobile terminal, comprising:
a memory configured to store a processor executable instruction; and
one or more processors that are communicatively coupled to the memory;
wherein the one or more processors are collectively configured to implement the method according to claim 1.

### Claim 6 (depends on 5)

The mobile terminal according to claim 5, wherein the one or more processors are further collectively configured to:
generate an initial SOA service request data packet according to a selection operation of a user; and
obtain the SOA service request data packet by serializing parameters of the initial SOA service request data packet.

### Claim 7 (depends on 5)

The mobile terminal according to claim 5, wherein the one or more processors are further collectively configured to:
traverse each of the plurality of BLE channels, and in response to detecting an idle BLE channel, execute a packet sending process once until all the data sub-packets are sent to the vehicle;
wherein the packet sending process comprises:
selecting a target data sub-packet from the plurality of data sub-packets;
obtaining a field-filled target data sub-packet by filling a header of the target data sub-packet with a service identifier, a packet sending sequence identifier and cyclic redundancy check data, wherein the service identifier represents a category of the SOA service, the packet sending sequence identifier is a packet sending sequence corresponding to the target data sub-packet, and the cyclic redundancy check data are configured to check data integrity of the target data sub-packet; and
transmitting the field-filled target data sub-packet by using the idle BLE channel.

### Claim 8 (depends on 1)

A non-transitory computer-readable storage medium storing a computer program instruction, wherein the computer program instruction when executed by one or more processors cause the one or more processors to collectively execute the data interaction method of claim 1.

### Claim 9 (depends on 1)

A chip comprising:
a processor; and
an interface communicatively coupled to the processor, wherein the processor is configured to execute the data interaction method of claim 1.

### Claim 10

A data interaction method comprising:
receiving a Bluetooth low energy (BLE) connection request sent by a mobile terminal;
forming a plurality of BLE channels with the mobile terminal according to the BLE connection request;
receiving a plurality of data sub-packets sent by the mobile terminal through the plurality of BLE channels; and
obtaining a service-oriented architecture (SOA) service request data packet by splicing the plurality of data sub-packets, wherein data in the SOA service request data packet are configured to call an SOA service of a vehicle.

### Claim 11 (depends on 10)

The data interaction method according to claim 10, wherein obtaining the SOA service request data packet by splicing the plurality of data sub-packets comprises:
checking for data legality and data integrity of a header field of each data sub-packet of the plurality of data sub-packets; and
obtaining an effective field of the data sub-packet by removing, in response to determining that the data sub-packet passes the checking, the header field of the data sub-packet;
determining a byte area of the effective field of the data sub-packet in a buffer area according to a packet sending sequence identifier of the data sub-packet, wherein the packet sending sequence identifier is a packet sending sequence corresponding to the data sub-packet; and
obtaining the SOA service request data packet by splicing the effective field of each data sub-packet in response to determining that the buffer area contains the effective field of each data sub-packet of the plurality of data sub-packets.

### Claim 12 (depends on 11)

The data interaction method according to claim 11, wherein checking for the data legality and data integrity of the header field of each data sub-packet of the plurality of data sub-packets comprises:
checking for consistency and legality of a service name of the data sub-packet according to a service identifier in the data sub-packet, wherein the service identifier represents a category of the SOA service; and
checking data integrity of the data sub-packet according to cyclic redundancy check data in the data sub-packet, wherein the cyclic redundancy check data are configured to check the data integrity of the data sub-packet.

### Claim 13 (depends on 11)

The data interaction method according to claim 11, wherein obtaining the SOA service request data packet by splicing the effective field of each data sub-packet comprises:
splicing the effective field of each data sub-packet; and
obtaining the SOA service request data packet by deserializing parameters of the effective field spliced.

### Claim 14 (depends on 11)

A non-transitory computer-readable storage medium storing a computer program instruction, wherein the computer program instruction when executed by one or more processors cause the one or more processors to collectively execute the data interaction method of claim 11.

### Claim 15 (depends on 10)

A non-transitory computer-readable storage medium storing a computer program instruction, wherein the computer program instruction when executed by one or more processors cause the one or more processors to collectively execute the data interaction method of claim 10.

### Claim 16 (depends on 10)

A chip comprising:
a processor; and
an interface communicatively coupled to the processor, wherein the processor is configured to execute the data interaction method of claim 10.

### Claim 17

A vehicle, having a plurality of BLE nodes, comprising:
a memory configured to store a processor executable instruction; and
one or more processors that are communicatively coupled to the memory, wherein the one or more processors are collectively configured to:
receive a Bluetooth low energy (BLE) connection request sent by a mobile terminal,
form a plurality of BLE channels with the mobile terminal according to the BLE connection request,
receive a plurality of data sub-packets sent by the mobile terminal through the plurality of BLE channels, and
obtain a service-oriented architecture (SOA) service request data packet by splicing the plurality of data sub-packets, wherein data in the SOA service request data packet are configured to call an SOA service of the vehicle.

### Claim 18 (depends on 17)

The vehicle according to claim 17, wherein the one or more processors are further collectively configured to:
check for data legality and data integrity of a header field of each data sub-packet of the plurality of data sub-packets,
obtain an effective field of the data sub-packet by removing, in response to determining that the data sub-packet passes the check, the header field of the data sub-packet,
determine a byte area of the effective field of the data sub-packet in a buffer area according to a packet sending sequence identifier of the data sub-packet, wherein the packet sending sequence identifier is a packet sending sequence corresponding to the data sub-packet, and
obtain the SOA service request data packet by splicing the effective field of each data sub-packet in response to determining that the buffer area contains the effective field of each data sub-packet of the plurality of data sub-packets.

### Claim 19 (depends on 17)

The vehicle according to claim 17, wherein the one or more processors are further collectively configured to:
check for consistency and legality of a service name of a target data sub-packet according to a service identifier in the target data sub-packet, wherein the service identifier represents a category of the SOA service; and
check for data integrity of the target data sub-packet according to cyclic redundancy check data in the target data sub-packet, wherein the cyclic redundancy check data are configured to check for the data integrity of the target data sub-packet.

### Claim 20 (depends on 17)

The vehicle according to claim 17, wherein the one or more processors are further collectively configured to:
splice an effective field of each data sub-packet; and
obtain the SOA service request data packet by deserializing parameters of the effective field spliced.
