Device capability sharing apparatus, system, method, device, medium, and program product

By combining optical communication sensors and power supply contacts, the problem of low data transmission rate in device capability sharing is solved, enabling the sharing of device capabilities and improving the device's processing power and user experience.

CN121334291APending Publication Date: 2026-01-13XIAOMI EV TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511415896.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

In existing technologies, interconnection between devices is mainly achieved through connections such as Bluetooth, Wi-Fi, and USB. The content transmitted is limited to messages, files, audio, and video, and the data transmission rate is low, making it difficult to effectively share device capabilities.

Method used

The device employs a combination of first and second optical communication sensors to share its capabilities with the other device via optical communication. It utilizes different communication interfaces of the optical communication sensors for data input and output, and enables charging between devices through power supply contacts. In conjunction with an alignment module, it improves alignment accuracy and data transmission rate.

Benefits of technology

It improves the data transmission rate and response speed between devices, enables the sharing of device capabilities, and enhances the user experience and the processing power of individual devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121334291A_ABST
    Figure CN121334291A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment capability sharing device, system, method, equipment, medium and program product, and relates to the technical field of intelligent cabins, the device comprises a first sharing device and a second sharing device, the first sharing device is used for being connected with first equipment; the second sharing device is used for being connected with second equipment; wherein the first sharing device is matched with the second sharing device and is used for sharing the first equipment capability of the first equipment to the second equipment and sharing the second equipment capability of the second equipment to the first equipment. In this way, sharing of device capabilities between two devices is achieved, so that the processing capability of a single device can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of intelligent cockpit technology, and in particular to a device, system, method, apparatus, medium and program product for sharing device capabilities. Background Technology

[0002] Currently, for interconnection between two devices, such as the interconnection between a car infotainment system and a mobile phone, the communication methods used are mainly based on Bluetooth, Wi-Fi (Wireless Fidelity), and USB (Universal Serial Bus), and the content transmitted is limited to messages, files, audio and video. Summary of the Invention

[0003] To overcome the technical problems existing in the related technologies, this disclosure provides a device, system, method, apparatus, medium and program product for sharing device capabilities. It can share the first device capability of a first device with a second device and share the second device capability of a second device with a first device through the cooperation of a first sharing device and a second sharing device, thereby realizing the sharing of device capabilities between the two devices and improving the processing capability of a single device.

[0004] According to a first aspect of the present disclosure, a device capability sharing apparatus is provided, comprising: A first sharing device, the first sharing device being used to connect to a first device; A second sharing device, the second sharing device being used to connect to a second device; The first sharing device cooperates with the second sharing device to share the first device capability of the first device with the second device, and to share the second device capability of the second device with the first device.

[0005] In this embodiment, the device capability sharing device includes a first sharing device and a second sharing device, which are respectively connected to the first device and the second device. The first sharing device and the second sharing device work together to share the first device capability of the first device with the second device, and to share the second device capability of the second device with the first device, thereby realizing the sharing of device capabilities between the two devices and improving the processing capability of a single device.

[0006] In one possible implementation, the first sharing device includes a first optical communication sensor for connecting to the first device; The second sharing device includes a second optical communication sensor, which is used to connect to the second device; The first optical communication sensor works in conjunction with the second optical communication sensor to share the first device capability of the first device with the second device via optical communication, and to share the second device capability of the second device with the first device.

[0007] In this embodiment, the first optical communication sensor and the second optical communication sensor can work together to share the first device capability of the first device with the second device and the second device capability of the second device with the first device via optical communication. This can improve the data transmission rate through optical communication, thereby improving the effectiveness of capability sharing, enhancing the device's response speed, and improving the user experience.

[0008] In one possible implementation, the first optical communication sensor includes a first communication interface and a second communication interface, and the second optical communication sensor includes a third communication interface and a fourth communication interface. The first communication interface cooperates with the fourth communication interface, and the second communication interface cooperates with the third communication interface, for sharing the first device capability of the first device with the second device, and sharing the second device capability of the second device with the first device.

[0009] In this embodiment, data can be input and output through different communication interfaces in order to improve the bidirectional data transmission rate between the first device and the second device.

[0010] In one possible implementation, the first communication interface and the fourth communication interface are used by the first device to transmit optical signals to the second device.

[0011] In this embodiment, the first communication interface and the fourth communication interface cooperate to form a channel for the first device to transmit data to the second device, so that the first device can transmit optical signals to the second device.

[0012] In one possible implementation, the second communication interface and the third communication interface are used by the second device to transmit optical signals to the first device.

[0013] In this embodiment, the second communication interface and the third communication interface cooperate to form a channel for the second device to transmit data to the first device, so that the second device can transmit optical signals to the first device.

[0014] In one possible implementation, the first sharing device further includes a first power supply contact for connecting to the first device; The second sharing device further includes a second power supply contact for connecting to the second device; The first power supply contact cooperates with the second power supply contact to supply power from the first device to the second device, or from the second device to the first device.

[0015] In this embodiment, the first power supply contact can also cooperate with the second power supply contact to enable the first device to supply power to the second device, or the second device to supply power to the first device, so as to realize the charging function between the devices.

[0016] In one possible implementation, the first sharing device further includes a first alignment module for connecting to the first device, wherein the first optical communication sensor and the first power supply contact are disposed on the first alignment module. The second sharing device further includes a second alignment module, which is used to connect to the second device, and the second optical communication sensor and the second power supply contact are disposed on the second alignment module; The first alignment module is used in conjunction with the second alignment module to align the first optical communication sensor with the second optical communication sensor, and to align the first power supply contact with the second power supply contact.

[0017] In this embodiment, the first alignment module and the second alignment module can cooperate to align the first optical communication sensor with the second optical communication sensor, and to align the first power supply contact with the second power supply contact. This improves the accuracy of alignment and the user's alignment speed, thereby increasing the data transmission rate and charging efficiency, and enhancing the user experience.

[0018] According to a second aspect of the present disclosure, a device capability sharing system is provided, comprising: A first device, the first device being provided with the first sharing device described in the first aspect above; The second device is provided with the second sharing device described in the first aspect above; The first sharing device cooperates with the second sharing device to share the first device capability of the first device with the second device, and to share the second device capability of the second device with the first device.

[0019] In this embodiment, the device capability sharing device includes a first sharing device and a second sharing device, which are respectively disposed on the first device and the second device. The first sharing device and the second sharing device are used in cooperation to share the first device capability of the first device with the second device and to share the second device capability of the second device with the first device, thereby realizing the sharing of device capabilities between the two devices and improving the processing capability of a single device.

[0020] In one possible implementation, the first device includes a first optical communication module, which is connected to the first sharing device. The second device includes a second optical communication module, which is connected to the second sharing device; The first optical communication module and the second optical communication module are used to share the first device capability of the first device with the second device via optical communication, and to share the second device capability of the second device with the first device via optical communication.

[0021] In this embodiment, data transmission between the first device and the first sharing device can be achieved through the first optical communication module, and data transmission between the second device and the second sharing device can be achieved through the second optical communication module. Furthermore, by cooperating with the first and second optical communication sensors, the first device capability of the first device can be shared with the second device, and the second device capability of the second device can be shared with the first device through optical communication. This can improve the data transmission rate through optical communication, thereby enhancing the effectiveness of capability sharing, improving the device's response speed, and thus improving the user experience.

[0022] In one possible implementation, the first device includes a first computing unit and a first sensing hardware, the first computing unit and the first sensing hardware being respectively connected to the first optical communication module, and the first computing unit and the first sensing hardware being used to provide the capabilities of the first device. The second device includes a second computing unit and a second sensing hardware, which are respectively connected to the second optical communication module. The second computing unit and the second sensing hardware are used to provide the capabilities of the second device.

[0023] In this embodiment, the first device can share the capabilities of the first computing unit and the first sensing hardware corresponding to the first device with the second device, and the second device can share the capabilities of the second computing unit and the second sensing hardware corresponding to the second device with the first device. This improves the processing power of a single device.

[0024] According to a third aspect of the present disclosure, a device capability sharing method is provided, applied to a first device in a device capability sharing system provided in a second aspect of the present disclosure, the method comprising: In response to the second device being located at the target communication location, the first device shares its first device capabilities with the second device and acquires the second device capabilities shared by the second device.

[0025] In this embodiment, the first device and the second device work together. If the first device detects that the second device is located at the target communication location, it determines that a data transmission channel can be established between the first device and the second device through the first sharing device and the second sharing device. This allows the first device to share its first device capabilities with the second device and to acquire the second device capabilities shared by the second device. This enables the sharing of device capabilities between the two devices, thereby improving the processing power of a single device.

[0026] In one possible implementation, sharing the first device capability of the first device with the second device includes: Based on the first device capability of the first device, generate first capability information; Send the first capability information to the second device; Receive a first access request from the second device to the capabilities of the first device, and obtain a first access result based on the capabilities of the first device; The first access result is sent to the second device.

[0027] In this embodiment, the first device can send its first device capabilities to the second device through corresponding first capability information, so that the second device can know the device capabilities that the first device can share. Then, the second device can send a first access request to the first device to call the first device's first device capabilities. The first device can obtain the corresponding first access result based on the first device capabilities and return it to the second device, thereby realizing the sharing of the first device's first device capabilities with the second device, that is, the second device can directly call the first device's first device capabilities.

[0028] In one possible implementation, acquiring the second device capabilities shared by the second device includes: Obtain the second capability information of the second device, wherein the second capability information characterizes the second device capability of the second device; In response to an operation that invokes the capabilities of the second device, a second access request for the capabilities of the second device is sent to the second device; Obtain the second access result sent by the second device in response to the second access request.

[0029] In this embodiment, the second device can also send second capability information, representing its own capabilities, to the first device. This allows the first device to know the capabilities that the second device can share. In response to an operation to invoke the second device's capabilities, the first device can send a second access request to the second device to invoke its second capabilities. Based on the second access request, the second device can invoke the second device's capabilities, obtain the corresponding second access result, and return it to the first device. The first device receives the second access result from the second device, thus enabling the sharing of the second device's capabilities with the first device. In other words, the first device can directly invoke the second device's second capabilities.

[0030] In one possible implementation, the method further includes: Based on the second capability information, construct virtual device drivers and system capability services; The step of sending a second access request to the second device's capabilities in response to an operation that invokes the capabilities of the second device includes: In response to the call operation of the second device's capabilities, the optical communication module is invoked through the virtual device driver and the system capability service to send a second access request for the second device's capabilities to the second device.

[0031] In this embodiment, a virtual device driver and system capability service can be built in the first device based on the second capability information sent by the second device. This allows the first device to respond to the call operation of the second device capability when the second device capability of the second device needs to be called. The first device can then call the optical communication module through the virtual device driver and system capability service to send a second access request for the second device capability to the second device, thereby completing the call to the second device capability of the second device and improving the data processing capability of the first device.

[0032] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0033] In this embodiment, the first device and the second device can share output capabilities, AI processing capabilities, and security processing capabilities.

[0034] According to a fourth aspect of the present disclosure, a device capability sharing method is provided, applied to a second device in a device capability sharing system provided in a second aspect of the present disclosure, the method comprising: In response to the first device being located at the target communication location, the second device shares its second device capabilities with the first device and acquires the first device capabilities shared by the first device.

[0035] In this embodiment, the first device and the second device work together. If the second device detects that the first device is located at the target communication location, it determines that a data transmission channel can be established between the first device and the second device through the first sharing device and the second sharing device. This allows the second device to share its capabilities with the first device and to acquire the first device's shared capabilities. This enables the sharing of device capabilities between the two devices, thereby improving the processing power of a single device.

[0036] In one possible implementation, sharing the second device capabilities of the second device with the first device includes: Based on the second device's second device capabilities, generate second capability information; Send the second capability information to the first device; Receive a second access request from the first device to the capabilities of the second device, and obtain a second access result based on the capabilities of the second device; The second access result is sent to the first device.

[0037] In this embodiment, the second device can send its second device capabilities to the first device through corresponding second capability information, so that the first device can know the device capabilities that the second device can share. Then, the first device can send a second access request to the second device to call the second device's second device capabilities. The second device can obtain the corresponding second access result based on the second device capabilities and return it to the first device, thereby realizing the sharing of the second device's second device capabilities with the first device, that is, the first device can directly call the second device's second device capabilities.

[0038] In one possible implementation, acquiring the first device capability shared by the first device includes: Obtain first capability information of the first device, wherein the first capability information characterizes the first device capability of the first device; In response to an operation that invokes the capabilities of the first device, a first access request for the capabilities of the first device is sent to the first device. Obtain the first access result sent by the first device in response to the first access request.

[0039] In this embodiment, the first device can also send first capability information representing its own capabilities to the second device, so that the second device can know the capabilities that the first device can share. Then, in response to an operation to invoke the first device's capabilities, the second device can send a first access request to the first device to invoke the first device's capabilities. Based on the first access request, the first device can invoke the first device's capabilities to obtain a corresponding first access result and return it to the second device. The second device receives the first access result sent by the first device, thereby sharing the first device's capabilities with the second device, meaning the second device can directly invoke the first device's capabilities.

[0040] In one possible implementation, the method further includes: Based on the first capability information, construct virtual device drivers and system capability services; The step of sending a first access request for the capabilities of the first device in response to an operation that invokes the capabilities of the first device includes: In response to the call operation of the first device's capabilities, the optical communication module is invoked through the virtual device driver and the system capability service to send a first access request for the first device's capabilities to the first device.

[0041] In this embodiment, a virtual device driver and system capability service can be constructed in the second device based on the first capability information sent by the first device. This allows the second device to respond to the call operation of the first device capability when the first device capability of the first device needs to be called. The second device can then call the optical communication module through the virtual device driver and system capability service to send a first access request for the first device capability to the first device, thereby completing the call to the first device capability of the first device and improving the data processing capability of the second device.

[0042] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0043] In this embodiment, the first device and the second device can share output capabilities, AI processing capabilities, and security processing capabilities.

[0044] According to a fifth aspect of the present disclosure, a device capability sharing apparatus is provided, comprising a first device configured in a device capability sharing system provided in a second aspect of the present disclosure, the apparatus including: The first sharing module is configured such that, in response to the second device being located at a target communication location, the first device shares its first device capabilities with the second device, and acquires the second device capabilities shared by the second device.

[0045] In one possible implementation, the first sharing module is configured as follows: Based on the first device capability of the first device, generate first capability information; Send the first capability information to the second device; Receive a first access request from the second device to the capabilities of the first device, and obtain a first access result based on the capabilities of the first device; The first access result is sent to the second device.

[0046] In one possible implementation, the first sharing module is configured as follows: Obtain the second capability information of the second device, wherein the second capability information characterizes the second device capability of the second device; In response to an operation that invokes the capabilities of the second device, a second access request for the capabilities of the second device is sent to the second device; Obtain the second access result sent by the second device in response to the second access request.

[0047] In one possible implementation, the device further includes: The first building module is configured to build virtual device drivers and system capability services based on the second capability information; The first sharing module is configured as follows: In response to the call operation of the second device's capabilities, the optical communication module is invoked through the virtual device driver and the system capability service to send a second access request for the second device's capabilities to the second device.

[0048] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0049] According to a sixth aspect of the present disclosure, a device capability sharing apparatus is provided, applied to a second device in a device capability sharing system provided in a second aspect of the present disclosure, the apparatus comprising: The second sharing module is configured to, in response to the first device being located at a target communication location, share the second device capabilities of the second device with the first device, and obtain the first device capabilities shared by the first device.

[0050] In one possible implementation, the second sharing module is configured as follows: Based on the second device's second device capabilities, generate second capability information; Send the second capability information to the first device; Receive a second access request from the first device to the capabilities of the second device, and obtain a second access result based on the capabilities of the second device; The second access result is sent to the first device.

[0051] In one possible implementation, the second sharing module is configured as follows: Obtain first capability information of the first device, wherein the first capability information characterizes the first device capability of the first device; In response to an operation that invokes the capabilities of the first device, a first access request for the capabilities of the first device is sent to the first device. Obtain the first access result sent by the first device in response to the first access request.

[0052] In one possible implementation, the device further includes: The second construction module is configured to construct virtual device drivers and system capability services based on the first capability information; The second sharing module is configured as follows: In response to the call operation of the first device's capabilities, the optical communication module is invoked through the virtual device driver and the system capability service to send a first access request for the first device's capabilities to the first device.

[0053] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0054] According to a seventh aspect of the present disclosure, an electronic device is provided, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to execute the steps of the device capability sharing method provided in the third and fourth aspects of this disclosure.

[0055] According to an eighth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the device capability sharing method provided in the third and fourth aspects of the present disclosure.

[0056] According to a ninth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the device capability sharing method provided in the third and fourth aspects of the present disclosure.

[0057] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0058] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0059] Figure 1 This is a schematic diagram illustrating a device capability sharing system according to an exemplary embodiment.

[0060] Figure 2 This is a flowchart illustrating a device capability sharing method according to an exemplary embodiment.

[0061] Figure 3 This is a flowchart illustrating another method for sharing device capabilities according to an exemplary embodiment.

[0062] Figure 4 This is a schematic diagram illustrating a device capability sharing result according to an exemplary embodiment.

[0063] Figure 5 This is a block diagram illustrating a device capability sharing apparatus according to an exemplary embodiment.

[0064] Figure 6 This is a block diagram illustrating another device capability sharing apparatus according to an exemplary embodiment.

[0065] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment.

[0066] Explanation of reference numerals in the attached figures 1. First device; 11. First sharing device; 111. First communication interface; 112. Second communication interface; 113. First power supply contact; 114. First alignment module; 2. Second device; 21. Second sharing device; 211. Third communication interface; 212. Fourth communication interface; 213. Second power supply contact; 214. Second alignment module. Detailed Implementation

[0067] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements.

[0068] The embodiments described in the following examples of this disclosure are not representative of all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0069] It should be noted that all actions involving the acquisition of signals, information, or data in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with authorization from the owner of the relevant device.

[0070] Currently, for interconnection between two devices, such as between a car infotainment system and a mobile phone, the communication methods mainly rely on Bluetooth, Wi-Fi, and USB connections. The content transmitted is limited to messages, files, audio, and video. The data transmission rate is low and the data transmission scope is relatively limited, making it difficult to share device capabilities.

[0071] Based on the above-mentioned technical problems, the present disclosure provides a device capability sharing apparatus, system, method, device, medium, and program product, which can share the first device capability of the first device with the second device and share the second device capability of the second device with the first device through the cooperation of the first sharing apparatus and the second sharing apparatus, thereby realizing the sharing of device capabilities between the two devices and improving the processing capability of a single device.

[0072] Figure 1 This is a schematic diagram illustrating a device capability sharing system according to an exemplary embodiment, such as... Figure 1 As shown, the device capability sharing system may include a device capability sharing device, a first device 1, and a second device 2.

[0073] The device capability sharing mechanism may include a first sharing device 11 and a second sharing device 21. The first sharing device 11 is used to connect to the first device 1; the second sharing device 21 is used to connect to the second device 2; wherein the first sharing device 11 and the second sharing device 21 cooperate to share the first device capability of the first device 1 with the second device 2, and to share the second device capability of the second device 2 with the first device 1.

[0074] In this embodiment, the first sharing device 11 can be disposed on the first device 1, belonging to or integrated with the first device 1. The first sharing device 11 can also be a separate device, connected to the first device 1 via wired or wireless means. The second sharing device 21 can be disposed on the second device 2, belonging to or integrated with the second device 2. The second sharing device 21 can also be a separate device, connected to the second device 2 via wired or wireless means. The first sharing device 11 and the second sharing device 21 can be the same. The first device 1 and the second device 2 can be any electronic device, such as a vehicle infotainment system, mobile phone, tablet computer, wearable device, etc. The first device 1 can be the same as or different from the second device 2. For example, the first device 1 can be a vehicle infotainment system, and the second device 2 can be a mobile phone, to achieve capability sharing between the vehicle infotainment system and the mobile phone. Optionally, the first sharing device 11 can be disposed on a vehicle-mounted mobile phone holder and connected to the vehicle infotainment system, and the second sharing device 21 can be disposed on the back of the mobile phone.

[0075] The first sharing device 11 can be used in conjunction with the second sharing device 21, for example, by bringing the first sharing device 11 close to the second sharing device 21, or, further, by positioning and aligning the first sharing device 11 with the second sharing device 21.

[0076] The first sharing device 11 and the second sharing device 21 are used together to share the first device capability of the first device 1 with the second device 2, and to share the second device capability of the second device 2 with the first device 1, thereby realizing the sharing of device capabilities between the two devices and improving the processing capability of a single device.

[0077] In one possible implementation, the first sharing device 11 includes a first optical communication sensor for connecting to the first device 1; the second sharing device 21 includes a second optical communication sensor for connecting to the second device 2.

[0078] The first optical communication sensor works in conjunction with the second optical communication sensor to share the first device capability of the first device 1 with the second device 2 via optical communication, and to share the second device capability of the second device 2 with the first device 1.

[0079] In this embodiment, the first optical communication sensor can be aligned with the second optical communication sensor to enable cooperation between them. By sending optical signals from the first optical communication sensor to the second optical communication sensor, and vice versa, the first device capability of the first device 1 can be shared with the second device 2, and the second device capability of the second device 2 can be shared with the first device 1 via optical communication. This improves the data transmission rate, enhances the capability sharing effect, increases device responsiveness, and improves the user experience.

[0080] In one possible implementation, the first optical communication sensor includes a first communication interface 111 and a second communication interface 112, and the second optical communication sensor includes a third communication interface 211 and a fourth communication interface 212.

[0081] The first communication interface 111 cooperates with the fourth communication interface 212, and the second communication interface 112 cooperates with the third communication interface 211, for sharing the first device capability of the first device 1 with the second device 2, and sharing the second device capability of the second device 2 with the first device 1.

[0082] In this embodiment, for the same optical communication sensor, data input and output can be performed through different communication interfaces in order to improve the bidirectional data transmission rate between the first device 1 and the second device 2.

[0083] In one possible implementation, the first communication interface 111 and the fourth communication interface 212 are used for the first device 1 to transmit optical signals to the second device 2.

[0084] In this embodiment, the first communication interface 111 and the fourth communication interface 212 cooperate to form a channel for the first device 1 to transmit data to the second device 2, so that the first device 1 can transmit optical signals to the second device 2, thereby transmitting data to the second device 2.

[0085] In one possible implementation, the second communication interface 112 and the third communication interface 211 are used for the second device 2 to transmit optical signals to the first device 1.

[0086] In this embodiment, the second communication interface 112 and the third communication interface 211 cooperate to form a channel for the second device 2 to transmit data to the first device 1, so that the second device 2 can transmit optical signals to the first device 1, thereby transmitting data to the first device 1.

[0087] In one possible implementation, the first sharing device 11 further includes a first power supply contact 113 for connecting to the first device 1; the second sharing device 21 further includes a second power supply contact 213 for connecting to the second device 2.

[0088] The first power supply contact 113 and the second power supply contact 213 cooperate to supply power from the first device 1 to the second device 2, or from the second device 2 to the first device 1.

[0089] In this embodiment, the first power supply contact 113 can also cooperate with the second power supply contact 213 to enable the first device 1 to supply power to the second device 2, or the second device 2 to supply power to the first device 1, so as to realize the charging function between the devices. For example, the first device 1 is a car infotainment system and the second device 2 is a mobile phone. When the battery of the first device 1 is low, the first device 1 can supply power to the second device 2.

[0090] In one possible implementation, the first sharing device 11 further includes a first alignment module 114, which is used to connect to the first device 1, and a first optical communication sensor and a first power supply contact 113 are disposed on the first alignment module 114; the second sharing device 21 further includes a second alignment module 214, which is used to connect to the second device 2, and a second optical communication sensor and a second power supply contact 213 are disposed on the second alignment module 214.

[0091] The first alignment module 114 is used to cooperate with the second alignment module 214 to align the first optical communication sensor with the second optical communication sensor and to align the first power supply contact 113 with the second power supply contact 213.

[0092] In this embodiment, the first alignment module 114 and the second alignment module 214 can cooperate to align the first optical communication sensor with the second optical communication sensor, and to align the first power supply contact 113 with the second power supply contact 213. This improves the alignment accuracy and the user's alignment speed, thereby increasing the data transmission rate and charging efficiency, and enhancing the user experience. Both the first alignment module 114 and the second alignment module 214 can be made of magnetic materials, allowing them to be connected and aligned magnetically. The first alignment module 114 and the second alignment module 214 can have a mutually cooperating structure, such as a snap-fit ​​structure or a screw-fit structure.

[0093] The device capability sharing system includes a first device 1 and a second device 2, wherein... The first device 1 is provided with the first sharing device 11 in the above embodiment; the second device 2 is provided with the second sharing device 21 in the above embodiment.

[0094] The first sharing device 11 cooperates with the second sharing device 21 to share the first device capability of the first device 1 with the second device 2, and to share the second device capability of the second device 2 with the first device 1.

[0095] In this embodiment, the device capability sharing device includes a first sharing device 11 and a second sharing device 21, which are respectively disposed on the first device 1 and the second device 2. The first sharing device 11 and the second sharing device 21 are used in cooperation to share the first device capability of the first device 1 with the second device 2, and to share the second device capability of the second device 2 with the first device 1, thereby realizing the sharing of device capabilities between the two devices and improving the processing capability of a single device.

[0096] In one possible implementation, the first device 1 includes a first optical communication module connected to the first sharing device 11; the second device 2 includes a second optical communication module connected to the second sharing device 21.

[0097] The first optical communication module and the second optical communication module are used to share the first device capability of the first device 1 with the second device 2 through optical communication, and to share the second device capability of the second device 2 with the first device 1 through optical communication.

[0098] In this embodiment, data transmission between the first device 1 and the first sharing device 11 can be achieved through the first optical communication module, and data transmission between the second device 2 and the second sharing device 21 can be achieved through the second optical communication module. Furthermore, by cooperating with the first and second optical communication sensors, the first device capability of the first device 1 can be shared with the second device 2, and the second device capability of the second device 2 can be shared with the first device 1 through optical communication. This can improve the data transmission rate through optical communication, thereby improving the effect of capability sharing, enhancing the device's response speed, and improving the user experience.

[0099] In one possible implementation, the first device 1 includes a first computing unit and a first sensing hardware, which are respectively connected to a first optical communication module. The first computing unit and the first sensing hardware are used to provide first device capabilities. The second device 2 includes a second computing unit and a second sensing hardware, which are respectively connected to a second optical communication module. The second computing unit and the second sensing hardware are used to provide second device capabilities.

[0100] In this embodiment, the first device 1 can share the capabilities of the first computing unit and the first sensing hardware with the second device 2, and the second device 2 can share the capabilities of the second computing unit and the second sensing hardware with the first device 1. This improves the processing power of a single device.

[0101] The first computing unit may include at least one of a central processing unit, a graphics processing unit, a digital signal processor, an image signal processor, and a neural network processor. The second computing unit may include at least one of a central processing unit, a graphics processing unit, a digital signal processor, an image signal processor, and a neural network processor.

[0102] The first sensing hardware may include at least one of camera hardware, display screen hardware, and biometric hardware, and the second sensor hardware may include at least one of camera hardware, display screen hardware, and biometric hardware.

[0103] Optionally, the central processing unit, graphics processor, digital signal processor, image signal processor, neural network processor, camera hardware, display hardware, and biometric hardware in the first device 1 can directly share their corresponding capabilities with the second device 2 through the first optical communication module. Alternatively, the graphics processor, digital signal processor, image signal processor, and neural network processor in the first device 1 can also share their corresponding capabilities with the second device 2 through the first optical communication module with the assistance of the central processing unit.

[0104] Optionally, the central processing unit, graphics processor, digital signal processor, image signal processor, neural network processor, camera hardware, display hardware, and biometric hardware in the second device 2 can directly share their corresponding capabilities with the first device 1 through the second optical communication module. Alternatively, the graphics processor, digital signal processor, image signal processor, and neural network processor in the second device 2 can also share their corresponding capabilities with the first device 1 through the second optical communication module with the assistance of the central processing unit.

[0105] The first computing unit and the first sensing hardware described above can provide corresponding input / output capabilities, AI (Artificial Intelligence) processing capabilities, and security processing capabilities.

[0106] Figure 2 This is a flowchart illustrating a device capability sharing method according to an exemplary embodiment, such as... Figure 2 As shown, this method can be applied to the first device 1 in the above embodiments, and the method includes: In step S201, in response to the second device 2 being located at the target communication location, the first device 1 shares its first device capabilities with the second device 2 and obtains the second device capabilities shared by the second device 2.

[0107] In this embodiment, the target communication location can be a location where the first sharing device 11 of the first device 1 and the second sharing device 21 of the second device 2 cooperate. Coordinating the first sharing device 11 and the second sharing device 21 can be interpreted as bringing the first sharing device 11 close to the second sharing device 21 within the target distance, or, more specifically, aligning the first sharing device 11 and the second sharing device 21 opposite each other. When the first device 1 and the second device 2 cooperate, if the first device 1 detects that the second device 2 is located at the target communication location, it determines that a data transmission channel can be established between the first device 1 and the second device 2 through the first sharing device 11 and the second sharing device 21. This allows the first device capability of the first device 1 to be shared with the second device 2, and the second device capability shared by the second device 2 to be acquired. This achieves the sharing of device capabilities between the two devices, thereby improving the processing power of a single device.

[0108] In one possible implementation, sharing the first device capability of the first device 1 with the second device 2 includes: Based on the first device capability of the first device 1, generate first capability information; send the first capability information to the second device 2; receive the first access request from the second device 2 for the first device capability, obtain the first access result based on the first device capability; and send the first access result to the second device 2.

[0109] In this embodiment, the first device 1 can send its first device capabilities to the second device 2 through the corresponding first capability information, so that the second device 2 can know the device capabilities that the first device 1 can share. Then, the second device 2 can send a first access request to the first device 1 so as to call the first device capabilities of the first device 1. The first device 1 can obtain the corresponding first access result based on the first device capabilities and return it to the second device 2, thereby realizing the sharing of the first device capabilities of the first device 1 with the second device 2, that is, the second device 2 can directly call the first device capabilities of the first device 1.

[0110] In one possible implementation, acquiring the second device capabilities shared by the second device 2 includes: Obtain the second capability information of the second device 2, which represents the second device capability of the second device 2; in response to the call operation of the second device capability, send a second access request to the second device 2 for the second device capability; obtain the second access result sent by the second device 2 in response to the second access request.

[0111] In this embodiment, the second device 2 can also send second capability information representing its own capabilities to the first device 1, so that the first device 1 can know the capabilities that the second device 2 can share. Then, in response to an operation to invoke the second device's capabilities, the first device 1 can send a second access request to the second device 2 to invoke its capabilities. Based on the second access request, the second device 2 can invoke its capabilities to obtain a corresponding second access result and return it to the first device 1. The first device 1 receives the second access result sent by the second device 2, thereby sharing the second device's capabilities with the first device 1. In other words, the first device 1 can directly invoke the second device's capabilities. Through this method, the first device 1 can access the capabilities shared by the second device 2 as if they were its own integrated capabilities.

[0112] In one possible implementation, the method further includes: Based on the second capability information, construct virtual device drivers and system capability services; In response to an operation invoking the capabilities of the second device, a second access request for the capabilities of the second device 2 is sent to the second device 2, including: In response to the call operation of the second device's capabilities, the optical communication module is invoked through the virtual device driver and system capability services to send a second access request for the second device's capabilities to the second device 2.

[0113] In this embodiment, a virtual device driver and system capability service can be constructed in the first device 1 based on the second capability information sent by the second device 2. This allows the first device 1 to respond to the call operation of the second device capability when the second device capability of the second device 2 needs to be called. The virtual device driver and system capability service are used to call the optical communication module to send a second access request for the second device capability to the second device 2, thereby completing the call to the second device capability of the second device 2 and improving the data processing capability of the first device 1.

[0114] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0115] In this embodiment, the first device 1 and the second device 2 can share output capabilities, AI processing capabilities, and security processing capabilities.

[0116] Figure 3 This is a flowchart illustrating another device capability sharing method according to an exemplary embodiment, such as... Figure 3 As shown, this method can be applied to the second device 2 in the above embodiments, and the method includes: In step S301, in response to the first device 1 being located at the target communication location, the second device 2 shares its second device capabilities with the first device 1 and acquires the first device capabilities shared by the first device 1.

[0117] In this embodiment, the target communication location can be a location where the first sharing device 11 of the first device 1 and the second sharing device 21 of the second device 2 cooperate. Coordinating the first sharing device 11 and the second sharing device 21 can be interpreted as bringing the first sharing device 11 close to the second sharing device 21 within the target distance, or, more specifically, aligning the first sharing device 11 and the second sharing device 21 opposite each other. When the first device 1 and the second device 2 cooperate, if the second device 2 detects that the first device 1 is located at the target communication location, it determines that a data transmission channel can be established between the first device 1 and the second device 2 through the first sharing device 11 and the second sharing device 21. This allows the second device capability of the second device 2 to be shared with the first device 1, and the first device capability shared by the first device 1 to be acquired. This achieves the sharing of device capabilities between the two devices, thereby improving the processing power of a single device.

[0118] In one possible implementation, sharing the second device capabilities of the second device 2 with the first device 1 includes: Based on the second device capability of the second device 2, generate second capability information; send the second capability information to the first device 1; receive the second access request from the first device 1 for the second device capability, obtain the second access result based on the second device capability; and send the second access result to the first device 1.

[0119] In this embodiment, the second device 2 can send its second device capabilities to the first device 1 through the corresponding second capability information, so that the first device 1 can know the device capabilities that the second device 2 can share. Then, the first device 1 can send a second access request to the second device 2 so as to call the second device capabilities of the second device 2. The second device 2 can obtain the corresponding second access result based on the second device capabilities and return it to the first device 1, thereby realizing the sharing of the second device capabilities of the second device 2 with the first device 1, that is, the first device 1 can directly call the second device capabilities of the second device 2.

[0120] In one possible implementation, acquiring the first device capabilities shared by the first device 1 includes: Obtain first capability information of the first device 1, the first capability information representing the first device capability of the first device 1; in response to the call operation of the first device capability, send a first access request to the first device 1 for the first device capability; obtain the first access result sent by the first device 1 in response to the first access request.

[0121] In this embodiment, the first device 1 can also send first capability information representing the first device capability of the first device 1 to the second device 2, so that the second device 2 can know the capabilities that the first device 1 can share. Then, in response to the call operation of the first device capability, the second device 2 can send a first access request to the first device 1 to call the first device capability of the first device 1. Based on the first access request, the first device 1 can call the first device capability to obtain the corresponding first access result and return it to the second device 2. The second device 2 receives the first access result sent by the first device 1, thereby realizing the sharing of the first device capability of the first device 1 with the second device 2, that is, the second device 2 can directly call the first device capability of the first device 1.

[0122] In one possible implementation, the method further includes: Based on the primary capability information, construct virtual device drivers and system capability services; In response to an operation to invoke the capabilities of the first device, a first access request for the capabilities of the first device is sent to the first device 1, including: In response to the call operation of the first device's capabilities, the optical communication module is invoked through the virtual device driver and system capability services to send a first access request for the first device's capabilities to the first device 1.

[0123] In this embodiment, a virtual device driver and system capability service can be constructed in the second device 2 based on the first capability information sent by the first device 1. This allows the second device 2 to respond to the call operation of the first device capability when the first device capability of the first device 1 needs to be called. The optical communication module is called through the virtual device driver and system capability service to send a first access request for the first device capability to the first device 1, thereby completing the call of the first device capability of the first device 1 and improving the data processing capability of the second device 2.

[0124] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0125] In this embodiment, the first device 1 and the second device 2 can share output capabilities, AI processing capabilities, and security processing capabilities.

[0126] Figure 4 This is a schematic diagram illustrating a device capability sharing result according to an exemplary embodiment, such as... Figure 4 As shown, taking the first device 1 as a vehicle infotainment system and the second device 2 as a mobile phone as an example, both the first device 1 and the second device 2 can have various capabilities shared by the other party. Among them, the onboard device driver is used to drive the device itself, and the virtual device driver is used to drive the capabilities shared by the other device. The arrows indicate the direction of action.

[0127] Figure 5 This is a block diagram illustrating a device capability sharing apparatus according to an exemplary embodiment, such as... Figure 5 As shown, the first device 1 configured in the above embodiment includes a device capability sharing device 500 comprising: The first sharing module 501 is configured to, in response to the second device 2 being located at a target communication location, share the first device capability of the first device 1 with the second device 2, and obtain the second device capability shared by the second device 2.

[0128] In one possible implementation, the first sharing module 501 is configured as follows: Based on the first device capability of the first device 1, first capability information is generated; Send the first capability information to the second device 2; Receive the first access request from the second device 2 to the capabilities of the first device, and obtain the first access result based on the capabilities of the first device; The first access result is sent to the second device 2.

[0129] In one possible implementation, the first sharing module 501 is configured as follows: Obtain the second capability information of the second device 2, wherein the second capability information characterizes the second device capability of the second device 2; In response to the call operation of the second device capability, a second access request for the second device capability is sent to the second device 2; Obtain the second access result sent by the second device 2 in response to the second access request.

[0130] In one possible implementation, the device further includes: The first building module is configured to build virtual device drivers and system capability services based on the second capability information; The first sharing module 501 is configured as follows: In response to the call operation of the second device capability, the optical communication module is invoked through the virtual device driver and the system capability service to send a second access request for the second device capability to the second device 2.

[0131] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0132] Figure 6This is a block diagram illustrating another device capability sharing apparatus according to an exemplary embodiment, such as... Figure 6 As shown, the second device 2, configured in the above embodiment, includes: The second sharing module 601 is configured to, in response to the first device 1 being located at a target communication location, share the second device capabilities of the second device 2 with the first device 1, and obtain the first device capabilities shared by the first device 1.

[0133] In one possible implementation, the second sharing module 601 is configured as follows: Based on the second device capabilities of the second device 2, second capability information is generated; Send the second capability information to the first device 1; Receive a second access request from the first device 1 to the capabilities of the second device, and obtain a second access result based on the capabilities of the second device; The second access result is sent to the first device 1.

[0134] In one possible implementation, the second sharing module 601 is configured as follows: Obtain first capability information of the first device 1, wherein the first capability information characterizes the first device capability of the first device 1; In response to the call operation of the first device capability, a first access request for the first device capability is sent to the first device 1; Obtain the first access result sent by the first device 1 in response to the first access request.

[0135] In one possible implementation, the device further includes: The second construction module is configured to construct virtual device drivers and system capability services based on the first capability information; The second sharing module 601 is configured as follows: In response to the call operation of the first device capability, the optical communication module is invoked through the virtual device driver and the system capability service to send a first access request for the first device capability to the first device 1.

[0136] In one possible implementation, both the first device capability and the second device capability include at least one of input / output capability, AI processing capability, and security processing capability.

[0137] Regarding the device capability sharing apparatus in the above embodiments, the specific methods by which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0138] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the device capability sharing method provided in this disclosure.

[0139] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, tablet computer, vehicle infotainment system, and wearable device, etc.

[0140] Reference Figure 7 The electronic device 700 may include one or more of the following components: a first processing component 702, a first memory 704, a first power supply component 706, a multimedia component 708, an audio component 710, a first input / output interface 712, a sensor component 714, and a communication component 716.

[0141] The first processing component 702 typically controls the overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. The first processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the device capability sharing method described above. Furthermore, the first processing component 702 may include one or more modules to facilitate interaction between the first processing component 702 and other components. For example, the first processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the first processing component 702.

[0142] The first memory 704 is configured to store various types of data to support the operation of the electronic device 700. Examples of this data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. The first memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0143] The first power supply component 706 provides power to various components of the electronic device 700. The first power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.

[0144] Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0145] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in first memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.

[0146] The first input / output interface 712 provides an interface between the first processing component 702 and the peripheral interface module, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, volume buttons, a start button, and a lock button.

[0147] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of electronic device 700. For example, sensor assembly 714 can detect the on / off state of electronic device 700, the relative positioning of components such as the display and keypad of electronic device 700, changes in position of electronic device 700 or a component of electronic device 700, the presence or absence of user contact with electronic device 700, orientation or acceleration / deceleration of electronic device 700, and temperature changes of electronic device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0148] Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. Electronic device 700 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0149] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the device capability sharing method described above.

[0150] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 704 including instructions that can be executed by a processor 720 of an electronic device 700 to complete the aforementioned device capability sharing method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.

[0151] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the device capability sharing method described above when executed by the programmable device.

[0152] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented through hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this application.

[0153] In the above detailed description, terms such as "center," "upper," "lower," "left," and "right" indicate direction or positional relationship. Since components of the described device can be positioned in multiple different orientations, these directional terms are for illustrative purposes and not restrictive. It should be understood that other aspects can be utilized and structural or logical changes can be made without departing from the concept of this disclosure. Therefore, the following detailed description should not be considered limiting.

[0154] It should be understood that, unless otherwise specifically indicated, features of various embodiments of this disclosure described herein can be combined with each other.

[0155] Although terms such as “first,” “second,” and “third” may be used herein to describe various components, parts, regions, layers, or sections, these components, parts, regions, layers, or sections are not limited to these terms. Rather, these terms are used only to distinguish one component, part, region, layer, or section from another. Therefore, without departing from the teachings of the examples described herein, the first component, part, region, layer, or section mentioned in the examples may also be referred to as the second component, part, region, layer, or section. Furthermore, the terms “first” and “second” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include at least one of that feature. In the description herein, “a plurality” means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0156] Furthermore, the term “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term “exemplary” is intended to present the concept in a concrete manner. As used herein, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless otherwise specified or clear from the context, “X applies A or B” is intended to mean any of the natural inclusive arrangements. That is, “X applies A or B” satisfies any of the foregoing instances if X applies A; X applies B; or both X applies A and B. Additionally, unless otherwise specified or clear from the context to refer to the singular form, the articles “a” and “an” as used in this application and the appended claims are generally understood to mean “one or more.”

[0157] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the accompanying drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if structurally not equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “including.”

[0158] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

[0159] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A device for sharing equipment capabilities, characterized in that, include: A first sharing device (11) is used to connect to a first device (1); The second sharing device (21) is used to connect to the second device (2); The first sharing device (11) cooperates with the second sharing device (21) to share the first device capability of the first device (1) with the second device (2) and to share the second device capability of the second device (2) with the first device (1).

2. The equipment capacity sharing device according to claim 1, characterized in that, The first sharing device (11) includes a first optical communication sensor, which is used to connect to the first device (1); The second sharing device (21) includes a second optical communication sensor for connecting to the second device (2); The first optical communication sensor works in conjunction with the second optical communication sensor to share the first device capability of the first device (1) with the second device (2) via optical communication, and to share the second device capability of the second device (2) with the first device (1).

3. The equipment capability sharing device according to claim 2, characterized in that, The first optical communication sensor includes a first communication interface (111) and a second communication interface (112), and the second optical communication sensor includes a third communication interface (211) and a fourth communication interface (212); The first communication interface (111) cooperates with the fourth communication interface (212), and the second communication interface (112) cooperates with the third communication interface (211) to share the first device capability of the first device (1) with the second device (2) and to share the second device capability of the second device (2) with the first device (1).

4. The equipment capability sharing device according to claim 3, characterized in that, The first communication interface (111) and the fourth communication interface (212) are used for the first device (1) to transmit optical signals to the second device (2).

5. The equipment capability sharing device according to claim 3, characterized in that, The second communication interface (112) and the third communication interface (211) are used for the second device (2) to transmit optical signals to the first device (1).

6. The device capability sharing apparatus according to claim 2, characterized in that, The first sharing device (11) further includes a first power supply contact (113), which is used to connect to the first device (1); The second sharing device (21) further includes a second power supply contact (213) for connecting to the second device (2); The first power supply contact (113) cooperates with the second power supply contact (213) to supply power from the first device (1) to the second device (2), or the second device (2) to the first device (1).

7. The equipment capacity sharing device according to claim 6, characterized in that, The first sharing device (11) further includes a first alignment module (114), which is used to connect to the first device (1), and the first optical communication sensor and the first power supply contact (113) are disposed on the first alignment module (114); The second sharing device (21) further includes a second alignment module (214), which is used to connect to the second device (2), and the second optical communication sensor and the second power supply contact (213) are disposed on the second alignment module (214); The first alignment module (114) is used to cooperate with the second alignment module (214) to align the first optical communication sensor with the second optical communication sensor, and to align the first power supply contact (113) with the second power supply contact (213).

8. A device capability sharing system, characterized in that, include: The first device (1) is provided with a first sharing device (11) according to any one of claims 1 to 7; The second device (2) is provided with the second sharing device (21) according to any one of claims 1 to 7; The first sharing device (11) cooperates with the second sharing device (21) to share the first device capability of the first device (1) with the second device (2) and to share the second device capability of the second device (2) with the first device (1).

9. The equipment capability sharing system according to claim 8, characterized in that, The first device (1) includes a first optical communication module, which is connected to the first sharing device (11); The second device (2) includes a second optical communication module, which is connected to the second sharing device (21); The first optical communication module and the second optical communication module are used to share the first device capability of the first device (1) with the second device (2) through optical communication, and to share the second device capability of the second device (2) with the first device (1) through optical communication.

10. The equipment capability sharing system according to claim 9, characterized in that, The first device (1) includes a first computing unit and a first sensing hardware. The first computing unit and the first sensing hardware are respectively connected to the first optical communication module. The first computing unit and the first sensing hardware are used to provide the capabilities of the first device. The second device (2) includes a second computing unit and a second sensing hardware, which are respectively connected to the second optical communication module. The second computing unit and the second sensing hardware are used to provide the capabilities of the second device.

11. A method for sharing device capabilities, characterized in that, The method, applied to the first device (1) according to any one of claims 8 to 10, comprises: In response to the second device (2) being located at the target communication location, the first device (1) shares its first device capabilities with the second device (2) and acquires the second device capabilities shared by the second device (2).

12. The equipment capability sharing method according to claim 11, characterized in that, Sharing the first device capability of the first device (1) with the second device (2) includes: First capability information is generated based on the first device capability of the first device (1); Send the first capability information to the second device (2); Receive the first access request from the second device (2) to the capabilities of the first device, and obtain the first access result based on the capabilities of the first device; The first access result is sent to the second device (2).

13. The equipment capability sharing method according to claim 11, characterized in that, The acquisition of the second device capabilities shared by the second device (2) includes: Obtain the second capability information of the second device (2), wherein the second capability information characterizes the second device capability of the second device (2); In response to the call operation of the second device capability, a second access request for the second device capability is sent to the second device (2); Obtain the second access result sent by the second device (2) in response to the second access request.

14. The equipment capability sharing method according to claim 13, characterized in that, The method further includes: Based on the second capability information, construct virtual device drivers and system capability services; The step of sending a second access request for the capabilities of the second device to the second device (2) in response to the call operation of the second device capability includes: In response to the call operation of the second device capability, the optical communication module is invoked through the virtual device driver and the system capability service to send a second access request for the second device capability to the second device (2).

15. The equipment capability sharing method according to claim 11, characterized in that, Both the first device capability and the second device capability include at least one of the following: input / output capability, AI processing capability, and security processing capability.

16. A method for sharing equipment capabilities, characterized in that, The method, applied to the second device (2) according to any one of claims 8 to 10, comprises: In response to the first device (1) being located at the target communication location, the second device (2) shares its second device capabilities with the first device (1) and acquires the first device capabilities shared by the first device (1).

17. The equipment capability sharing method according to claim 16, characterized in that, Sharing the second device capabilities of the second device (2) with the first device (1), including: Based on the second device capability of the second device (2), second capability information is generated; Send the second capability information to the first device (1); Receive a second access request from the first device (1) to the capabilities of the second device, and obtain a second access result based on the capabilities of the second device; The second access result is sent to the first device (1).

18. The equipment capability sharing method according to claim 16, characterized in that, The acquisition of the first device capabilities shared by the first device (1) includes: Obtain first capability information of the first device (1), wherein the first capability information characterizes the first device capability of the first device (1); In response to the call operation of the first device capability, a first access request for the first device capability is sent to the first device (1); Obtain the first access result sent by the first device (1) in response to the first access request.

19. The equipment capability sharing method according to claim 18, characterized in that, The method further includes: Based on the first capability information, construct virtual device drivers and system capability services; The step of sending a first access request for the capabilities of the first device to the first device (1) in response to an operation to invoke the capabilities of the first device includes: In response to the call operation of the first device capability, the optical communication module is invoked through the virtual device driver and the system capability service to send a first access request for the first device capability to the first device (1).

20. The equipment capability sharing method according to claim 16, characterized in that, Both the first device capability and the second device capability include at least one of the following: input / output capability, AI processing capability, and security processing capability.

21. A device for sharing equipment capabilities, characterized in that, The first device (1) configured in any one of claims 8-10, the device comprising: The first sharing module is configured such that, in response to the second device (2) being located at the target communication location, the first device (1) shares the first device capability of the first device (1) with the second device (2) and obtains the second device capability shared by the second device (2).

22. The device capability sharing apparatus according to claim 21, characterized in that, The first sharing module is configured as follows: First capability information is generated based on the first device capability of the first device (1); Send the first capability information to the second device (2); Receive the first access request from the second device (2) to the capabilities of the first device, and obtain the first access result based on the capabilities of the first device; The first access result is sent to the second device (2).

23. The device capability sharing apparatus according to claim 21, characterized in that, The first sharing module is configured as follows: Obtain the second capability information of the second device (2), wherein the second capability information characterizes the second device capability of the second device (2); In response to the call operation of the second device capability, a second access request for the second device capability is sent to the second device (2); Obtain the second access result sent by the second device (2) in response to the second access request.

24. The equipment capability sharing device according to claim 23, characterized in that, The device further includes: The first building module is configured to build virtual device drivers and system capability services based on the second capability information; The first sharing module is configured as follows: In response to the call operation of the second device capability, the optical communication module is invoked through the virtual device driver and the system capability service to send a second access request for the second device capability to the second device (2).

25. The device capability sharing apparatus according to claim 21, characterized in that, Both the first device capability and the second device capability include at least one of the following: input / output capability, AI processing capability, and security processing capability.

26. A device for sharing equipment capabilities, characterized in that, The second device (2) configured in any one of claims 8-10, the device comprising: The second sharing module is configured such that, in response to the first device (1) being located at a target communication location, the second device (2) shares the second device capabilities of the second device (2) with the first device (1) and obtains the first device capabilities shared by the first device (1).

27. The equipment capability sharing device according to claim 26, characterized in that, The second sharing module is configured as follows: Based on the second device capability of the second device (2), second capability information is generated; Send the second capability information to the first device (1); Receive a second access request from the first device (1) to the capabilities of the second device, and obtain a second access result based on the capabilities of the second device; The second access result is sent to the first device (1).

28. The equipment capability sharing device according to claim 26, characterized in that, The second sharing module is configured as follows: Obtain first capability information of the first device (1), wherein the first capability information characterizes the first device capability of the first device (1); In response to the call operation of the first device capability, a first access request for the first device capability is sent to the first device (1); Obtain the first access result sent by the first device (1) in response to the first access request.

29. The equipment capability sharing device according to claim 28, characterized in that, The device further includes: The second construction module is configured to construct virtual device drivers and system capability services based on the first capability information; The second sharing module is configured as follows: In response to the call operation of the first device capability, the optical communication module is invoked through the virtual device driver and the system capability service to send a first access request for the first device capability to the first device (1).

30. The equipment capability sharing device according to claim 26, characterized in that, Both the first device capability and the second device capability include at least one of the following: input / output capability, AI processing capability, and security processing capability.

31. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the steps of the device capability sharing method according to any one of claims 11 to 20.

32. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the computer program instructions implement the steps of the device capability sharing method according to any one of claims 11 to 20.

33. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the device capability sharing method according to any one of claims 11 to 20.