Device sharing method and apparatus, device, storage medium, and program product

By acquiring and parsing device identification information using Ultra-Wideband (UWB) technology, and combining this with a relay platform to enable device sharing, the problem of cumbersome user operations during device sharing is solved, and the efficiency of device sharing is improved.

CN118947100BActive Publication Date: 2025-12-19GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202280094176.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-02
Publication Date
2025-12-19
Estimated Expiration
2042-04-02

AI Technical Summary

Technical Problem

In existing technologies, the user operation during device sharing is cumbersome, requiring scanning a QR code or manually entering a pairing code, resulting in low device sharing efficiency.

Method used

The UWB identification information of the second management device is obtained by using the ultra-wideband (UWB) method, the device information is parsed, and pairing information is sent through the relay platform to establish a device connection, simplifying user operation.

Benefits of technology

No QR code or pairing code is required; device sharing can be achieved directly via UWB, simplifying user operation steps and improving device sharing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118947100B_ABST
    Figure CN118947100B_ABST
Patent Text Reader

Abstract

A device sharing method, device, apparatus, storage medium and program product, belonging to the technical field of Internet of Things. The method comprises: obtaining UWB identification information of a second management device through a UWB mode (201); analyzing the UWB identification information to obtain device information of the second management device (202); and sending first pairing information to the second management device according to the device information of the second management device (203), the first pairing information being used for the second management device and a target device to establish a paired connection. The above scheme simplifies the device sharing process in the Internet of Things scenario and improves the device sharing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Internet of Things, and in particular to a device sharing method and device, apparatus, storage medium and program product. BACKGROUND

[0002] With the continuous development of Internet of Things (IoT) technology, more and more Internet of Things devices bring great convenience to the production and life of users in the fields of smart home and industrial production.

[0003] In the Internet of Things, a device sharing scenario is usually involved. The device sharing refers to that a management device of an Internet of Things device opens the control / management right of the Internet of Things device to another device, so that one Internet of Things device can be controlled / managed by multiple management devices. SUMMARY

[0004] The present application provides a device sharing method, apparatus, device, storage medium and program product. The technical solution is as follows:

[0005] In one aspect, the present application provides a device sharing method, which is executed by a first management device, and the method comprises:

[0006] obtaining, by a super wide band (UWB) mode, UWB identification information of a second management device;

[0007] analyzing the UWB identification information to obtain device information of the second management device;

[0008] sending, according to the device information of the second management device, first pairing information to the second management device, and sending second pairing information to a target device, so that the second management device establishes a pairing connection with the target device.

[0009] In one aspect, the present application provides a device sharing method, which is executed by a second management device, and the method comprises:

[0010] sending, by a super wide band (UWB) mode, UWB identification information of the second management device to a first management device, so that the first management device analyzes the UWB identification information to obtain device information of the second management device;

[0011] receiving first pairing information; the first pairing information is sent by the first management device according to the device information of the second management device;

[0012] establishing, according to the first pairing information, a pairing connection with a target device.

[0013] In one aspect, the embodiments of the present application provide a device sharing method, the method is executed by a relay platform, and the method comprises the following steps:

[0014] receiving a first request containing device information of a second management device and first pairing information; the first request is sent by a first management device according to the device information of the second management device; the device information of the second management device is obtained by the first management device through a UWB (Ultra Wide Band) mode, and the UWB identifier information of the second management device is analyzed to obtain the device information of the second management device;

[0015] sending a second request to the second management device according to the device information of the second management device; the second request contains the first pairing information, so that the second management device establishes a pairing connection with a target device according to the first pairing information.

[0016] In another aspect, the embodiments of the present application provide a device sharing device, which comprises:

[0017] a tag acquisition module, configured to acquire UWB identifier information of a second management device through a UWB (Ultra Wide Band) mode;

[0018] a parsing module, configured to analyze the UWB identifier information to obtain device information of the second management device;

[0019] a sending module, configured to send first pairing information to the second management device according to the device information of the second management device, and send second pairing information to a target device, so that the second management device establishes a pairing connection with the target device.

[0020] In another aspect, the embodiments of the present application provide a device sharing device, which comprises:

[0021] a sending module, configured to send UWB identifier information of a second management device to a first management device through a UWB (Ultra Wide Band) mode, so that the first management device analyzes the UWB identifier information to obtain device information of the second management device;

[0022] a receiving module, configured to receive first pairing information; the first pairing information is sent by the first management device according to the device information of the second management device;

[0023] a connection module, configured to establish a pairing connection with a target device according to the first pairing information.

[0024] In another aspect, the embodiments of the present application provide a device sharing device, which comprises:

[0025] The receiving module is configured to receive a first request containing device information of a second management device and first pairing information; the first request is sent by the first management device according to the device information of the second management device; the device information of the second management device is obtained by the first management device through a UWB (Ultra-Wide Band) method, and the UWB identification information of the second management device is analyzed to obtain the device information of the second management device;

[0026] The sending module is configured to send a second request to the second management device according to the device information of the second management device; the second request contains the first pairing information, so that the second management device establishes a pairing connection with the target device according to the first pairing information.

[0027] In another aspect, an embodiment of the present application provides a computer device, which comprises a processor, a memory and a transceiver, the memory stores a computer program, and the computer program is used to be executed by the processor to implement the device sharing method.

[0028] In another aspect, an embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is loaded and executed by a processor to implement the device sharing method.

[0029] In another aspect, the present application further provides a chip, which is used to run in a computer device to enable the computer device to execute the device sharing method.

[0030] In another aspect, the present application provides a computer program product, which comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the device sharing method.

[0031] In another aspect, the present application provides a computer program, which is executed by a processor of a computer device to implement the device sharing method.

[0032] The technical scheme provided by the embodiments of the present application can bring the following beneficial effects:

[0033] The first management device obtains UWB identification information of the second management device through a UWB mode, parses the UWB identification information, obtains device information of the second management device, and then sends pairing information to the second management device and the target device, so that the second management device and the target device establish a pairing connection. In the above process, the user of the first management device does not need to provide the user of the second management device with information such as a two-dimensional code or a pairing code, and can share the target device with the second management device, thereby simplifying the user operation steps in the device sharing process and improving the efficiency of device sharing. BRIEF DESCRIPTION OF DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0035] Figure 1 is a schematic diagram of a network architecture of an Internet of Things provided by an embodiment of the present application;

[0036] Figure 2 is a flowchart of a device sharing method provided by an embodiment of the present application;

[0037] Figure 3 is a flowchart of a device sharing method provided by an embodiment of the present application;

[0038] Figure 4 is a flowchart of a device sharing method provided by an embodiment of the present application;

[0039] Figure 5 is a flowchart of a device sharing method provided by an embodiment of the present application;

[0040] Figure 6 is a flowchart of a device sharing method provided by an embodiment of the present application;

[0041] Figure 7 is Figure 6 is a device sharing timing diagram related to the embodiment shown in the figure;

[0042] Figure 8 is a block diagram of a device sharing apparatus provided by an embodiment of the present application;

[0043] Figure 9 is a block diagram of a device sharing apparatus provided by an embodiment of the present application;

[0044] Figure 10 is a block diagram of a device sharing apparatus provided by an embodiment of the present application;

[0045] Figure 11 is a structural schematic diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0046] For the purpose, technical solutions and advantages of the present application to be clearer, the embodiments of the present application will be described in further detail below with reference to the drawings.

[0047] The network architecture and service scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of network architecture and the appearance of new service scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0048] Reference is made to Figure 1 which shows a schematic diagram of a network architecture of an Internet of Things provided by an embodiment of the present application. The network architecture of the Internet of Things can include: an Internet of Things device 110, a first management device 120, a second management device 130; optionally, the network architecture of the Internet of Things further includes a relay platform 140.

[0049] The Internet of Things device 110 can be a device in the Internet of Things for providing a service end function corresponding to an Internet of Things protocol. The source device can provide externally subscribable resources.

[0050] For example, the Internet of Things device 110 can be a smart home device, such as a smart lamp, a smart TV, a smart air conditioner, a smart refrigerator, a smart microwave oven, a smart rice cooker, a sweeping robot, a smart sound box, a smart switch, etc.

[0051] Alternatively, the Internet of Things device 110 can be an industrial production device, such as a lathe, an industrial robot, a solar panel, a wind turbine, etc.

[0052] Alternatively, the Internet of Things device 110 can be a commercial service device, such as a vending machine, etc.

[0053] Alternatively, the Internet of Things device 110 can be a smart monitoring device, such as a monitoring camera, an infrared sensor, a sound sensor, a temperature sensor, etc.

[0054] In a possible implementation manner, the Internet of Things device 110 can also be a terminal device on the user side. For example, the Internet of Things device 110 can be a smart controller, a smart remote controller, a smart phone, a tablet computer, a smart watch, a smart TV, a gateway, etc.; or the Internet of Things device 110 can also be a personal computer, such as a desktop computer, a portable computer, a personal workstation, etc.

[0055] The first management device 120 and the second management device 130 can be terminal devices on the user side. For example, the first management device 120 and the second management device 130 can be a smart phone, a tablet computer, a smart watch, a smart television, and the like.

[0056] In another possible implementation, the first management device 120 or the second management device 130 can also be a client entity (which can be a virtual entity) running based on a terminal device. For example, the first management device 120 or the second management device 130 can be an APP running in a smart phone and used for management configuration of the Internet of Things device 110.

[0057] The above-mentioned relay platform 140 can be a server, a server cluster, or a cloud platform on the network side.

[0058] The first management device 120 and the second management device 130 can respectively communicate with the relay platform 140.

[0059] In a possible implementation, the above-mentioned relay platform 140 can be a network system platform based on a block chain.

[0060] In the embodiments of the present application, the above-mentioned Internet of Things device 110 can be an electronic device meeting the same or different Internet of Things protocol. For example, it can be an electronic device meeting the Matter protocol (or CHIP project) under the Connectivity Standards Alliance (CSA) (or Zigbee Alliance).

[0061] Matter is an IP-based Internet of Things connection standard that solves the problems of compatibility, security, and connectivity in the current smart home market. Matter defines a technical solution for configuring Internet of Things devices, including steps such as device discovery, device authentication, device configuration, and device operation.

[0062] After a management device (such as a mobile phone A) completes the configuration of an Internet of Things device, it can control / manage the Internet of Things device. For example, if the Internet of Things device is a light device, the management device can control the Internet of Things device to turn on, turn off, or adjust the brightness, and the like. In addition, the management device can also open the control / management permission of the Internet of Things device to another management device (such as another mobile phone B), so that the other management device can also perform configuration, management, control, and the like on the Internet of Things device.

[0063] Fabric is a secure domain with its own Root Certificate Authority (CA) that can issue certificates. Take the example of Admin A sharing with Admin B in another Fabric. In one of the embodiments provided in the present application, Admin A controls the Internet of Things device (referred to as device) to enter the pairing mode, and the operation flow of the Node configured by Admin B of Fabric B can be as follows:

[0064] S1, Admin A adds a new Admin for the device (which has been configured into the network by Admin A) according to the user's intention.

[0065] S2, Admin A generates the data required for pairing for the new Admin, including the discriminator and the passcode required for pairing the device.

[0066] S3, Admin A sends a request to the device to open the Commissioning Window, and the parameters carried in the request include the timeout of the opening of the device pairing window, the verification code corresponding to the passcode (such as the Password-based Authenticated Key Exchange Verifier (PAKE Verifier)), the discriminator of the device (used to let the Admin of other Fabric discover the device), the Iterator, the Salt, the Passcode ID, etc.

[0067] S4, the device returns the status of whether the pairing window is opened successfully to Admin A.

[0068] S5, after the device pairing window is opened, the device starts to broadcast the Domain Name System Service Discovery (DNS-SD), which contains the discriminator data.

[0069] S6, Admin A shares the data in S2 with Admin B.

[0070] S7, Admin B obtains the data in S6.

[0071] S8, Admin B can discover the device through the Discriminator.

[0072] S9, Admin B resolves the Internet Protocol (IP) address of the device and establishes an IP connection with the device.

[0073] S10, Admin B establishes a PAKE secure connection with the device using the passcode.

[0074] S11, after establishing a PAKE (establishing a secure session through a key, the key here is the passcode) secure connection, device authentication and mutual operation certificate request are performed, and finally a CASE (Certificate Authenticated Session Establishment, secure session establishment based on certificate authentication) secure session is established, and the certificate here is the certificate generated by the Fabric for the device corresponding to the Admin.

[0075] Taking the application of the above scheme to the Matter system as an example, in step S6 in the above scheme, when Admin A shares the configured Matter device to other Admin, it is necessary to regenerate the two-dimensional code or pairing code required for device pairing for the device, so that other Admin can pair the device by scanning the two-dimensional code or manually inputting the pairing code. The user operation process is relatively cumbersome.

[0076] The scheme provided in the embodiments of the present application can simplify the user operation in the device sharing process and improve the efficiency of device sharing.

[0077] Please refer to Figure 2 , which shows a flowchart of a device sharing method provided by an embodiment of the present application. The method can be executed by a first management device, for example, the first management device can be Figure 1 the first management device 120 in the network architecture shown in the figure. The method can include the following steps:

[0078] Step 201, obtaining UWB identification information of a second management device through an Ultra Wide Band (UWB) mode.

[0079] In the embodiments of the present application, the first management device and the second management device both have an Ultra Wide Band (UWB) component. The first management device can obtain the UWB identification information of the second management device through the UWB component. The UWB component is a component with UWB communication function, which can scan the UWB identification information of other devices or communicate with the UWB components of other devices.

[0080] In a possible implementation, the UWB identification information can be UWB tag identification information of a UWB tag built-in or attached to the device; for example, the UWB identification information can be identification information of a UWB tag in the second management device, for example, can be a UWB tag ID of the second management device.

[0081] Alternatively, the UWB identification information can be UWB component identification information of a UWB component built-in to the device; for example, the first UWB identification information can be a UWB component ID of a UWB component in the second management device.

[0082] In step 202, the UWB identification information is parsed to obtain device information of the second management device.

[0083] In the embodiment of the present application, the UWB identification information of the second management device can be generated by mapping and encoding the device information of the second management device, and accordingly, the first management device can obtain the device information of the second management device when parsing the UWB identification information.

[0084] In step 203, first pairing information is sent to the second management device according to the device information of the second management device, and the first pairing information is used to establish a pairing connection between the second management device and the target device.

[0085] The target device is an Internet of Things device that has been configured by the first management device.

[0086] In the embodiment of the present application, the first management device obtains the device information of the second management device, which means that the first management device determines the target management device for device sharing. At this time, the first management device can send the first pairing information for pairing use to the second management device, and the first management device can also provide the second management device with the second pairing information for pairing use. After the second management device and the target device obtain the pairing information sent by the first management device, a pairing connection can be established between the second management device and the target device, so that the second management device can perform operations such as configuration, management, and control on the target device, thereby realizing the process of sharing the target device by the first management device to the second management device.

[0087] In summary, in the scheme shown in the embodiment of the present application, the first management device obtains the UWB identification information of the second management device by the UWB method, parses the UWB identification information to obtain the device information of the second management device, and then sends pairing information to the second management device and the target device, so that the second management device and the target device establish a pairing connection. In the above process, the user of the first management device does not need to provide the user of the second management device with information such as a two-dimensional code or a pairing code, and the target device can be shared to the second management device, thereby simplifying the user operation steps in the device sharing process and improving the efficiency of device sharing.

[0088] Please refer to Figure 3 , which shows a flowchart of a device sharing method provided by an embodiment of the application. The method can be executed by a second management device, such as the second management device 130 in the network architecture shown in Figure 1 . The method can include the following steps:

[0089] Step 301: sending, by the second management device, second management device UWB identification information to a first management device in an ultra-wideband (UWB) manner, so that the first management device parses the UWB identification information to obtain device information of the second management device.

[0090] Step 302: receiving first pairing information. The first pairing information is sent by the first management device according to the device information of the second management device.

[0091] Step 303: establishing a pairing connection with a target device according to the first pairing information.

[0092] In summary, in the scheme shown in the embodiments of the application, the first management device obtains the UWB identification information of the second management device in the UWB manner and parses it to obtain the device information of the second management device, then sends pairing information to the second management device and the target device respectively, and the second management device establishes a pairing connection with the target device according to the first pairing information. In the above process, the user of the first management device does not need to provide the user of the second management device with information such as a two-dimensional code or a pairing code, and can share the target device with the second management device, thereby simplifying the user operation steps in the device sharing process and improving the efficiency of device sharing.

[0093] Based on the above Figure 2 and Figure 3 , in a possible implementation manner, the first management device can send the first pairing information to the second management device through a relay platform.

[0094] Please refer to Figure 4 , which shows a flowchart of a device sharing method provided by an embodiment of the application. The method can be executed by a relay platform, such as the relay platform 140 in the network architecture shown in Figure 1 . The method can include the following steps:

[0095] Step 401: receiving a first request containing device information of a second management device and first pairing information. The first request is sent by a first management device according to the device information of the second management device. The device information of the second management device is obtained by the first management device by acquiring UWB identification information of the second management device in an ultra-wideband (UWB) manner and parsing the UWB identification information.

[0096] At step 402, a second request is sent to the second management device according to the device information of the second management device, and the first pairing information is contained in the second request, so that the second management device establishes a pairing connection with the target device according to the first pairing information.

[0097] In summary, in the scheme shown in the embodiments of the present application, the first management device obtains the UWB identification information of the second management device through the UWB mode and parses it to obtain the device information of the second management device, and then sends the first pairing information to the second management device through the relay platform according to the device information of the second management device, so that the second management device establishes a pairing connection with the target device according to the first pairing information. In the above process, the user of the first management device does not need to provide the user of the second management device with information such as a two-dimensional code or a pairing code, and the target device can be shared with the second management device, thereby simplifying the user operation steps in the device sharing process and improving the efficiency of device sharing.

[0098] The embodiments in the above embodiments of the present application, Figure 2 and Figure 3 The embodiments shown in the embodiments can be used in combination, that is, the first management device can directly send the first pairing information to the second management device; for example, the first management device sends the first pairing information to the second management device through the UWB mode based on the device information of the second management device.

[0099] Or, the embodiments shown in the above Figure 2 , Figure 3 and Figure 4 The embodiments can be used in combination. Please refer to Figure 5 , which shows a framework diagram of device sharing provided by an embodiment of the present application. As shown in Figure 5 , the device sharing process can be as follows:

[0100] S51, the second management device pre-maps and encodes its own device information to obtain the UWB identification information of the second management device.

[0101] S52, when sharing the device, the first management device and the second management device open the UWB component and approach each other, at this time, the first management device can obtain the UWB identification information of the second management device.

[0102] S53, the first management device can obtain the device information of the second management device through parsing, at this time, the first management device can determine the target device to be shared.

[0103] S54, the first management device sends the device information of the second management device and the first pairing information to the relay platform.

[0104] S55, the relay platform sends the first pairing information to the second management device according to the device information of the second management device.

[0105] S56, the first management device sends the second pairing information to the target device.

[0106] S57, the second management device and the target device establish a pairing connection according to the respective received pairing information.

[0107] After that, the second management device can perform configuration, management, control and other operations on the target device.

[0108] The above embodiments shown in Figure 2 , Figure 3 and Figure 4 are used in combination as an example, please refer to Figure 6 , which shows a flowchart of a device sharing method provided by an embodiment of the present application. The method can be executed by the target device, the first management device, the second management device and the relay platform in interaction; for example, the above-mentioned target device can be the Internet of Things device 110 in the network architecture shown in Figure 1 , the above-mentioned first management device and second management device are the first management device 120 and the second management device 130 in the network architecture shown in Figure 1 , respectively; the above-mentioned relay platform can be the relay platform 140 in the network architecture shown in Figure 1 ; the method can include the following steps:

[0109] Step 601, the second management device encodes and maps the device information of the second management device to obtain the UWB identification information of the second management device.

[0110] In a possible implementation, the device information includes at least one of discriminator and vendor ID.

[0111] In the embodiment of the present application, the second management device can pre-encode and map its own device information into UWB identification information according to a specified encoding and mapping manner, such as mapping into its own UWB tag ID.

[0112] Step 602, the first management device obtains the UWB identification information of the second management device through the UWB mode; correspondingly, the second management device sends the UWB identification information of the second management device to the first management device through the UWB mode.

[0113] In a possible implementation, the first management device and the second management device belong to different security domains Fabric. Alternatively, the first management device and the second management device belong to the same security domain Fabric.

[0114] The first management device is a management device that has completed configuration on the target device.

[0115] In the process in which the first management device shares the target device to the second management device, the first management device and the second management device respectively open their own UWB modules, wherein the first management device opens the UWB scanning function to obtain the UWB identification information of the second management device in the UWB mode.

[0116] For example, taking that the first management device and the second management device are mobile phone 1 and mobile phone 2 respectively as an example, after a user purchases a smart home device, the user completes the configuration of the smart home device through the mobile phone 1, and then wants to share the smart home device to the mobile phone 2, the user can open the UWB function in the mobile phone 1 and the mobile phone 2, and bring the mobile phone 1 and the mobile phone 2 close to each other, at this time, the mobile phone 1 can receive the UWB Tag information of the mobile phone 2.

[0117] In step 603, the first management device parses the UWB identification information to obtain the device information of the second management device.

[0118] In the embodiment of the present application, the first management device can use the decoding mode corresponding to the above-mentioned specified encoding mapping mode to parse the obtained UWB identification information to obtain the device information of the second management device.

[0119] In a possible implementation, before the UWB identification information is parsed to obtain the device information of the second management device, the method further includes:

[0120] Obtaining the first UWB measurement information between the first management device and the second management device;

[0121] The UWB identification information is parsed to obtain the device information of the second management device, including:

[0122] When the first UWB measurement information meets the first condition, the UWB identification information is parsed to obtain the device information of the second management device.

[0123] Since the first management device needs to determine which management device to share the target device by using the obtained device information, and in the process of obtaining the UWB identification information in the UWB mode, the first management device can obtain the UWB identification information of multiple UWB devices, therefore, the first management device needs to solve the problem of how to accurately determine that the second management device is the management device to which the target device is shared.

[0124] For the above problem, in the embodiment of the present application, when the first management device acquires the UWB identifier information of the second management device through the UWB mode, the first management device also acquires the first UWB measurement information between the second management device and the first management device, and when the first UWB measurement information meets the condition, it is determined that the second management device is the management device of the sharing target device, at this time, the first management device performs the step of analyzing the UWB identifier information to obtain the device information of the second management device.

[0125] In a possible implementation, the first UWB measurement information includes at least one of first angle information, first distance information, and first signal strength information.

[0126] In the embodiment of the present application, the first UWB measurement information described above can include at least one of angle information, distance information, and signal strength information between the first management device and the second management device.

[0127] Among them, the first UWB measurement information can change with the change of the relative position relationship (including the relative angle relationship, the distance relationship, and whether it is in the obstacle) between the first management device and the second management device.

[0128] Among them, the first UWB measurement information can be measured by the second management device, or the first UWB measurement information can be measured by the first management device. Or, the first UWB measurement information can be measured by the first management device and the second management device together. For example, part of the first UWB measurement information is measured by the second management device, and the other part of the information is measured by the first management device; or the first UWB measurement information can be the average result of the measurement results of the second management device and the first management device.

[0129] In a possible implementation, the first condition includes at least one of the following conditions:

[0130] Condition 1) When the first UWB measurement information includes first angle information, the angle indicated by the first angle information is in the first angle interval.

[0131] In the embodiment of the present application, when the first management device acquires the UWB identifier information of the second management device, and the first UWB measurement information indicates that the first management device is currently in the first angle interval in front of the second management device, it can be determined that the second management device is the management device of the sharing target device.

[0132] From the perspective of the user, if the user wants to share the target device to the second management device through the first management device, the first management device can be moved to the front of the second management device, or the second management device is moved to the front of the first management device, to ensure that the first management device is currently in the first angle interval in front of the second management device.

[0133] Condition 2) When the first UWB measurement information includes the first distance information, the distance indicated by the first distance information is in the first distance interval.

[0134] In the embodiment of the application, when the first management device obtains the UWB identification information of the second management device, and the first UWB measurement information indicates that the first management device is currently in the first distance interval around the second management device, it can be determined that the second management device is the management device that shares the target device.

[0135] From the perspective of the user, if the user wants to share the target device to the second management device through the first management device, the first management device can be moved to the front of the second management device, or the second management device is moved to the front of the first management device, to ensure that the first management device is currently in the first angle interval in front of the second management device.

[0136] Condition 3) When the first UWB measurement information includes the first signal strength information, the signal strength indicated by the first signal strength information is in the first signal strength interval.

[0137] In the embodiment of the application, when the first management device obtains the UWB identification information of the second management device, and the signal strength indicated by the first UWB measurement information is in the first signal strength interval (for example, the signal strength indicated by the first UWB measurement information is greater than the first signal strength threshold), it can be determined that the second management device is the management device that shares the target device.

[0138] Step 604, the first management device sends a first request to the relay platform, the first request containing the first pairing information and the device information of the second management device; the relay platform receives the first request.

[0139] In the embodiment of the application, in order to ensure the security of device sharing, the above-mentioned relay platform can be a network platform based on block chain.

[0140] Among them, the above-mentioned relay platform can be a service platform on the network side.

[0141] In a possible implementation, the relay platform is a distributed compliance ledger (DCL) platform constructed based on block chain technology, which is an encrypted secure distributed network.

[0142] The first management device sends a first request to the relay platform, including:

[0143] According to the device information of the second management device, a DCL platform corresponding to the second management device is queried;

[0144] The first request is sent to an observation node corresponding to the first management device in the DCL platform.

[0145] In the embodiments of the present application, the first management device can query the DCL platform corresponding to the second management device according to the vendor identification information (such as vendor ID) in the device information of the second management device, and send the first request to the observation node (Observer Node, ON) corresponding to the first management device in the queried DCL platform.

[0146] In step 605, the relay platform sends a second request to the second management device according to the device information of the second management device; correspondingly, the second management device receives the second request containing the first pairing information sent by the relay platform.

[0147] When the relay platform is a DCL platform, the DCL platform can include a first observation node corresponding to the first management device, a first verification node corresponding to the first management device, a second observation node corresponding to the second management device, and a second verification node corresponding to the second management device.

[0148] When the relay platform receives the first request containing the device information of the second management device and the first pairing information, the first request can be received through the first observation node, forwarded to the first verification node through the first observation node, synchronized to the second verification node through the first verification node, and then sent to the second observation node through the second verification node.

[0149] When the relay platform sends the second request to the second management device according to the device information of the second management device, the second request can be sent to the second management device according to the device information of the second management device through the second observation node.

[0150] Correspondingly, when the relay platform is a DCL platform, the second management device can receive the second request sent by the observation node corresponding to the second management device in the DCL platform.

[0151] The DCL platform includes observation nodes ON and validator nodes VN of various device manufacturers. Data between the VN of the device manufacturers in the DCL platform is synchronized. In the embodiments of the present application, the first management device can send a first request to the ON of the device manufacturer of the first management device, and the ON of the device manufacturer of the first management device passes the first request to the VN of the device manufacturer of the first management device. Then, the first request is synchronized to the VN of the device manufacturer of the second management device, and the VN of the device manufacturer of the second management device passes the first request to the ON of the device manufacturer of the second management device.

[0152] In another possible implementation, the relay platform described above can also be a network platform other than the DCL platform.

[0153] In a possible implementation, the first request and the second request further include device information of the first management device.

[0154] In the embodiments of the present application, when the first management device sends the first pairing information to the second management device, the device information of the first management device can also be sent to the second management device.

[0155] Optionally, after receiving the second request, the second management device can determine which device sends the request according to the device information of the first management device in the second request, or the second management device can verify the legality of the second request according to the device information of the first management device in the second request.

[0156] In step 606, the first management device sends second pairing information to the target device.

[0157] In the embodiments of the present application, the first management device can also send the second pairing information to the target device to be shared through the Internet of Things.

[0158] In a possible implementation, the first management device sends the second pairing information to the target device, including sending an open pairing window request to the target device, and the open pairing window request includes the second pairing information.

[0159] In the embodiments of the present application, the first management device can send the second pairing information to the target device through the open pairing window request (such as the Open Commissioning Window request) in the Internet of Things protocol.

[0160] In step 607, the second management device establishes a pairing connection with the target device.

[0161] In the embodiments of the present application, after the second management device and the target device respectively acquire the respective pairing information, the second management device can establish a pairing connection according to the pairing specification of the Internet of Things protocol, and then the second management device can perform configuration, management, control and other operations on the target device.

[0162] Please refer to Figure 7 which shows a device sharing timing diagram related to the embodiments of the present application. As shown in Figure 7 , taking a first management device as a mobile phone 1 containing a configurator (such as Admin1 in Matter APP), a second management device as a mobile phone 2 containing a configurator (such as Admin2 in Matter APP), and a target device as an example, wherein Admin1 and Admin2 can be different Admins under the same Fabric, or different Admins under different Fabrics. Figure 7 The device sharing process shown in

[0163] S71, the configurator Admin1 completes the configuration of the device.

[0164] S72, the mobile phone 2 establishes the mapping between the device information of the mobile phone Matter APP and the UWB tag. Among them, the Matter APP device information includes discriminator (discriminator) and vendor ID (vendor ID) information that can be recognized by other Matter devices, and the mobile phone 2 encodes and maps the discriminator and vendor ID to obtain the UWB tag ID. This step can also be called establishing the mapping relationship between the discriminator and the vendor ID and the UWB tag ID.

[0165] S73, the user uses the mobile phone 1 to point to the mobile phone 2.

[0166] S74, the mobile phone 1 acquires the UWB identification information of the mobile phone 2 through the UWB mode.

[0167] S75, the mobile phone 2 returns the UWB tag ID, angle, distance and other information.

[0168] S76, the mobile phone 1 judges whether the UWB tag angle and distance belong to the reasonable range of discovering the device, and locks the mobile phone 2 if they are within the range.

[0169] S77, the mobile phone 1 parses the vendor ID and discriminator information of the mobile phone 2 from the UWB tag.

[0170] S78, Admin1 of the mobile phone 1 APP selects the device to be shared, and generates the information required for pairing (corresponding to the first pairing information described above) for the device.

[0171] The information required for the pairing can include passcode, discriminator, vendor ID, product ID, and the like.

[0172] S79, Admin1 of the mobile phone 1 APP sends a request for opening a pairing window to the device, carrying the information required for the pairing.

[0173] S710, Admin1 of the mobile phone 1 APP finds the DCL server address of the mobile phone 2 through the vendor ID.

[0174] S711, the Matter device enters the pairing mode.

[0175] S712, Admin1 of the mobile phone 1 APP sends a request for sharing the device to the mobile phone 2 to the mobile phone 1 ON, carrying the device information of the mobile phone 1, the vendor ID and discriminator information of the mobile phone 2, and the pairing information required for establishing the pairing with the shared device (corresponding to the second pairing information).

[0176] The device information of the mobile phone 1 can include the vendor ID, version, and name of the APP in the mobile phone 1. The pairing information can include passcode, discriminator, vendor ID, product ID, and the like.

[0177] The ON belongs to the cloud node responsible for observation in the DCL and is connected with the VN. There is no connection between the ONs of different companies or manufacturers, and the ONs of the same manufacturer access the VNs of the same manufacturer.

[0178] The VN belongs to the cloud node responsible for verification in the DCL and is connected with the ON and VN. The VNs of different manufacturers are connected with each other in a secure manner by using the blockchain technology.

[0179] S713, the mobile phone 1 ON transfers the request received in S712 to the VN of the mobile phone 1.

[0180] S714, the mobile phone 1 VN is located to the mobile phone 2 VN through the vendor ID of the mobile phone 2.

[0181] S715, the request on the mobile phone 1 VN is synchronized to the mobile phone 2 VN.

[0182] S716, the mobile phone 2 VN sends the request in S715 to the mobile phone 2 ON.

[0183] S717, the mobile phone 2 ON is located to the APP of the mobile phone 2 through the discriminator.

[0184] S718, the phone 2ON sends a shared device request (corresponding to the second request described above) to the phone 2APP, carrying the pairing device required information and the device information of the phone 1.

[0185] S719, the phone 2APP Admin2 listens to the shared device request from the ON, knows who sent the shared device request through the device information of the phone 1, and knows which device to pair with through the pairing information required for pairing, and starts to establish a pairing connection with the device after receiving the request.

[0186] S720, the phone 2APP Admin2 establishes a pairing connection with the device.

[0187] In summary, in the scheme shown in the embodiment of the application, the first management device obtains the UWB identification information of the second management device through the ultra-wideband (UWB) mode and parses it to obtain the device information of the second management device, and then sends first pairing information to the second management device through the relay platform according to the device information of the second management device, so that the second management device establishes a pairing connection with the target device according to the first pairing information. In the above process, the user of the first management device does not need to provide the user of the second management device with information such as a two-dimensional code or a pairing code, and can share the target device with the second management device, thereby simplifying the user operation steps in the device sharing process and improving the efficiency of device sharing.

[0188] Please refer to Figure 8 , which shows a block diagram of a device sharing apparatus provided by an embodiment of the application. The device sharing apparatus 800 has the functions implemented by the first management device in the method shown in Figure 2 or Figure 6 . As shown in Figure 8 , the device sharing apparatus 800 can include:

[0189] The tag acquisition module 801 is configured to obtain the UWB identification information of the second management device through the ultra-wideband (UWB) mode.

[0190] The parsing module 802 is configured to parse the UWB identification information to obtain the device information of the second management device.

[0191] The sending module 803 is configured to send first pairing information to the second management device according to the device information of the second management device, and the first pairing information is used to establish a pairing connection between the second management device and the target device.

[0192] In a possible implementation, the device information includes at least one of authentication information and vendor identification information.

[0193] In a possible implementation, the apparatus further includes:

[0194] a measurement information obtaining module, configured to obtain first UWB measurement information between the second management device before the parsing module 802 parses the UWB identification information to obtain the device information of the second management device;

[0195] The parsing module 802 is configured to parse the UWB identification information to obtain the device information of the second management device when the first UWB measurement information meets a first condition.

[0196] In a possible implementation, the first UWB measurement information includes at least one of first angle information, first distance information, and first signal strength information.

[0197] In a possible implementation, the first condition includes at least one of the following conditions:

[0198] When the first UWB measurement information includes the first angle information, the angle indicated by the first angle information is within a first angle interval;

[0199] When the first UWB measurement information includes the first distance information, the distance indicated by the first distance information is within a first distance interval;

[0200] When the first UWB measurement information includes the first signal strength information, the signal strength indicated by the first signal strength information is within a first signal strength interval.

[0201] In a possible implementation, the first management device and the second management device belong to different security domains Fabric.

[0202] In a possible implementation, the sending module 803 is configured to send a first request to a relay platform, the first request including the first pairing information and the device information of the second management device, so that the relay platform sends a second request to the second management device according to the device information of the second management device; the second request includes the first pairing information.

[0203] In a possible implementation, the relay platform is a distributed network DCL platform constructed based on a block chain technology and is an encrypted secure distributed network; the sending module 803 is configured to,

[0204] query the DCL platform corresponding to the second management device according to the device information of the second management device;

[0205] The first request is sent to an observation node corresponding to the first management device in the DCL platform.

[0206] In a possible implementation, the first request and the second request further contain device information of the first management device.

[0207] In a possible implementation, the sending module 803 is further configured to send an open pairing window request to the target device, and the open pairing window request contains second pairing information; the second pairing information is used to establish a pairing connection between the target device and the second management device.

[0208] Please refer to Figure 9 , which shows a block diagram of a device sharing apparatus provided by an embodiment of the present application. The device sharing apparatus 900 has a function of implementing the above Figure 3 or Figure 6 mentioned method performed by the second management device. As shown in Figure 9 , the device sharing apparatus 900 can include:

[0209] The sending module 901 is configured to send, in a UWB manner, UWB identification information of the second management device to a first management device, so that the first management device parses the UWB identification information to obtain device information of the second management device.

[0210] The receiving module 902 is configured to receive first pairing information; the first pairing information is sent by the first management device according to the device information of the second management device.

[0211] The connection module 903 is configured to establish a pairing connection with a target device according to the first pairing information.

[0212] In a possible implementation, the device information includes at least one of authentication information and vendor identification information.

[0213] In a possible implementation, the receiving module 902 is configured to receive a second request containing the first pairing information, which is sent by a relay platform; the second request is sent by the relay platform according to the device information of the second management device after the relay platform receives a first request containing the first pairing information and the device information of the second management device.

[0214] In a possible implementation, the relay platform is a DCL platform.

[0215] The receiving module 902 is configured to receive the second request sent by an observation node corresponding to the second management device in the DCL platform.

[0216] In a possible implementation, the first request and the second request further comprise device information of the first management device.

[0217] In a possible implementation, the apparatus further comprises:

[0218] The encoding module is configured to, before the sending module sends the UWB identification information of the second management device to the first management device by using the UWB mode, perform encoding mapping on the device information of the second management device to obtain the UWB identification information of the second management device.

[0219] Please refer to Figure 10 , which shows a block diagram of a device sharing apparatus provided by an embodiment of the present application. The device sharing apparatus 1000 has the functions of implementing the methods shown in Figure 4 or Figure 6 , which are performed by a relay platform; the relay platform can be a service platform on the network side, for example, a DCL platform. As shown in Figure 10 , the device sharing apparatus 1000 can include:

[0220] The receiving module 1001 is configured to receive a first request comprising device information of a second management device and first pairing information; the first request is sent by a first management device according to the device information of the second management device; the device information of the second management device is obtained by the first management device by using a UWB (Ultra-Wide Band) mode to acquire UWB identification information of the second management device and performing analysis on the UWB identification information;

[0221] The sending module 1002 is configured to send a second request to the second management device according to the device information of the second management device; the second request comprises the first pairing information, so that the second management device establishes a pairing connection with a target device according to the first pairing information.

[0222] In a possible implementation, the relay platform comprises a first observation node corresponding to the first management device, a first verification node corresponding to the first management device, a second observation node corresponding to the second management device, and a second verification node corresponding to the second management device.

[0223] The receiving module 1001 is configured to,

[0224] receive, by the first observation node corresponding to the first management device, the first request;

[0225] forward, by the first observation node, the first request to the first verification node corresponding to the first management device;

[0226] The first request is synchronized to a second verification node corresponding to the second management device by the first verification node;

[0227] The first request is sent to a second observation node corresponding to the second management device by the second verification node.

[0228] The sending module 1002 is configured to send the second request to the second management device according to the device information of the second management device by the second observation node.

[0229] In a possible implementation, the first request and the second request further contain device information of the first management device.

[0230] Please refer to Figure 11 which shows a structural diagram of a computer device 1100 provided in an embodiment of the present application. The computer device 1100 can include a processor 1101, a receiver 1102, a transmitter 1103, a memory 1104 and a bus 1105.

[0231] The processor 1101 includes one or more processing cores. The processor 1101 performs various functional applications and information processing by running software programs and modules.

[0232] The receiver 1102 and the transmitter 1103 can be implemented as a communication component, which can be a communication chip. The communication chip can also be referred to as a transceiver.

[0233] The memory 1104 is connected to the processor 1101 through the bus 1105.

[0234] The memory 1104 can be used to store a computer program. The processor 1101 is configured to execute the computer program to implement various steps in the above method embodiments.

[0235] In addition, the memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: a magnetic or optical disk, an electrically erasable programmable read-only memory, an erasable programmable read-only memory, a static random access memory, a read-only memory, a magnetic storage, a flash memory, a programmable read-only memory.

[0236] In an example, when the computer device 1100 is implemented as a first management device, the transceiver is configured to acquire, by using a UWB (Ultra-Wide Band) mode, UWB identification information of a second management device; the processor is configured to parse the UWB identification information to obtain device information of the second management device; the transceiver is further configured to send, to the second management device, first pairing information according to the device information of the second management device, and send, to a target device, second pairing information, so that the second management device establishes a pairing connection with the target device.

[0237] The processes performed by the processor and / or the transceiver in the computer device 1100 can refer to the processes in any of the above Figure 2 or Figure 6 example methods.

[0238] In another example, when the computer device 1100 is implemented as a second management device, the transceiver is configured to send, to a first management device, UWB identification information of the second management device by using a UWB (Ultra-Wide Band) mode, so that the first management device parses the UWB identification information to obtain device information of the second management device; receive first pairing information; the first pairing information is sent by the first management device according to the device information of the second management device; the processor is configured to establish a pairing connection with a target device according to the first pairing information.

[0239] The processes performed by the processor and / or the transceiver in the computer device 1100 can refer to the processes in any of the above Figure 3 or Figure 6 example methods.

[0240] In another example, when the computer device 1100 is implemented as a relay platform, the transceiver is configured to receive a first request containing device information of a second management device and first pairing information; the first request is sent by a first management device according to the device information of the second management device; the device information of the second management device is obtained by the first management device by acquiring UWB identification information of the second management device by using a UWB (Ultra-Wide Band) mode, and parsing the UWB identification information; according to the device information of the second management device, send a second request to the second management device; the second request contains the first pairing information, so that the second management device establishes a pairing connection with a target device according to the first pairing information.

[0241] The processes performed by the processor and / or the transceiver in the computer device 1100 can refer to the processes in any of the above Figure 4 or Figure 6In any of the methods described, the various steps performed by the relay platform.

[0242] The embodiments of the present application also provide a computer readable storage medium, the storage medium stores a computer program, the computer program is loaded and executed by a processor to implement the method described above Figure 2 , Figure 3 , Figure 4 or Figure 6 the steps performed by the first management device, the second management device or the relay platform.

[0243] The present application also provides a chip, which is used to run in a computer device, so that the computer device executes all or part of the steps performed by the first management device, the second management device or the relay platform in the method described above Figure 2 , Figure 3 , Figure 4 or Figure 6 .

[0244] The present application also provides a computer program product, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes all or part of the steps performed by the first management device, the second management device or the relay platform in the method described above Figure 2 , Figure 3 , Figure 4 or Figure 6 .

[0245] The present application also provides a computer program, which is executed by the processor of the computer device to implement all or part of the steps performed by the first management device, the second management device or the relay platform in the method described above Figure 2 , Figure 3 , Figure 4 or Figure 6 Figure 2 Figure 3 Figure 4 Figure 6 .

Claims

1. A device sharing method, characterized by, The method is executed by a first management device, and the method comprises: obtaining, by an ultra-wideband (UWB) mode, UWB identification information of a second management device; obtaining first UWB measurement information between the first management device and the second management device; when the first UWB measurement information satisfies a first condition, analyzing the UWB identification information to obtain device information of the second management device, the first UWB measurement information comprising at least one of first angle information, first distance information, and first signal strength information; the first condition comprising at least one of the following conditions: the first angle information included in the first UWB measurement information indicating that the first management device is currently in a first angle interval in front of the second management device; the first distance information included in the first UWB measurement information indicating that the first management device is currently in a first distance interval around the second management device; and the first signal strength information included in the first UWB measurement information indicating that the signal strength is in a first signal strength interval; querying, according to the device information of the second management device, a DCL platform corresponding to the second management device, the DCL being an encrypted and secure distributed network constructed by a relay platform based on a blockchain technology; sending, to the DCL platform, a first request to an observation node corresponding to the first management device, the first request comprising first pairing information and the device information of the second management device, so that the relay platform sends a second request to the second management device according to the device information of the second management device; the second request comprising the first pairing information, the first pairing information being used for the second management device to establish a pairing connection with a target device; wherein the first management device and the second management device belong to different security domains (Fabrics).

2. The method of claim 1, wherein, The device information comprises at least one of authentication information and vendor identification information.

3. The method of claim 1, wherein, The first request and the second request further comprise device information of the first management device.

4. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: sending, to the target device, an open pairing window request, the open pairing window request comprising second pairing information; the second pairing information being used for the target device to establish a pairing connection with the second management device.

5. A device sharing method characterized by comprising: The method is executed by a second management device, and the method comprises: transmitting, to a first management device, UWB identification information of a second management device by an ultra-wideband (UWB) manner, so that the first management device acquires first UWB measurement information between the first management device and the second management device; when the first UWB measurement information satisfies a first condition, parsing the UWB identification information to obtain device information of the second management device, the first UWB measurement information including at least one of first angle information, first distance information, and first signal strength information; the first condition including at least one of the following conditions: the first angle information included in the first UWB measurement information indicating that the first management device is currently in a first angle interval in front of the second management device; the first distance information included in the first UWB measurement information indicating that the first management device is currently in a first distance interval around the second management device; and the first signal strength information included in the first UWB measurement information indicating that a signal strength is in a first signal strength interval; receiving a second request sent by an observation node corresponding to the second management device in a DCL platform, the DCL being an encrypted and secure distributed network constructed based on a blockchain technology by a relay platform; the second request being sent by the relay platform according to device information of the second management device after the relay platform receives a first request containing first pairing information and the device information of the second management device; the first pairing information being sent by the first management device according to the device information of the second management device; establishing a pairing connection with a target device according to the first pairing information. The first management device and the second management device belong to different security domains Fabric.

6. The method of claim 5, wherein, The device information includes at least one of authentication information and vendor identification information.

7. The method of claim 5, wherein, The first request and the second request further contain device information of the first management device.

8. The method according to any one of claims 5 to 7, characterized in that, Before the first management device transmits the UWB identification information of the second management device to the first management device by the UWB manner, the method further includes: encoding and mapping the device information of the second management device to obtain the UWB identification information of the second management device.

9. A device sharing method, comprising: The method is executed by a relay platform, the relay platform being an encrypted and secure distributed network DCL platform constructed based on a blockchain technology; the relay platform including a first observation node corresponding to a first management device, a first verification node corresponding to the first management device, a second observation node corresponding to a second management device, and a second verification node corresponding to the second management device; and the method including: The first request is sent by the first management device according to device information of the second management device; the device information of the second management device is that the first management device acquires UWB identifier information of the second management device and acquires first UWB measurement information between the second management device by a UWB (Ultra-Wide Band) mode; the UWB identifier information is parsed to obtain the device information of the second management device when the first UWB measurement information meets a first condition; the first UWB measurement information includes at least one of first angle information, first distance information and first signal strength information; the first condition includes at least one of the following conditions: the first angle information included in the first UWB measurement information indicates that the first management device is currently in a first angle interval in front of the second management device; the first distance information included in the first UWB measurement information indicates that the first management device is currently in a first distance interval around the second management device; and the first signal strength information included in the first UWB measurement information indicates that the signal strength is in a first signal strength interval; The second request is sent to the second management device according to the device information of the second management device by the second observation node; the first pairing information is included in the second request, so that the second management device establishes a pairing connection with a target device according to the first pairing information; The first management device and the second management device belong to different security domains Fabric.

10. The method of claim 9, wherein, The first request and the second request further include device information of the first management device.

11. An apparatus sharing device, comprising: The device includes: A tag acquisition module is configured to acquire UWB identifier information of a second management device by a UWB (Ultra-Wide Band) mode; A measurement information acquisition module is configured to acquire first UWB measurement information between the second management device; A parsing module is configured to parse the UWB identifier information to obtain device information of the second management device when the first UWB measurement information meets a first condition; the first UWB measurement information includes at least one of first angle information, first distance information and first signal strength information; and the first condition includes at least one of the following conditions: the first angle information included in the first UWB measurement information indicates that the first management device is currently in a first angle interval in front of the second management device; the first distance information included in the first UWB measurement information indicates that the first management device is currently in a first distance interval around the second management device; and the first signal strength information included in the first UWB measurement information indicates that the signal strength is in a first signal strength interval; The sending module is configured to query a DCL platform corresponding to the second management device according to device information of the second management device, the DCL being a distributed network constructed by a relay platform based on a blockchain technology and being encrypted and secure; send a first request to an observation node corresponding to the first management device in the DCL platform, the first request containing first pairing information and the device information of the second management device, so that the relay platform sends a second request to the second management device according to the device information of the second management device; the second request containing the first pairing information, the first pairing information being used for the second management device to establish a pairing connection with a target device. The first management device and the second management device belong to different security domains Fabric.

12. The apparatus of claim 11, wherein, The device information includes at least one of authentication information and vendor identification information.

13. The apparatus of claim 11, wherein, The first request and the second request further contain device information of the first management device.

14. The apparatus of any one of claims 11 to 13, wherein, The sending module is further configured to send an open pairing window request to the target device, the open pairing window request containing second pairing information; the second pairing information being used for the target device to establish a pairing connection with the second management device.

15. An apparatus sharing device, comprising: The apparatus includes: The sending module is configured to send, to a first management device, UWB identification information of a second management device in an ultra-wideband (UWB) manner, so that the first management device acquires first UWB measurement information between the second management device and the first management device; when the first UWB measurement information satisfies a first condition, parse the UWB identification information to obtain device information of the second management device, the first UWB measurement information including at least one of first angle information, first distance information, and first signal strength information; the first condition including at least one of the following conditions: the first angle information included in the first UWB measurement information indicates that the first management device is currently in a first angle interval in front of the second management device; the first distance information included in the first UWB measurement information indicates that the first management device is currently in a first distance interval around the second management device; and the first signal strength information included in the first UWB measurement information indicates that a signal strength is in a first signal strength interval. The receiving module is configured to receive a second request sent by an observation node corresponding to the second management device in a DCL platform, the DCL being a distributed network constructed by a relay platform based on a blockchain technology and being encrypted and secure; the second request being sent by the relay platform according to device information of the second management device after receiving a first request containing first pairing information and the device information of the second management device; the first pairing information being sent by the first management device according to the device information of the second management device. The connection module is configured to establish a pairing connection with a target device according to the first pairing information. The first management device and the second management device belong to different security domains Fabric.

16. The apparatus of claim 15, wherein, The device information includes at least one of authentication information and vendor identification information.

17. The apparatus of claim 15, wherein, The first request and the second request further include device information of the first management device.

18. The apparatus of any one of claims 15 to 17, wherein, The apparatus further includes The encoding module is configured to encode and map the device information of the second management device to obtain the UWB identification information of the second management device before the sending module sends the UWB identification information of the second management device to the first management device in a UWB manner.

19. An apparatus sharing device, comprising: The apparatus includes The receiving module is configured to receive a first request through a first observation node, forward the first request to a first verification node through the first observation node, synchronize the first request to a second verification node through the first verification node, and send the first request to a second observation node through the second verification node. The first request is sent by a first management device according to device information of a second management device. The device information of the second management device is UWB identification information of the second management device obtained by the first management device in a UWB manner and first UWB measurement information between the second management device.

20. The apparatus of claim 19, wherein, The first UWB measurement information includes at least one of first angle information, first distance information, and first signal strength information.

21. A computer device, comprising: The first condition includes at least one of the following conditions: the first angle information included in the first UWB measurement information indicates that the first management device is currently in a first angle interval in front of the second management device; the first distance information included in the first UWB measurement information indicates that the first management device is currently in a first distance interval around the second management device; and the first signal strength information included in the first UWB measurement information indicates that the signal strength is in a first signal strength interval. The sending module is configured to send a second request to the second management device according to the device information of the second management device through the second observation node.

22. A computer-readable storage medium, characterized in that, The second request includes first pairing information so that the second management device establishes a pairing connection with a target device according to the first pairing information.

23. A chip, characterized by The first management device and the second management device belong to different security domains Fabric. The first request and the second request further include device information of the first management device. The computer device includes a processor, a memory, and a transceiver. The memory stores a computer program, and the processor executes the computer program to enable the computer device to implement the device sharing method of any one of claims 1 to 10. The storage medium stores a computer program, and the computer program is configured to be executed by a processor to implement the device sharing method of any one of claims 1 to 10. The chip is configured to run in a computer device to enable the computer device to execute the device sharing method of any one of claims 1 to 10.

24. A computer program product, characterised in that, The computer program product comprises computer instructions, a processor of a computer device reads the computer instructions, and executes the computer instructions, so that the computer device executes the device sharing method as any one of claims 1 to 10.

Citation Information

Patent Citations

  • Bluetooth device sharing requesting method, control method and electronic device

    CN107567009A

  • Information sharing method, terminal device, storage medium and computer program product

    CN110611905A

  • File sharing method and device and intelligent equipment

    CN112423226A