System and method for device cluster management

By determining and updating a cluster of peer devices in a wireless communication protocol, the problem of limited communication range and number of interconnected devices in the prior art is solved, and effective wireless communication network expansion and coverage in a multi-device environment is achieved.

CN113170376BActive Publication Date: 2024-09-03VISA INTERNATIONAL SERVICE ASSOCIATION
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN201880099916.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-06
Publication Date
2024-09-03
Estimated Expiration
2038-12-06

AI Technical Summary

Technical Problem

Existing point-to-point wireless communication technology is limited in its use in extended coverage areas and multi-device environments. The communication range and number of interconnected devices are limited, making it difficult to adapt to environments that cover more than eight devices or exceed the communication range.

Method used

Determine clusters of peer devices within communication range through wireless communication protocols, allowing devices to maintain concurrent connections and update or create new clusters when necessary to expand the network, using protocols such as Bluetooth and Bluetooth Low Energy to enhance communication range and the number of interconnected devices , stores network status information for sharing and updating.

Benefits of technology

It achieves an increase in the number of interconnected devices and coverage areas within a limited communication range, allows the device network to operate normally in a multi-device environment, enhances the functionality of the wireless communication protocol, and supports more concurrent connections and wider coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113170376B
    Figure CN113170376B
Patent Text Reader

Abstract

A technique for establishing a network of devices using a wireless communication protocol is described. The technique may include determining peer devices within a communication range of a communication device, and determining whether any of the peer devices is part of a device cluster having less than a maximum number of device members. When the peer devices within the communication range are determined to be part of an existing device cluster having less than the maximum number of device members, the existing device cluster may be updated to include the communication device. When each peer device within the communication range of the communication device is determined to be part of a saturated device cluster having the maximum number of device members, a new device cluster may be created to include the communication device and a plurality of peer devices that meet a signal strength criterion.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Point-to-point wireless communication technologies can allow devices in close proximity to connect and exchange data without the need for intermediary network devices such as gateways or central servers. However, when using such wireless communication technologies, the communication range and the number of interconnected devices can be limited. Consequently, these wireless communication technologies have not been widely adopted in environments or applications where extended coverage is desired or where many devices may be present simultaneously.

[0002] Embodiments of the invention address these and other problems, individually and collectively. Summary of the Invention

[0003] According to some embodiments, a technique for establishing a device network may include determining, using a wireless communication protocol, a set of peer devices within a communication range of a communication device, and determining whether any of the peer devices is part of a device cluster having fewer than a maximum number of device members. The wireless communication protocol may allow a device to maintain concurrent connections with up to a maximum number of concurrently connected devices. When a peer device in the set of peer devices within the communication range of the communication device is determined to be part of an existing device cluster having fewer than the maximum number of device members, the existing device cluster may be updated to include the communication device. When each peer device in the set of peer devices within the communication range of the communication device is determined to be part of a saturated device cluster having the maximum number of device members, a new device cluster may be created to include the communication device and multiple peer devices in the set of peer devices that meet a signal strength criterion.

[0004] According to some embodiments, a communication device may include: a transceiver adapted to exchange data using a wireless communication protocol; a processor; and a memory storing executable code that, when executed by the processor, causes the communication device to perform the above-described techniques for establishing a device network. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Figure 1 A network of devices is shown in accordance with some embodiments.

[0006] Figure 2A Illustrated is the state of a network of devices when a new device appears in proximity to the network of devices in accordance with some embodiments.

[0007] Figure 2B The state of a device network after a new device is added to the device network is shown in accordance with some embodiments.

[0008] Figure 3A Another state of a network of devices is shown when a new device appears in proximity to the network of devices, in accordance with some embodiments.

[0009] Figure 3B Another state of a network of devices is shown after a new device has been added to the network of devices in accordance with some embodiments.

[0010] Figure 4A An initial state of a network of devices is shown according to some embodiments.

[0011] Figure 4B The state of a network of devices after the devices are moved from one location to another is shown in accordance with some embodiments.

[0012] Figure 4C Shown is the state of a device network after a device switches device clusters according to some embodiments.

[0013] Figure 5 A flow chart illustrating a process for establishing a device network according to some embodiments is shown.

[0014] Figure 6 A flow diagram of a process 600 for reconnecting to a device network is shown, according to some embodiments.

[0015] Figure 7 The status of a network of devices at a merchant location at a first point in time is shown in accordance with some embodiments.

[0016] Figure 8 The status of a network of devices at a merchant location at a second point in time is shown in accordance with some embodiments.

[0017] Figure 9 A block diagram of a communication device according to some embodiments is shown. DETAILED DESCRIPTION

[0018] Techniques for establishing a network of devices that communicate wirelessly with one another are described. The techniques can be used to enhance the functionality of wireless communication protocols, including those that employ point-to-point wireless communication technologies such as Bluetooth, Bluetooth Low Energy, and WiFi-Direct. For example, the techniques described herein can be used to extend the communication range of a wireless communication protocol and / or increase the number of interconnected devices that a wireless communication protocol allows. Each device in the network can maintain a local copy of network state information that describes the network configuration, so that each device is aware of other devices in the network, and changes in the network configuration can be propagated from one device to another within the network.

[0019] Before discussing the details of various embodiments, an explanation of various terms is provided below.

[0020] A "wireless communication protocol" may refer to a specific technology that allows two or more devices to exchange data with each other without requiring a physical wired connection between the devices. A wireless communication protocol may be a standardized communication protocol or a proprietary communication protocol. Examples of wireless communication protocols may include Bluetooth, Bluetooth Low Energy (BLE), WiFi, WiFi-Direct, Zigbee, Z-Wave, NFC, RFID, etc.

[0021] A "communication device" may refer to a device that includes one or more electronic components (e.g., an integrated chip) that can communicate with another device or entity. For example, a communication device may be a computing device that includes at least one processor coupled to a memory that stores instructions or code for execution by the processor, and the communication device may include a communication interface such as a transceiver that allows the communication device to interact with other entities. A communication device may be a portable communication device that can be transported and operated by a user. A portable communication device may provide remote communication capabilities with a network. A portable communication device may be configured to transmit data or communications to other devices and receive data or communications from other devices. A portable communication device may be in the form of a mobile device such as a mobile phone (e.g., a smartphone, a cellular phone, etc.), a tablet computer, a portable media player, a personal digital assistant device (PDA), a wearable device (e.g., a watch, a bracelet, a ring, glasses, a health monitoring device such as a fitness tracker, etc.), an electronic reader device, or in the form of a card (e.g., a smart card) or a pendant. Examples of portable communication devices may also include portable computing devices (e.g., laptop computers, netbooks, ultrabooks, etc.). A portable communication device may also be in the form of a vehicle (e.g., an automobile) or integrated as part of a vehicle (e.g., a vehicle's information system). Other examples of communication devices may include Internet of Things (IoT) devices, smart appliances and electronic devices, gaming consoles, and the like. A communication device may also include multiple devices or components (e.g., when a device is capable of remotely accessing a network by being tethered to another device—the two devices together may be considered a communication device). Communication devices that can be communicatively coupled to each other within a network of devices may be referred to as "peer devices."

[0022] A "device identifier" may refer to a unique device identifier associated with a device. For example, the device identifier may be one or more of the following: an electronic serial number of the device, a serial number of a component of the device (e.g., a subscriber identity module (SIM) serial number), a media access control (MAC) address of the device, an International Mobile Station Equipment Identity (IMEI) number associated with the device, an International Mobile Subscriber Identity (IMSI) number associated with the device, a network service framework identifier associated with the device, an Internet Protocol (IP) address of the device, or other unique identifier assigned to the device (e.g., a random number, a pseudo-random counter value, etc.). In some embodiments, one or more of the device identifiers may be immutable and do not change during the lifetime of the device or when the device is connected to a particular network. In some embodiments, one or more of the device identifiers may be immutable as long as the device remains associated with the same user.

[0023] A "server computer" may refer to a powerful computer or cluster of computers. For example, a server computer may be a mainframe, a cluster of minicomputers, or a group of servers operating as a unit. The server computer may be coupled to a database and may include any hardware, software, other logic, or combination thereof for servicing requests from one or more client computers. The server computer may include one or more computing devices and may use any of a variety of computing structures, arrangements, and compilations to service requests from one or more client computers.

[0024] "Access device" may refer to a suitable device for communicating with a resource provider. An access device may generally be located in any suitable location, such as at a service provider or merchant's location, or may be located remotely (e.g., in the cloud). Examples of access devices may include point-of-sale (POS) devices, personal computers (PCs), tablet PCs, handheld dedicated readers, set-top boxes, electronic cash registers (ECRs), automated teller machines (ATMs), virtual cash registers (VCRs), kiosks, security systems, access systems, and the like. An access device may be a web server, a merchant's computer, or a transaction processing network that can interact with a user's communication device. A user's communication device (e.g., a user's mobile device) may also serve as an access device. The access device may use any suitable contact or contactless operating mode to send or receive data using the communication device. The access device may include a processor, a computer-readable medium, and a device reader. The device reader may include contact and / or contactless operating modes. For example, a card reader may include one or more radio frequency (RF) antennas, an optical scanner barcode reader, or a magnetic stripe reader to interact with the communication device.

[0025] A "user" may refer to an entity such as a person, organization, or a device or system associated with or operated by a person or organization that utilizes a resource for a purpose. A user may have one or more accounts that can be used to access a resource. A user may also be referred to as an account holder, customer, subscriber, or cardholder.

[0026] "Resources" may refer to services, items, locations, data, information, or items of value that help users achieve a goal. Some resources may be limited and may require users to have an account to access the resources. Examples of resources may include: software applications and related functionality; online services including cloud services; goods (virtual and / or physical objects) or services related to transactions; points, scores, and / or currencies that can be redeemed for other resources; electronic devices such as servers, computers, mobile devices, gaming systems, etc.; transportation such as transportation vehicles or delivery services, such as the communication capabilities of wireless services; restricted areas; media content; etc.

[0027] Figure 1 A device network 100 is shown in accordance with some embodiments. The device network 100 may include a communication device 102 operated by a user and a set of peer devices 151-157 (e.g., other communication devices) operated by one or more other users and / or entities. Although the peer devices 151-157 are shown as being similar to the communication device 102, it should be understood that any of the peer devices 151-157 may be a different type of communication device or may provide one or more functionalities and / or functions different from the communication device 102. Each of the communication device 102 and the peer devices 151-157 may include a transceiver suitable for exchanging data using a wireless communication protocol. The transceiver may include one or more antenna structures and / or one or more integrated circuits to enable the device to transmit and receive data according to the wireless communication protocol.

[0028] In some embodiments, the wireless communication protocol may have an upper limit on how many concurrent connections a device can maintain. In other words, the wireless communication protocol may allow a device to maintain concurrent connections with up to only a maximum number of concurrently connected devices. For example, the Bluetooth protocol family (e.g., Bluetooth, BLE, etc.) may allow a device to maintain up to seven concurrent connections. Therefore, in an embodiment in which the device network 100 adopts a wireless communication protocol from the Bluetooth protocol family, the communication device 102 is only able to connect to up to seven other devices at the same time, as shown in the figure. Therefore, if the communication device 102 wants to exchange data with another device, the communication device 102 will have to disconnect from one of the peer devices 151-157 and establish a new connection to the other device using the wireless communication protocol. Therefore, the device network 100 may not be suitable for use in an environment or application in which more than eight devices may be present at the same time.

[0029] Another limitation of device network 100 is that the wireless communication protocol technology employed by the network may have a limited communication range. For example, Bluetooth may have a limited range of less than 100 meters. Therefore, if any of peer devices 151-157 is out of the communication range of communication device 102, communication device 102 may lose connection with the peer device and may be unable to continue exchanging data with the peer device. Consequently, device network 100 may not be suitable for use in environments or applications where the coverage area exceeds the communication range of the wireless communication protocol employed by the network.

[0030] According to some embodiments, in order to expand the number and communication range of interconnected devices, the devices may form a device network of overlapping device clusters. Each device cluster may include one or more devices belonging to multiple device clusters. Each device cluster in the network may have up to a predetermined maximum number of device members. The predetermined maximum number of device members in a device cluster may be set to be equal to the maximum number of concurrently connected devices allowable by the device using a wireless communication protocol. Thus, each device may maintain a connection with up to one less concurrently connected device than the maximum number of concurrently connected devices allowable by the wireless communication protocol, so that each device may have an open communication channel that is not dedicated to any specific connection with another device. As long as a device maintains a connection with at least one other device in a device cluster, the device does not need to maintain a connection with every other device in the device cluster to which the device belongs.

[0031] Using the Bluetooth protocol family as an example, the maximum number of concurrently connected devices that a device can allow via the wireless communication protocol is seven devices (e.g., the device can maintain up to seven connections with other devices). Therefore, the predetermined maximum number of device members in a device cluster can be set to seven devices (equal to the maximum number of concurrently connected devices allowed by the wireless communication protocol), and the device can maintain up to six connections with other devices. It follows that the maximum number of device clusters that any one device can belong to is six device clusters, in which case the device will maintain a connection with one device from each of the six different device clusters.

[0032] Thus, establishing a device network allows each device in a device cluster to maintain an open communication channel to communicate with new devices that appear within range, thereby facilitating the addition of said new devices to the device network. Each device in the device network may also store a local copy of network state information, which may include information about the number of device clusters in the network and the device members of each device cluster in the network. The network state information may also include private information that is intended to be shared between devices in the network. When the state of the network changes as a result of, for example, devices being added to or removed from the network, devices in the network being moved from one location to another location such that the composition of the device cluster changes, or interactions between devices changing state, the updated network state information may be broadcast and propagated to devices throughout the network such that each device may update its local copy of the network state information.

[0033] In some embodiments, the network status information being transmitted may include a timestamp, such that the receiving device may determine whether the received network status information is newer than the local copy of the network status information by comparing the timestamp of the network status information. If the received network status information is newer than the local copy and is different from the local copy, the receiving device may update the locally stored network status information with the received network status information. If the local copy is newer or contains the same information as the received network status information, there is no need to update the local copy of the network status information.

[0034] Figure 2A and 2B A process for adding a new device to a network of devices is shown in accordance with some embodiments. Figure 2A and 2B The wireless communication protocol employed by the illustrated device network may allow devices to maintain up to a maximum of seven concurrently connected devices (eg, using a protocol from the Bluetooth protocol family), and thus the maximum number of device members in a device cluster may be set to seven devices. Figure 2A The device network in FIG includes two device clusters 210 and 230. Device cluster 210 includes seven peer devices, including peer devices A and B, and thus already has the maximum number of device members. Device cluster 230 includes five peer devices, including peer devices B and C, and has not yet reached the maximum number of device members.

[0035] When communication device 202 is present in the vicinity of a device network, communication device 202 may detect the presence of peer devices A, B, and C within communication range of communication device 202 (e.g., by detecting beacons transmitted from peer devices A, B, and C). During this discovery phase, peer devices A, B, and C may provide communication device 202 with network configuration information, such as a count of the number of devices in the device clusters to which peer devices A, B, and C belong. For example, peer device A may indicate to communication device 202 that peer device A is part of device cluster 210 having seven devices; peer device B may indicate to communication device 202 that peer device B is part of device cluster 210 having seven devices and device cluster 230 having five devices; and peer device C may indicate to communication device 202 that peer device C is part of device cluster 230 having five devices.

[0036] After receiving the network configuration information, communication device 202 may determine that device cluster 210 already has the maximum number of device members, while device cluster 230 has fewer than the maximum number of device members. Therefore, to join the device network, communication device 202 may be added to device cluster 230 but not to device cluster 210 because device cluster 210 is already full. Communication device 202 may then join device cluster 230 by establishing a connection with peer device B and / or peer device C. Once in connection mode, peer device B and / or peer device C may provide communication device 202 with network status information, including the cluster identifier of each device cluster in the network and the device identifier of each device member in each cluster. The network status information may also include other application-specific information. Communication device 202 may update the network status information to add its device identifier to the device list associated with the cluster identifier of device cluster 230 and transmit the updated network status information to other devices in the network. For example, communication device 202 may provide updated network status information to peer devices B and C within communication range of communication device 202. Peer devices B and C may then update their own local copies of the network status information and provide the updated network status information to other devices to propagate the updated network status information to all devices within the device network. Figure 2B The resulting network configuration after the communication device 202 has joined the device cluster 230 is shown in FIG.

[0037] In some embodiments, due to the added layer of security, new devices may not be allowed to update the network state information, and peer device B or peer device C (which is an existing member of the device network) may initiate an update to the network state information to add communication device 202 to device cluster 230. For example, peer device B (or peer device C) may update its local copy of the network state information to add the device identifier of communication device 202 to the list of devices associated with the cluster identifier of device cluster 230, and transmit the updated network state information to communication device 202 and other devices within range.

[0038] Although the wireless communication protocol employed by the device network may be limited in range and / or may limit the number of devices with which the device can be concurrently connected, by establishing a network according to the techniques described above, the communication device 202 can exchange data with any number of devices in the device clusters 210 and 230, even if the devices are outside the current range of the communication device 202. For example, the communication device 202 can transmit data to peer device B within the range of the communication device 202, and peer device B can propagate the data to other peer devices in the device clusters 210 and / or 230 that may be outside the range of the communication device 202. Data can also be provided to more peer devices than would be permitted by direct connection under the wireless communication protocol.

[0039] The techniques described above may be suitable for use with wireless communication protocols, such as the Bluetooth family of protocols, which have a discovery phase and a connection phase. Devices that are part of a device network may broadcast a small amount of network configuration information - such as a count of device members in a parent device cluster - to facilitate the addition of new devices that appear within the range of the device network during the discovery phase, while more detailed network status information, such as cluster identifiers, device identifications, and private data, may be transmitted by devices that have been added to the network during the connection phase. Such techniques may also prevent listening devices from obtaining more sensitive information that may be included in the network status information, because the network status information is only shared between devices that have been added to the network and is not shared with devices in the discovery phase. In some embodiments, network status information (e.g., cluster identifiers, device identifications, and / or private data, etc.) may be provided to new devices in the discovery phase instead or in addition.

[0040] Figure 3A and 3B Another process for adding a new device to a network of devices is shown in accordance with some embodiments. Figure 3AThe device network in FIG includes two device clusters 310 and 330. Device cluster 310 includes seven peer devices, including peer devices A and B, and thus device cluster 310 already has the maximum number of device members. Device cluster 330 also includes seven peer devices, including peer devices B, C, and D, and thus device cluster 330 also has the maximum number of device members.

[0041] When communication device 302 is present in the vicinity of a device network, communication device 302 can detect the presence of peer devices A, B, C, and D within the communication range of communication device 302. Each of peer devices A, B, C, and D can provide communication device 302 with current network configuration information for the device network. Upon receiving the current network configuration information, communication device 302 can determine that device clusters 310 and 330 already have the maximum number of device members. Consequently, communication device 302 may not be able to join the device network by adding communication device 302 to an existing device cluster because all device clusters within range of communication device 302 already have the maximum number of device members.

[0042] However, communication device 302 can still join the device network by creating a new device cluster. In the event that all peer devices within range of communication device 302 belong to a saturated device cluster, a new device cluster can be created, and communication device 302 and at least one other peer device within range of communication device 302 can be added to the newly created device cluster. For example, communication device 302 and peer devices that meet a specific signal strength criterion can be added to the newly created device cluster. In some embodiments, the signal strength criterion can be a predetermined number of peer devices (e.g., two peer devices) with the highest signal strength detected by communication device 302, or peer devices with signal strength above a specific threshold.

[0043] refer to Figure 3B, the communication device 302 can join the device network by creating a new device cluster 350 by adding the new cluster identifier from the cluster identifier list to the local copy of the network state information. The new cluster identifier can be randomly or pseudo-arbitrarily generated, selected from a list of available cluster identifiers, a sequence value such as a counter value that counts the number of device clusters in the network, or a unique identifier assigned from the network. By associating the corresponding device identifier with the cluster identifier of the newly created device cluster 350 in the local copy of the network state information, the communication device 302 can add itself and peer devices C and D (for example, the two peer devices with the highest signal strength) to the new device cluster 350. The updated network state information including information about the newly created device cluster 350 can then be propagated to other peer devices in the network. The resulting device network can then have three device clusters: a device cluster 310 having seven peer devices, the seven peer devices including peer devices A and B; a device cluster 330 having seven peer devices, the seven peer devices including peer devices C and D; and a device cluster 350 having the communication device 302 and peer devices C and D, as shown in FIG. Figure 3B shown.

[0044] In some embodiments, a newly created device cluster may attempt to add an existing peer device that has reached its concurrent connection limit. Figure 3B When device cluster 350 is created, peer device D may already be maintaining six concurrent connections with other peer devices in device cluster 330. Therefore, in order for peer device D to be added to the newly created device cluster 350 and maintain a connection with communication device 302 in device cluster 350, peer device D may be requested to disconnect from the existing connection so that peer device D does not exceed the maximum number of concurrent connections. Peer device D may select which device to disconnect from and then update and propagate network status information accordingly. In some embodiments, to maintain the existing device cluster membership, peer devices added to the new device cluster may only disconnect from devices that belong to device clusters that have multiple devices connected to the peer device. For example, if peer device B is the only peer device in device cluster 310 connected to peer device D, peer device B may not select peer device D as the device to disconnect from because doing so may result in peer device B being removed from device cluster 310.

[0045] According to some embodiments, after a new communication device joins a device network (e.g., after the new communication device is added to an existing device cluster or a newly created device cluster), the communication device may at some point lose connectivity with other peer devices in the device cluster to which the communication device belongs. For example, the communication device may move to a location that is out of communication range of other peer devices. Figures 4A-4CThis scenario and process for re-establishing a connection with a device network is shown in accordance with some embodiments.

[0046] Figure 4A The initial network configuration of the device network shown may include four device clusters: device cluster 410 including communication device 402 and peer devices A, B, and C; device cluster 430 including peer device C; device cluster 450 including peer device D; and device cluster 470 including peer devices D and E. When communication device 402 has joined the device network as a member of device cluster 410, communication device 402 may have established and maintained connections with peer devices A, B, and C. When communication device 402 moves to a different location, shown in dashed lines, closer to device cluster 470, communication device 402 may lose connections with peer devices A, B, and C, as shown. Figure 4B In response to the communication device 402 losing connection with the peer devices A, B, and C in the device cluster 410 to which the communication device 402 belongs, the communication device 402 may attempt to reestablish connection with the peer devices A, B, and C a predetermined number of times (e.g., five times, ten times, etc.) or within a predetermined timeout period (e.g., five seconds, ten seconds, etc.).

[0047] If the communication device 402 fails to reestablish connections with the peer devices A, B, and C in the device cluster 410 after a predetermined number of attempts or after a predetermined timeout period, the communication device 402 may attempt to establish connections with other peer devices that do not belong to the device cluster 410 to which the communication device 402 originally belonged. The communication device 402 may then obtain current network configuration and / or network status information from these other peer devices and may join another device cluster or create a new device cluster. For example, referring to Figure 4B , after losing connection with peer devices A, B, and C, communication device 402 may establish a connection with peer devices D and E in device cluster 470 and obtain current network configuration information from peer devices D and E. Communication device 402 may determine that device cluster 470 has only three device members, and therefore, communication device 402 may join device cluster 470 to reestablish connection with the device network. Communication device 402 may connect with peer devices D and E, then update network status information to add itself to device cluster 470, and provide and propagate the updated network status information to other peer devices in the network. Figure 4CThe resulting network configuration after communication device 402 is moved to a new location is shown and may include four device clusters: device cluster 410 including peer devices A, B, and C; device cluster 430 including peer device C; device cluster 450 including peer device D; and device cluster 470 including communication device 402 and peer devices D and E. Alternatively, if device cluster 470 is already saturated, communication device 402 may create a new cluster and add itself and peer devices D and E to the newly created cluster.

[0048] Figure 5 A flow chart of a process 500 for establishing a device network according to some embodiments is shown. In block 502, a communication device operated by a user may enter the vicinity of the device network. The communication device may use a wireless communication protocol to determine a group of peer devices (e.g., other communication devices) within the communication range of the communication device. For example, the communication device may detect a discovery signal (e.g., a beacon) indicating the presence of a peer device from a peer device within the range according to the wireless communication protocol. The peer device may belong to one or more device clusters within the device network. In some embodiments, the discovery signal transmitted from the peer device may include a count of the number of device members in the device cluster to which the peer device belongs.

[0049] At block 504, the communications device may establish connections with some or all peer devices within communication range using a wireless communication protocol. For example, the communications device may establish connections with a predetermined number of peer devices (e.g., two peer devices) with the highest signal strength detectable by the communications device. The communications device may then obtain network status information from the peer devices and store a local copy of the network status information on the communications device. The network status information may include information about the composition of the device network, including device clusters and a list of devices belonging to each device cluster. For example, the network status information may include a list of device cluster identifiers corresponding to device clusters and a list of device identifiers associated with each device cluster identifier. It should be noted that a device may belong to more than one device cluster, and thus a device identifier may be associated with multiple device cluster identifiers in the network status information. In some embodiments, the network status information may also include a timestamp to indicate the latest state of the network status information. If the communications device receives different network status information from different peer devices, the communications device may store the received network status information with the most recent timestamp as the local copy. The network status information may also include other data intended for dissemination to devices throughout the network. For example, network state information may include additional application-specific data, such as information about the way devices in the network interact with each other (eg, which devices are paired together to perform specific functions, etc.).

[0050] At block 506, a determination is made as to whether any of the peer devices within the communication range of the communication device is part of a device cluster having fewer than the maximum number of device members allowed for a device cluster. In some embodiments, the maximum number of device members allowed for a device cluster can be set equal to the maximum number of concurrently connected devices allowed by the wireless communication protocol. For example, if the wireless communication protocol being used is part of the Bluetooth protocol family, the maximum number of concurrently connected devices allowed by the protocol to which any particular device can connect is seven other devices. Therefore, in this example, the maximum number of device members for a device cluster can be set to seven devices, and the communication device can determine whether any of the peer devices within the communication range of the communication device is part of a device cluster having fewer than seven device pairs based on network status information provided by the peer device.

[0051] At block 508, when a peer device in a group of peer devices within communication range of the communication device is determined to be part of an existing device cluster having fewer than a maximum number of device members, the communication device may be added to the existing device cluster. For example, the communication device may join the existing device cluster by updating its local network state information to associate the communication device's device identifier with the device cluster identifier of the existing device cluster. In some embodiments, if there are multiple device clusters that the communication device can join, the communication device may select the device cluster with the peer device having the strongest signal strength as the device cluster to join.

[0052] At block 510, a new device cluster may be created when each of a group of peer devices within communication range of the communication device is determined to be part of a saturated device cluster with a maximum number of device members because there are no available existing device clusters for the communication device to join. The communication device and one or more peer devices in the group of peer devices that meet a signal strength criterion may be added to the new device cluster. In some embodiments, the signal strength criterion may be the two peer devices with the highest signal strength detected by the communication device, or some other predetermined number of peer devices with the highest signal strength. In some embodiments, the signal strength criterion may be peer devices with signal strengths above a particular signal strength threshold. For example, the new device cluster may be created by the communication device updating its local network state information to include a new device cluster identifier and associating the new device cluster identifier with the device identifiers of the communication device and peer devices to be added.

[0053] At block 512, the local network status information is further updated with the current timestamp, and the updated network status information (which may include the newly created device cluster to which the communication device belongs, or the addition of the communication device to an existing device cluster) may be broadcast to peer devices within range of the communication device. Peer devices that receive the updated network status information may further propagate the information to other devices in the device network until all devices in the device network have the updated network status information.

[0054] In some embodiments, each device in a device network may transmit its network status information at regular intervals (e.g., as part of a beacon), or in response to changes to a local copy of the network status information. When a device (e.g., a user's communication device or a peer device, etc.) receives network status information from another device, the device may compare the timestamp of the received network status information with its own local copy of the network status information to determine whether there is an update. If the received network status information is updated, and the network configuration indicated by the received network status information (e.g., the device cluster identifier and its associated device identifier) ​​is different from the local copy of the network status information, the device may update the locally stored network status information with the received network status information.

[0055] Figure 6 A flowchart of a process 600 for reconnecting to a device network after adding a communication device to an existing device cluster or a newly created device cluster, according to some embodiments, is shown. At block 602, a communication device that already belongs to a device cluster and a device network may move from one location to another, causing the communication device to lose connectivity with peer devices in the device cluster to which the communication device belongs. For example, the communication device may no longer detect periodic beacons or receive periodic beacons from peer devices previously connected to the communication device.

[0056] In response to the communication device losing connection with a peer device in the device cluster to which the communication device belongs, the communication device and / or the peer devices may attempt to reestablish connection with each other at block 604. For example, the communication device may attempt to reestablish connection with other peer devices a predetermined number of times or within a predetermined timeout period, and peer devices previously communicatively connected to the communication device may attempt to do the same.

[0057] At block 606, a determination is made as to whether the communications device has successfully reconnected with any peer device in the device cluster to which the communications device belongs. If the communications device has reconnected with at least one peer device in the device cluster to which the communications device belongs, the communications device may belong to the previous device cluster. Because the device cluster association has not changed, updating the network status information may not be necessary. If the communications device fails to reconnect with other peer devices in the device cluster after a predetermined number of attempts or a predetermined timeout period, the communications device may perform process 500 to establish connections with other devices that do not belong to the original device cluster and join another device cluster or create another new device cluster.

[0058] As discussed above, the device networking technology described herein can be used in environments or applications where the coverage area can extend beyond the direct communication range of the wireless communication protocol employed by the network, and / or can be used in environments or applications where many devices can be present at the same time. An example of such an environment can be a merchant location where transactions are conducted between a communication device of a consumer visiting the merchant location and an access device (e.g., a point-of-sale terminal) at the merchant location using wireless communication technology such as Bluetooth LE (BLE) or other wireless communication protocols.

[0059] In a merchant location where there are multiple access devices with which a user's communication device can be connected to perform transactions, one consideration is how to connect the user's communication device to the appropriate terminal. For example, in a gas station scenario, the vehicle information system, which is the user's communication device, should inform the driver of the available gas pumps (e.g., the gas pump number) so that the user can drive the vehicle to the appropriate pump. Similarly, in other scenarios, the user should be informed of the correct kiosk, the correct parking meter or toll booth lane, etc. to check out the goods. By using the device network described herein, a device network including a BLE-enabled communication device and an access terminal can exchange network status information to inform the devices in the network which access terminal is available and which access terminal is in use. This allows the device to remain disconnected from the Internet because the relevant network status information is provided from the peer device. This also allows the devices in the device network to share relevant network status information with each other without having to rely on a server to prevent the entire system from shutting down due to a single point of failure when the server is down.

[0060] To ensure reliable and secure data transmission over BLE, an initial handshake and subsequent data exchange for transferring sensitive data, such as account credentials, between the user's communication device and the access device can be enabled after device authentication and secure communication channel protection. Data transfers can use variable packet sizes, and the inclusion of a checksum in each packet provides file transfer integrity. Transport channel-level security can be maintained by using minimal packet-level encryption to create a secure channel similar to mutual SSL authentication.

[0061] A BLE-based device network can be composed of access devices (e.g., point-of-sale terminals) and user communication devices with required BLE applications (e.g., payment applications, mobile wallet applications, merchant applications, etc.) installed and running within a merchant location (e.g., a store or sales location). These BLE-enabled devices can connect to each other and form a device cluster using the techniques described herein. BLE allows a device to have up to seven live connections at any point in time, and therefore the upper limit of the number of devices in a device cluster can be set to seven device members.

[0062] When a new user enters a merchant location through a BLE application running on the user's communication device, the communication device can continuously scan for connectable devices with predefined Bluetooth Generic Attributes (GATT) profiles. For example, a BLE application installed on a BLE-enabled device can broadcast a universally unique identifier (UUID) representing a transaction service or a UUID representing a specific merchant. The user's communication device can extract advertisements from peer devices at the merchant location, filter the advertisements based on the GATT profiles they broadcast, and connect to up to seven devices after sorting them by signal strength. Each advertising packet of a BLE-enabled device can contain a unique device identifier that allows other devices to identify the device and reconnect to the device if the connection is lost or interrupted.

[0063] A device cluster can be formed by up to seven devices connected to each other. A new user's communication device can obtain network status information about the composition of all device clusters in the BLE network. This is possible because each device cluster includes at least one device that overlaps with another device cluster. These devices return the count of devices in their parent cluster to the new user's communication device. If any device connected to the user's communication device is part of a device cluster with fewer than seven device members, the user's communication device becomes part of that cluster and updates the network status information about all devices connected to the user's communication device. These devices then propagate this information throughout the peer-to-peer network. If the device connected to the user's communication device is part of a saturated device cluster with seven device members, the user's communication device can create a new device cluster with the two connected devices with the highest signal strength. Once connected to the BLE network, the user's communication device can obtain the network status information of the network and store it locally. This allows network status information to be stored in a distributed manner throughout the network.

[0064] Whenever a user moves from one physical location to another (for example, from one shopping aisle to another), the signal strength of the connection can vary based on the distance from other devices. If the user's communication device places itself too far from other connected devices, some devices may lose connection. As the signal strength of a connected device decreases, a configurable number of attempts can be made to reconnect to the relocated device. This retry mechanism can be integrated into the BLE application. If the reconnection is successful, the relocated communication device remains part of the original device cluster. However, if the reconnection fails after multiple attempts, peer devices within the original device cluster can disassociate the user's communication device from the device cluster by updating the network state information to disassociate the user's communication device's device identifier from the cluster identifier. This update can then be propagated throughout the BLE network by each device in the network updating its local state. This can be implemented as an event-driven or polling mechanism. Simultaneously, the relocated communication device can connect to other devices in the network with high signal strength near the communication device's new location. If the signal strength of the new connection is strong and the device cluster to which these connected devices belong is not yet saturated, the user's communication device can be added to the device cluster with the highest signal strength. If a device cluster is saturated, the relocated communicating device may form a new cluster with the two other peer devices having the highest signal strength.

[0065] Each device in a device network can maintain a copy of the network's network state information. This information can include the following: a cluster identifier for each device cluster in the network, the device identifiers of the device members in these device clusters, a count of the devices that make up each cluster, and the status of each access device (e.g., whether the access device is being used to conduct a transaction). Any change (e.g., the formation of a new device cluster, the addition of a new device to an existing device cluster, the removal of a device from a device cluster, the establishment of a secure channel between an access device and a user device, etc.) can trigger an update that is propagated throughout the network. Devices participating in any of these changes may update their local copies of the network state information and notify neighboring connected devices of these changes. These devices can then update their own tables and continue to propagate this information further. Any device receiving an update can first check whether its local network state information is up to date by comparing the local state information and its timestamp with the received information and its timestamp. Only if the received network state information is more up to date and does not match the locally stored network state information can the receiving device further propagate the received information.

[0066] Figure 7 An example of the state of a network of devices at a merchant location at a first point in time is shown in accordance with some embodiments. The network of devices may include communication devices U1, U2, U3, U4, and U5 corresponding to users shopping at the merchant location. The network of devices may also include access devices T1 and T2 (e.g., point of sale terminals) distributed at different locations within the merchant location. In some embodiments, the network of devices may also include one or more repeater devices (not shown). A repeater device may be a BLE-enabled device that is used only to store and provide network configuration information and / or network status information. Repeater devices may be deployed at a merchant location to cover any network blind spots that may be beyond the range of an access terminal so that a user's communication device can always be connected to a device regardless of where the consumer is within the merchant location and regardless of whether any other users are present or nearby.

[0067] Figure 7 The device network shown may include device cluster A and device cluster B. Device cluster A may have device members including communication devices U1, U2, and U3, and access device T1. Device cluster B may have device members including communication devices U2, U3, U4, and U5, and access device T2. In the current state of the device network, communication device U3 can transact with access device T1 via a secure communication channel, while access device T2 may be idle. Therefore, the network status information of the device network at this point in time may include device cluster information indicating the number of device members in each device cluster, as well as dedicated data such as secure channel information indicating whether any access device is in use.

[0068] For example, each device in the device network, including communication devices U1 and U5, may store a local copy of the network status information. The network status information may include a list of cluster identifiers (e.g., cluster A, cluster B) and their attributes. The attributes of cluster A may have a device member count of 4 and be associated with the device identifiers of devices T1, U1, U2, and U3. The attributes of cluster B may have a device member count of 5 and be associated with the device identifiers of devices T2, U2, U3, U4, and U5. The network status information may also include the status of the secure channels of access devices T1 and T2. For example, the status of the secure channel of access device T1 may indicate that it is transacting with communication device U1, and the status of the secure channel of access device T2 may indicate that it is available. In some embodiments, the access device may support multiple secure channels that may be used for concurrent transactions with different user communication devices, and the network status information may include the status of each secure channel of the access device.

[0069] At a later point in time, the user of the communication device U5 has completed shopping and may want to check out and connect with the access device to conduct a transaction to pay for the goods or services. The BLE application installed on the communication device U5 can determine that the access device T2 is available based on the local copy of the network status information. The communication device U5 can then establish a secure channel with the access device T2 so that the account credentials can be provided to the access device T2 to process the transaction. After the secure channel is established, the communication device U5 and / or the access device T2 can use its local copy of the network status information to indicate to the access device T2 that the secure channel is conducting a transaction with the communication device U5, as shown in FIG. Figure 8 shown.

[0070] Communication device U5 can provide updated network status information, including timestamps for communication devices U2 and U5 within range of communication device U5. Access terminal T2 can provide updated network status information, including timestamps for communication devices U3 and U4 within range of access device T2. If communication device U3 has already updated its local copy of network status information with updates from communication device U5, communication device U3 does not need to further update its local copy of network status information with updates received from access terminal T2. When communication device U2 receives updated network status information from communication device U5, communication device U2 can update its local copy and propagate the updated network status information to communication devices U1 and U3 within range of communication device U2. Communication device U1 can then update its local copy and propagate the updated network status information to access terminal T1 within range of communication device U1. Meanwhile, when communication device U3 receives updates from communication device U2, communication device U3 may determine that its local copy of network state information is already up to date, and therefore communication device U3 does not need to further update its local copy and does not need to further propagate updates from communication device U2 to other peer devices.

[0071] Although certain aspects of the technology disclosed herein have been described using BLE as an exemplary wireless communication protocol, it should be understood that the technology described herein may be applied to other wireless communication protocols, including protocols that utilize one or more radio frequencies as a transmission medium.

[0072] Figure 9 A block diagram of a communication device 900 according to some embodiments is shown. In some embodiments, the communication device 900 can be a mobile device operated by a user. The communication device 900 may include device hardware 904 coupled to a memory 902. The device hardware 904 may include a processor 905, a communication subsystem 909, and a user interface 906, wherein the communication subsystem has one or more transceivers capable of communicating with external devices using a wireless communication protocol. In some embodiments, the device hardware 904 may also include a display 907 (which may be part of the user interface 906). The processor 905 may be implemented as one or more integrated circuits (e.g., one or more single-core or multi-core microprocessors and / or microcontrollers) and is used to control the operation of the communication device 900. The processor 905 can execute various programs in response to program code or computer-readable code stored in the memory 902, and can maintain multiple programs or processes executing simultaneously. The user interface 906 may include any combination of input elements and output elements to allow a user to interact with the communication device 900 and invoke its functionality. In some embodiments, the user interface 906 may include components that can be used for input functions and output functions, such as a display 907.

[0073] Memory 902 can be implemented using any combination of non-volatile memory (e.g., flash memory) and volatile memory (e.g., DRAM, SRAM), or any other non-transitory storage medium or combination of media, to store computer-executable code. Memory 902 can store an operating system (OS) 920 and an application environment 910 hosting one or more applications, including a transaction application 914 executable by processor 905. Transaction application 912 can enable communication device 900 to join a device network and establish a secure channel with an access device to conduct transactions. Transaction application 914 can be an application that uses, accesses, and / or stores sensitive information, such as account credentials 916 (e.g., account identifiers, tokens, etc.). For example, transaction application 914 can be a wallet, payment application, or merchant application that uses a token to conduct transactions via communication device 900. In some embodiments, user access to transaction application 914 can be protected by user authentication data (e.g., a password, passcode, PIN, etc.). For example, when a user attempts to activate or execute transaction application 914, the user may be requested to enter valid user authentication data before accessing transaction application 914. Transaction application 914 may include a cryptographic module for encrypting and decrypting communications and / or generating transaction cryptograms. In some embodiments, one or more of these components may be provided by another application or component that is not part of application 914. Account credentials 916 may store sensitive information used to conduct transactions, such as account credentials (e.g., PAN, token) and other account parameters such as limited-use keys. The cryptographic module may provide cryptographic functionality for transaction application 914. For example, the cryptographic module may implement and execute encryption / decryption operations for transaction application 914 using encryption algorithms such as DES, AES, TDES / TDEA, and / or hash functions such as SHA. When transaction application 914 accesses account credentials 916, such as tokens or limited-use keys stored for conducting transactions, transaction application 914 may invoke the cryptographic module to generate transaction cryptograms based on the limited-use keys and / or tokens.

[0074] The techniques described herein may involve implementing one or more functions, procedures, operations, or method steps. In some embodiments, the functions, procedures, operations, or method steps may be implemented as a result of executing an instruction set or software code by a suitably programmed computing device, microprocessor, data processor, or the like. The instruction set or software code may be stored in a memory or other form of data storage element accessed by the computing device, microprocessor, or the like. In other embodiments, the functions, procedures, operations, or method steps may be implemented by firmware or a dedicated processor, integrated circuit, or the like.

[0075] The methods and processes described herein are exemplary in nature, and methods and processes according to some embodiments may perform one or more steps in an order different from the order described herein, include one or more additional steps not specifically described, omit one or more steps, combine one or more steps into a single step, split one or more steps into multiple steps, and / or any combination thereof.

[0076] Any software component or function described in this application can be implemented as a software code to be executed by a processor using, for example, conventional or object-oriented techniques and using any suitable computer language, such as Java, C++, or Perl. The software code can be stored as a series of instructions or commands on a computer-readable medium such as a random access memory (RAM), a read-only memory (ROM), a magnetic medium such as a hard drive or floppy disk, or an optical medium such as a CD-ROM. Any such computer-readable medium can reside on or within a single computing device and can exist on or within different computing devices within a system or network.

[0077] One or more features of any embodiment may be combined with one or more features of any other embodiment without departing from the scope of the present invention.

[0078] Unless expressly indicated otherwise, references to "a," "an," or "the" are intended to mean "one or more."

Claims

1. A communication device, include: a transceiver adapted to exchange data using a wireless communication protocol that allows the device to maintain concurrent connections with up to a maximum number of concurrently connected devices; processor; as well as a memory storing executable code that, when executed by the processor, causes the communication device to perform operations comprising: determining, using the wireless communication protocol, a set of peer devices within a communication range of the communication device, the peer device being part of a device network having a plurality of device clusters, each device cluster including one or more devices belonging to a plurality of device clusters in the device clusters; determining whether any of the peer devices is part of a device cluster having less than a maximum number of device members; When a peer device in the group of peer devices within the communication range of the communication device is determined to be part of an existing device cluster having fewer than the maximum number of device members, adding the communication device to the existing device cluster; and When each peer device in the group of peer devices within the communication range of the communication device is determined to be part of a saturated device cluster having the maximum number of device members, a new device cluster is created and the communication device and multiple peer devices in the group of peer devices that meet the signal strength criteria are added to the new device cluster, so that the new device cluster includes at least one device included in another device cluster in the device cluster. 2 . The communication device of claim 1 , wherein the signal strength criterion is the two highest two signal strengths detected by the communication device. 3 . The communication device according to claim 1 , wherein the maximum number of device members is equal to the maximum number of concurrently connected devices allowed by the wireless communication protocol.

4. A communication device according to claim 1, wherein after the communication device is added to the existing device cluster or the new device cluster, in response to the communication device losing connection with other peer devices in the device cluster to which the communication device belongs, the communication device makes a predetermined number of attempts to re-establish connection with the other peer devices in the device cluster.

5. The communication device according to claim 4, wherein after the communication device fails to re-establish connection with the other peer devices in the device cluster, the communication device establishes connection with multiple devices that do not belong to the device cluster and joins another device cluster or creates another new device cluster. 6 . The communication device of claim 1 , wherein the communication device locally stores network status information, the network status information comprising a cluster identifier for each device cluster in the device network and a device identifier for each device member of the corresponding device cluster.

7. The communication device according to claim 6, wherein the operation further include: receiving network status information from a peer device; as well as When the received network status information is newer than the locally stored network status information and the received network status information is different from the locally stored network status information, the locally stored network status information is updated to the received network status information.

8. The communication device according to claim 6, wherein the device network includes a plurality of access devices and a plurality of user communication devices.

9. The communication device of claim 8, wherein the locally stored network status information further comprises a mapping of which user device is interacting with which access device to conduct a transaction.

10. The communication device of claim 8, wherein the device network further comprises a plurality of repeater devices.

11. A method for establishing a device network having a plurality of device clusters, each device cluster comprising one or more devices belonging to a plurality of device clusters in the device clusters, the method include: determining, by a communication device, a set of peer devices within a communication range of the communication device using a wireless communication protocol, wherein the wireless communication protocol allows the device to maintain concurrent connections with up to a maximum number of concurrently connected devices; determining, by the communication device, whether any of the peer devices is part of a device cluster having less than a maximum number of device members; when a peer device in the group of peer devices within the communication range of the communication device is determined to be part of an existing device cluster having fewer than the maximum number of device members, updating, by the communication device, the existing device cluster to include the communication device; as well as When each peer device in the group of peer devices within the communication range of the communication device is determined to be part of a saturated device cluster having the maximum number of device members, a new device cluster is created by the communication device to include the communication device and multiple peer devices in the group of peer devices that meet the signal strength standard, so that the new device cluster includes at least one device included in another device cluster in the device cluster.

12. The method of claim 11, wherein the signal strength criterion is the highest two signal strengths detected by the communication device.

13. The method of claim 11, wherein the maximum number of device members is equal to the maximum number of concurrently connected devices allowed by the wireless communication protocol.

14. A method according to claim 11, wherein after the communication device is added to the existing device cluster or the new device cluster, in response to the communication device losing connection with other peer devices in the device cluster to which the communication device belongs, the communication device makes a predetermined number of attempts to re-establish connection with the other peer devices in the device cluster.

15. The method of claim 14, wherein after the communication device fails to reestablish connection with the other peer devices in the device cluster, the communication device establishes connection with multiple devices that do not belong to the device cluster and joins another device cluster or creates another new device cluster. 16 . The method of claim 11 , wherein the communication device locally stores network status information, the network status information comprising a cluster identifier for each device cluster in the device network and a device identifier for each device member of the corresponding device cluster.

17. The method according to claim 16, further comprising: include: receiving, by the communication device, network status information from a peer device; as well as When the received network status information is newer than the locally stored network status information and the received network status information is different from the locally stored network status information, the communication device updates the locally stored network status information to the received network status information.

18. The method of claim 16, wherein the device network comprises a plurality of access devices and a plurality of user devices.

19. The method of claim 18, wherein the network status information further comprises a mapping of which user device is interacting with which access device to conduct a transaction.

20. The method of claim 18, wherein the device network further comprises a plurality of repeater devices.

Citation Information

Patent Citations

  • Neighbor awareness networking - channel sequence

    CN106068010A

  • Method, apparatus, and computer program product for hop count usage in cluster selection

    CN108811079A

  • Method and A System for Synchronizing Data

    US20130117226A1

  • Operating a cluster of peer-to-peer devices

    US20150006633A1

  • Connection Mechanism for Energy-Efficient Peer-to-Peer Networks

    US20150334181A1