Search

US-12621645-B2 - Apparatus and method for transmitting or receiving message by using Bluetooth low energy advertising

US12621645B2US 12621645 B2US12621645 B2US 12621645B2US-12621645-B2

Abstract

A method of transmitting a message by a home appliance includes generating a transmission message, generating one or more sub-transmission messages from the transmission message based on a limited length of a scan response data packet of Bluetooth low energy (BLE) advertising, transmitting a BLE advertising packet including header information of the transmission message, and transmitting one or more scan response data packets respectively including the one or more sub-transmission messages.

Inventors

  • Taejun KWON
  • SungKyu Kim

Assignees

  • SAMSUNG ELECTRONICS CO., LTD.

Dates

Publication Date
20260505
Application Date
20230427
Priority Date
20220427

Claims (20)

  1. 1 . A method of transmitting a message by a home appliance, the method comprising: generating a transmission message; generating at least one sub-transmission message from the transmission message, each of the at least one sub-transmission message having a length based on a limited length of a scan response data packet of Bluetooth low energy (BLE) advertising; transmitting a BLE advertising packet including header information of the transmission message; and transmitting at least one scan response data packet respectively including the at least one sub-transmission message.
  2. 2 . The method of claim 1 , wherein the header information of the transmission message includes information about a remaining advertising time in an effective time for a transmission operation of the transmission message, and the transmitting the BLE advertising packet and the transmitting the at least one scan response data packet are stopped after a lapse of the remaining advertising time.
  3. 3 . The method of claim 2 , wherein the transmitting the BLE advertising packet and the transmitting the at least one scan response data packet are iterated to repetitively transmit the transmission message a predetermined number of times within the effective time.
  4. 4 . The method of claim 1 , wherein the header information of the transmission message includes at least one of a service identification (ID), service version information, a message ID, packet index information, total packet count information, remaining advertising time information, advertising change time information, display time information, or an error detection code.
  5. 5 . The method of claim 1 , wherein the transmitting the BLE advertising packet is performed with respect to each transmitting of the at least one scan response data packet, and the transmitting the BLE advertising packet and the transmitting the at least one scan response data packet are performed repetitively.
  6. 6 . The method of claim 5 , wherein the BLE advertising packet includes packet index information and remaining advertising time information, and the packet index information and the remaining advertising time information are updated based on a scan response data packet corresponding to the BLE advertising packet.
  7. 7 . The method of claim 1 , wherein the BLE advertising packet includes a preamble and access address area, a packet data unit (PDU) area, and a cyclic redundancy check (CRC) area, the PDU area includes a header area, an advertiser address area, and a payload area, and the payload area includes the header information of the transmission message.
  8. 8 . The method of claim 1 , further comprising collecting status information or operation information from a home appliance function module of the home appliance, and the generating the transmission message includes generating, based on detection of notification event from the status information and the operation information a transmission message including information about the notification event.
  9. 9 . The method of claim 1 , further comprising: receiving a Bluetooth low energy (BLE) advertising packet including a message identification (ID), packet index information, and total packet counter information; generating a buffer for a transmission message corresponding to the message ID, the buffer having a storage capacity corresponding to the total packet counter information; receiving a scan response data packet corresponding to the received BLE advertising packet; obtaining, from the scan response data packet, a sub-transmission message generated from the transmission message; storing the sub-transmission message in the buffer; iterating, until the storage capacity of the buffer is full, the receiving the BLE advertising packet, the obtaining the sub-transmission message from the scan response data packet, and the storing the sub-transmission message in the buffer; and outputting the transmission message generated from at least one sub-transmission message stored in the buffer.
  10. 10 . The method of claim 9 , wherein the storing the at least one sub-transmission message in the buffer includes storing the at least one sub-transmission message in a storage space corresponding to the packet index information.
  11. 11 . The method of claim 9 , wherein the received BLE advertising packet further includes manufacturer information and a service ID, and wherein the method further comprises determining whether to transmit a scan response request with respect to the BLE advertising packet, based on the manufacturer information and the service ID, when it is determined to transmit the scan response request, transmitting the scan response request, and the receiving the scan response data packet includes receiving the scan response data packet corresponding to the scan response request.
  12. 12 . The method of claim 9 , wherein the received BLE advertising packet further includes remaining advertising time information, wherein the method further comprises: setting a BLE scan time based on the remaining advertising time information; and performing a BLE scan during the BLE scan time, and wherein the BLE advertising packet and the scan response data packet are received during the BLE scan.
  13. 13 . The method of claim 12 , further comprising, when the BLE scan is terminated before the storage capacity of the buffer is full, deleting the at least one sub-transmission message stored in the buffer.
  14. 14 . The method of claim 12 , wherein the received BLE advertising packet includes information about an advertising change time, wherein the received BLE advertising packet and the at least one scan response data packet are received during the BLE scan, and wherein the method further comprises setting a BLE scan cycle to be shorter than the advertising change time.
  15. 15 . The method of claim 9 , wherein the received BLE advertising packet further includes display time information, wherein the outputting the transmission message includes displaying the transmission message during a time corresponding to the display time information, and wherein the method further comprises deleting the buffer when the transmission message is output.
  16. 16 . A home appliance comprising: a communication module; a memory storing at least one instruction; and at least one processor connected to the memory, wherein the at least one processor is configured to execute the at least one instruction to: generate a transmission message; generate at least one sub-transmission message from the transmission message, each of the at least one sub-transmission message having a length based on a limited length of a scan response data packet of Bluetooth low energy (BLE) advertising; transmit, through the communication module, a BLE advertising packet of the BLE advertising including header information of the transmission message; and transmit, through the communication module, at least one scan response data packet respectively including the at least one sub-transmission message.
  17. 17 . The home appliance of claim 16 , wherein the header information of the transmission message includes information about a remaining advertising time in an effective time for a transmission operation of the transmission message, and the transmitting the advertising packet and the transmitting the at least one scan response data packet are stopped after a lapse of the remaining advertising time.
  18. 18 . The home appliance of claim 17 , wherein the transmitting the BLE advertising packet and the transmitting the scan response data packet are iterated to repetitively transmit the transmission message a predetermined number of times within the effective time.
  19. 19 . The home appliance of claim 16 , further comprising an output interface; wherein the at least one processor is further configured to execute the at least one instruction to: receive, through the communication module, a Bluetooth low energy (BLE) advertising packet including a message identification (ID), packet index information, and total packet count information; generate a buffer for a transmission message corresponding to the message ID, the buffer having a storage capacity corresponding to the total packet count information; receive, through the communication module, a scan response data packet corresponding to the received BLE advertising packet; obtain, from the scan response data packet, a sub-transmission message generated from the transmission message; store the sub-transmission message in the buffer; iterate, until the storage capacity of the buffer is full, the receiving the BLE advertising packet, the obtaining the sub-transmission message from the scan response data packet, and the storing the sub-transmission message in the buffer; and output, through the output interface, the transmission message generated from at least one sub-transmission message stored in the buffer.
  20. 20 . A computer-readable recording medium having recorded thereon a program which, when executed by a computer, causes the computer to perform the method of claim 1 .

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of International Application No. PCT/KR2023/005289, filed on Apr. 19, 2023, in the Korean Intellectual Property Office, which is based on and claims priority to Korean Patent Application No. 10-2022-0052228, filed on Apr. 27, 2022, the disclosures of each of which being incorporated by reference herein in their entireties. BACKGROUND 1. Field The disclosure relates to a method of transmitting, by a home appliance, a message by using Bluetooth low energy (BLE) advertising, a home appliance configured to transmit a message by using the BLE advertising, and a computer-readable recording medium having recorded thereon a program for executing, on a computer, the method of transmitting a message. In addition, the disclosure relates to a method of receiving, by a home appliance, a message by using the BLE advertising and a home appliance configured to receive a message by using the BLE advertising. 2. Description of Related Art As the Internet of Things (IoT) environment has become widely distributed, a number of home appliances are connected to the internet via wireless communication, such as wireless fidelity (Wi-Fi), etc. Such home appliances connected to the internet may be controlled by or collect information through a server. However, as the number of home appliances grows, the amount of data processed by the internet network and server also increases exponentially. In this regard, direct communication among the home appliances without a server may lead to reducing the cost of the server and allowing for application in various scenarios. To facilitate direct communication among the home appliances, a process of connecting the home appliances to each other is needed. However, such a process of connecting the home appliances requires an authentication process, which results in restricted use of the home appliances. SUMMARY In accordance with an aspect of the disclosure, a method of transmitting a message by a home appliance includes generating a transmission message; generating at least one sub-transmission message from the transmission message based on a limited length of a scan response data packet of Bluetooth low energy (BLE) advertising; transmitting a BLE advertising packet including header information of the transmission message; and transmitting at least one scan response data packet respectively including the at least one sub-transmission message. In accordance with another aspect of the disclosure, a home appliance includes a communication module; a memory storing at least one instruction; and at least one processor connected to the memory and configured to execute the at least one instruction to generate a transmission message; generate at least one sub-transmission message from the transmission message based on a limited length of a scan response data packet of Bluetooth low energy (BLE) advertising; transmit, through the communication module, a BLE advertising packet of the BLE advertising including header information of the transmission message; and transmit, through the communication module, scan response data packet respectively including the at least one sub-transmission message. In accordance with another aspect of the disclosure, a computer-readable recording medium having recorded thereon a program which, when executed by a computer, causes the computer to perform a method of transmitting a message by a home appliance includes generating a transmission message; generating at least one sub-transmission message from the transmission message based on a limited length of a scan response data packet of Bluetooth low energy (BLE) advertising; transmitting a BLE advertising packet including header information of the transmission message; and transmitting at least one scan response data packet respectively including the at least one sub-transmission message. In accordance with another aspect of the disclosure, a method of receiving a message by a home appliance includes receiving a Bluetooth low energy (BLE) advertising packet including a message identification (ID), packet index information, and total packet counter information; generating a buffer for a transmission message corresponding to the message ID, the buffer having a storage capacity corresponding to the total packet counter information; receiving a scan response data packet corresponding to the BLE advertising packet; obtaining, from the scan response data packet, a sub-transmission message generated from the transmission message; storing the sub-transmission message in the buffer; iterating, until the storage capacity of the buffer is full, the receiving the BLE advertising packet, the obtaining the sub-transmission message from the scan response data packet, and the storing the sub-transmission message in the buffer; and outputting the transmission message generated from at least one sub-transmissions message stored in the buffer. In accordance with