Communication method, device and system

CN120052008APending Publication Date: 2025-05-27HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280101175.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-10-26
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In communication scenarios where weak-capability devices exist, how to improve the communication efficiency, security and reliability of the system, especially for devices that do not have keyboard input capabilities or display output capabilities, such as smart bracelets, smart speakers, headphones, mice, etc. .

Method used

By sharing information, such as shared keys or passwords, between the first device and the second device, a first communication connection based on StarLight short-range wireless communication technology is established, replacing the traditional communication connection and achieving ultra-low latency and ultra-high speed. Reliable and precisely synchronized communications.

Benefits of technology

Establish safe and reliable communication connections between weak-capability devices to improve the efficiency, security and reliability of the communication system. It is suitable for communication scenarios in emerging industries such as smart terminals, smart homes and smart manufacturing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120052008A_ABST
    Figure CN120052008A_ABST
Patent Text Reader

Abstract

A communication method, device and system relate to the technical field of communication. The method comprises the steps that first equipment acquires first information; the first equipment establishes first communication connection with the second equipment based on the first information, and the first communication connection corresponds to a first communication technology; wherein at least one of the first equipment and the second equipment is equipment without keyboard input capability and / or display output capability. According to the method, the communication efficiency, the safety and the reliability of the system can be improved in a communication scene with weak-capability equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, device and system Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a communication method, device, and system. Background Art

[0002] With the rapid development of information technology, mobile devices (such as mobile phones, tablets, and other portable smart devices) have become essential personal tools. In the mobile internet era, these devices are more convenient to use than traditional computers (such as desktop workstations and servers), but they are also more vulnerable to threats and damage to personal information. Therefore, the security of communication technology is of paramount importance.

[0003] With the rapid development of emerging industries such as smart cars, smart terminals, smart homes, and smart manufacturing, innovative demands and applications are constantly emerging. In some communication system scenarios, weak-capability devices exist, such as smart bracelets, smart speakers, headphones, and mice, which lack keyboard input or display output capabilities. Improving system communication efficiency, security, and reliability in these scenarios remains a critical issue that needs to be addressed.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a communication method, apparatus, and system that help improve the communication efficiency, security, and reliability of the system in communication scenarios where weak-capability devices exist.

[0006] In a first aspect, an embodiment of the present application provides a communication method, which can be implemented by a first device. The first device can be a capability-limited device, such as a device without keyboard input capability and / or without display output capability, and can be a smart bracelet, smart speaker, headset, mouse, keyboard, etc.

[0007] The method may include: a first device obtains first information; the first device establishes a first communication connection with the second device based on the first information, and the first communication connection corresponds to a first communication technology; wherein at least one of the first device and the second device is a device that does not have keyboard input capability and / or display output capability.

[0008] Through the above method, in a communication scenario where weak-capability devices exist, a first communication connection corresponding to the first communication technology can be established between the first device and the second device based on the shared first information, or other communication connections (such as the second communication connection) between the first device and the second device can be replaced with the first communication connection. The first communication connection has the advantages of ultra-low latency, ultra-high reliability, or precise synchronization, and can better ensure the communication efficiency, security and reliability between the first device and the second device, and even the entire communication system to which the first device and the second device belong.

[0009] In combination with the first aspect, in a possible design, the first information may include a shared key, and the first device obtains the first information, including: the first device receives second information from the second device, the second information including an identifier of the second device and a first random number; the first device generates third information based on the second information, the identifier of the first device and the second random number; the first device generates the shared key based on the third information; wherein the first random number is generated by the second device, and the second random number is generated by the first device.

[0010] Through the above method, the first device can use the second random number of the first device and the first random number of the first device to generate a shared key, and the shared key helps to establish a secure and reliable first communication connection between the first device and the second device.

[0011] In combination with the first aspect, in a possible design, the first device obtains the first information, including: the first device receives fourth information through the input device of the first device, wherein the input device includes a voice input device; and generates the first information based on the fourth information.

[0012] Through the above method, the first device can flexibly obtain the first information in at least one manner, which helps to establish a secure and reliable first communication connection between the first device and the second device.

[0013] In combination with the first aspect, in one possible design, a second communication connection is further provided between the first device and the second device, the second communication connection corresponding to a second communication technology, and the first device obtains the first information, including: the first device obtains the first information according to the key corresponding to the second communication connection; or, the first device receives fifth information from the second device via the second communication connection, and generates the first information based on the fifth information. In an optional embodiment, the second communication connection is established based on a device pairing control on the first device or an action associated with a device pairing control on the first device.

[0014] Through the above method, the first device can replace the second communication connection between the first device and the second device with the secure and reliable first communication connection.

[0015] In combination with the first aspect, in a possible design, the first device establishes a first communication connection with the second device based on the first information, including: the first device sends a first message associated with the first information to the second device, and the first message is used for identity authentication of the first device; the first device receives a second message in response to the first message, and the second message is used for identity authentication of the second device; the first device sends a third message to the second device if the identity authentication of the second device is successful, and the third message is used to establish the first communication connection with the second device.

[0016] Through the above method, a secure and reliable first communication connection can be established between the first device and the second device by transmitting a first message associated with the first information and performing mutual identity authentication.

[0017] In combination with the first aspect, in one possible design, the first information includes a shared key or a password.

[0018] In combination with the first aspect, in one possible design, the first communication technology includes Star Flash short-range wireless communication technology.

[0019] In a second aspect, an embodiment of the present application provides a communication method, comprising: a second device receiving first information from a first device; the second device establishing a first communication connection with the first device based on the first information, the first communication connection corresponding to a first communication technology; wherein at least one of the first device and the second device is a device that does not have keyboard input capability and / or display output capability.

[0020] Through the above method, in a scenario where there are weak-capability devices, the second device can serve as a weak-capability device to receive the first information from the first device, and establish a first communication connection with the first device based on the first information. The first communication connection can replace other communication connections between the first device and the second device, and perform secure and reliable data transmission between the first device and the second device, thereby improving the communication efficiency, security and reliability of the communication system to which the first device and the second device belong.

[0021] In conjunction with the second aspect, in one possible design, a second communication connection is further provided between the first device and the second device, the second communication connection corresponds to a second communication technology, and the second device receives the first information from the first device, including: the second device receives the first information from the first device via the second communication connection, the second communication connection corresponds to the second communication technology. In an optional embodiment, the second communication connection is established based on a device pairing control on the second device or an action associated with the device pairing control on the second device.

[0022] Through the above method, as an example, the second device can achieve sharing of the first information based on the second communication connection between the second device and the first device.

[0023] In combination with the second aspect, in a possible design, the second device establishes a first communication connection with the first device based on the first information, including: the second device receives a first message from the first device, the first message is associated with the first information, and the first message is used for identity authentication of the first device; the second device sends a second message to the first device if the identity authentication of the first device is successful, and the second message is used for identity authentication of the second device; the second device receives a third message in response to the second message, and the third message is used to establish the first communication connection with the first device.

[0024] Through the above method, the second device and the first device can establish a secure and reliable first communication connection by transmitting a first message associated with the first information and performing mutual identity authentication.

[0025] In combination with the second aspect, in one possible design, the first information includes a shared key or a password.

[0026] In combination with the second aspect, in one possible design, the first communication technology includes Star Flash short-range wireless communication technology.

[0027] In the third aspect, an embodiment of the present application provides a communication device, which is applied to a first device. The communication device may include: an acquisition unit, which is used to acquire first information; a link establishment unit, which is used to establish a first communication connection with the second device based on the first information, and the first communication connection corresponds to a first communication technology; wherein at least one of the first device and the second device is a device that does not have keyboard input capability and / or display output capability.

[0028] In combination with the third aspect, in one possible design, the first information includes a shared key, and the acquisition unit is used to: receive second information from the second device, the second information including an identifier of the second device and a first random number; generate third information based on the second information, the identifier of the first device and the second random number; generate the shared key based on the third information; wherein the first random number is generated by the second device, and the second random number is generated by the first device.

[0029] In combination with the third aspect, in a possible design, the acquisition unit is used to: receive fourth information through an input device of the first device, wherein the input device includes a voice input device; and generate the first information based on the fourth information.

[0030] In combination with the third aspect, in one possible design, there is also a second communication connection between the first device and the second device, and the second communication connection corresponds to a second communication technology. The acquisition unit is used to: obtain the first information according to the key corresponding to the second communication connection; or receive fifth information from the second device through the second communication connection, and generate the first information based on the fifth information.

[0031] In combination with the third aspect, in one possible design, the second communication connection is established based on a device pairing control on the first device or an action associated with the device pairing control on the first device.

[0032] In combination with the third aspect, in one possible design, the link establishment unit is used to: send a first message associated with the first information to the second device, the first message being used for identity authentication of the first device; receive a second message in response to the first message, the second message being used for identity authentication of the second device; and if the identity authentication of the second device is successful, send a third message to the second device, the third message being used to establish the first communication connection with the second device.

[0033] In combination with the third aspect, in one possible design, the first information includes a shared key or a password.

[0034] In combination with the third aspect, in one possible design, the first communication technology includes Star Flash short-range wireless communication technology.

[0035] In a fourth aspect, an embodiment of the present application provides a communication device, comprising: a transceiver unit for receiving first information from a first device; a link establishment unit for establishing a first communication connection with the first device based on the first information, the first communication connection corresponding to a first communication technology; wherein at least one of the first device and the second device is a device that does not have keyboard input capability and / or display output capability.

[0036] In combination with the fourth aspect, in one possible design, there is also a second communication connection between the first device and the second device, the second communication connection corresponds to a second communication technology, and the transceiver unit is used to: receive the first information from the first device through the second communication connection, and the second communication connection corresponds to the second communication technology.

[0037] In combination with the fourth aspect, in one possible design, the second communication connection is established based on a device pairing control on the second device or an action associated with the device pairing control on the second device.

[0038] In combination with the fourth aspect, in one possible design, the link establishment unit is used to: receive a first message from the first device, the first message is associated with the first information, and the first message is used for identity authentication of the first device; if the identity authentication of the first device is successful, send a second message to the first device, and the second message is used for identity authentication of the second device; receive a third message in response to the second message, and the third message is used to establish the first communication connection with the first device.

[0039] In combination with the fourth aspect, in one possible design, the first information includes a shared key or a password.

[0040] In combination with the fourth aspect, in one possible design, the first communication technology includes Star Flash short-range wireless communication technology.

[0041] In a fifth aspect, an embodiment of the present application provides a communication device comprising at least one processor and an interface circuit, wherein the interface circuit is used to provide data or code instructions to the at least one processor, and the at least one processor is used to implement the method described in the first aspect and any possible design of the first aspect through a logic circuit or executing code instructions, or to implement the method described in the second aspect and any possible design of the second aspect.

[0042] In a sixth aspect, an embodiment of the present application provides a communication system, comprising a communication device for implementing the method described in the first aspect and any possible design of the first aspect, and a communication device for implementing the method described in the second aspect and any possible design of the second aspect.

[0043] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a program code. When the program code is run on a computer, the computer executes the method described in the first aspect and any possible design of the first aspect, or when the program code is run on a computer, the computer executes the method described in the second aspect and any possible design of the second aspect.

[0044] In an eighth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method described in the first aspect and any possible design of the first aspect, or execute the method described in the second aspect and any possible design of the second aspect.

[0045] In a ninth aspect, an embodiment of the present application provides a terminal device, comprising a unit for implementing the method described in the first aspect and any possible design of the first aspect, or a unit for implementing the method described in the second aspect and any possible design of the second aspect. By way of example, the terminal device includes, but is not limited to: intelligent transportation equipment (such as cars, ships, drones, trains, trucks, etc.), intelligent manufacturing equipment (such as robots, industrial equipment, intelligent logistics, smart factories, etc.), and intelligent terminals (mobile phones, computers, tablet computers, PDAs, desktops, headphones, speakers, wearable devices, vehicle-mounted devices, etc.).

[0046] Based on the implementations provided in the above aspects, the embodiments of the present application can be further combined to provide more implementations.

[0047] The technical effects that can be achieved by any possible implementation method in any of the third to ninth aspects mentioned above can be referred to the description of the technical effects that can be achieved by any possible implementation method in any of the first to second aspects mentioned above, and the repetitions will not be discussed. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] FIG1 is a schematic diagram showing a system architecture applicable to an embodiment of the present application;

[0049] FIG2 is a schematic diagram showing a flow chart of a communication method according to an embodiment of the present application;

[0050] FIG3 shows a schematic diagram of an exemplary communication method according to an embodiment of the present application;

[0051] FIG4 shows a schematic diagram of an exemplary communication method according to an embodiment of the present application;

[0052] FIG5 shows a schematic diagram of an exemplary communication method according to an embodiment of the present application;

[0053] FIG6 shows a schematic diagram of an exemplary communication method according to an embodiment of the present application;

[0054] FIG7 is a schematic diagram showing a process of establishing an SLB connection between devices according to an embodiment of the present application;

[0055] FIG8 shows a schematic structural diagram of a communication device according to an embodiment of the present application;

[0056] FIG9 shows a schematic structural diagram of a communication device according to an embodiment of the present application;

[0057] FIG10 shows a schematic structural diagram of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION

[0058] The embodiments of the present application provide a communication method, device, and system that help improve the communication efficiency, security, and reliability of the system in communication scenarios where there are weak-capability devices. Among them, the method and the device are based on the same technical concept. Since the principles of solving problems by the method and the device are similar, the implementation of the device and the method can refer to each other, and the repetitions will not be repeated. Moreover, in each embodiment of the present application, unless otherwise specified and there is a logical conflict, the terms and / or descriptions between the various embodiments are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form a new embodiment according to their inherent logical relationships.

[0059] FIG1 is a schematic diagram showing a system architecture applicable to an embodiment of the present application.

[0060] 1 , the system architecture may include at least a first device 110 and a second device 120 .

[0061] In the embodiment of the present application, the first device 110 or the second device 120 may be an electronic device with data receiving and sending capabilities.

[0062] For example, the electronic device may be a terminal device, including a device that provides voice and / or data connectivity to a user, specifically, a device that provides voice to a user, or a device that provides data connectivity to a user, or a device that provides both voice and data connectivity to a user. For example, the terminal device may include a handheld device with wireless connectivity, or a processing device connected to a wireless modem. The terminal device may, for example, communicate with a core network via a radio access network (RAN) and exchange voice and / or data with the RAN.

[0063] In a specific implementation process, the terminal device may include but is not limited to a vehicle, user equipment (UE), a wireless terminal device, a mobile terminal device, a device-to-device (D2D) terminal device, a vehicle to everything (V2X) terminal device, a machine-to-machine / machine-type communications (M2M / MTC) terminal device, an Internet of Things (IoT) terminal device or a narrowband Internet of Things (NB-IoT) terminal device, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point (AP), a remote terminal device, an access terminal device, a user terminal device, a user agent, or a user device, etc. For another example, the terminal device may be specifically implemented as: a mobile phone (or "cellular" phone), or a computer with a mobile terminal device; a dedicated terminal device in the IoT, or industrial control equipment, or remote medical equipment, or smart grid equipment, or smart city equipment, etc.; a portable, pocket-sized, handheld, computer-built-in, or vehicle-mounted mobile device, etc.; a personal communication service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), etc. In an optional design, the terminal device may also be implemented as a restricted device, such as a device with low power consumption, a device with limited storage capacity, or a device with limited computing power.In an optional design, the terminal device may include components such as a barcode, a radio frequency identification (RFID), a sensor, a global positioning system (GPS), and a laser scanner.

[0064] In an optional design, the terminal device can also be a wearable device. Wearable devices can also be called wearable smart devices or smart wearable devices, etc. They are a general term for the application of wearable technology to intelligently design daily wearables to develop wearable devices, such as glasses, gloves, watches, clothing and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but can also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets, smart helmets, smart jewelry, etc. for vital sign monitoring.

[0065] In an optional design, the terminal device may also be a machine intelligence device such as a self-driving device, a transportation safety device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, etc.

[0066] The various terminal devices introduced above, if located on a vehicle (eg, placed in or installed in a vehicle), can be considered as vehicle-mounted terminal devices, which can also be called on-board units (OBUs).

[0067] In an optional design, the terminal device may further include a relay. Alternatively, it can be understood that the terminal device may include any device capable of performing data communication with the base station.

[0068] For example, the electronic device may also be a network device, such as an access network (AN) device, which may include a device in the access network that communicates with a wireless terminal device over an air interface through one or more cells, such as a base station or access point. The base station may be configured to convert received air frames into and from Internet Protocol (IP) packets, acting as a router between the terminal device and the rest of the access network, which may include an IP network. In an optional design, the network device may include a base station in a second generation (2G) communication system, or a base station in a third generation (3G) communication system, or a base station in a fourth generation (4G) communication system, such as an evolved base station (NodeB or eNB or e-NodeB, evolutionary Node B) in a long term evolution (LTE) system or long term evolution-advanced (LTE-A), or may also include a next generation node B (gNB) in a fifth generation (5G) new radio (NR) system (also referred to as an NR system), or may also include a centralized unit (CU) and a distributed unit (DU) in a cloud radio access network (Cloud RAN) system, as well as base stations in various future communication systems, such as a sixth generation (6G) new radio (NR) system. The base station in the V2X communication system is not limited in the embodiments of the present application; for example, the network device may include the network device in V2X, namely the road side unit (RSU).The RSU may include a fixed infrastructure entity that supports V2X applications and may exchange messages with other entities that support V2X applications. For another example, the network device may also include a core network device, which may include one or more of the following in a 5G system: an access and mobility management function (AMF), a session management function (SMF), a user plane function (UPF), or a mobility management entity (MME) in a 4G system.

[0069] In the embodiment of the present application, the first device 110 or the second device 120 may support at least one communication technology, and the at least one communication technology may include a first communication technology and / or a second communication technology, and the first communication technology is different from the second communication technology.

[0070] For example, in the embodiment of the present application, the first communication technology and / or the second communication technology may be wireless communication technology, such as short-range wireless communication technology.

[0071] Among them, short-range communication technology may include technology that supports wireless short-range communication. Wireless short-range communication includes the communication between the two parties transmitting information through radio waves and the transmission distance is within a relatively short range (for example, within 100 meters). It can be called short-range wireless communication, including but not limited to Bluetooth technology, wireless fidelity (Wi-Fi) technology, near field communication (NFC) technology, Wi-Fi Aware technology, general short-range communication technology, and short-range communication technology specified by the Star Alliance. Short-range communication can be widely used in file transfer, remote control, screen projection, and perception of surrounding devices (such as smart cars, smart terminal devices, smart home devices, and smart manufacturing equipment). The following are some examples of short-range communication technologies.

[0072] Bluetooth: A radio technology that supports short-range communication between devices, enabling wireless information exchange between a wide range of devices, including mobile phones, wireless headsets, laptops, and related peripherals. Bluetooth technology effectively simplifies communication between mobile devices and between devices and the internet, making data transmission faster and more efficient, broadening the path for wireless communications.

[0073] Wireless Fidelity (Wi-Fi): also known as wireless local area network (WLAN) direct or Wi-Fi Direct, is a member of the Wi-Fi protocol suite that enables devices to easily connect to each other without the need for an intermediary wireless access point. Its uses range from web browsing to file transfers, as well as allowing simultaneous communication with multiple devices, fully leveraging Wi-Fi's speed advantages. Devices that conform to this standard can easily connect even if they come from different manufacturers.

[0074] Wi-Fi Aware technology: Responsible for the sensing and discovery aspects of Wi-Fi technology, it helps Wi-Fi devices become aware of surrounding services, such as nearby devices. This allows for peer-to-peer (P2P) messaging between two devices in close proximity. Because Wi-Fi Aware can sense surrounding devices, it enables a variety of functions, such as identifying nearby people and establishing connections, allowing users to add friends and play the same game. It also allows users to discover nearby devices and share photos and locations. It also allows users to securely send files to printers without connecting to a network (such as cellular or wireless).

[0075] It should be noted that, in addition to the short-range communication technologies listed above, other existing short-range communication technologies, or other short-range communication technologies that may appear in the future with the evolution of communication technology, may also be applicable to this solution.

[0076] It should be noted that, in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0077] Furthermore, unless otherwise specified, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish between multiple objects and are not used to define the priority or importance of multiple objects. For example, the first device and the second device are only used to distinguish different electronic devices, and do not indicate a difference in priority or importance between the two devices. For example, in some embodiments, the method steps performed by the first device and the second device can be interchangeable.

[0078] Based on the system architecture shown in FIG1 and the device capabilities of the first device and the second device, an embodiment of the present application proposes a communication solution.

[0079] As an example, in the system shown in Figure 1, the first device 110 and / or the second device 120 may be a capability-limited device (or referred to as a weak-capability device) that does not have any physical or virtual input device or display output device. For example, the weak-capability device may be a device that does not have keyboard input capability, such as a smart bracelet, a smart speaker, a headset, a combination screen large television image display, etc. Or for example, the weak-capability device may be a device that does not have display output capability, such as a mouse, a keyboard, etc. The first device 110 or the second device 120 supports at least one communication technology, such as a first communication technology and / or a second communication technology, and the first communication technology is different from the second communication technology.

[0080] In this solution, information can be shared between the first device 110 and the second device 120. The shared information can be critical information that has a certain impact on the communication efficiency, security, and reliability between the first device 110 and the second device 120, or even the communication system to which the first device 110 and the second device 120 belong, such as a pre-shared key (PSK) or a password. After the information is shared, a first communication connection can be established between the first device 110 and the second device 120 based on the shared information (such as the shared key or password). The first communication connection corresponds to a first communication technology. Compared with other communication technologies (such as the second communication technology), the first communication technology has advantages such as ultra-low latency, ultra-high reliability, or precise synchronization, which helps to improve the communication efficiency, security, and reliability between the first device 110 and the second device 120, and even the communication system to which the first device 110 and the second device 120 belong.

[0081] In an embodiment of the present application, the first communication technology and / or the second communication technology may be wireless communication technology, such as the short-range wireless communication technology described above. For example, the first communication technology may include a short-range wireless communication technology specified by the Star Alliance, and the second communication technology may include Bluetooth communication technology. It should be understood that this is only an example illustration of the first communication technology and / or the second communication technology of an embodiment of the present application and not any limitation. In actual applications, the first communication technology and / or the second communication technology can be configured according to business requirements or application scenarios, which will not be described in detail here.

[0082] FIG2 is a flow chart of a communication method according to an embodiment of the present application. The method may be implemented collaboratively by the first device and the second device shown in FIG1 , wherein at least one of the first device and the second device is a capability-limited device as described above, such as a device lacking keyboard input capability and / or display output capability. As shown in FIG2 , the method may include the following steps:

[0083] S210: The first device obtains first information.

[0084] In this embodiment of the present application, the first information may include a shared key or a password.

[0085] S220: The first device establishes a first communication connection with the second device based on the first information. The first communication connection corresponds to a first communication technology. Compared to the second communication technology, the first communication technology may have advantages such as ultra-low latency, ultra-high reliability, and precise synchronization. Compared to a communication connection using the second communication technology, the first communication connection can better ensure communication efficiency, security, and reliability between the first device and the second device, and even within a communication system to which the first device and the second device belong.

[0086] It should be understood that in the embodiments of the present application, the first information described in S210 is merely an example of key information that affects the communication effect of the system and does not limit it in any way. In other embodiments, the first information may have other names or include other information content, and the embodiments of the present application do not limit this. Furthermore, based on different methods for determining the first information, or the communication technologies supported by the first device and the second device, the implementation details of the communication method may also vary.

[0087] As an example, the first information may include a shared key. The first device or the second device may each have a random number for generating the shared key, and may send the random number generated by itself to the peer device. For example, the second device may transmit the random number generated by itself (e.g., represented as a first random number) to the first device, and further, the first device may generate a shared key based on the received random number. Alternatively, for example, the first device may transmit the random number generated by itself (e.g., represented as a second random number) to the second device, and further, the second device may generate a shared key based on the received random number.

[0088] When implementing S210, the first device may receive second information from the second device, and the second information may include a first random number, and the first random number is generated by the second device. Further, the first device may generate third information based on the second information, the identifier of the first device, and the second random number, and the second random number is generated by the first device. Further, the first device may generate a shared key based on the third information. In an optional embodiment, the second information may also include the identifier of the second device. Alternatively, the identifier of the second device and the first random number may be transmitted separately, and the first device may receive the identifier of the second device before receiving the second information. This embodiment of the present application does not limit this.

[0089] The second device can generate the shared key in the same manner as the first device. For example, the second device can receive the sixth information from the first device, and the sixth information can include a second random number, which is generated by the first device. Further, the second device can generate the seventh information based on the sixth information, the identifier of the second device and the first random number, and the first random number is generated by the second device, and the second device can generate the shared key based on the seventh information. In an optional embodiment, the sixth information can also include the identifier of the first device. Alternatively, the identifier of the first device and the second random number can be transmitted separately, and the second device can receive the identifier of the first device before receiving the sixth information. This embodiment of the present application does not limit this.

[0090] In the case where a key is shared between the first device and the second device in S210, when S220 is implemented, the first device and the second device can establish the first communication connection based on the shared key. The link establishment process can be referred to in the following description in conjunction with FIG7 and will not be described in detail here.

[0091] It can be understood that in the embodiment of the present application, the shared key can also be replaced by a password. Accordingly, when implementing the above S210 and S220, an algorithm corresponding to the password can be used to establish a first communication connection between the first device and the second device, which will not be repeated here.

[0092] As another example, the first device or the second device may determine the shared password by interacting with the user. The user may be the operator of the first device and the second device, and the user interaction method may include, for example, a voice interaction method. The first device and the second device may both include an input device, and the input device may include a voice input device. When implementing S210, the user may provide the password to at least one of the first device and the second device through voice interaction. For example, the user may select a password by himself and provide the password to the first device and the second device separately (or simultaneously) through voice interaction. The first device may receive voice information (for example, represented as the fourth information) from the user through the input device of the first device, and the second device may receive voice information (for example, represented as the fourth information) (for example, a password) from the user through the input device of the second device, and the voice information may be used to generate the first information (for example, a shared key generated based on the password). Or, for example, a password may be provided on the first device (or the second device), and the user may provide the password provided by the first device to the second device (or the first device) through voice interaction. The input device of the second device (or the first device) may receive voice information (e.g., represented as fourth information) (e.g., a password) from the user, and the voice information may be used to generate the first information (e.g., a shared key). When implementing S220, the first device and the second device may establish a first communication connection based on the first information. The link establishment process may be referred to in the relevant description below in conjunction with FIG. 7 and will not be described in detail here.

[0093] As another example, the communication technologies supported by the first device and the second device may include the first communication technology and the second communication technology. Taking the second communication technology as an example, a second communication connection can be established between the first device and the second device, and the second communication connection corresponds to the second communication technology. The second communication connection can be established based on the device pairing control on the first device or an action associated with the device pairing control on the first device. When implementing S210, the first device can obtain the first information based on the key corresponding to the second communication connection. Alternatively, the first device can receive the fifth information from the second device through the second communication connection and generate the first information based on the fifth information. In a specific implementation, generating the first information based on the fifth information may include: the first information is the fifth information itself, for example, the fifth information and the first information are the same password or shared key. Alternatively, generating the first information based on the fifth information may include: the fifth information is a password, and the first information is a shared key generated based on the password. The embodiment of the present application does not limit the method for determining the first information.

[0094] Correspondingly, the second device can generate the first information in a similar manner based on the key corresponding to the second communication connection. Alternatively, the second device can serve as the source of the fifth information and send the fifth information to the first device based on the second communication connection, so that the first device can generate the first information based on the fifth information. When implementing S220, the first device and the second device can establish the first communication connection based on the shared first information. The link establishment process can be found in the relevant description below in conjunction with Figure 7 and will not be repeated here.

[0095] In the embodiments of the present application, based on different ways of determining the first information and the different communication technologies supported by the first device and the second device, the implementation details of S210 and S220 are different in different situations. For ease of understanding, the following describes the communication method of the embodiments of the present application in accordance with different situations, assuming that the first communication technology adopts the short-range wireless communication technology specified by the Starflash Alliance. If the second communication technology is involved, the description will be based on the example of the second communication technology adopting the Bluetooth communication technology.

[0096] Scenario 1: The first device may obtain the first information during the process of establishing the first communication connection with the second device, that is, S210 and S220 are both processes of establishing the first communication connection.

[0097] For example, the first information may be a shared key. As shown in FIG3 , establishing the first communication connection may include the following steps:

[0098] S210 may include the following steps:

[0099] S211: The first device receives second information from the second device. The second information includes a first random number generated by the second device. In an optional embodiment, the second information may also include an identifier of the second device. Alternatively, the identifier of the second device and the first random number may be transmitted separately. For example, before S1, the first device may receive the identifier of the second device.

[0100] S212: The first device may generate third information based on the second information (eg, including the first random number, or including the first random number and the identifier of the second device), the identifier of the first device, and the second random number, where the second random number is generated by the first device.

[0101] S213: The first device may generate a shared key according to the third information (an example of the first information).

[0102] S220 may include the following steps:

[0103] S221: The second device receives sixth information from the first device. The sixth information may include a second random number generated by the first device. In an optional embodiment, the sixth information may also include an identifier of the first device. Alternatively, the identifier of the first device and the second random number may be transmitted separately. For example, after S3, the second device may receive the identifier of the first device.

[0104] S222: The second device may generate seventh information based on the sixth information (for example, including the second random number, or including the second random number and the identifier of the first device), the identifier of the second device, and the first random number, where the first random number is generated by the second device.

[0105] S223: The second device generates a shared key according to the seventh information.

[0106] In the case where information sharing is implemented between the first device and the second device based on the above S211-S213, further, in S221-S223, the first device and the second device can establish the first communication connection based on the shared key. The link establishment process can be seen in the relevant description below in conjunction with Figure 7, and is not repeated here.

[0107] Scenario 2: The first device obtains the first information (eg, a shared key) by interacting with the user.

[0108] In the second scenario, the communication technologies supported by the first device and the second device may include the first communication technology.

[0109] The user may be the operator of the first device and the second device, and the interaction method between the first device / the second device and the user may include, for example, a voice interaction method.

[0110] As shown in FIG4 , different rectangular blocks represent a first device and a second device, respectively. Both the first device and the second device may include an input device, which may include a voice input device. The product form of the voice input device or the position of the voice input device on the first device / second device is not limited.

[0111] After the first device and the second device are started and used, the user can send a voice message by voice broadcast when it is necessary to share the first information between the first device and the second device, and the voice message can be directly or indirectly associated with the first information. For example, the voice message sent by the user is the first information itself (such as a password, such as a combination of at least one of numbers, letters and symbols), or the voice message sent by the user is fourth information, and the fourth information can be used to generate the first information (such as a shared key). Thus, the voice input device of the first device or the second device can directly or indirectly receive the first information from the user to realize information sharing between the first device and the second device. Further, the first device and the second device can establish a first communication connection based on the first information. The link establishment process can be found in the relevant description in conjunction with Figure 7 below, which will not be repeated here.

[0112] It should be understood that in the embodiment of the present application, the first device and the second device can be awakened and put into use through a voice input device, or can be awakened and put into use through a start control on the device (which can be a physical control or a virtual control). The embodiment of the present application does not limit the start-up method of the first device and the second device. In addition, the first information broadcast by the user's voice can be configured by the user. Alternatively, the first information can also be configured on a certain device. For example, the first information can be configured on the first device, and the user can broadcast the first information identified on the first device to the second device by voice. Or, for example, the first information can be configured on the second device, and the user can broadcast the first information identified on the second device to the first device by voice. The embodiment of the present application does not limit this. Further, when it is necessary to establish a first communication connection, the first device can initiate the link establishment process, or the second device can initiate the link establishment process. The embodiment of the present application does not limit this.

[0113] Scenario 3: A second communication connection may be established between the first device and the second device, the second communication connection corresponds to a second communication technology, and the first device may communicate and interact with the second device based on the second communication connection to obtain first information (eg, a shared key).

[0114] Implementation method 1: The first device may obtain the first information according to the key corresponding to the second communication connection.

[0115] For example, the second communication technology may be Bluetooth communication technology, and the key corresponding to the second communication connection may be a Bluetooth key.

[0116] As shown in FIG5 , in this embodiment 1, the following steps may be included:

[0117] S501: A second communication connection is established between a first device and a second device, where the second communication connection corresponds to a second communication technology.

[0118] For example, the second communication technology may be Bluetooth communication technology, and the second communication connection may be a communication connection established by pairing in a just work mode of Bluetooth.

[0119] In a specific implementation, the first device and the second device may include a device pairing control (which may be a physical control or a virtual control, which is not limited in the embodiments of the present application), and the user may touch the device pairing control of the first device and the second device respectively to wake up the Bluetooth function of the first device and the second device based on the second communication technology, so as to establish a Bluetooth connection between the first device and the second device. Alternatively, the first device and the second device support an action-based wake-up method, and the user may wake up the Bluetooth function of the first device or the second device through an action associated with the device pairing control, so as to establish a Bluetooth connection between the first device and the second device.

[0120] It should be understood that this is merely an example of the second communication technology and not a limitation. In other embodiments, the first device and the second device may also support other communication technologies, such as Wi-Fi, etc., which is not limited in this embodiment of the present application. In addition, the second communication connection between the first device and the second device may be established in response to a device pairing control or based on an action associated with the device pairing control. The implementation method may be flexible and varied depending on the product form, business scenario, etc. of the first device and the second device. This embodiment of the present application does not limit this and will not be elaborated on here.

[0121] S502: The first device obtains the first information according to the key corresponding to the second communication connection. Similarly, the first device obtains the first information according to the key corresponding to the second communication connection.

[0122] For example, taking the second communication connection as a Bluetooth connection, the key may be a Bluetooth key.

[0123] When S502 is specifically implemented, taking the first information as a shared key as an example, the first device or the second device may determine the shared key through the Bluetooth key and a preset key derivation function (KDF), as shown in the following expression (1):

[0124] PSK = KDF (Bluetooth key, first device identifier, second device identifier) ​​(1)

[0125] Wherein, KDF represents a preset key derivation function. The Bluetooth key is the key corresponding to the Bluetooth communication connection, which can be a Bluetooth master key (link key), a Bluetooth short-term key (STK), or a long-term key (LTK), etc., and is not limited in this embodiment of the present application. The second device identification (ID) of the first device identification (ID) can be obtained from the peer device when implementing S1.

[0126] S503: The first device and the second device establish a first communication connection based on the shared first information, where the first communication connection corresponds to the first communication technology.

[0127] For example, taking the first communication technology as the short-range wireless communication technology specified by the Spark Alliance as an example, the first communication connection can be the Spark Link Basic (SLB) connection or the Spark Link Low Energy (SLE) connection specified by the Spark Alliance. The link establishment process can be referred to the relevant description in conjunction with Figure 7 below, which will not be repeated here.

[0128] Implementation method 2: The first device receives fifth information from the second device through the second communication connection, and generates first information according to the fifth information.

[0129] As shown in FIG6 , in this embodiment 2, the following steps may be included:

[0130] S601: A second communication connection is established between the first device and the second device, and the second communication connection corresponds to a second communication technology. S601 is the same as S501 in the above embodiment 1, and the relevant description in conjunction with embodiment 1 can be referred to above, and will not be repeated here.

[0131] S602: The first device receives fifth information from the second device through the second communication connection, and generates first information according to the fifth information.

[0132] In a specific implementation, the fifth information transmitted between the first device and the second device via the second communication connection can directly or indirectly obtain the first information, and the first information can be a shared key or a password. For example, when implementing S602, generating the first information based on the fifth information may include: the first information is the fifth information itself, for example, the fifth information and the first information are the same password; or generating the first information based on the fifth information may include: the fifth information is a password, and the first information is a shared key generated based on the password. This embodiment of the application does not limit the method for determining the first information.

[0133] In an optional implementation, the first device may also receive an identifier of the second device through the second communication connection. This embodiment of the present application does not limit the content of information transmitted based on the second communication connection.

[0134] In another embodiment, the method steps performed by the first device and the second device may be interchangeable. For example, if the first device has the fifth information, when implementing S602, the first device may send the fifth information to the second device via the second communication connection. Correspondingly, the second device may receive the fifth information from the first device via the second communication connection and generate the first information based on the fifth information. This embodiment of the application does not limit the specific implementation process of S602.

[0135] S603: The first device and the second device establish a first communication connection based on the shared first information, where the first communication connection corresponds to the first communication technology. S603 is the same as S503 in Implementation 1 above, and the relevant description in conjunction with Implementation 1 can be referred to above, and will not be repeated here.

[0136] So far, in combination with Figures 3-6, a method for flexibly implementing information sharing between the first device and the second device through at least one method when the capabilities of the first device and the second device are different, or the communication technologies they support are different has been described in detail. The shared information can be used to establish a first communication connection between the first device and the second device. The first communication connection corresponds to the first communication technology, and has advantages such as ultra-low latency, ultra-high reliability, or precise synchronization compared to other communication technologies (such as the second communication technology), which helps to ensure the communication efficiency, security and reliability between the first device and the second device, and even the communication system to which the first device and the second device belong.

[0137] In the above three scenarios of the present application, when the first device establishes a first communication connection with the second device, the link establishment process can be initiated by the first device or the second device, and the present application does not limit this. Taking the first device initiating the link establishment process as an example, the link establishment process may include the following steps:

[0138] S1: A first device sends a first message associated with first information to a second device, where the first message can be used for identity authentication of the first device. Correspondingly, the second device can receive the first message from the first device.

[0139] S2: The second device authenticates the first device in response to the first message. If the authentication of the first device is successful, the second device sends a second message to the first device. The second message is used for authentication of the second device. Correspondingly, the first device receives the second message in response to the first message.

[0140] S3: The first device authenticates the second device in response to the second message. If the authentication of the second device is successful, the first device sends a third message to the second device, where the third message is used to establish a first communication connection with the second device. Correspondingly, the second device receives a third message in response to the second message, where the third message is used to establish a first communication connection with the first device. Exemplarily, the first communication connection may be an SLB connection using StarFlash short-range wireless communication technology.

[0141] Figure 7 shows a flow chart of establishing an SLB connection between devices in an embodiment of the present application. The method is applicable to establishing an SLB connection between a first device and a second device in a scenario where the first communication technology described above in conjunction with Figures 3 to 6 is a short-range wireless communication technology specified by the Star Alliance. The G node can represent a communication interaction end of the SLB connection, such as the first device, and the T node can represent another communication interaction end of the SLB connection, such as the second device. Generally, the G node can represent a management node, and the T node can represent a terminal node.

[0142] Among them, after sharing or obtaining the first information (e.g., a shared key or password) between the first device and the second device based on the above scenarios 2 and 3, taking the first information as the shared key as an example, as shown in FIG7 , the method for establishing an SLB connection between the first device (e.g., a G-node) and the second device (e.g., a T-node) may include the following steps:

[0143] S701 (optional step): Node G negotiates a key with node T in a broadcast manner, so as to derive a shared key PSK in a subsequent process.

[0144] S702: Node T sends an association request message to node G. Correspondingly, node G receives the association request message.

[0145] For example, the association request message may carry the identity of the T-node (e.g., a domain identifier) ​​and related authentication parameters for the identity authentication of the T-node, including but not limited to the key agreement algorithm selected by the T-node (e.g., represented by KE alg), key agreement parameters (e.g., represented by KEt), security capabilities (sec capabilities) of the T-node, and random numbers (e.g., represented by NONCEt). Security capabilities may include one or more of the key derivation function (KDF), encryption algorithm, integrity protection algorithm, and authenticated encryption algorithm supported by the T-node, which will not be described in detail here.

[0146] The G node may process the association request message based on the relevant information carried in the association request message.

[0147] In an optional design, the G node may also generate relevant authentication parameters for identity authentication of the G node based on the relevant information carried in the association request message and / or the relevant algorithm selected by the G node itself.

[0148] For example, the relevant authentication parameters may include a key negotiation parameter of the G node (for example, represented by KEg), a random number (for example, represented by NONCEg), a first shared key (for example, represented by K KE ), a second shared key (for example, represented by Kgt), an identifier of Kgt (for example, represented by Kgt ID), and an authentication parameter (for example, represented by AUTHg).

[0149] The G node may generate a security context request message (an example of a first message) based on the acquired shared key and one or more of the above-mentioned related authentication parameters.

[0150] For example, the security context request message can be represented as the following tuple:

[0151] (KEg,NONCEg,Kgt ID,algorithm,MIC length,AUTHg) MIC .

[0152] Among them, the () MIC Indicates that the security context request message is integrity protected.

[0153] S704: Node G may send a security context request message associated with the shared key to node T. Correspondingly, node T receives the security context request message from node G.

[0154] In the embodiment of the present application, the security context request message can be used for the identity authentication of the G node. It should be understood that in the embodiment of the present application, the security context request message can be used for the identity authentication of the G node, which can be understood as the information contained or carried by the security context request message can be used for the identity authentication of the G node.

[0155] In an optional design, after successfully authenticating the identity of the G node, the T node may generate a security context response message (an example of the second message) based on the relevant authentication parameters generated above, for example, represented as (AUTHt) MIC .

[0156] S706: The T node sends a security context response message to the G node. Correspondingly, the G node receives the security context response message from the T node.

[0157] In an embodiment of the present application, the security context response message may be used for identity authentication of the T node, and the security context response message may be sent when the identity authentication of the G node is successful.

[0158] The G node can check the integrity of the security context response message (or the integrity of the information contained in or carried by the security context response message) and verify whether the AUTHt carried in the security context response message is correct. If the integrity or AUTHt verification fails, that is, the identity authentication of the T node is unsuccessful, the G node can send an association establishment failure message to the T node. If the integrity and AUTHt verification pass, the G node can generate a temporary ID (such as a physical layer ID) for the T node to identify the identity of the T node.

[0159] The G node can authenticate the T node based on the relevant information carried in the security context response message. This process can be implemented, for example, through corresponding operations of the Star Alliance specifications, or can also be implemented through other methods, which is not specifically limited in the embodiments of this application.

[0160] S707: The G node may send an association establishment message (an example of a third message) to the T node if the identity authentication of the T node is successful. Correspondingly, the T node receives the association establishment message from the G node.

[0161] In an embodiment of the present application, the association establishment message can be used to establish an SLB connection with the T node (for example, the first communication connection, the second communication connection, the fourth communication connection, the sixth communication connection, etc. described above), and the association establishment message can be sent when the identity authentication of the T node is successful.

[0162] For example, the association establishment message can be represented as the following tuple:

[0163] (Temporary ID,Kgt expiration,[GKc / GK],[GK ID],[Galgorithm],[GK expiration]) MIC .

[0164] in,() MIC Indicates that the association establishment message is a message that has been integrity protected.

[0165] When the T-node receives the association establishment message, if the association establishment message is encrypted (or the information contained in or carried by the association establishment message is encrypted), the T-node may decrypt the association establishment message (or decrypt the information contained in or carried by the association establishment message). The T-node may also check the integrity of the association establishment message (or check the integrity of the information contained in or carried by the association establishment message).

[0166] If the integrity verification fails, the T node discards the message.

[0167] If the integrity verification passes, S708: the T node may send an association completion message to the G node. Accordingly, the G node may receive the association completion message from the T node, and the association completion message may be used to indicate that the establishment of the first communication connection is complete.

[0168] For example, the association completion message may be expressed as follows:

[0169] (Association completion message) MIC .

[0170] in,() MIC Indicates that the association completion message is a message that has been integrity protected.

[0171] Node G may process the received association completion message.

[0172] For example, if the association complete message is encrypted (or the information contained in or carried by the association complete message is encrypted), the G node may decrypt the association complete message (or decrypt the information contained in or carried by the association complete message). Alternatively, the G node may check the integrity of the association complete message (or check the integrity of the information contained in or carried by the association complete message). If the integrity verification fails, the message is discarded. If the integrity verification passes, the subsequent process is executed, which will not be further described here.

[0173] After the SLB connection is established, communication between the G node and the T node is carried out.

[0174] It should be understood that FIG7 uses an SLB connection as an example to illustrate the link establishment process using the first communication technology. In other embodiments, the communication connection corresponding to the first communication technology described above may also be an SLE connection. The relevant link establishment process can refer to the corresponding operation implementation of the Star Alliance specification, or it can also be implemented through other methods, which will not be repeated here.

[0175] Among them, the difference from the link establishment process in scenario 2 or scenario 3 is that when establishing the first communication connection in scenario 1 above, the two devices need to determine the password (an example of the first information or the second information) during the link establishment process, and then use the password to calculate the shared key. Therefore, compared with the process of establishing the SLB connection in scenario 2 or scenario 3, the process of establishing the SLB connection in scenario 1 also needs to include the process of obtaining the first information (such as the password). Therefore, if the SLB connection is established in scenario 1, the communication method shown in Figure 7 can also include the following steps:

[0176] S703: After the G node generates a random number NONCEg and generates Kgt according to the key agreement algorithm (see the relevant description of S702 in conjunction with FIG. 7 , which will not be repeated here), it can also generate a password (an example of the first information) based on the G node ID, the T node ID, NONCEt and NONCEg, as shown in the following expression (1):

[0177] Password = KDF(G node ID, T node ID, NONCEt, NONCEg) (1);

[0178] Furthermore, node G can generate a shared key based on the password generated in S2, as shown in the following expression (2):

[0179] PSK=KDF(Kgt, password, T-node ID, G-node ID, NONCEt, NONCEg) (2).

[0180] The PSK calculated by expression (2) can be substituted into the following expression (3) to calculate the authentication parameter AUTHg of node G:

[0181] AUTHg=AUF(PSK,K KE ,NONCEg,association request message)| 高32位比特 (3).

[0182] Among them, AUF()| 高32位比特 , which means the parameters enclosed in brackets are calculated using the key derivation function AUF, and the high-order 32 bits are used as AUTHg. AUF uses the same authenticated encryption algorithm as the aforementioned KDF.

[0183] S705: After the T node generates Kgt according to the key agreement algorithm, the T node may also generate a password (an example of the second information) based on the G node ID, T node ID, NONCEt and NONCEg, see expression (1) above.

[0184] Furthermore, the T-node may generate a shared key based on the password generated in S705, as shown in the above expression (2).

[0185] The PSK calculated by expression (2) can be substituted into the following expression (4) to calculate the authentication parameter AUTHt of the T node:

[0186] AUTHt=AUF(PSK,K KE ,Security Context Request Message,NONCEt,Key Agreement Algorithm Capabilities of G Node)| 高32位比特 (4);

[0187] Among them, AUF()|高32位比特 , which means the parameters enclosed in brackets are calculated using the key derivation function AUF, and the high-order 32 bits are used as AUTHt. AUF and the aforementioned KDF use the same authenticated encryption algorithm.

[0188] It should be understood that the above S703 and S705 are only supplementary methods in some specific scenarios (non-essential steps in other scenarios are indicated by dotted boxes). For example, the G node and the T node use the PSK algorithm but do not have the PSK corresponding to the opposite node, or for example, at least one of the G node and / or the T node is a limited capability device that does not have keyboard input capability and / or display output capability. Then, based on the above S703 and S705 as a supplement, the G node and the T node can each use the existing parameters exchanged between the two parties to generate a password, and further generate the PSK required for link establishment based on the password. In the scenario where the first device or the second device is a weak-capability device, this method of generating a password by using existing parameters can be considered as an extension (or exchange) of the input and output capabilities of the first device or the second device, so that the first device or the second device can still obtain a password when it does not have input capability, thereby having the ability to establish an SLB connection.

[0189] If the sharing of the first information (such as a shared key or password) has been achieved between the first device and the second device (such as shown in Situation 2 or Situation 3 above), then the first communication connection can be established between the first device and the second device directly according to the methods S701-S702, S704, and S706-S708 described above in combination with Figure 7. For detailed implementation, please refer to the description above in combination with Figure 7, which will not be repeated here.

[0190] An embodiment of the present application further provides a communication device for executing the method executed by the first device or the second device in the above method embodiment. Relevant features can be found in the above method embodiment and will not be repeated here.

[0191] As shown in Figure 8 , the communication device 800 may include: an acquisition unit 801 for acquiring first information; a link establishment unit 802 for establishing a first communication connection with the second device based on the first information, the first communication connection corresponding to a first communication technology; wherein at least one of the first device and the second device is a device that lacks keyboard input capabilities and / or display output capabilities. For specific implementation methods, please refer to the method steps implemented by the first device in the above method embodiment, and will not be repeated here.

[0192] As shown in Figure 9, the communication device 900 may include: a transceiver unit 901 for receiving first information from a first device; a link establishment unit 902 for establishing a first communication connection with the first device based on the first information, wherein the first communication connection corresponds to a first communication technology; wherein at least one of the first device and the second device is a device that lacks keyboard input capabilities and / or display output capabilities. For specific implementation methods, please refer to the method steps implemented by the second device in the above method embodiment, and will not be repeated here.

[0193] It should be understood that the division of the various units in the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into a physical entity, or they can be physically separated. In addition, the units in the device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, and the memory stores instructions. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of the various units of the device, where the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory within the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units can be realized by designing the hardware circuits. The hardware circuit can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC), which realizes the functions of some or all of the above units by designing the logical relationship of the components in the circuit. For another example, in another implementation, the hardware circuit can be implemented by a programmable logic device (PLD). Taking a field programmable gate array (FPGA) as an example, it can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by configuring the configuration file, thereby realizing the functions of some or all of the above units. All units of the above devices can be implemented in the form of software called by the processor, or in the form of hardware circuits, or in part by the form of software called by the processor, and the rest by hardware circuits.

[0194] In an embodiment of the present application, a processor is a circuit with a signal processing capability. In one implementation, the processor may be a circuit with instruction reading and execution capability, such as a CPU, a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP); in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and implementing the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

[0195] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.

[0196] In addition, the various units in the above devices can be fully or partially integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of the various units of the device. The type of the at least one processor can be different, for example, including a CPU and FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.

[0197] In a simple embodiment, those skilled in the art can imagine that the communication devices in the above embodiments may all adopt the form shown in FIG. 10 .

[0198] As shown in FIG10 , the apparatus 1000 includes at least one processor 1010 and a communication interface 1030. In an optional design, a memory 1020 may also be included.

[0199] The specific connection medium between the processor 1010 and the memory 1020 is not limited in the embodiment of the present application.

[0200] In the apparatus as shown in FIG. 10 , the processor 1010 may transmit data through the communication interface 1030 when communicating with other devices.

[0201] When the communication device adopts the form shown in FIG10 , the processor 1010 in FIG10 can call the computer-executable instructions stored in the memory 1020 so that the device 1000 can execute any of the above method embodiments.

[0202] An embodiment of the present application also relates to a chip system, which includes a processor for calling a computer program or computer instructions stored in a memory so that the processor executes the method of any of the above embodiments.

[0203] In a possible implementation, the processor may be coupled to the memory through an interface.

[0204] In a possible implementation, the chip system may also directly include a memory, in which a computer program or computer instructions are stored.

[0205] For example, the memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache memory. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0206] An embodiment of the present application further relates to a processor, which is used to call a computer program or computer instruction stored in a memory so that the processor executes the method described in any of the above embodiments.

[0207] For example, in the embodiments of the present application, the processor is an integrated circuit chip with signal processing capabilities. For example, the processor can be an FPGA, a general-purpose processor, a DSP, an ASIC or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, a system on chip (SoC), a CPU, a network processor (NP), a microcontroller unit (MCU), a PLD or other integrated chip, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0208] It should be understood that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0209] In one possible implementation, an embodiment of the present application provides a computer-readable storage medium, which stores program code. When the program code runs on the computer, the computer executes the above method embodiment.

[0210] In a possible implementation, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above method embodiment.

[0211] Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0212] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0213] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0214] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these changes and variations. In the various embodiments of the present application, unless otherwise specified or logically conflicting, the terms and / or descriptions between the various embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

Claims

1. A communication method, characterized in that: The method comprises: The first device obtains first information; The first device establishes a first communication connection with the second device based on the first information, where the first communication connection corresponds to a first communication technology; At least one of the first device and the second device is a device without keyboard input capability and / or display output capability.

2. The method according to claim 1, characterized in that The first information includes a shared key, and the first device obtains the first information, including: The first device receives second information from the second device, where the second information includes an identifier of the second device and a first random number; The first device generates third information based on the second information, the identifier of the first device, and a second random number; The first device generates the shared key according to the third information; The first random number is generated by the second device, and the second random number is generated by the first device.

3. The method according to claim 1, characterized in that The first device obtains first information, including: The first device receives fourth information through an input device of the first device, wherein the input device includes a voice input device; The first information is generated according to the fourth information.

4. The method according to claim 1, wherein A second communication connection is further established between the first device and the second device, where the second communication connection corresponds to a second communication technology. The first device obtains the first information, including: The first device obtains the first information according to the key corresponding to the second communication connection; or The first device receives fifth information from the second device through the second communication connection, and generates the first information according to the fifth information.

5. The method according to claim 4, characterized in that The second communication connection is established based on a device pairing control on the first device or an action associated with the device pairing control on the first device.

6. The method according to any one of claims 1 to 5, characterized in that The first device establishing a first communication connection with the second device based on the first information includes: The first device sends a first message associated with the first information to the second device, where the first message is used for identity authentication of the first device; The first device receives a second message in response to the first message, where the second message is used for identity authentication of the second device; When the identity authentication of the second device is successful, the first device sends a third message to the second device, where the third message is used to establish the first communication connection with the second device.

7. The method according to any one of claims 1 to 6, characterized in that The first information includes a shared key or a password.

8. The method according to any one of claims 1 to 7, characterized in that The first communication technology includes Star Flash short-range wireless communication technology.

9. A communication method, characterized in that: include: The second device receives the first information from the first device; The second device establishes a first communication connection with the first device based on the first information, where the first communication connection corresponds to a first communication technology; At least one of the first device and the second device is a device without keyboard input capability and / or display output capability.

10. The method according to claim 9, characterized in that A second communication connection is further established between the first device and the second device, the second communication connection corresponds to a second communication technology, and the second device receives the first information from the first device, including: The second device receives the first information from the first device via the second communication connection, where the second communication connection corresponds to a second communication technology.

11. The method according to claim 10, characterized in that The second communication connection is established based on a device pairing control on the second device or an action associated with a device pairing control on the second device.

12. The method according to any one of claims 9 to 11, characterized in that The second device establishing a first communication connection with the first device based on the first information includes: The second device receives a first message from the first device, where the first message is associated with the first information and is used for identity authentication of the first device; When the identity authentication of the first device is successful, the second device sends a second message to the first device, where the second message is used for identity authentication of the second device; The second device receives a third message in response to the second message, where the third message is used to establish the first communication connection with the first device.

13. The method according to any one of claims 9 to 12, characterized in that The first information includes a shared key or a password.

14. The method according to any one of claims 9 to 13, characterized in that The first communication technology includes Star Flash short-range wireless communication technology.

15. A communication device, characterized in that: include: an acquiring unit, configured to acquire first information; a link establishing unit, configured to establish a first communication connection with the second device based on the first information, where the first communication connection corresponds to a first communication technology; At least one of the first device and the second device is a device without keyboard input capability and / or display output capability.

16. A communication device, characterized in that: include: a transceiver unit, configured to receive first information from a first device; a link establishing unit, configured to establish a first communication connection with the first device based on the first information, where the first communication connection corresponds to a first communication technology; At least one of the first device and the second device is a device without keyboard input capability and / or display output capability.

17. A communication device, characterized in that: The method comprises at least one processor and an interface circuit, wherein the interface circuit is used to provide data or code instructions to the at least one processor, and the at least one processor is used to implement the method as described in any one of claims 1 to 8 or the method as described in any one of claims 9 to 14 through a logic circuit or executing code instructions.

18. A communication system, characterized in that: The invention comprises a communication device for implementing the method according to any one of claims 1 to 8, and a communication device for implementing the method according to any one of claims 9 to 14.

19. A computer-readable storage medium, characterized in that The computer-readable medium stores a program code, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 8; or, when executed on a computer, enables the computer to execute the method according to any one of claims 9 to 14.

20. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 8; or execute the method according to any one of claims 9 to 14.

21. A terminal device, characterized in that: The method comprises a unit for implementing the method according to any one of claims 1 to 8; or the method comprises a unit for implementing the method according to any one of claims 9 to 14.