Scalable personal device sharing

By combining user authentication and multi-PSK technology in large-scale networks, automatic device registration and sharing policy management are realized, which solves the cumbersome problems of manual registration and database maintenance, improves the security and management efficiency of device sharing, and simplifies user experience.

CN118694555AActive Publication Date: 2024-09-24HEWLETT PACKARD ENTERPRISE DEV LP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311256977.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-21
Filing Date
2023-09-27
Publication Date
2024-09-24
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

In large-scale networks, existing technologies require manual device registration and database maintenance, which results in occupying a large amount of memory and increasing the consumption of bandwidth and processing power. The user registration process is cumbersome, making it difficult to achieve efficient device sharing and security control.

Method used

By combining user authentication services and multi-PSK (MPSK) technology, automatic device registration and sharing policy management are realized. Users use a specific MPSK connection every time they access the network. The authentication server automatically associates device ownership after verification, and the device sharing server controls according to the ownership policy. Device visibility, creating virtual mDNS domain networks to avoid manual registration and database maintenance.

Benefits of technology

It realizes device sharing without manual registration, reduces network bandwidth and computing resource consumption, improves the security and management efficiency of device sharing, and simplifies user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694555A
    Figure CN118694555A
Patent Text Reader

Abstract

Embodiments of the invention relate to scalable personal device sharing. An access point (AP) receives a network access request including a first multiple pre-shared key (MPSK) password, and queries an authentication server to determine an owner of a first device based on the first MPSK password. The AP receives, from the first device, an advertisement packet indicating a service provided by the first device, and forwards information about the service and an owner to a device sharing server to obtain a device sharing policy. The AP enforces a device sharing policy, which may include receiving a multicast domain name system (mDNS) query from a second device, in response to determining that the second device belongs to an owner of the first device based on a second MPSK password of the second device, indicating the first device in an mDNS response corresponding to the mDNS query, and allowing the second device to access a service provided by the first device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to device sharing in a network using a multicast domain name system (mDNS). More specifically, the present disclosure relates to facilitating mDNS-based device sharing in a large network while taking into account ownership of different devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0002] Figure 1 An example of a network environment facilitating device sharing according to one aspect of the present application is illustrated;

[0003] Figure 2 An example of an automatic device registration process according to one aspect of the present application is illustrated;

[0004] Figure 3 An example of a process for advertising services according to one aspect of the present application is illustrated;

[0005] Figure 4 An example of a process for querying a service according to one aspect of the present application is illustrated;

[0006] Figure 5 An example of a block diagram of a wireless access point according to one aspect of the present application is illustrated;

[0007] Figure 6 A flowchart illustrating an example of a device sharing process according to one aspect of the present application is presented; and

[0008] Figure 7 An example of a computer system that facilitates management of device sharing according to one aspect of the present application is illustrated.

[0009] In the drawings, like reference numerals denote the same drawing elements. DETAILED DESCRIPTION

[0010] Multicast Domain Name System (mDNS) is a small-scale implementation of the DNS protocol and can be used to resolve host names to Internet Protocol (IP) addresses without the need for a dedicated DNS server. mDNS is a convenient and efficient method that can be used to enable communication between devices on the same local network, such as connecting to a home printer, streaming media, or sharing files between computers. Although mDNS makes it easier to share devices, appropriate security measures need to be taken to protect devices shared through mDNS. For example, when different users use different devices to access the same local network, it is important to ensure that each user's personal device is not shared with others. One way to implement access control is through device registration, in which users are required to register their personal devices. However, for large-scale networks with many users (e.g., enterprise networks or campus networks), a large device registration database will be required. Maintaining the database and ensuring that all entries are updated in a timely manner through accurate synchronization may bring scalability challenges, such as taking up a lot of memory and increasing the consumption of bandwidth and processing power. In addition, requiring users to register their devices can also cause inconvenience to users.

[0011] The present disclosure provides a solution to the above-mentioned problem by enabling registration-free device sharing in a network. More specifically, the solution combines an authentication service that facilitates user authentication and a device sharing service that configures device visibility based on corresponding ownership. Each user may be required to access the network using a user-specific multi-PSK (MPSK) instead of a pre-shared key (PSK). Each user device accessing the network can then automatically register with its owner without the need for manual registration. The device sharing service can transmit a device sharing policy associated with a client device to an access point (AP) in the network, so that the client device is visible only to devices belonging to the same owner, thereby effectively creating a virtual mDNS personal area network (PAN) for each user.

[0012] Figure 1 An example of a network environment that facilitates device sharing according to one aspect of the present application is illustrated. Figure 1 A plurality of client devices are illustrated that are coupled to a network 100 via a plurality of access points (APs) (e.g., APs 102 and 104). The client devices may belong to different users. In this example, client devices 106, 108, and 110 belong to user 112, and client devices 114 and 116 belong to user 118. Note that each client device may access the network 100 via any of the APs, depending on the location of the client device and other factors that may affect the selection of the AP (e.g., the load of the AP). Figure 1Also illustrated are an authentication server 120 and a device sharing server 122 coupled to the network 100. Client devices and APs may be coupled to the authentication server 120 and the device sharing server 122 via the network 100. The authentication server 120 may provide user authentication services, and the device sharing server 122 may provide mDNS-based device sharing services to client devices. Figure 1 Although shown as independent servers in FIG. 1 , the authentication server 120 and the device sharing server 122 may also be implemented as cloud-based servers.

[0013] mDNS allows client devices coupled to network 100 to share resources. For example, client device 110 (which may be a smartphone) may stream a video to client device 106 (which may be a smart TV) for display. However, it may not be desirable to allow device sharing between devices belonging to different users despite being connected to the same network. Figure 1 In the example shown, the smart TV 106 belongs to a user 112, and the smartphone 116 belongs to a user 118. For security purposes, it is unlikely that the user 112 would allow the smartphone 116 to stream video to the smart TV 106.

[0014] In the conventional method, in order to prevent the sharing of devices belonging to different users, each user needs to register his or her personal device to the device sharing service provided by the device sharing server 122, so that each device can only receive mDNS query responses from other devices belonging to the same user. For example, user 112 can register client devices 106, 108, and 110 to the device sharing service to allow device sharing between these devices. Similarly, user 118 can register client devices 114 and 116 to allow device sharing between these two devices. The device registration process usually requires the user to manually enter the device information, which may be cumbersome for the user. In addition, the device sharing service needs to maintain a database to store information about all devices accessing the network. Since devices dynamically access the network, the device database needs to be dynamically updated. For large-scale networks with many users and many client devices, it may be challenging to maintain and update such a database.

[0015] In order to eliminate the need for manual registration of client devices and simplify the process of maintaining and updating device information, according to certain aspects of the present application, the device registration process can be combined with the user authentication process. More specifically, each time a client device accesses the network 100 (e.g., via AP 102 or 104), the authentication server 120 can authenticate the user and associate the client device with the device owner. When the client device advertises a service, the device sharing server 122 can determine the device sharing policy based on the network role of the device owner.

[0016] Many mechanisms can be used to authenticate users. According to some aspects, user authentication can be achieved via the distribution of user-specific MPSK. MPSK is an extension of the original network security protocol PSK, which uses a single key (e.g., PSK) for authentication and encryption. Note that existing large-scale networks (e.g., enterprise networks or campus networks) typically rely on PSK service set identifiers (SSIDs) to create secure connections between wireless routers and devices accessing the network. Since PSK is shared by network administrators with many users, it may be challenging to map devices to their corresponding owners. However, using MPSK, each device on the network can be assigned a unique key for authentication and encryption. Compared with the PSK scheme, the MPSK scheme can provide stronger security.

[0017] The unique key used in the MPSK scheme can link the user's identity with the PSK used to access the network. To this end, the authentication server 120 can provide a unique PSK to each user instead of providing a unique key to each device. For example, a unique PSK 120 can be provided to user 112, and a unique PSK 122 can be provided to user 118. The authentication server 120 can maintain a mapping between the PSK and the user's identity. According to some aspects, the user-specific PSK may include a password or a passphrase. The length and / or format of the PSK may be predetermined or arbitrary. The user's identity may be represented by a username, wherein each user is associated with a unique username. The username and / or password may be assigned to the user by the authentication server 120, or selected by the user when the user registers for a service with the authentication server 120.

[0018] exist Figure 1 In the example shown, each user's personal device can access network 100 using a corresponding user-specific PSK. For example, client devices 106, 108, and 110 can use PSK 120 to connect to AP 102 or 104, and client devices 114 and 116 can use PSK 122 to connect to AP 102 or 104. The AP receiving the connection request can verify the PSK by communicating with authentication server 120. Authentication server 120 can verify the PSK, look up the corresponding username, and return the username to the AP. Therefore, the AP can keep a record of the mapping between the client device and the owner's username. Note that the mapping is obtained in an automatic manner without manual intervention by the user.

[0019] The device sharing server 122 may track the device sharing policy associated with each user name. The device sharing policy may specify whether a user's device should be private or public. Public devices may be visible to all devices on the network, while private devices may only be visible to other devices belonging to the same user. Whenever the AP receives an advertisement packet from a client device, the AP may query the device sharing server 122 for the device sharing policy. When the AP receives an mDNS query requesting service from a client device, the AP may enforce the corresponding device sharing policy.

[0020] Figure 2 An example of an automatic device registration process according to one aspect of the present application is illustrated. During application, user 202 may interact with authentication server 204 to obtain a username and MPSK password (operation 206). In one implementation example, a network administrator may distribute a uniform resource locator (URL) of a user authentication webpage to a user, and the user may access the webpage to obtain a username and MPSK password by providing certain credentials to verify his or her identity. Note that user 202 may use any computing device (whether a personal device or a public device) to obtain a username and MPSK password. Authentication server 204 may store a mapping relationship between the MPSK password and the identity of user 202, which may be linked to the username (operation 208). For example, authentication server 206 may maintain a user information database that stores the user's identity information (e.g., a student or employee ID), username, and corresponding MPSK password.

[0021] The client device 210 may then send a network access request message 212 carrying the MPSK password (i.e., the user-specific PSK) to the AP 214 to request access to the network. Upon receiving the network access request message 212, the AP 214 may send an authentication request 216 to the authentication server 204. According to some aspects, the authentication server 204 may be a Remote Authentication Dial-In User Service (RADIUS) server that may provide centralized authentication, authorization, and billing management services. The authentication request 216 may include a RADIUS request carrying the MPSK password and the media access control (MAC) address of the client device 210. Upon receiving the authentication request 216, the authentication server 204 may perform a lookup in a user information database to verify the received MPSK password and determine a mapping between the MPSK password and the username (operation 218).

[0022] Subsequently, authentication server 204 may send authentication response 220 to AP 214. According to some aspects, authentication response 220 may include a username corresponding to the MPSK password. According to another aspect, in addition to the username, authentication response 220 may also include information indicating a network role associated with the username. For example, authentication response 220 may specify whether the user has an administrative role. In one example, authentication response 220 may be a RADIUS response, and the username and network role may be included in a vendor-specific attribute (VSA) field of the RADIUS response. Upon receiving authentication response 220, AP 214 may update its client database to record a mapping between the MAC address of client device 210 and the username / role of the corresponding device owner (operation 222).

[0023] Once the MPSK cryptography is successfully verified, client device 210 and AP 214 may perform a series of handshakes (operation 224) to establish a secure connection, thereby allowing client device 210 to access the network via AP 214. According to some aspects, the handshake may include a four-way handshake for establishing and exchanging appropriate cryptographic keys. Figure 2 It can be seen that each time a client device accesses the network, the ownership of the client device is automatically determined based on the MPSK password, and the device owner does not need to manually register the device.

[0024] According to the mDNS protocol, some client devices can advertise services to the network (e.g., printing services, screen sharing services, file storage services, etc.), while some client devices can query services. Note that the same device (e.g., a smartphone) can advertise and query services at the same time.

[0025] Figure 3 An example of a process for advertising services according to one aspect of the present application is illustrated. A client device can advertise services to a network only after it obtains access to the network. In other words, ownership information associated with a client device has been recorded at the AP through which the client device accesses the network. When the client device roams to another AP in the network, the ownership information may also be copied from the previous AP to the current AP. The process for a client device to obtain access to a network may be similar to Figure 2 The process shown.

[0026] During operation, the client device 302 may send an advertisement packet 304 to the AP 306. The advertisement packet may be an mDNS packet that contains information about the properties and capabilities of the client device that publishes the advertisement packet. More specifically, the payload of the mDNS packet may include a plurality of record fields for identifying one or more services being advertised, including the name, type, port, and other information associated with the service. For example, a client device ready for AirPlay may issue an advertisement packet indicating that it can provide the AirPlay service. According to the mDNS protocol, the client device 302 may periodically send advertisement packets to the network. Upon receiving the advertisement packet 304, the AP 306 may look up its client database to identify the user name associated with the client device 302 (operation 308). As previously described, the AP 306 maintains a client database that stores mappings between client devices and their owners. For example, an entry in the client database may specify a MAC address of the client device and a user name associated with the owner of the client device.

[0027] The AP 306 may then generate a service report message based on the advertisement packet 304 and the user name (operation 310). Note that the service report message is a message used by the AP to communicate with a device sharing server that provides device sharing services to client devices in the network. The format of the service report message has previously been negotiated and agreed upon between the AP and the device sharing server. According to some aspects, the AP 306 may generate a service report message by encapsulating the payload and user name of the advertisement packet 304 into a language and platform-independent protocol buffer (protobuf) message. According to further aspects, the protobuf message may include the record fields contained in the mDNS advertisement packet 304, and the user name. In one example, in addition to the user name, the service report message may also include the network role of the user.

[0028] AP 306 may send a service report message 312 to a device sharing server 314, which may be a stand-alone server or a cloud-based service platform. According to some aspects, AP 306 may periodically send a service report message 312 to a service sharing server 314. The interval between consecutive service report messages may be between 30 seconds and several minutes. In one example, the AP may send a service report message to the device sharing server 314 every two minutes. The device sharing server 314 may store the information included in the service report message 312 (e.g., user name, user's network role, and device information) in a device database (operation 316). The device information may include, but is not limited to, the MAC address of the device and the type of service provided by the device. Note that the device and user name / role information in the device database is updated by the advertisement packet, and frequent information exchange between the device sharing server 314 and the authentication server is no longer required, thereby significantly reducing the consumption of bandwidth and computing power.

[0029] The device sharing server 314 can further determine the device sharing policy associated with the username (operation 318). In one example, the device sharing server 314 can use a role-based access control (RBAC) policy to determine whether the network role associated with the username is an administrative role or whether the username has administrative privileges. Note that management accounts are usually associated with public devices. For example, a shared printer is usually logged into the network by a user with an administrative role. Therefore, the device sharing policy of the printer can indicate that the printer can be shared by any client device. On the other hand, the device sharing policy of a non-management username can indicate that the device can only be shared by client devices belonging to the same owner (i.e., client devices associated with the same username). According to one aspect, a user can be allowed to define a device sharing policy so that the user's personal device can be shared by devices owned by one or more friends. For example, a user interface can be presented to the user, which allows the user to enter the username of one or more friends so that the client device associated with the friend can access the user's personal device.

[0030] The device sharing server 314 may also determine the number of neighboring APs of the AP 306 (operation 320). According to some aspects, the device sharing server 314 may interact with a network management service (e.g., AirMatch) to obtain a list of neighboring APs. The device sharing server 314 may then send a message 322 containing a device sharing policy to the AP 306. In addition, the device sharing server 314 may send a message 324 containing both device information (e.g., MAC address, user name, and service content report message 312) and device sharing policy to each neighboring AP, including the neighboring AP 326. Similar to the service report message 312, messages 322 and 324 may be protobuf messages. There may be other possibilities for the format of messages exchanged between the device sharing server 314 and the APs in the network. The scope of the present disclosure is not limited by the format of these messages.

[0031] Upon receiving the device sharing policy included in message 322, AP 306 may update its client database to include the device sharing policy in an entry associated with client device 302 (operation 328). Similarly, upon receiving message 324, each neighboring AP (e.g., neighboring AP 326) may update its client database (operation 330). For example, neighboring AP 326 may generate an entry corresponding to client device 302 in its client database, and the entry may include device information and a corresponding device sharing policy. The updated client database allows each AP to enforce the device sharing policy.

[0032] from Figure 3 As can be seen in FIG, by forwarding device information to neighboring APs, the device sharing server can facilitate each neighboring AP to maintain a record of service-providing devices, so that service requesting devices can query the provided services by communicating with any AP. In addition, ownership information associated with service-providing client devices can be stored at the device sharing server without the need for manual registration of such devices.

[0033] Figure 4 An example of a process for querying a service according to one aspect of the present application is illustrated. Figure 4In the example shown, the network may include multiple service requesting devices (e.g., devices 402 and 404), multiple service providing devices (e.g., device 406), and multiple APs (e.g., AP 408). Service requesting device 402 and service providing device 406 belong to the same user and can both access the network by establishing a secure connection with AP 408 using an MPSK password associated with username X (operations 410 and 412). On the other hand, service requesting device 404 belongs to a different user and can access the network by establishing a secure connection with AP 408 using an MPSK password associated with username Y (operation 414). Note that "service requesting device" and "service providing device" are relative terms because a single device can request and provide services at the same time. When the present disclosure describes the service request behavior of a client device, the client device may be referred to as a service requesting device. Similarly, when describing the service providing behavior of a client device, the client device may be referred to as a service providing device. Each device may use the same Figure 2 The process shown is similar to the process to access the network.

[0034] After obtaining access to the network, the service providing device 406 may communicate with the AP 408 to advertise the service (operation 416). This operation may be similar to Figure 3 As shown, the process may include AP 408 forwarding device information associated with service providing device 406 to a device sharing server, and the device sharing server populating such information to neighboring APs.

[0035] AP 408 may receive a service query message 418 from service request device 402 and a service query message 420 from service request device 404. Each service query message may query a device that provides a predetermined type of service in the network. Upon receiving a service query message (e.g., message 418 or 420), AP 408 may search its client database to identify a device that can provide the requested service and its corresponding device sharing policy (operation 422). More specifically, for each identified service providing device, AP 408 may determine the user name of its owner and the device sharing policy associated with the user name. For example, AP 408 may determine that service providing device 406 can provide the requested service, and the user name of the device owner is X. AP 408 may further determine that the device sharing policy associated with user name X is "private", which means that the device owned by the user can only be shared by devices belonging to the same owner. In the case where the user has granted access rights to one or more friends, the device sharing policy may indicate the user name of the friend.

[0036] Thus, AP 408 may respond to service query message 418 with a query response 424 sent to service request device 402. Query response 424 indicates to service request device 402 that service providing device 406 (which also belongs to the device owner with username X) can provide the requested service. In addition, AP 408 may respond to service query message 420 with a query response 426 sent to service request device 404. Because service request device 404 belongs to a different owner (i.e., the user with username Y), service providing device 406 will not be visible to service request device 406, which means that query response 426 will not indicate service providing device 406 as a device that provides the requested service. Instead, query response 426 may include other service providing devices belonging to the device owner with username Y, or, if such a device does not exist in the network, indicate that no matching device was found. In the case where the user with username X has granted access rights to the user with username Y, query response 426 may also include service providing device 406.

[0037] Figure 5 An example of a block diagram of a wireless access point according to one aspect of the present application is illustrated. AP 500 may include a client device communication unit 502, an authentication server communication unit 504, a device sharing server communication unit 506, a client database 508, a client database update unit 510, a client database lookup unit 512, and a device sharing policy enforcement unit 514. Figure 5 In addition to the various functional blocks or units shown, the AP 500 may also include other types of functional blocks or units that may facilitate the operation of the AP 500, such as providing wireless network access services to client devices.

[0038] The client device communication unit 502 may be responsible for communicating with client devices, such as receiving network access requests and performing handshakes to establish a connection. The client device communication unit 502 may also receive advertisement packets and service query messages from client devices, and send query responses to client devices.

[0039] The authentication server communication unit 504 may be responsible for communicating with a remote authentication server (e.g., a RADIUS server). For example, when a client device requests network access using an MPSK password, the authentication server communication unit 504 may send a RADIUS request carrying the MPSK password and the MAC address of the client device to the authentication server. In response, the authentication server communication unit 504 may also receive an authentication response, wherein the VSA field in the authentication response includes the user name and network role of the owner of the client device.

[0040] The device sharing server communication unit 506 may be responsible for communicating with a remote device sharing server. More specifically, the device sharing server communication unit 506 may generate and send a service report message based on a service advertisement packet from a client device. In one example, the device sharing server communication unit 506 may generate a protobuf message to encapsulate the payload (e.g., resource record) of the mDNS advertisement packet from the client device and the user name of the owner of the client device. The device sharing server communication unit 506 may also receive a protobuf message including a device sharing policy associated with the user name from the device sharing server. The device sharing server communication unit 506 may also receive device information about devices coupled to adjacent APs, and corresponding device sharing policies.

[0041] The client database 508 may store information about client devices coupled to the AP 500 and its neighboring APs. Entries in the client database 508 may include a MAC address of the client device, an MPSK password used by the client device to access the network, a username associated with the client device, the type of service provided by the client device (e.g., attributes and functions of the client device), a device sharing policy associated with the username, etc. The client database update unit 510 may be responsible for updating the content of the client database 508 based on information received from the authentication server and the device sharing server. For example, each time a new client device accesses the network, the client database update unit 510 may create an entry in the client database 508. In addition, when a client device advertises a service, the client database update unit 510 may update the corresponding entry in the client database 508 based on the content of the advertisement packet.

[0042] The client database lookup unit 512 may be responsible for performing a lookup operation in the client database 508 in response to a service query message (e.g., an mDNS query). For example, the service query message may specify the type of service, and the client database lookup unit 512 may identify the client device that provides the requested service. In addition, the client database lookup unit 512 may determine a device sharing policy associated with each identified client device (i.e., whether the client device is a private device or a public device). The device sharing policy enforcement unit 514 may be responsible for enforcing the device sharing policy. More specifically, if the service providing device is a private device, the device sharing policy enforcement unit 514 may ensure that the service providing device is visible only to client devices belonging to the same owner or one or more friends specified by the device sharing policy. For example, the device sharing policy enforcement unit 514 may generate an mDNS response message based on whether the requesting client device belongs to the same owner or a specified friend.

[0043] Figure 6 A flow chart illustrating an example of a device sharing process according to one aspect of the present application is presented. During operation, the AP may receive a network access request including a first MPSK password from a first client device (operation 602). Note that the network has been configured with an MPSK service set identifier (SSID), which means that a single SSID can support multiple PSKs. Each user may obtain a user-specific MPSK password through a separate user authentication process. In addition to the user-specific MPSK password, each user may also be associated with a unique username that can be used to identify the user.

[0044] In response to the network access request, the AP may query a remote authentication server to verify the MPSK password and determine the owner of the first device (operation 604). For example, the remote server may be a RADIUS server, and the AP may send a RADIUS request that includes the MAC address of the client device and the MPSK password. The RADIUS server may look up its user information database to verify the MPSK password and match the username to the MPSK password. The username corresponds to the owner of the first device.

[0045] The AP may then receive an advertisement packet from the first device indicating services provided by the first device (operation 606). The advertisement packet may be an mDNS advertisement having multiple resource records. The resource record may indicate one or more services provided by the first device. Upon receiving the advertisement packet, the AP may forward information about the services and the owner to a device sharing server to obtain a device sharing policy associated with the owner (operation 608). According to some aspects, the AP may generate a protobuf message that includes the resource record of the mDNS advertisement and the username / role of the owner of the first device. Based on the username, the device sharing server may determine the device sharing policy and return the device sharing policy to the AP so that the AP can enforce the device sharing policy.

[0046] The AP may receive an mDNS query from a second device (operation 610). According to some aspects, the mDNS query may specify one or more services requested by the second device. The AP may determine whether the second device belongs to the same owner as the first device (operation 612). The second device has previously accessed the network using a second MPSK password, and the AP may match the username to the second MPSK password by looking up its client database. In one example, the mDNS query may also indicate a MAC address of the second device, and the AP may look up an entry in the client database corresponding to the MAC address. The entry may include a username of the owner of the second device. The entry may also include a network role for the username.

[0047] In response to determining that the second device belongs to the owner of the first device, the AP may send an mDNS query response to the second device, the query response indicating that the first device provides the requested service (operation 614). A connection between the first device and the second device may then be established to allow the second device to access the service provided by the first device (operation 616). On the other hand, if the AP determines that the second device belongs to a different owner, the AP may send an mDNS query response to the second device without indicating the first device in the query response (operation 618). Note that if the AP determines that the first device is a public device, or if the owner of the second device is a friend of the owner of the first device, the AP may include the first device in the mDNS query response to the second device even if the two devices belong to different owners.

[0048] Figure 7 An example of a computer system that facilitates management of device sharing according to one aspect of the present application is illustrated. Computer system 700 may include a processor 702, a memory 704, and a storage device 706. In addition, computer system 700 may be coupled to peripheral input / output (I / O) user devices 710, such as a display device 712, a keyboard 714, and a pointing device 716. Storage device 706 may store an operating system 718, a device sharing management system 720, and data 740. According to some aspects, computer system 700 may be implemented as a functional block included in an AP.

[0049] The device sharing management system 720 may include instructions that, when executed by the computer system 700, may cause the computer system 700 or the processor 702 to perform the methods and / or processes described in the present disclosure. Specifically, by executing these instructions, the computer system 700 can achieve the goal of managing the sharing of client devices without manual registration. The device sharing management system 720 may include instructions for communicating with a client device (client device communication instructions 722), instructions for communicating with an authentication server to determine a user name associated with a client device (authentication server communication instructions 724), instructions for communicating with a device sharing server to report device information and obtain a device sharing policy (device sharing server communication instructions 726), instructions for updating a client database based on information received from a client device, an authentication server, and a device sharing server (client database update instructions 728), instructions for performing a search operation in a client database (client database search instructions 730), and instructions for enforcing a device sharing policy (device sharing policy enforcement instructions 732). The data 740 may include a client database 742.

[0050] In general, the present disclosure describes a system and method for implementing device sharing in a large-scale network without manual device registration and intensive record updates. More specifically, by configuring an MPSK SSID for the network, the system can link the password used by client devices to access the network with the identity of the corresponding device owner, so that each time the client device accesses the network and advertises a service, the system can automatically register the device. In addition, by implementing a device sharing server that can populate information about client devices (e.g., the type of service provided by the client device) and corresponding device sharing policies between adjacent APs, the system allows each AP to enforce device sharing policies based on the ownership of the devices requesting and providing services. Frequent information exchange is not required between the device sharing server and the authentication server that authenticates the user, thereby significantly reducing bandwidth and computing power consumption.

[0051] One aspect may provide a system and method for device sharing. During operation, an access point (AP) may receive a network access request including a first multiple pre-shared key (MPSK) password and query an authentication server to determine an owner of a first device based on the first MPSK password. The AP may also receive an advertisement packet indicating a service provided by the first device from the first device and forward information associated with the service and the owner to a device sharing server to obtain a device sharing policy associated with the owner. The AP enforces the device sharing policy, which may include receiving a multicast domain name system (mDNS) query from a second device, in response to determining that the second device belongs to the owner of the first device based on a second MPSK password of the second device, indicating the first device in an mDNS response corresponding to the mDNS query, and establishing a connection between the first device and the second device to allow the second device to access the service provided by the first device.

[0052] In a variation of this aspect, enforcing the device sharing policy may also include, in response to determining that the second device does not belong to the owner of the first device based on the second MPSK password of the second device, excluding the first device from the mDNS response corresponding to the mDNS query.

[0053] In a variation of this aspect, querying the authentication server may include forwarding the network access request to the authentication server storing a mapping between the MPSK password and the username of the owner of the first device, and receiving a network access response from the authentication server indicating the username and a network role associated with the username.

[0054] In further variations, the authentication server may comprise a Remote Authentication Dial-In User Service (RADIUS) server; the network access request may comprise a RADIUS request; and the network response may comprise a RADIUS response, wherein the user name and the network role are included in a Vendor Specific Attribute (VSA) field of the RADIUS response.

[0055] In another variation, the device sharing policy may be determined by the device sharing server based on the user name and the network role.

[0056] In further variations, in response to determining that the network role has administrative privileges, the AP may obtain a device sharing policy indicating that the first device is a public device, and allow any device to access the service provided by the first device.

[0057] In a variation of this aspect, the device sharing server may forward information associated with the service provided by the first device and the device sharing policy to one or more neighboring APs. The neighboring AP may respond to an mDNS query from a third device coupled to the neighboring AP based on the device sharing policy.

[0058] In a variation of this aspect, the AP may maintain a client database that stores one or more of: an address of the first device, information about the owner of the first device, the services provided by the first device, and the device sharing policy.

[0059] In variations of this aspect, the advertisement packet may include an mDNS advertisement packet having one or more resource records.

[0060] In another variation, forwarding the information associated with the service and the owner includes generating a protocol buffer (protobuf) message encapsulating the resource record and a username associated with the owner.

[0061] The above description is provided to enable any person skilled in the art to make and use examples, and the above description is provided in the context of a specific application and its requirements. Various modifications to the disclosed examples will be clear to those skilled in the art, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the present disclosure. Therefore, the scope of the present disclosure is not limited to the examples shown, but should be given the widest scope consistent with the principles and features disclosed herein.

[0062] The methods and processes described in the detailed description section may be embodied as code and / or data, which may be stored in a computer-readable storage medium as described above. When a computer system reads and executes the code and / or data stored on a computer-readable storage medium, the computer system executes the methods and processes embodied as data structures and code and stored in the computer-readable storage medium.

[0063] In addition, the above methods and processes may be included in hardware devices or apparatuses. Hardware devices or apparatuses may include, but are not limited to, application specific integrated circuit (ASIC) chips, field programmable gate arrays (FPGAs), dedicated or shared processors that execute specific software units or codes at specific times, and other programmable logic devices now known or later developed. When the hardware devices or apparatuses are activated, they execute the methods and processes included therein.

[0064] The description of the above examples is for illustration and description purposes only. They are not intended to be exhaustive or to limit the scope of the present disclosure to the disclosed forms. Therefore, many modifications and variations will be clear to those skilled in the art.

Claims

1. A method comprising: Receiving, at an access point AP, a network access request including a first multiple pre-shared key MPSK password; querying an authentication server to determine an owner of the first device based on the first MPSK password; receiving, by the AP, from the first device, an advertisement packet indicating a service provided by the first device; forwarding information associated with the service and the owner to a device sharing server to obtain a device sharing policy associated with the owner; Enforce the device sharing policy, including receiving a multicast Domain Name System (mDNS) query from a second device; In response to determining that the second device belongs to the owner of the first device based on a second MPSK password of the second device, indicating the first device in an mDNS response corresponding to the mDNS query; as well as A connection is established between the first device and the second device to allow the second device to access the service provided by the first device.

2. The method of claim 1, wherein enforcing the device sharing policy further comprises: In response to determining that the second device does not belong to the owner of the first device based on the second MPSK password of the second device, excluding the first device from the mDNS response corresponding to the mDNS query.

3. The method of claim 1 , wherein querying the authentication server comprises: forwarding the network access request to the authentication server storing a mapping relationship between the MPSK password and the username of the owner of the first device; as well as A network access response is received from the authentication server indicating the username and a network role associated with the username.

4. The method according to claim 3, Wherein the authentication server comprises a Remote Authentication Dial-In User Service (RADIUS) server; wherein the network access request comprises a RADIUS request; and The network response comprises a RADIUS response, wherein the user name and the network role are included in a vendor specific attribute VSA field of the RADIUS response. The method of claim 3 , wherein the device sharing policy is determined by the device sharing server based on the user name and the network role.

6. The method according to claim 5, further comprising: In response to determining that the network role has administrative privileges, obtaining a device sharing policy indicating that the first device is a public device; as well as Any device is allowed to access the service provided by the first device.

7. The method according to claim 1, further comprising: forwarding, by the device sharing server, information associated with the service provided by the first device and the device sharing policy to one or more neighboring APs; as well as The mDNS query from a third device coupled to the neighboring AP is responded to by the neighboring AP based on the device sharing policy.

8. The method of claim 1 , further comprising maintaining a client database, the client database storing one or more of the following: an address of the first device; information about the owner of the first device; the service provided by the first device; and The device shares a policy.

9. The method of claim 1, wherein the advertisement packet comprises an mDNS advertisement packet having one or more resource records.

10. The method of claim 9, wherein forwarding the information associated with the service and the owner comprises generating a protocol buffer (protobuf) message encapsulating the resource record and a username associated with the owner.

11. A wireless access point AP, comprising: processor; A memory storing instructions, which when executed by the processor cause the processor to perform a method, the method comprising: receiving a network access request including a first multiple pre-shared key MPSK password; querying an authentication server to determine an owner of the first device based on the first MPSK password; receiving, from the first device, an advertisement packet indicating a service provided by the first device; forwarding information associated with the service and the owner to a device sharing server to obtain a device sharing policy associated with the owner; Enforce the device sharing policy, including receiving a multicast Domain Name System (mDNS) query from a second device; In response to determining that the second device belongs to the owner of the first device based on a second MPSK password of the second device, indicating the first device in an mDNS response corresponding to the mDNS query; and A connection is established between the first device and the second device to allow the second device to access the service provided by the first device.

12. The AP of claim 11, wherein enforcing the device sharing policy further comprises: In response to determining that the second device does not belong to the owner of the first device based on the second MPSK password of the second device, excluding the first device from the mDNS response corresponding to the mDNS query.

13. The AP of claim 10, wherein querying the authentication server comprises: forwarding the network access request to the authentication server storing a mapping relationship between the MPSK password and the username of the owner of the first device; as well as A network access response is received from the authentication server indicating the username and a network role associated with the username.

14. The AP according to claim 13, Wherein the authentication server comprises a Remote Authentication Dial-In User Service (RADIUS) server; wherein the network access request comprises a RADIUS request; and The network response comprises a RADIUS response, wherein the user name and the network role are included in a vendor specific attribute VSA field of the RADIUS response. 15 . The AP according to claim 13 , wherein the device sharing policy is determined by the device sharing server based on the user name and the network role.

16. The AP according to claim 15, wherein the method further comprises: In response to determining that the network role has administrative privileges, obtaining a device sharing policy indicating that the first device is a public device; as well as Any device is allowed to access the service provided by the first device.

17. The AP according to claim 11, wherein the method further comprises: forwarding, by the device sharing server, information associated with the service provided by the first device and the device sharing policy to one or more neighboring APs; as well as The mDNS query from a third device coupled to the neighboring AP is responded to by the neighboring AP based on the device sharing policy.

18. The AP of claim 11, wherein the method further comprises maintaining a client database, the client database storing one or more of the following: an address of the first device; information about the owner of the first device; the service provided by the first device; and The device shares a policy.

19. The AP of claim 11, wherein the advertisement packet comprises an mDNS advertisement packet having one or more resource records.

20. The AP of claim 19, wherein forwarding the information associated with the service and the owner comprises generating a protocol buffer (protobuf) message encapsulating the resource record and a username associated with the owner.

Citation Information

Patent Citations

  • Wireless network access method and authentication method and device

    CN102625310A

  • Policy management system to provide authorization information via distributed data store

    CN111988269A

  • Method for configuring access to fallback communication services and associated system

    US20190334709A1

  • Authenticating client devices in a wireless communication network with client-specific pre-shared keys

    US20210099873A1