WO2022120545A1 - Device bridging mapping method and bridging device - Google Patents

Device bridging mapping method and bridging device Download PDF

Info

Publication number
WO2022120545A1
WO2022120545A1 PCT/CN2020/134366 CN2020134366W WO2022120545A1 WO 2022120545 A1 WO2022120545 A1 WO 2022120545A1 CN 2020134366 W CN2020134366 W CN 2020134366W WO 2022120545 A1 WO2022120545 A1 WO 2022120545A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
ble
mapping relationship
identifier
request
Prior art date
Application number
PCT/CN2020/134366
Other languages
French (fr)
Chinese (zh)
Inventor
包永明
茹昭
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN202080107470.1A priority Critical patent/CN116547997A/en
Priority to PCT/CN2020/134366 priority patent/WO2022120545A1/en
Publication of WO2022120545A1 publication Critical patent/WO2022120545A1/en

Links

Images

Definitions

  • the present application relates to the field of communications, and more particularly, to a device bridging mapping method and bridging device.
  • CHIP Connected Home over IP Working Group
  • Zigbee and Z-Wave technologies are widely used in some smart home devices.
  • CHIP Connected Home over IP Working Group
  • Zigbee and Z-Wave technologies are widely used in some smart home devices.
  • CHIP Connected Home over IP Working Group
  • Zigbee and Z-Wave technologies are widely used in some smart home devices.
  • CHIP Connected Home over IP Working Group
  • Zigbee and Z-Wave technologies are widely used in some smart home devices.
  • CHIP bridge Bridge
  • Embodiments of the present application provide a device bridging mapping method and a bridging device, which can enable a CHIP network to access a BLE network type device.
  • An embodiment of the present application provides a device bridging mapping method, which is applied to connecting a home CHIP bridging device through an Internet protocol.
  • the method includes: establishing a mapping relationship between a CHIP device and a Bluetooth low energy BLE device.
  • An embodiment of the present application provides a CHIP bridging device, including: a mapping unit configured to establish a mapping relationship between the CHIP device and the Bluetooth low energy BLE device.
  • Embodiments of the present application provide a communication device including a processor and a memory.
  • the memory is used for storing a computer program
  • the processor is used for calling and running the computer program stored in the memory, so that the communication device executes the above-mentioned method for device bridging mapping.
  • An embodiment of the present application provides a chip for implementing the foregoing method for device bridge mapping.
  • the chip includes: a processor for calling and running a computer program from a memory, so that a device installed with the chip executes the above-mentioned method for device bridge mapping.
  • Embodiments of the present application provide a computer-readable storage medium for storing a computer program, and when the computer program is run by a device, the device enables the device to execute the above-mentioned method for device bridging mapping.
  • An embodiment of the present application provides a computer program product, including computer program instructions, where the computer program instructions cause a computer to execute the above-mentioned method for device bridging mapping.
  • An embodiment of the present application provides a computer program, which, when running on a computer, enables the computer to execute the above-mentioned method for device bridging mapping.
  • This embodiment of the present application enables the CHIP network to access devices of the BLE network type.
  • FIG. 1 is a schematic structural diagram of a CHIP device model according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a structure of a CHIP bridge (Bridge) device according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a BLE device model according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for device bridging mapping according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a CHIP-to-BLE bridging manner of a device bridging mapping method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a mapping relationship of a method for device bridging mapping according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a CHIP-to-BLE mapping technical solution of a method for device bridging mapping according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a mapping relationship of a method for device bridging mapping according to another embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a CHIP-to-BLE mapping technical solution of a method for device bridging mapping according to another embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a CHIP bridging device according to an embodiment of the present application.
  • FIG. 11 is a schematic block diagram of a CHIP bridging device according to another embodiment of the present application.
  • FIG. 12 is a schematic block diagram of a CHIP bridging device according to another embodiment of the present application.
  • FIG. 13 is a schematic block diagram of a communication device according to an embodiment of the present application.
  • FIG. 14 is a schematic block diagram of a chip according to an embodiment of the present application.
  • FIG. 15 is a schematic block diagram of a communication system according to an embodiment of the present application.
  • the CHIP device model is implemented based on Zigbee Cluster Library (ZCL).
  • ZCL Zigbee Cluster Library
  • the model structure is consistent with ZCL, and some CHIP protocol needs to be added.
  • the CHIP device model can include the following features:
  • CHIP Connected Home over IP Working Group, under the Zigbee Alliance
  • ep Endpoint
  • bit 16-bit
  • Each endpoint represents a device, and each device can be represented by a device id (device id) to represent the device type.
  • Each endpoint may contain a set of clusters, and each cluster contains multiple attributes. (attribute).
  • FIG. 2 is a schematic diagram of the structure of a CHIP bridge (Bridge) device.
  • the structure of a CHIP Bridge device can include the following features:
  • the bridged device 1 (Bridged Device1) and the bridged device 2 (Bridged Device2) represent non-CHIP (non-CHIP) (such as Zigbee, Z-Wave) protocol devices, and establish Zigbee or Z with the bridged (Bridge) device. -Wave secure connection.
  • the bridged device can undertake a secure communication link to each bridged device; act as an interpreter for the bridged device, interpret it as a CHIP device and present it to the CHIP APP; provide the CHIP APP with accessible 'API/ 'interface.
  • the length of the ep value of the CHIP protocol device can be 16-bit; the CHIP bridge device is a special CHIP device. After the Zigbee device is mapped by the CHIP bridge device, the ep (8-bit) of each Zigbee device is in the range of 1 to 254. ) and ep (16-bit, value range 1 to 65534) in the CHIP bridging device to establish a one-to-one mapping relationship.
  • the CHIP protocol adopts ZCL as the device model, and the cluster (Cluster) of the CHIP protocol device and the Zigbee protocol device adopts one-to-one mapping.
  • a network physical Zigbee device (eg, a plug-in strip) securely connected to a bridge device includes two endpoints, ep1 and ep2. After mapping through the Bridge device, it is mapped to ep10, ep11 of the CHIP device.
  • ep1 can be the Zigbee switch 1 (switch1), corresponding to the bridged device 1 (Bridged Device1) in Figure 2
  • ep5 can be the Zigbee switch 2 (switch2), corresponding to the bridged device 2 (Bridged Device2) in Figure 2
  • ep10 can be CHIP switch 1 (switch1), corresponding to CHIP device 1 (CHIP Device1) in Figure 1
  • ep11 can be CHIP switch 2 (switch2), corresponding to CHIP device 2 (CHIP Device2) in Figure 2.
  • the manufacturer's application (Application, APP) can access the Bridge through the network.
  • the CHIP APP can access the mapped CHIP Device in the Bridge through the network.
  • each CHIP APP can use the interface provided by CHIP to see and control all bridged devices (Bridged Device) through CHIP Bridge.
  • FIG. 3 it is a schematic diagram of a model structure of a Bluetooth Low Energy (Bluetooth Low Energy, BLE) device.
  • the BLE device model structure can include the following features:
  • a BLE physical device can be composed of multiple services. Each Service can be uniquely identified by a Universally Unique Identifier (UUID). Each Service of a BLE physical device connected to a BLE network is assigned a different Handler. Each Service can include multiple characteristics (Characteristic). Each Characteristic can also be uniquely identified by a UUID. Each Characteristic is assigned to a Handler differently from the network. Each Characteristic includes a corresponding property value (Property Value), which can also be referred to as a characteristic value (Characteristic Value).
  • a BLE physical device may include a master service (Service) through which slave services can be searched, and each service may include multiple services.
  • Service master service
  • the embodiments of the present application may provide a method for bridging and mapping between a CHIP device and a BLE device.
  • FIG. 4 is a schematic flowchart of a method 200 for device bridging mapping according to an embodiment of the present application.
  • the method can optionally be applied to a system including the devices shown in FIG. 1 , FIG. 2 , and FIG. 3 , but is not limited thereto.
  • the method may be applied to a CHIP bridging device, and the method may include at least part of the following contents.
  • the CHIP bridge device and the CHIP device in the embodiments of the present application are not limited to devices supporting the CHIP protocol, and may also include devices supporting other protocols such as Zigbee and Z-Wave.
  • the CHIP bridging device can establish a secure connection with the BLE device that needs to be controlled; then, the CHIP bridging device can establish a mapping relationship between the CHIP device and the BLE device.
  • the CHIP network can be enabled to access devices of the BLE network type, which enriches the types of devices that the CHIP ecosystem can access, and can interoperate with different types of devices.
  • BLE devices can include various physical devices based on the BLE protocol.
  • BLE devices can include physical devices in healthcare, sports and fitness, security, home entertainment, and more. For example, blood pressure monitors, heart rate monitors, wristbands, speakers, etc.
  • the method further includes:
  • the CHIP device is created based on the mapping relationship between the CHIP device and the BLE device.
  • the CHIP bridging device can establish the mapping relationship between the CHIP device and the BLE device, for example, after saving the mapping relationship between the CHIP device and the BLE device in the mapping relationship table, it can create a virtual CHIP device based on the mapping relationship.
  • the CHIP bridge device can create a virtual CHIP device under a certain endpoint, and the identifier of the endpoint can be used as the endpoint identifier of the virtual CHIP device.
  • the cluster identifier under the endpoint can be used as the cluster identifier of the virtual CHIP device, and the attribute identifier under the cluster included in the endpoint can be used as the attribute identifier of the virtual CHIP device.
  • the CHIP bridge device creates a virtual CHIP device device1 under a certain endpoint ep1, and the endpoint identifier of the device1 is ep1.
  • the clusters included in the endpoint ep1 are Cluster1 and Cluster2
  • the cluster Cluster1 includes attributes Attribute1 and Attribute2
  • the cluster Cluster2 includes attributes Attribute3 and Attribute4
  • the cluster identifiers of device1 are Culster1 and Cluster2
  • the attribute identifiers under Cluster1 of device1 are Attribute1 and Attribute2
  • the attributes under the cluster Cluster2 are identified as Attribute3 and Attribute4.
  • the CHIP bridging device includes a virtual client and a CHIP bridging function module, and the method further includes:
  • the method further includes:
  • a second request corresponding to the first request is sent to the target BLE device.
  • the CHIP control device may send the first request to the CHIP bridge device.
  • the first request may be of various types, for example, a read request, a write request, a control request, and the like.
  • the first request may include information of the target CHIP device.
  • the first request may include one or more of a group endpoint (group ep) identifier, an endpoint (ep) identifier, a cluster (Cluster) identifier, and an attribute (Attribute) identifier of the target CHIP device.
  • the CHIP bridge device may search for the information of the corresponding target BLE device in the mapping relationship between the CHIP device and the BLE device.
  • the information of the target BLE device may include one or more of the physical device address of the target BLE device, a service handler (Service Handler) identifier, a characteristic handler (Characteristic Handler) identifier, and a characteristic value (Characteristic Value).
  • the CHIP bridge device may send a second request to the target BLE device based on the first request. For example, if the first request is a read request, the second request may be a data request for obtaining data from the target BLE device.
  • the method further includes:
  • the CHIP bridge device may receive service data from the target BLE device.
  • the service data includes a plurality of characteristic values of a certain service of the target BLE device.
  • the attribute value of the corresponding target CHIP device can be obtained based on these characteristic values.
  • a service is a blood pressure service, and the service includes characteristics such as pulse rate and cardiac contraction, and there are attributes such as pulse rate, cardiac contraction and unit measurement under the cluster (Cluster) corresponding to the service.
  • Cluster cluster
  • the CHIP device includes an endpoint (ep), the endpoint includes a cluster (Cluster), the cluster includes an attribute (Attribute), and the mapping relationship between the CHIP device and the BLE device includes the following: at least one of:
  • Cluster ID Cluster ID
  • BLE service handler ID Service Handler ID
  • the endpoint identification ep 1 of the CHIP device has a mapping relationship with the BLE physical device address XXXX;
  • the cluster identification Cluster1 of ep1 has a mapping relationship with the service processor identification Service Handler1 of BLE;
  • the attribute identification Attribute 1 of Cluster1 is in the service of BLE.
  • the feature handler identifier of Characteristic Handler 1 has a mapping relationship.
  • the endpoint identifier of the CHIP device and the BLE physical device address are in a one-to-one correspondence.
  • searching for information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device including:
  • the target BLE device can be found based on the endpoint identifier ep 1.
  • the address XXXX based on the Cluster1 to find the Service Handler1 of the target BLE device.
  • searching for information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device further comprising:
  • the first request includes the endpoint identifier and the cluster identifier of the target CHIP device, but also includes an attribute identifier.
  • the endpoint identifier is ep 1
  • the cluster identifier is Cluster 1
  • the attribute identifier is Attribute 1.
  • the CHIP bridge device can find the address XXXX of the target BLE device based on the endpoint identifier ep 1, find the Service Handler 1 of the target BLE device based on the cluster identifier Cluster1, and find the Characteristic Handler 1 of the target BLE device based on the attribute identifier Attribute 1.
  • the CHIP device includes a group endpoint (group ep) and an endpoint
  • the endpoint includes a cluster
  • the cluster includes attributes
  • the mapping relationship between the CHIP device and the BLE device includes at least one of the following: one:
  • the group endpoint identification group ep 1 of the CHIP device has a mapping relationship with the BLE physical device address XXXX;
  • the endpoint identification ep 2 of the CHIP device has a mapping relationship with the service processor identification Service Handler2;
  • the feature handler identifier Characteristic Handler 2 has a mapping relationship;
  • the attribute identifier Attribute2 of Cluster2 has a mapping relationship with the feature processor identifier Characteristic Value2 in the BLE service.
  • searching for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device including:
  • the address of the target BLE device corresponding to the group endpoint identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
  • the CHIP bridge device can find the address XXXX of the target BLE device based on the group endpoint identifier group ep 1.
  • the method further includes:
  • endpoint list includes the endpoint identifier corresponding to the service processor identifier of the BLE.
  • the CHIP bridging device may return an endpoint list to the CHIP control device, and the endpoint list may include multiple endpoint identifiers such as ep1, ep2 and ep3.
  • the list of endpoints can be displayed on the CHIP control device, and the user can select a certain cluster of an endpoint among them. For example, if the user selects Cluster2 of ep2, the CHIP control device may send the first request to the CHIP bridge device again.
  • the first request may include the endpoint identifier ep2 and the cluster identifier Cluster2.
  • searching for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device further comprising:
  • the feature processor identifier corresponding to the cluster identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
  • the CHIP bridge device can find the Service Handler2 of the target BLE device based on ep2 in the mapping relationship, and find the target BLE device based on the cluster identifier Cluster2. Characteristic Handler 2 for the device.
  • searching for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device further comprising:
  • the CHIP bridge device can find the characteristic value Characteristic Value 2 of the target BLE device based on the attribute identifier Attribute 2 in the mapping relationship.
  • the method further includes:
  • a data request corresponding to the attribute identifier is initiated to the service or feature of the BLE device.
  • the first request includes the cluster identifier cluster1, and also includes the attribute identifier Attribute1.
  • the CHIP bridge device can initiate a data request to the service or feature of the target BLE device based on the mapping relationship between the attribute identifier Attribute1 and the characteristic handler Characteristic Handler1.
  • the first request includes the cluster identifier cluster2, and also includes the attribute identifier Attribute2.
  • the CHIP bridge device can initiate a data request to the service or feature of the target BLE device based on the mapping relationship between the attribute identifier Attribute2 and the feature processor Characteristic Value2.
  • the method further includes:
  • a set of data requests is obtained based on each attribute identifier corresponding to the cluster identifier in the first request.
  • the first request includes the cluster identifier cluster1, but does not include the specific attribute identifier.
  • the cluster1 includes a plurality of attribute identifiers Attribute1, Attribute3, and Attribute5.
  • the CHIP bridge device can obtain multiple corresponding status data requests based on the mapping relationship between these attribute identifiers Attribute1, Attribute3, and Attribute5 and the characteristic processors Characteristic Handler1, Characteristic Handler3, and Characteristic Handler5.
  • the CHIP bridge device can then initiate these multiple status data requests to the service or feature of the target BLE device.
  • the first request includes the cluster identifier cluster2, but does not include the specific attribute identifier.
  • the cluster2 includes a plurality of attribute identifiers Attribute2, Attribute4, and Attribute6.
  • the CHIP bridge device can obtain multiple corresponding status data requests based on the mapping relationship between these attribute identifiers Attribute2, Attribute4, and Attribute6 and the characteristic values Characteristic Value2, Characteristic Value 4, and Characteristic Value6.
  • the CHIP bridge device can then initiate these multiple status data requests to the service or feature of the target BLE device.
  • the embodiments of the present application provide a bridge mapping solution from a CHIP device to a BLE device based on the CHIP bridge (Bridge) technology.
  • BLE devices such as BLE device 1 and BLE device 2 are connected to bridge devices through a BLE network.
  • the bridge device can be used to undertake the secure communication link to each BLE device, and can also act as an interpreter for the BLE device, interpreting it as a CHIP device and presenting it to the CHIP APP.
  • the manufacturer APP can connect to the CHIP network through the interface defined by the manufacturer.
  • CHIP devices such as CHIP device 1 and CHIP device 2 access the CHIP network.
  • CHIP APP can also be connected to CHIP network, for example CHIP APP1, CHIP APP2, CHIP APP3 can be connected to CHIP network.
  • Each CHIP APP can use the interface provided by CHIP to see and control all BLE devices through the CHIP bridge device.
  • an exemplary mapping relationship between CHIP devices and BLE devices may include:
  • the BLE physical device address maintains a one-to-one relationship with the endpoint (ep) of the CHIP bridge (Bridge) device;
  • the service (Service) in BLE maintains a one-to-one relationship with the cluster (Cluster) in the CHIP bridge device;
  • the characteristic (Characteristic) in the service (Service) in BLE maintains a one-to-one relationship with the attribute (Attribute) in the endpoint (ep) in the CHIP bridge device;
  • Example 1 of the CHIP to BLE mapping scheme can include:
  • BLE Master BLE Master
  • BLE Slave BLE Slave
  • the BLE master device sends a request for establishing a mapping relationship to the CHIP bridging function module.
  • the CHIP bridge function module establishes a mapping relationship table: use the ep identifier of the CHIP Bridge to establish a mapping relationship with the address of the BLE physical device, and establish a relationship between the cluster ID (Cluster ID) of the CHIP device and the service handler ID (Service Handler ID) of the BLE. Mapping relationship, establish the mapping relationship between the attribute ID (Attribute ID) of CHIP and the characteristic handler ID (Characteristic Handler ID) of BLE.
  • the CHIP bridging function module initiates a request for creating a CHIP device according to the mapping relationship.
  • the CHIP device may be a virtual device in the CHIP bridge device.
  • the CHIP control device (controller) establishes a secure communication connection with the CHIP device
  • the CHIP control device sends a read (READ) request to the CHIP device; the request may include one or more of ep identifier, Cluster ID, and Attribute ID. For example, if the read request includes the Cluster ID, the read request is a read cluster request. If the read request includes Cluster ID and Attribute ID, the read request is a read attribute request.
  • the read request is only an example, and other types of requests such as write requests, control requests, and the like are also possible.
  • the CHIP device sends a request for parsing the mapping relationship to the CHIP bridging function module; and can send one or more of the received ep identifier, Cluster ID, and Attribute ID to the CHIP bridging function module.
  • the CHIP bridging function module searches for the information of the corresponding BLE device according to one or more of the received ep identifier, Cluster ID, and Attribute ID.
  • the value of the ep identifier can be 16 bits. For example, if you receive the ep identifier and the Cluster ID, find the corresponding BLE address in the mapping relationship based on the ep identifier, and find the Characteristic Handler ID in the mapping relationship based on the Attribute ID.
  • the CHIP bridge function module can initiate access to Service/characteristic through the BLE master device. For example, if the received read request includes attributeID, a request to read data corresponding to attributeID can be initiated to service/characteristic. For another example, if there is no attribute ID in the received read request, a set of data requests can be obtained according to the mapping relationship between all AttributeIDs corresponding to the Cluster ID in the read request and the Characteristic Handler.
  • the BLE master device in the bridge device sends a request to read data to the Service of the BLE slave device.
  • the BLE slave device returns the Service data corresponding to the read request to the BLE master device.
  • the BLE master device returns the service data corresponding to the read request to the CHIP bridging function module, and the CHIP bridging function module converts the Service data into attribute data of the CHIP device; for example, the CHIP bridging function module fills in the attribute data of the Service Handler corresponding to the cluster according to the mapping relationship value.
  • the CHIP bridging function module returns the attribute data to the CHIP device.
  • the CHIP device returns the attribute data to the CHIP control device.
  • an exemplary mapping relationship between CHIP devices and BLE devices may include:
  • the BLE physical device address maintains a one-to-one relationship with the group ep of the CHIP bridge device
  • the service in BLE maintains a one-to-one relationship with the ep in the CHIP bridge device
  • the characteristic (Characteristic) in the service (Service) in BLE and the cluster (Cluster) in the ep in the CHIP bridge device maintain a mapping relationship;
  • the characteristic value (Property Value) of the characteristic (Characteristic) in BLE that is, the characteristic value, maintains a mapping relationship with the attribute (Attribute) in the cluster (Cluster) in the CHIP bridge device.
  • Example 2 of the CHIP to BLE mapping scheme can include:
  • the main differences between the scheme example 2 and the scheme example 1 include: different mapping methods.
  • the CHIP bridge function module establishes a mapping relationship table, which may specifically include: using a group endpoint identifier group ep ID in the CHIP Bridge device to establish a mapping relationship with the BLE physical device address, and establishing the ep identifier of the CHIP Bridge device and the BLE Service Handler ID mapping relationship, establish the mapping relationship between the Cluster ID under the ep of the CHIP Bridge device and the Characteristic Handler ID under the BLE Service, and establish the mapping relationship between the Attribute ID and the Property Value under the Cluster device of the CHIP Bridge device.
  • the group ep: 0x0010 of the CHIP Bridge device corresponds to the device address of the actual BLE physical device.
  • the CHIP control device may issue a read (READ) request to the group ep: 0x0010 of the CHIP bridge device.
  • READ read
  • the CHIP device sends a request for parsing the mapping relationship to the CHIP bridging function module; and can send the received group ep identifier to the CHIP bridging function module.
  • the CHIP bridging function module may find the relationship between the corresponding BLE physical devices in the mapping relationship table according to the requested group ep identifier.
  • the CHIP bridging function module of the CHIP bridging device returns the group ep list to the virtual CHIP device.
  • the CHIP device may return the ep list to the CHIP control device, and the content included in the ep list may be the ep identification information corresponding to the BLE Service. For example, the Service Handler ID corresponding to ep1, and the Service Handler ID corresponding to ep2.
  • the CHIP control device sends a READ request to ep/cluster of the CHIP device or to ep/cluster/attribute.
  • the READ request may include one or more of the group ep ID, ep ID, Cluster ID, and Attribute ID.
  • the CHIP device sends a request for parsing the mapping relationship to the CHIP bridging function module; and can send one or more of the received group ep identifier, ep identifier, Cluster ID, and Attribute ID to the CHIP bridging function module .
  • the CHIP bridge function module searches for the information of the BLE device according to the requested information of the CHIP device. For example, find the Service Handler ID corresponding to BLE from the mapping relationship according to the ep identifier, find the corresponding Characteristic Handler ID according to the Cluster ID, and find the Value of the corresponding Property according to the Attribute ID.
  • the CHIP bridge function module initiates a read data request through the BLE master device. For example, if the received read request includes attribute ID, you can initiate a read data request corresponding to attributeID to service/characteristic/value. For another example, if there is no attribute ID in the received read request, a set of status data requests can be obtained according to all the mapping relationships between the Cluster ID in the read request and the CharacteristicValue.
  • the BLE slave device returns the Service data corresponding to the read request to the BLE master device.
  • the BLE master device returns the service data corresponding to the read request to the CHIP bridging function module, and the CHIP bridging function module converts the Service data (for example, the characteristic value of the Service) into the attribute data of the CHIP device; The relationship fills the value of the attribute of the Characteristic Handler corresponding to the cluster.
  • Service data for example, the characteristic value of the Service
  • the CHIP bridge function module returns the attribute data to the CHIP device.
  • the CHIP device returns the attribute data to the CHIP control device.
  • Example 2 can be applied to the situation where there are multiple attribute values under one characteristic. If the characteristic has only a single attribute value, example 1 can be used.
  • the embodiment of the present application can enable the CHIP network to access devices of the BLE network type, which enriches the device types for CHIP ecological access, and the CHIP devices can interoperate with different types of devices, such as BLE devices.
  • FIG. 10 is a schematic block diagram of a CHIP bridging device 400 according to an embodiment of the present application.
  • the CHIP bridging device 400 may include:
  • the first processing unit 410 is configured to establish a mapping relationship between the CHIP device and the Bluetooth low energy BLE device.
  • the first processing unit 410 is further configured to create the CHIP device based on the mapping relationship between the CHIP device and the BLE device.
  • the first processing unit 410 is further configured to establish a secure connection with the CHIP control device through the CHIP device.
  • the first processing unit 410 is further configured to receive a first request from the CHIP control device, where the first request includes information about the target CHIP device; between the CHIP device and the BLE device Find the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship;
  • the CHIP bridge device 400 further includes: a second processing unit 420, configured to send a second request corresponding to the first request to the target BLE device based on the information of the target BLE device.
  • the second processing unit 420 is further configured to receive service data from the target BLE device;
  • the first processing unit 420 is further configured to acquire attribute data of the target CHIP device based on the service data of the target BLE device; and return the attribute data of the target CHIP device to the CHIP control device.
  • the CHIP device includes an endpoint, the endpoint includes a cluster, the cluster includes an attribute, and the mapping relationship between the CHIP device and the BLE device includes at least one of the following: :
  • mapping relationship between the attribute identifier in the cluster of the CHIP device and the feature processor identifier in the BLE service is the mapping relationship between the attribute identifier in the cluster of the CHIP device and the feature processor identifier in the BLE service.
  • the first processing unit 410 is further configured to search for the address of the target BLE device corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device;
  • the service processor identifier corresponding to the cluster identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
  • the first processing unit 410 is further configured to search for a feature processor identifier corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  • the CHIP device includes a group endpoint and an endpoint, the endpoint includes a cluster, and the cluster includes an attribute, and the mapping relationship between the CHIP device and the BLE device includes the following: at least one of:
  • mapping relationship between the attribute identifier in the cluster of the CHIP device and the characteristic value of BLE is the mapping relationship between the attribute identifier in the cluster of the CHIP device and the characteristic value of BLE.
  • the first processing unit 410 is further configured to search for the address of the target BLE device corresponding to the group endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  • the first processing unit 410 is further configured to return an endpoint list to the CHIP control device, where the endpoint list includes an endpoint identifier corresponding to the service processor identifier of the BLE.
  • the first processing unit 410 is further configured to search for the service processor identifier corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device; in this The feature processor identifier corresponding to the cluster identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
  • the first processing unit 410 is further configured to search for a feature value corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  • the first processing unit 410 is further configured to initiate a data request corresponding to the attribute identifier to the service or feature of the BLE device in the case that the attribute identifier is included in the first request.
  • the first processing unit 410 is further configured to obtain a group of attribute identifiers based on the attribute identifiers corresponding to the cluster identifiers in the first request when the first request does not include an attribute identifier. data request.
  • the CHIP bridging device 400 in this embodiment of the present application can implement the corresponding functions of the CHIP bridging device in the foregoing method embodiments.
  • each module (submodule, unit, or component, etc.) in the CHIP bridging device 400 reference may be made to the corresponding descriptions in the above method embodiments, which will not be repeated here.
  • the functions described by each module (submodule, unit, or component, etc.) in the CHIP bridging device 400 of the application embodiment may be implemented by different modules (submodule, unit, or component, etc.), or by the same A module (submodule, unit or component, etc.) implementation.
  • FIG. 12 is a schematic block diagram of a CHIP bridging device 500 according to an embodiment of the present application.
  • the CHIP bridging device 500 may be each module (sub-module, unit or component, etc.) of the CHIP bridging device in the above-mentioned embodiments.
  • the CHIP bridging device 500 further includes: a virtual client 510 and a CHIP bridging function module 520 .
  • the virtual client 510 may implement the functions of the above-mentioned second processing unit.
  • the virtual client 510 is used for establishing a secure connection with the BLE device; sending a mapping relationship establishment request to the CHIP bridging function module 520;
  • the CHIP bridging function module 520 is configured to receive the mapping relationship establishment request.
  • the CHIP bridging function module 520 is further configured to establish a mapping relationship between the CHIP device and the BLE device.
  • the CHIP bridging function module 520 is further configured to create a virtual CHIP device 530 based on the mapping relationship between the CHIP device and the BLE device;
  • the CHIP bridge device 500 also includes the virtual CHIP device 530 .
  • the CHIP bridging function module 520 and the virtual CHIP device 530 may implement the function of the first processing unit.
  • the CHIP bridging function module 520 after receiving the mapping relationship establishment request from the virtual client 510, the CHIP bridging function module 520 establishes the mapping relationship between the CHIP device and the BLE device, and can create a virtual CHIP device 530 based on the mapping relationship. Then, the virtual CHIP device 530 establishes a secure connection with the CHIP control device. The virtual CHIP device 530 receives the first request from the CHIP control device, parses the first request, and sends it to the CHIP bridging function module 520 . Based on the first request, the CHIP bridging function module 520 searches for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device.
  • the CHIP bridging function module 520 may request the virtual client for data, and the virtual client initiates a second request to the service or feature of the BLE device.
  • the virtual client can forward the service data received from the BLE device to the CHIP bridging function module 520.
  • the CHIP bridging function module 520 obtains the attribute data of the CHIP device, it sends it to the CHIP control device through the virtual CHIP device.
  • the CHIP bridging device 500 in this embodiment of the present application can implement the corresponding functions of the CHIP bridging device in the foregoing method embodiments.
  • each module (submodule, unit, or component, etc.) in the CHIP bridging device 500 reference may be made to the corresponding descriptions in the above method embodiments, which will not be repeated here.
  • the functions described by each module (submodule, unit, or component, etc.) in the CHIP bridging device 500 of the application embodiment may be implemented by different modules (submodule, unit, or component, etc.), or by the same module.
  • FIG. 13 is a schematic structural diagram of a communication device 600 according to an embodiment of the present application.
  • the communication device 600 includes a processor 610, and the processor 610 can call and run a computer program from a memory, so that the communication device 600 implements the methods in the embodiments of the present application.
  • the communication device 600 may also include a memory 620 .
  • the processor 610 may call and run a computer program from the memory 620, so that the communication device 600 implements the methods in the embodiments of the present application.
  • the memory 620 may be a separate device independent of the processor 610 , or may be integrated in the processor 610 .
  • the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices .
  • the transceiver 630 may include a transmitter and a receiver.
  • the transceiver 630 may further include antennas, and the number of the antennas may be one or more.
  • the communication device 600 may be the CHIP bridging device in this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the CHIP bridging device in each method in the embodiment of the present application, which is not repeated here for brevity. Repeat.
  • FIG. 14 is a schematic structural diagram of a chip 700 according to an embodiment of the present application.
  • the chip 700 includes a processor 710, and the processor 710 can call and run a computer program from a memory, so as to implement the method in the embodiments of the present application.
  • the chip 700 may further include a memory 720 .
  • the processor 710 may call and run a computer program from the memory 720 to implement the method executed by the CHIP bridge device in the embodiment of the present application.
  • the memory 720 may be a separate device independent of the processor 710 , or may be integrated in the processor 710 .
  • the chip 700 may further include an input interface 730 .
  • the processor 710 may control the input interface 730 to communicate with other devices or chips, and specifically, may acquire information or data sent by other devices or chips.
  • the chip 700 may further include an output interface 740 .
  • the processor 710 may control the output interface 740 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
  • the chip can be applied to the CHIP bridging device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the CHIP bridging device in each method of the embodiments of the present application, which is not repeated here for brevity.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-a-chip, or the like.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an off-the-shelf programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC) or Other programmable logic devices, transistor logic devices, discrete hardware components, etc.
  • DSP digital signal processor
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • the general-purpose processor mentioned above may be a microprocessor or any conventional processor or the like.
  • the memory mentioned above may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM).
  • the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
  • FIG. 15 is a schematic block diagram of a communication system 800 according to an embodiment of the present application.
  • the communication system 800 includes a CHIP bridge device 810 .
  • the CHIP bridge device 810 is used to establish a mapping relationship between the CHIP device and the BLE device.
  • the system may further include a CHIP control device 820 and a BLE device 830 .
  • the CHIP bridging device 810 can be used to implement the corresponding functions implemented by the CHIP bridging device in the above method
  • the CHIP control device 820 can be used to implement the corresponding functions implemented by the CHIP control device in the above method
  • the BLE device 830 may be used to implement the corresponding functions implemented by the BLE physical device in the above method. For brevity, details are not repeated here.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of the present application are generated in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions may be stored on or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted over a wire from a website site, computer, server or data center (eg coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) means to another website site, computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated.
  • the available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)), and the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium eg, a Solid State Disk (SSD)
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.

Abstract

The present application relates to a device bridging mapping method and a bridging device. The device bridging mapping method is applied to a Connected Home over IP Working Group (CHIP) bridging device, and said method comprises: establishing a mapping relationship between a CHIP device and a Bluetooth low energy (BLE) device. The CHIP bridging device comprises: a first processing unit, configured to establish a mapping relationship between the CHIP device and the BLE device. The embodiments of the present application enable a CHIP network to access a device of a BLE network type, and enable a CHIP control device to interoperate with the BLE device.

Description

设备桥接映射的方法和桥接设备Device bridging mapping method and bridging device 技术领域technical field
本申请涉及通信领域,更具体地,涉及一种设备桥接映射的方法和桥接设备。The present application relates to the field of communications, and more particularly, to a device bridging mapping method and bridging device.
背景技术Background technique
紫蜂网络(Zigbee)和Z-Wave技术在一些智能家居设备中应用比较广泛。CHIP(Connected Home over IP Working Group,通过互联网协议连接家庭)是Zigbee联盟下通过IP连接家庭工作组的标准。在目前的CHIP桥接(Bridge)方案中,主要包括CHIP设备到Zigbee设备的桥接间以及CHIP设备到Z-Wave设备间的桥接。Zigbee and Z-Wave technologies are widely used in some smart home devices. CHIP (Connected Home over IP Working Group) is a standard for connecting home working groups over IP under the Zigbee Alliance. In the current CHIP bridge (Bridge) solution, it mainly includes the bridge between the CHIP device and the Zigbee device and the bridge between the CHIP device and the Z-Wave device.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种设备桥接映射的方法和桥接设备,可以使得CHIP网络能够接入BLE网络类型的设备。Embodiments of the present application provide a device bridging mapping method and a bridging device, which can enable a CHIP network to access a BLE network type device.
本申请实施例提供一种设备桥接映射的方法,应用于通过互联网协议连接家庭CHIP桥接设备,该方法包括:建立CHIP设备与蓝牙低功耗BLE设备的映射关系。An embodiment of the present application provides a device bridging mapping method, which is applied to connecting a home CHIP bridging device through an Internet protocol. The method includes: establishing a mapping relationship between a CHIP device and a Bluetooth low energy BLE device.
本申请实施例提供一种CHIP桥接设备,包括:映射单元,用于建立CHIP设备与蓝牙低功耗BLE设备的映射关系。An embodiment of the present application provides a CHIP bridging device, including: a mapping unit configured to establish a mapping relationship between the CHIP device and the Bluetooth low energy BLE device.
本申请实施例提供一种通信设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,以使该通信设备执行上述的设备桥接映射的方法。Embodiments of the present application provide a communication device including a processor and a memory. The memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory, so that the communication device executes the above-mentioned method for device bridging mapping.
本申请实施例提供一种芯片,用于实现上述的设备桥接映射的方法。An embodiment of the present application provides a chip for implementing the foregoing method for device bridge mapping.
具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行上述的设备桥接映射的方法。Specifically, the chip includes: a processor for calling and running a computer program from a memory, so that a device installed with the chip executes the above-mentioned method for device bridge mapping.
本申请实施例提供一种计算机可读存储介质,用于存储计算机程序,当该计算机程序被设备运行时使得该设备执行上述的设备桥接映射的方法。Embodiments of the present application provide a computer-readable storage medium for storing a computer program, and when the computer program is run by a device, the device enables the device to execute the above-mentioned method for device bridging mapping.
本申请实施例提供一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述的设备桥接映射的方法。An embodiment of the present application provides a computer program product, including computer program instructions, where the computer program instructions cause a computer to execute the above-mentioned method for device bridging mapping.
本申请实施例提供一种计算机程序,当其在计算机上运行时,使得计算机执行上述的设备桥接映射的方法。An embodiment of the present application provides a computer program, which, when running on a computer, enables the computer to execute the above-mentioned method for device bridging mapping.
本申请实施例,使得CHIP网络能够接入BLE网络类型的设备。This embodiment of the present application enables the CHIP network to access devices of the BLE network type.
附图说明Description of drawings
图1是根据本申请一实施例的CHIP设备模型结构示意图。FIG. 1 is a schematic structural diagram of a CHIP device model according to an embodiment of the present application.
图2是根据本申请一实施例的CHIP桥接(Bridge)设备结构的示意图。FIG. 2 is a schematic diagram of a structure of a CHIP bridge (Bridge) device according to an embodiment of the present application.
图3是根据本申请一实施例的BLE设备模型结构示意图。FIG. 3 is a schematic structural diagram of a BLE device model according to an embodiment of the present application.
图4是根据本申请一实施例的设备桥接映射的方法的示意性流程图。FIG. 4 is a schematic flowchart of a method for device bridging mapping according to an embodiment of the present application.
图5是根据本申请一实施例的设备桥接映射的方法的CHIP到BLE桥接方式示意图。FIG. 5 is a schematic diagram of a CHIP-to-BLE bridging manner of a device bridging mapping method according to an embodiment of the present application.
图6是根据本申请一实施例的设备桥接映射的方法的映射关系示意图。FIG. 6 is a schematic diagram of a mapping relationship of a method for device bridging mapping according to an embodiment of the present application.
图7是根据本申请一实施例的设备桥接映射的方法的CHIP到BLE映射技术方案示意性流程图。FIG. 7 is a schematic flowchart of a CHIP-to-BLE mapping technical solution of a method for device bridging mapping according to an embodiment of the present application.
图8是根据本申请另一实施例的设备桥接映射的方法的映射关系示意图。FIG. 8 is a schematic diagram of a mapping relationship of a method for device bridging mapping according to another embodiment of the present application.
图9是根据本申请另一实施例的设备桥接映射的方法的CHIP到BLE映射技术方案示意性流程图。FIG. 9 is a schematic flowchart of a CHIP-to-BLE mapping technical solution of a method for device bridging mapping according to another embodiment of the present application.
图10是根据本申请一实施例的CHIP桥接设备的示意性框图。FIG. 10 is a schematic block diagram of a CHIP bridging device according to an embodiment of the present application.
图11是根据本申请另一实施例的CHIP桥接设备的示意性框图。FIG. 11 is a schematic block diagram of a CHIP bridging device according to another embodiment of the present application.
图12是根据本申请另一实施例的CHIP桥接设备的示意性框图。FIG. 12 is a schematic block diagram of a CHIP bridging device according to another embodiment of the present application.
图13是根据本申请实施例的通信设备示意性框图。FIG. 13 is a schematic block diagram of a communication device according to an embodiment of the present application.
图14是根据本申请实施例的芯片的示意性框图。FIG. 14 is a schematic block diagram of a chip according to an embodiment of the present application.
图15是根据本申请实施例的通信系统的示意性框图。FIG. 15 is a schematic block diagram of a communication system according to an embodiment of the present application.
具体实施方式Detailed ways
为便于理解本申请实施例的技术方案,以下对本申请实施例的相关技术进行说明,以下相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。In order to facilitate the understanding of the technical solutions of the embodiments of the present application, the related technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, which all belong to the embodiments of the present application. protected range.
如图1所示,为一种CHIP设备模型结构的示例,CHIP设备模型基于紫蜂网络(Zigbee)簇库(Zigbee Cluster Library,ZCL)实现,模型结构与ZCL一致,并添加一些CHIP协议自身需要的Cluster定义等。该CHIP设备模型可以包括以下特点:As shown in Figure 1, it is an example of the structure of a CHIP device model. The CHIP device model is implemented based on Zigbee Cluster Library (ZCL). The model structure is consistent with ZCL, and some CHIP protocol needs to be added. The Cluster definition, etc. The CHIP device model can include the following features:
1.CHIP(Connected Home over IP Working Group,Zigbee联盟下通过IP连接家庭工作组)设备可以有多个端点(Endpoint,ep),ep值的长度为16-bit(位)。1. CHIP (Connected Home over IP Working Group, under the Zigbee Alliance) device can have multiple endpoints (Endpoint, ep), and the length of the ep value is 16-bit (bit).
2.每个端点代表一个设备(device),每个设备可以通过设备标识(device id)来表示设备类型,每个端点可能包含一组簇(cluster),每个簇下又包含了多个属性(attribute)。2. Each endpoint represents a device, and each device can be represented by a device id (device id) to represent the device type. Each endpoint may contain a set of clusters, and each cluster contains multiple attributes. (attribute).
如图2所示为一种CHIP桥接(Bridge)设备结构的示意图。CHIP Bridge设备的结构可以包括以下特点:FIG. 2 is a schematic diagram of the structure of a CHIP bridge (Bridge) device. The structure of a CHIP Bridge device can include the following features:
1.被桥接的设备1(Bridged Device1)和被桥接的设备2(Bridged Device2)表示非CHIP(non-CHIP)(例如Zigbee,Z-Wave)协议设备,与桥接(Bridge)设备建立Zigbee或Z-Wave安全连接。桥接设备可以承担安全通信链路到每个被桥接的设备(Bridged Device);充当被桥接的设备的解释程序,将其解释成CHIP设备呈现给CHIP APP;向CHIP APP提供可访问的‘API/’接口。1. The bridged device 1 (Bridged Device1) and the bridged device 2 (Bridged Device2) represent non-CHIP (non-CHIP) (such as Zigbee, Z-Wave) protocol devices, and establish Zigbee or Z with the bridged (Bridge) device. -Wave secure connection. The bridged device can undertake a secure communication link to each bridged device; act as an interpreter for the bridged device, interpret it as a CHIP device and present it to the CHIP APP; provide the CHIP APP with accessible 'API/ 'interface.
2.CHIP协议设备的ep值长度可以为16-bit;CHIP桥接设备是特殊的CHIP设备,Zigbee设备经过CHIP桥接设备映射后,每个Zigbee设备的ep(8-bit,取值范围1到254)与CHIP桥接设备中的ep(16-bit,取值范围1到65534)建立一对一的映射关系。2. The length of the ep value of the CHIP protocol device can be 16-bit; the CHIP bridge device is a special CHIP device. After the Zigbee device is mapped by the CHIP bridge device, the ep (8-bit) of each Zigbee device is in the range of 1 to 254. ) and ep (16-bit, value range 1 to 65534) in the CHIP bridging device to establish a one-to-one mapping relationship.
3.CHIP协议采用ZCL作为设备模型,CHIP协议设备与Zigbee协议设备的簇(Cluster)采用一对一的映射。3. The CHIP protocol adopts ZCL as the device model, and the cluster (Cluster) of the CHIP protocol device and the Zigbee protocol device adopts one-to-one mapping.
4.例如:安全接入到桥接(Bridge)设备的网络物理Zigbee设备(例如插排)包括ep1和ep2两个端点。通过Bridge设备映射后,映射成CHIP设备的ep10、、ep11。4. For example, a network physical Zigbee device (eg, a plug-in strip) securely connected to a bridge device includes two endpoints, ep1 and ep2. After mapping through the Bridge device, it is mapped to ep10, ep11 of the CHIP device.
其中,ep1可以为Zigbee的开关1(switch1),对应图2中被桥接的设备1(Bridged Device1),ep5可以为Zigbee的开关2(switch2),对应图2中被桥接的设备2(Bridged Device2);ep10可以为CHIP的开关1(switch1),对应图1中CHIP设备1(CHIP Device1),ep11可以为CHIP的开关2(switch2),对应图2中CHIP设备2(CHIP Device2)。Among them, ep1 can be the Zigbee switch 1 (switch1), corresponding to the bridged device 1 (Bridged Device1) in Figure 2, and ep5 can be the Zigbee switch 2 (switch2), corresponding to the bridged device 2 (Bridged Device2) in Figure 2 ); ep10 can be CHIP switch 1 (switch1), corresponding to CHIP device 1 (CHIP Device1) in Figure 1, and ep11 can be CHIP switch 2 (switch2), corresponding to CHIP device 2 (CHIP Device2) in Figure 2.
5.厂商应用程序(Application,APP)可以通过网络对Bridge进行访问。5. The manufacturer's application (Application, APP) can access the Bridge through the network.
6.CHIP APP可以通过网络对Bridge中映射后的CHIP Device进行访问。例如,每个CHIP APP都可以使用CHIP提供的接口通过CHIP桥接设备(CHIP Bridge)看到并且控制所有被桥接的设备(Bridged Device)。6. The CHIP APP can access the mapped CHIP Device in the Bridge through the network. For example, each CHIP APP can use the interface provided by CHIP to see and control all bridged devices (Bridged Device) through CHIP Bridge.
如图3所示,为一种蓝牙低功耗(Bluetooth Low Energy,BLE)设备模型结构的示意图。BLE设备模型结构可以包括以下特点:As shown in FIG. 3 , it is a schematic diagram of a model structure of a Bluetooth Low Energy (Bluetooth Low Energy, BLE) device. The BLE device model structure can include the following features:
1.BLE物理设备可以由多个服务(Service)组成。每个Service可以由一个通用唯一识别码(Universally Unique Identifier,UUID)唯一标识。接入到BLE网络的BLE物理设备的每个Service所分配到的处理器(Handler)不同。每个Service可以包括多个特征(Characteristic)。每个Characteristic也可以具有一个UUID唯一标识。每个Characteristic从网络中分配到Handler不同。每个Characteristic包括对应的特性值(Property Value),也可以简称特征值(Characteristic Value)。1. A BLE physical device can be composed of multiple services. Each Service can be uniquely identified by a Universally Unique Identifier (UUID). Each Service of a BLE physical device connected to a BLE network is assigned a different Handler. Each Service can include multiple characteristics (Characteristic). Each Characteristic can also be uniquely identified by a UUID. Each Characteristic is assigned to a Handler differently from the network. Each Characteristic includes a corresponding property value (Property Value), which can also be referred to as a characteristic value (Characteristic Value).
2.BLE物理设备可以包括一个主服务(Service),通过该主服务可以查找从服务,且每个服务可以包括多个服务。2. A BLE physical device may include a master service (Service) through which slave services can be searched, and each service may include multiple services.
本申请实施例可以提供CHIP设备与BLE设备桥接映射的方法。The embodiments of the present application may provide a method for bridging and mapping between a CHIP device and a BLE device.
图4是根据本申请一实施例的设备桥接映射的方法200的示意性流程图。该方法可选地可以应用于包括图1、图2、图3所示的设备的系统,但并不仅限于此。示例性地,该方法可以应用于CHIP桥接设备,该方法可以包括以下内容的至少部分内容。FIG. 4 is a schematic flowchart of a method 200 for device bridging mapping according to an embodiment of the present application. The method can optionally be applied to a system including the devices shown in FIG. 1 , FIG. 2 , and FIG. 3 , but is not limited thereto. Exemplarily, the method may be applied to a CHIP bridging device, and the method may include at least part of the following contents.
S210、建立CHIP设备与蓝牙低功耗BLE设备的映射关系。S210. Establish a mapping relationship between the CHIP device and the Bluetooth low energy BLE device.
本申请实施例中的CHIP桥接设备和CHIP设备不限于支持CHIP协议的设备,还可以包括支持其他协议例如Zigbee、Z-Wave的设备。The CHIP bridge device and the CHIP device in the embodiments of the present application are not limited to devices supporting the CHIP protocol, and may also include devices supporting other protocols such as Zigbee and Z-Wave.
示例性地,CHIP桥接设备可以与需要通过控制的BLE设备之间建立安全连接;然后,CHIP桥接设备可以建立CHIP设备与该BLE设备的映射关系。这样,可以使得CHIP网络能够接入BLE网络类型的设备,丰富了CHIP生态能够接入的设备类型,可以与不同类型的设备进行互操作。例如,使得CHIP控制设备能够与BLE设备进行互操作。BLE设备可以包括基于BLE协议的各种物理设备。BLE设备可以包括医疗保健、运动健身、安防、家庭娱乐等领域的物理设备。例如,血压计、心率检测仪、手环、音箱等。Exemplarily, the CHIP bridging device can establish a secure connection with the BLE device that needs to be controlled; then, the CHIP bridging device can establish a mapping relationship between the CHIP device and the BLE device. In this way, the CHIP network can be enabled to access devices of the BLE network type, which enriches the types of devices that the CHIP ecosystem can access, and can interoperate with different types of devices. For example, enabling CHIP control devices to interoperate with BLE devices. BLE devices can include various physical devices based on the BLE protocol. BLE devices can include physical devices in healthcare, sports and fitness, security, home entertainment, and more. For example, blood pressure monitors, heart rate monitors, wristbands, speakers, etc.
可选地,在本申请实施例中,该方法还包括:Optionally, in this embodiment of the present application, the method further includes:
基于CHIP设备与BLE设备的映射关系创建该CHIP设备。The CHIP device is created based on the mapping relationship between the CHIP device and the BLE device.
示例性地,CHIP桥接设备可以建立CHIP设备与该BLE设备的映射关系后,例如在映射关系表中保存CHIP设备与BLE设备的映射关系后,可以基于该映射关系创建虚拟的CHIP设备。CHIP桥接设备可以在某个端点下创建虚拟的CHIP设备,该端点的标识可以作为该虚拟的CHIP设备的端点标识。此外,该端点下的簇标识可以作为该虚拟的CHIP 设备的簇标识,该端点包括的簇下的属性标识可以作为该虚拟的CHIP设备的属性标识。例如,CHIP桥接设备在某个端点ep1下创建虚拟的CHIP设备device1,该device1的端点标识为ep1。如果该端点ep1包括的簇为Cluster1和Cluster2,簇Cluster1包括属性Attribute1和Attribute2,簇Cluster2包括属性Attribute3和Attribute4,则device1的簇标识为Culster1和Cluster2,则device1的Cluster1下的属性标识为Attribute1和Attribute2,簇Cluster2下的属性标识为Attribute3和Attribute4。Exemplarily, after the CHIP bridging device can establish the mapping relationship between the CHIP device and the BLE device, for example, after saving the mapping relationship between the CHIP device and the BLE device in the mapping relationship table, it can create a virtual CHIP device based on the mapping relationship. The CHIP bridge device can create a virtual CHIP device under a certain endpoint, and the identifier of the endpoint can be used as the endpoint identifier of the virtual CHIP device. In addition, the cluster identifier under the endpoint can be used as the cluster identifier of the virtual CHIP device, and the attribute identifier under the cluster included in the endpoint can be used as the attribute identifier of the virtual CHIP device. For example, the CHIP bridge device creates a virtual CHIP device device1 under a certain endpoint ep1, and the endpoint identifier of the device1 is ep1. If the clusters included in the endpoint ep1 are Cluster1 and Cluster2, the cluster Cluster1 includes attributes Attribute1 and Attribute2, and the cluster Cluster2 includes attributes Attribute3 and Attribute4, then the cluster identifiers of device1 are Culster1 and Cluster2, then the attribute identifiers under Cluster1 of device1 are Attribute1 and Attribute2 , the attributes under the cluster Cluster2 are identified as Attribute3 and Attribute4.
可选地,在本申请实施例中,该CHIP桥接设备包括虚拟客户端、CHIP桥接功能模块,该方法还包括:Optionally, in this embodiment of the present application, the CHIP bridging device includes a virtual client and a CHIP bridging function module, and the method further includes:
该虚拟客户端the virtual client
可选地,在本申请实施例中,该方法还包括:Optionally, in this embodiment of the present application, the method further includes:
接收该CHIP控制设备的第一请求,该第一请求中包括目标CHIP设备的信息;receiving a first request from the CHIP control device, where the first request includes information about the target CHIP device;
在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息;Find the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device;
基于该目标BLE设备的信息,向该目标BLE设备发送与该第一请求对应的第二请求。Based on the information of the target BLE device, a second request corresponding to the first request is sent to the target BLE device.
示例性地,虚拟的CHIP设备与CHIP控制设备建立安全连接后,CHIP控制设备可以向CHIP桥接设备发送第一请求。第一请求可以为各种类型,例如:读请求、写请求、控制请求等。该第一请求中可以包括目标CHIP设备的信息。例如,该第一请求中可以包括目标CHIP设备的组端点(group ep)标识、端点(ep)标识、簇(Cluster)标识、属性(Attribute)标识中的一种或多种。CHIP桥接设备基于该第一请求中的目标CHIP设备的信息,可以在CHIP设备与BLE设备的映射关系中查找对应的目标BLE设备的信息。目标BLE设备的信息可以包括目标BLE设备的物理设备地址、服务处理器(Service Handler)标识、特征处理器(Characteristic Handler)标识和特征值(Characteristic Value)中的一种或多种。查找到目标BLE设备的信息后,CHIP桥接设备可以基于该第一请求向该目标BLE设备发送第二请求。例如,如果第一请求是读请求,该第二请求可以是数据请求,用于从目标BLE设备获取数据。Exemplarily, after the virtual CHIP device establishes a secure connection with the CHIP control device, the CHIP control device may send the first request to the CHIP bridge device. The first request may be of various types, for example, a read request, a write request, a control request, and the like. The first request may include information of the target CHIP device. For example, the first request may include one or more of a group endpoint (group ep) identifier, an endpoint (ep) identifier, a cluster (Cluster) identifier, and an attribute (Attribute) identifier of the target CHIP device. Based on the information of the target CHIP device in the first request, the CHIP bridge device may search for the information of the corresponding target BLE device in the mapping relationship between the CHIP device and the BLE device. The information of the target BLE device may include one or more of the physical device address of the target BLE device, a service handler (Service Handler) identifier, a characteristic handler (Characteristic Handler) identifier, and a characteristic value (Characteristic Value). After finding the information of the target BLE device, the CHIP bridge device may send a second request to the target BLE device based on the first request. For example, if the first request is a read request, the second request may be a data request for obtaining data from the target BLE device.
可选地,在本申请实施例中,该方法还包括:Optionally, in this embodiment of the present application, the method further includes:
接收来自该目标BLE设备的服务数据;Receive service data from the target BLE device;
基于该目标BLE设备的服务数据获取该目标CHIP设备的属性数据;Obtain attribute data of the target CHIP device based on the service data of the target BLE device;
向该CHIP控制设备返回该目标CHIP设备的属性数据。Return the attribute data of the target CHIP device to the CHIP control device.
示例性地,CHIP桥接设备可以接收来自该目标BLE设备的服务数据。例如,该服务数据包括该目标BLE设备的某个服务的多个特征值。可以基于这些特征值获取对应的目标CHIP设备的属性值。例如,某个服务(Service)是一个血压服务,该服务包括脉搏速率和心脏收缩等特征,与该服务对应的簇(Cluster)下面存在脉搏速率、心脏收缩和单位计量等属性。当只下发Cluster请求时,根据BLE特征和CHIP属性对应的关系,可以返回脉搏速率和心脏收缩两个值。Illustratively, the CHIP bridge device may receive service data from the target BLE device. For example, the service data includes a plurality of characteristic values of a certain service of the target BLE device. The attribute value of the corresponding target CHIP device can be obtained based on these characteristic values. For example, a service (Service) is a blood pressure service, and the service includes characteristics such as pulse rate and cardiac contraction, and there are attributes such as pulse rate, cardiac contraction and unit measurement under the cluster (Cluster) corresponding to the service. When only a Cluster request is issued, two values of pulse rate and cardiac systole can be returned according to the relationship between the BLE feature and the CHIP attribute.
可选地,在本申请实施例的方式一中,该CHIP设备包括端点(ep),该端点包括簇(Cluster),该簇包括属性(Attribute),该CHIP设备与BLE设备的映射关系包括以下至 少之一:Optionally, in the first manner of the embodiment of the present application, the CHIP device includes an endpoint (ep), the endpoint includes a cluster (Cluster), the cluster includes an attribute (Attribute), and the mapping relationship between the CHIP device and the BLE device includes the following: at least one of:
CHIP设备的端点标识(ep ID)与BLE物理设备地址的映射关系;The mapping relationship between the endpoint identifier (ep ID) of the CHIP device and the BLE physical device address;
CHIP设备的端点中的簇标识(Cluster ID)与BLE的服务处理器标识(Service Handler ID)的映射关系;The mapping relationship between the cluster ID (Cluster ID) in the endpoint of the CHIP device and the BLE service handler ID (Service Handler ID);
CHIP设备的簇Cluster中的属性标识(Attribute ID)与BLE的服务中的特征处理器标识(Characteristic Handler ID)的映射关系。The mapping relationship between the attribute identifier (Attribute ID) in the cluster of the CHIP device and the characteristic handler identifier (Characteristic Handler ID) in the BLE service.
示例性地,CHIP设备的端点标识ep 1与BLE物理设备地址XXXX具有映射关系;ep1的簇标识Cluster1与BLE的服务处理器标识Service Handler1具有映射关系;Cluster1的属性标识Attribute 1与BLE的服务中的特征处理器标识Characteristic Handler 1具有映射关系。Exemplarily, the endpoint identification ep 1 of the CHIP device has a mapping relationship with the BLE physical device address XXXX; the cluster identification Cluster1 of ep1 has a mapping relationship with the service processor identification Service Handler1 of BLE; the attribute identification Attribute 1 of Cluster1 is in the service of BLE. The feature handler identifier of Characteristic Handler 1 has a mapping relationship.
可选地,CHIP设备的端点标识与BLE物理设备地址为一一对应的关系。CHIP设备的端点中的簇标识与BLE的服务处理器标识为一一对应的关系。CHIP设备的簇Cluster中的属性标识与BLE的服务中的特征处理器标识为一一对应的关系。Optionally, the endpoint identifier of the CHIP device and the BLE physical device address are in a one-to-one correspondence. There is a one-to-one correspondence between the cluster ID in the endpoint of the CHIP device and the ID of the BLE service processor. There is a one-to-one correspondence between the attribute identifier in the cluster of the CHIP device and the feature processor identifier in the BLE service.
可选地,在本申请实施例的方式一中,在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息,包括:Optionally, in the first manner of the embodiment of the present application, searching for information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, including:
在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的端点标识对应的目标BLE设备的地址;Find the address of the target BLE device corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device;
在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的簇标识对应的服务处理器标识。Search for the service processor identifier corresponding to the cluster identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
示例性地,如果第一请求中包括目标CHIP设备的端点标识和簇标识,例如,端点标识为ep 1,簇标识为Cluster1,在映射关系中,可以基于该端点标识ep 1查找到目标BLE设备的地址XXXX,基于该Cluster1查找到目标BLE设备的Service Handler1。Exemplarily, if the first request includes the endpoint identifier and the cluster identifier of the target CHIP device, for example, the endpoint identifier is ep 1 and the cluster identifier is Cluster 1, in the mapping relationship, the target BLE device can be found based on the endpoint identifier ep 1. The address XXXX, based on the Cluster1 to find the Service Handler1 of the target BLE device.
可选地,在本申请实施例的方式一中,在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息,还包括:Optionally, in the first manner of the embodiment of the present application, searching for information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, further comprising:
在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的属性标识对应的特征处理器标识。Search for a feature processor identifier corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
示例性地,如果第一请求中除了包括目标CHIP设备的端点标识和簇标识,还包括属性标识,例如,端点标识为ep 1,簇标识为Cluster1,属性标识为Attribute 1,在映射关系中,CHIP桥接设备可以基于该端点标识ep 1查找到目标BLE设备的地址XXXX,基于该簇标识Cluster1查找到目标BLE设备的Service Handler1,基于该属性标识Attribute 1查找到目标BLE设备的Characteristic Handler 1。Exemplarily, if the first request includes the endpoint identifier and the cluster identifier of the target CHIP device, but also includes an attribute identifier. For example, the endpoint identifier is ep 1, the cluster identifier is Cluster 1, and the attribute identifier is Attribute 1. In the mapping relationship, The CHIP bridge device can find the address XXXX of the target BLE device based on the endpoint identifier ep 1, find the Service Handler 1 of the target BLE device based on the cluster identifier Cluster1, and find the Characteristic Handler 1 of the target BLE device based on the attribute identifier Attribute 1.
可选地,在本申请实施例的方式二中,该CHIP设备包括组端点(group ep)和端点,该端点包括簇,该簇包括属性,该CHIP设备与BLE设备的映射关系包括以下至少之一:Optionally, in the second manner of this embodiment of the present application, the CHIP device includes a group endpoint (group ep) and an endpoint, the endpoint includes a cluster, and the cluster includes attributes, and the mapping relationship between the CHIP device and the BLE device includes at least one of the following: one:
CHIP设备的组端点标识与BLE物理设备地址的映射关系;The mapping relationship between the group endpoint identifier of the CHIP device and the BLE physical device address;
CHIP设备的端点标识与BLE的服务处理器标识的映射关系;The mapping relationship between the endpoint identifier of the CHIP device and the service processor identifier of the BLE;
CHIP设备的端点中的簇标识与BLE的服务中的特征处理器标识的映射关系;The mapping relationship between the cluster ID in the endpoint of the CHIP device and the feature processor ID in the BLE service;
CHIP设备的簇中的属性标识与BLE的特征值(Characteristic Value)的映射关系。The mapping relationship between the attribute identifier in the cluster of the CHIP device and the characteristic value (Characteristic Value) of BLE.
示例性地,CHIP设备的组端点标识group ep 1与BLE物理设备地址XXXX具有映射关系;CHIP设备的端点标识ep 2与服务处理器标识Service Handler2具有映射关系;ep 2的簇标识Cluster2与BLE的特征处理器标识Characteristic Handler 2具有映射关系;Cluster2的属性标识Attribute2与BLE的服务中的特征处理器标识Characteristic Value2具有映射关系。Exemplarily, the group endpoint identification group ep 1 of the CHIP device has a mapping relationship with the BLE physical device address XXXX; the endpoint identification ep 2 of the CHIP device has a mapping relationship with the service processor identification Service Handler2; The feature handler identifier Characteristic Handler 2 has a mapping relationship; the attribute identifier Attribute2 of Cluster2 has a mapping relationship with the feature processor identifier Characteristic Value2 in the BLE service.
可选地,CHIP设备的组端点标识与BLE物理设备地址为一一对应的关系。CHIP设备的端点中的端点标识与BLE的服务处理器标识为一一对应的关系。CHIP设备的簇Cluster中的簇标识与BLE的服务中的特征处理器标识为一一对应的关系。CHIP设备的簇中的属性标识与BLE的特征值为一一对应的关系。Optionally, there is a one-to-one correspondence between the group endpoint identifier of the CHIP device and the BLE physical device address. There is a one-to-one correspondence between the endpoint identifiers in the endpoints of the CHIP device and the BLE service processor identifiers. There is a one-to-one correspondence between the cluster identifier in the cluster of the CHIP device and the feature processor identifier in the BLE service. There is a one-to-one correspondence between the attribute identifiers in the cluster of CHIP devices and the characteristic values of BLE.
可选地,在本申请实施例的方式二中,在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息,包括:Optionally, in the second manner of the embodiment of the present application, searching for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, including:
在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的组端点标识对应的目标BLE设备的地址。The address of the target BLE device corresponding to the group endpoint identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
示例性地,如果第一请求中包括目标CHIP设备的组端点标识group ep 1,在映射关系中,CHIP桥接设备可以基于该组端点标识group ep 1查找到目标BLE设备的地址XXXX。Exemplarily, if the first request includes the group endpoint identifier group ep 1 of the target CHIP device, in the mapping relationship, the CHIP bridge device can find the address XXXX of the target BLE device based on the group endpoint identifier group ep 1.
可选地,在本申请实施例的方式二中,该方法还包括:Optionally, in the second manner of the embodiment of the present application, the method further includes:
向CHIP控制设备返回端点列表,该端点列表中包括与BLE的服务处理器标识对应的端点标识。Return the endpoint list to the CHIP control device, where the endpoint list includes the endpoint identifier corresponding to the service processor identifier of the BLE.
示例性地,CHIP桥接设备可以向CHIP控制设备返回端点列表,端点列表中可以包括多个端点标识例如ep1、ep2和ep3。在CHIP控制设备可以将端点列表展示出来,用户可以选择其中的某个端点的某个簇。例如,用户选择了ep2的Cluster2,则CHIP控制设备可以再次向CHIP桥接设备发送第一请求。该第一请求中可以包括端点标识ep2和簇标识Cluster2。Exemplarily, the CHIP bridging device may return an endpoint list to the CHIP control device, and the endpoint list may include multiple endpoint identifiers such as ep1, ep2 and ep3. The list of endpoints can be displayed on the CHIP control device, and the user can select a certain cluster of an endpoint among them. For example, if the user selects Cluster2 of ep2, the CHIP control device may send the first request to the CHIP bridge device again. The first request may include the endpoint identifier ep2 and the cluster identifier Cluster2.
可选地,在本申请实施例的方式二中,在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息,还包括:Optionally, in the second manner of the embodiment of the present application, searching for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, further comprising:
在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的端点标识对应的服务处理器标识;Find the service processor identifier corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device;
在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的簇标识对应的特征处理器标识。The feature processor identifier corresponding to the cluster identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
示例性地,如果收到的第一请求中可以包括端点标识ep2和簇标识Cluster2,CHIP桥接设备在映射关系中可以基于ep2查找到目标BLE设备的Service Handler2,基于该簇标识Cluster2查找到目标BLE设备的Characteristic Handler 2。Exemplarily, if the received first request can include the endpoint identifier ep2 and the cluster identifier Cluster2, the CHIP bridge device can find the Service Handler2 of the target BLE device based on ep2 in the mapping relationship, and find the target BLE device based on the cluster identifier Cluster2. Characteristic Handler 2 for the device.
可选地,在本申请实施例的方式二中,在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息,还包括:Optionally, in the second manner of the embodiment of the present application, searching for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, further comprising:
在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的属性标识对应的特征值。Search for the feature value corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
示例性地,如果收到的第一请求中还包括属性标识Attribute 2,CHIP桥接设备在映射 关系中可以基于该属性标识Attribute 2查找到目标BLE设备的特征值Characteristic Value2。Exemplarily, if the received first request also includes the attribute identifier Attribute 2, the CHIP bridge device can find the characteristic value Characteristic Value 2 of the target BLE device based on the attribute identifier Attribute 2 in the mapping relationship.
可选地,在本申请实施例中,该方法还包括:Optionally, in this embodiment of the present application, the method further includes:
在该第一请求中包括属性标识的情况下,向BLE设备的服务或特征发起与该属性标识对应的数据请求。In the case that the attribute identifier is included in the first request, a data request corresponding to the attribute identifier is initiated to the service or feature of the BLE device.
示例性地,基于方式一,第一请求中包括簇标识cluster1,还包括属性标识Attribute1。CHIP桥接设备可以基于该属性标识Attribute1与特征处理器Characteristic Handler1的映射关系,向目标BLE设备的服务或特征发起数据请求。Exemplarily, based on Manner 1, the first request includes the cluster identifier cluster1, and also includes the attribute identifier Attribute1. The CHIP bridge device can initiate a data request to the service or feature of the target BLE device based on the mapping relationship between the attribute identifier Attribute1 and the characteristic handler Characteristic Handler1.
示例性地,基于方式二,第一请求中包括簇标识cluster2,还包括属性标识Attribute2。CHIP桥接设备可以基于该属性标识Attribute2与特征处理器Characteristic Value2的映射关系,向目标BLE设备的服务或特征发起数据请求。Exemplarily, based on the second method, the first request includes the cluster identifier cluster2, and also includes the attribute identifier Attribute2. The CHIP bridge device can initiate a data request to the service or feature of the target BLE device based on the mapping relationship between the attribute identifier Attribute2 and the feature processor Characteristic Value2.
可选地,在本申请实施例中,该方法还包括:Optionally, in this embodiment of the present application, the method further includes:
在该第一请求中不包括属性标识的情况下,基于第一请求中的簇标识对应的各属性标识获取一组数据请求。In the case that the attribute identifier is not included in the first request, a set of data requests is obtained based on each attribute identifier corresponding to the cluster identifier in the first request.
示例性地,基于方式一,第一请求中包括簇标识cluster1,但是不包括具体的属性标识。该cluster1包括多个属性标识Attribute1、Attribute3、Attribute5。CHIP桥接设备可以基于这几个属性标识Attribute1、Attribute3、Attribute5与特征处理器Characteristic Handler1、Characteristic Handler3、Characteristic Handler5的映射关系,获取对应的多个状态数据请求。然后,CHIP桥接设备可以向目标BLE设备的服务或特征发起这多个状态数据请求。Exemplarily, based on the first method, the first request includes the cluster identifier cluster1, but does not include the specific attribute identifier. The cluster1 includes a plurality of attribute identifiers Attribute1, Attribute3, and Attribute5. The CHIP bridge device can obtain multiple corresponding status data requests based on the mapping relationship between these attribute identifiers Attribute1, Attribute3, and Attribute5 and the characteristic processors Characteristic Handler1, Characteristic Handler3, and Characteristic Handler5. The CHIP bridge device can then initiate these multiple status data requests to the service or feature of the target BLE device.
示例性地,基于方式二,第一请求中包括簇标识cluster2,但是不包括具体的属性标识。该cluster2包括多个属性标识Attribute2、Attribute4、Attribute6。CHIP桥接设备可以基于这几个属性标识Attribute2、Attribute4、Attribute6与特征值Characteristic Value2、Characteristic Value 4、Characteristic Value6的映射关系,获取对应的多个状态数据请求。然后,CHIP桥接设备可以向目标BLE设备的服务或特征发起这多个状态数据请求。Exemplarily, based on the second method, the first request includes the cluster identifier cluster2, but does not include the specific attribute identifier. The cluster2 includes a plurality of attribute identifiers Attribute2, Attribute4, and Attribute6. The CHIP bridge device can obtain multiple corresponding status data requests based on the mapping relationship between these attribute identifiers Attribute2, Attribute4, and Attribute6 and the characteristic values Characteristic Value2, Characteristic Value 4, and Characteristic Value6. The CHIP bridge device can then initiate these multiple status data requests to the service or feature of the target BLE device.
在一种应用场景中,为了使CHIP网络能够接入不同网络类型的设备,本申请实施例基于CHIP桥接(Bridge)技术,提供CHIP设备到BLE设备的桥接映射方案。In an application scenario, in order to enable the CHIP network to access devices of different network types, the embodiments of the present application provide a bridge mapping solution from a CHIP device to a BLE device based on the CHIP bridge (Bridge) technology.
示例性地,CHIP设备到BLE设备的桥接方式如图5所示。BLE设备例如BLE设备1和BLE设备2通过BLE网络连接桥接(Bridge)设备。桥接设备可以用于承担安全通信链路到每个BLE设备,还可以充当BLE设备的解释程序,将其解释成CHIP设备呈现给CHIP APP。厂商APP可以通过厂商定义接口连接CHIP网络。CHIP设备例如CHIP设备1和CHIP设备2接入CHIP网络。CHIP APP也可以接入CHIP网络,例如CHIP APP1、CHIP APP2、CHIP APP3可以接入CHIP网络。每个CHIP APP都可以使用CHIP提供的接口通过CHIP桥接设备看到并且控制所有的BLE设备。Exemplarily, the bridge mode from the CHIP device to the BLE device is shown in FIG. 5 . BLE devices such as BLE device 1 and BLE device 2 are connected to bridge devices through a BLE network. The bridge device can be used to undertake the secure communication link to each BLE device, and can also act as an interpreter for the BLE device, interpreting it as a CHIP device and presenting it to the CHIP APP. The manufacturer APP can connect to the CHIP network through the interface defined by the manufacturer. CHIP devices such as CHIP device 1 and CHIP device 2 access the CHIP network. CHIP APP can also be connected to CHIP network, for example CHIP APP1, CHIP APP2, CHIP APP3 can be connected to CHIP network. Each CHIP APP can use the interface provided by CHIP to see and control all BLE devices through the CHIP bridge device.
方案示例1:Scenario Example 1:
如图6所示,一种示例性的CHIP设备与BLE设备的映射关系(也可以称为对应关系)可以包括:As shown in FIG. 6 , an exemplary mapping relationship between CHIP devices and BLE devices (also referred to as a corresponding relationship) may include:
BLE物理设备地址与CHIP桥接(Bridge)设备的端点(ep)保持一对一的关系;The BLE physical device address maintains a one-to-one relationship with the endpoint (ep) of the CHIP bridge (Bridge) device;
BLE中的服务(Service)与CHIP桥接设备中的簇(Cluster)保持一对一的关系;The service (Service) in BLE maintains a one-to-one relationship with the cluster (Cluster) in the CHIP bridge device;
BLE中的服务(Service)中的特征(Characteristic)与CHIP桥接设备中端点(ep)中的属性(Attribute)保持一对一的关系;The characteristic (Characteristic) in the service (Service) in BLE maintains a one-to-one relationship with the attribute (Attribute) in the endpoint (ep) in the CHIP bridge device;
如图7所示,为CHIP到BLE的映射方案的示例1的流程图。该流程可以包括:As shown in FIG. 7 , it is a flowchart of Example 1 of the CHIP to BLE mapping scheme. The process can include:
S11、BLE主设备(BLE Master)和BLE从设备(BLE Slave)已经建立安全连接;其中,BLE主设备可以为CHIP桥接设备中的虚拟客户端,用于与BLE物理设备建立连接,BLE从设备为BLE物理设备。S11, BLE Master (BLE Master) and BLE Slave (BLE Slave) have established a secure connection; among them, the BLE master device can be a virtual client in the CHIP bridge device to establish a connection with the BLE physical device, and the BLE slave device Physical device for BLE.
S12、BLE主设备向CHIP桥接功能模块发送建立映射关系的请求。S12. The BLE master device sends a request for establishing a mapping relationship to the CHIP bridging function module.
S13、CHIP桥接功能模块建立映射关系表:使用CHIP Bridge的ep标识与BLE物理设备的地址建立映射关系,建立CHIP设备的簇标识(Cluster ID)到BLE的服务处理器标识(Service Handler ID)的映射关系,建立CHIP的属性标识(Attribute ID)到BLE的特征处理器标识(Characteristic Handler ID)的映射关系。S13. The CHIP bridge function module establishes a mapping relationship table: use the ep identifier of the CHIP Bridge to establish a mapping relationship with the address of the BLE physical device, and establish a relationship between the cluster ID (Cluster ID) of the CHIP device and the service handler ID (Service Handler ID) of the BLE. Mapping relationship, establish the mapping relationship between the attribute ID (Attribute ID) of CHIP and the characteristic handler ID (Characteristic Handler ID) of BLE.
S14、CHIP桥接功能模块发起根据映射关系创建CHIP设备请求。S14. The CHIP bridging function module initiates a request for creating a CHIP device according to the mapping relationship.
S15、创建BLE设备对应的CHIP设备;该CHIP设备可以为CHIP桥接设备中的虚拟设备。S15. Create a CHIP device corresponding to the BLE device; the CHIP device may be a virtual device in the CHIP bridge device.
S16、CHIP控制设备(controller)与CHIP设备建立安全通信连接;S16, the CHIP control device (controller) establishes a secure communication connection with the CHIP device;
S17、CHIP控制设备向CHIP设备发送读(READ)请求;该请求中可以包括ep标识、Cluster ID、Attribute ID中的一种或多种。例如,如果该读请求中包括Cluster ID,该读请求是读簇请求。如果该读请求中包括Cluster ID和Attribute ID,该读请求是读属性请求。读请求仅是一种示例,还可以是其他类型的请求例如写请求、控制请求等。S17. The CHIP control device sends a read (READ) request to the CHIP device; the request may include one or more of ep identifier, Cluster ID, and Attribute ID. For example, if the read request includes the Cluster ID, the read request is a read cluster request. If the read request includes Cluster ID and Attribute ID, the read request is a read attribute request. The read request is only an example, and other types of requests such as write requests, control requests, and the like are also possible.
S18、CHIP设备向CHIP桥接功能模块发送解析映射关系的请求;并且,可以将收到的ep标识、Cluster ID、Attribute ID中的一种或多种发送到CHIP桥接功能模块。S18. The CHIP device sends a request for parsing the mapping relationship to the CHIP bridging function module; and can send one or more of the received ep identifier, Cluster ID, and Attribute ID to the CHIP bridging function module.
S19、CHIP桥接功能模块根据收到的ep标识、Cluster ID、Attribute ID中的一种或多种查找对应的BLE设备的信息。其中,ep标识的值可以为16位。例如,如果收到ep标识、Cluster ID,根据ep标识在映射关系中找到对应BLE地址,根据Attribute ID在映射关系中找到Characteristic Handler ID。如果收到ep标识、clusterID和attribute信息,根据ep标识在映射关系中找到对应BLE地址,根据Cluster ID在映射关系找到对应的Service Handler ID,根据Attribute ID在映射关系找到Characteristic Handler ID。S19, the CHIP bridging function module searches for the information of the corresponding BLE device according to one or more of the received ep identifier, Cluster ID, and Attribute ID. The value of the ep identifier can be 16 bits. For example, if you receive the ep identifier and the Cluster ID, find the corresponding BLE address in the mapping relationship based on the ep identifier, and find the Characteristic Handler ID in the mapping relationship based on the Attribute ID. If you receive the ep ID, clusterID and attribute information, find the corresponding BLE address in the mapping relationship according to the ep ID, find the corresponding Service Handler ID in the mapping relationship according to the Cluster ID, and find the Characteristic Handler ID in the mapping relationship according to the Attribute ID.
S20、解析出映射关系后,CHIP桥接功能模块可以通过BLE主设备向Service/characteristic发起访问。例如,如果收到的读请求中包括attributeID,可以向service/characteristic发起读与attributeID对应的数据的请求。再如,如果收到的读请求中无attribute ID,可以根据读请求中Cluster ID对应的所有AttributeID与Characteristic Handler映射关系获取一组数据请求。S20. After parsing the mapping relationship, the CHIP bridge function module can initiate access to Service/characteristic through the BLE master device. For example, if the received read request includes attributeID, a request to read data corresponding to attributeID can be initiated to service/characteristic. For another example, if there is no attribute ID in the received read request, a set of data requests can be obtained according to the mapping relationship between all AttributeIDs corresponding to the Cluster ID in the read request and the Characteristic Handler.
S21、桥接设备中BLE主设备向BLE从设备的Service发送读数据的请求。S21. The BLE master device in the bridge device sends a request to read data to the Service of the BLE slave device.
S22、BLE从设备向BLE主设备返回读请求对应的Service数据。S22. The BLE slave device returns the Service data corresponding to the read request to the BLE master device.
S23、BLE主设备向CHIP桥接功能模块返回读请求对应Service数据,并且CHIP桥接功能模块将Service数据转换成CHIP设备的属性数据;例如,CHIP桥接功能模块根据映射关系填充Service Handler对应cluster的attribute的值。S23. The BLE master device returns the service data corresponding to the read request to the CHIP bridging function module, and the CHIP bridging function module converts the Service data into attribute data of the CHIP device; for example, the CHIP bridging function module fills in the attribute data of the Service Handler corresponding to the cluster according to the mapping relationship value.
S24、CHIP桥接功能模块向CHIP设备返回该属性数据。S24. The CHIP bridging function module returns the attribute data to the CHIP device.
S25、CHIP设备向CHIP控制设备返回该属性数据。S25, the CHIP device returns the attribute data to the CHIP control device.
方案示例2:Scenario Example 2:
如图8所示,一种示例性的CHIP设备与BLE设备的映射关系可以包括:As shown in Figure 8, an exemplary mapping relationship between CHIP devices and BLE devices may include:
CHIP到BLE映射关系2说明:CHIP to BLE mapping relationship 2 description:
BLE物理设备地址与CHIP桥接(Bridge)设备的group ep保持一对一的关系;The BLE physical device address maintains a one-to-one relationship with the group ep of the CHIP bridge device;
BLE中的服务(Service)与CHIP桥接(Bridge)设备中的ep保持一对一的关系;The service in BLE maintains a one-to-one relationship with the ep in the CHIP bridge device;
BLE中的服务(Service)中的特征(Characteristic)与CHIP桥接设备中ep中的簇(Cluster)保持映射关系;The characteristic (Characteristic) in the service (Service) in BLE and the cluster (Cluster) in the ep in the CHIP bridge device maintain a mapping relationship;
BLE中特征(Characteristic)的特性值(Property Value)、即特征值与CHIP桥接设备中簇(Cluster)中的属性(Attribute)保持映射关系。The characteristic value (Property Value) of the characteristic (Characteristic) in BLE, that is, the characteristic value, maintains a mapping relationship with the attribute (Attribute) in the cluster (Cluster) in the CHIP bridge device.
如图9所示,为CHIP到BLE的映射方案的示例2的流程图。该流程可以包括:As shown in FIG. 9 , it is a flowchart of Example 2 of the CHIP to BLE mapping scheme. The process can include:
该方案示例2与方案示例1的主要区别包括:映射方式不同。The main differences between the scheme example 2 and the scheme example 1 include: different mapping methods.
方案示例2的S31、S32、S34、S35、S36与方案示例1与S11、S12、S14、S15、S16相同。此外,该方案示例2与方案示例1的主要区别还包括:S31 , S32 , S34 , S35 , and S36 of Scheme Example 2 are the same as S11 , S12 , S14 , S15 , and S16 of Scheme Example 1. In addition, the main differences between this scheme example 2 and scheme example 1 also include:
在S33中,CHIP桥接功能模块建立映射关系表,具体可以包括:使用CHIP Bridge设备中的一个组端点标识group ep ID与BLE物理设备地址建立映射关系,建立CHIP Bridge设备的ep标识与BLE的Service Handler ID的映射关系,建立CHIP Bridge设备的ep下Cluster ID与BLE的Service下Characteristic Handler ID的映射关系,建立CHIP Bridge设备的Cluster下Attribute ID与Property Value的映射关系。例如,CHIP Bridge设备的组ep:0x0010对应实际的BLE物理设备的设备地址,该BLE物理设备下存在2个Service分别与CHIP Bridge设备的0x0011和0x0012对应,而两个Service下的Characteristic与CHIP Bridge设备的Cluster对应,Characteristic下的Property Value与CHIP Bridge设备Cluster下的Attribute对应。In S33, the CHIP bridge function module establishes a mapping relationship table, which may specifically include: using a group endpoint identifier group ep ID in the CHIP Bridge device to establish a mapping relationship with the BLE physical device address, and establishing the ep identifier of the CHIP Bridge device and the BLE Service Handler ID mapping relationship, establish the mapping relationship between the Cluster ID under the ep of the CHIP Bridge device and the Characteristic Handler ID under the BLE Service, and establish the mapping relationship between the Attribute ID and the Property Value under the Cluster device of the CHIP Bridge device. For example, the group ep: 0x0010 of the CHIP Bridge device corresponds to the device address of the actual BLE physical device. There are two Services under the BLE physical device, which correspond to 0x0011 and 0x0012 of the CHIP Bridge device, respectively, and the Characteristic and CHIP Bridge under the two Services. The Cluster of the device corresponds, and the Property Value under the Characteristic corresponds to the Attribute under the Cluster of the CHIP Bridge device.
在S37中,CHIP控制设备可以向CHIP桥接设备的组ep:0x0010下发读(READ)请求。In S37, the CHIP control device may issue a read (READ) request to the group ep: 0x0010 of the CHIP bridge device.
在S38中,CHIP设备向CHIP桥接功能模块发送解析映射关系的请求;并且,可以将收到的组ep标识种发送到CHIP桥接功能模块。In S38, the CHIP device sends a request for parsing the mapping relationship to the CHIP bridging function module; and can send the received group ep identifier to the CHIP bridging function module.
在S39中,CHIP桥接功能模块可以根据请求的组ep标识在映射关系表中查找到对应的BLE物理设备间的关系。In S39, the CHIP bridging function module may find the relationship between the corresponding BLE physical devices in the mapping relationship table according to the requested group ep identifier.
在S40中,CHIP桥接设备的CHIP桥接功能模块向虚拟的CHIP设备返回组ep列表。In S40, the CHIP bridging function module of the CHIP bridging device returns the group ep list to the virtual CHIP device.
和S41中,CHIP设备可以给CHIP控制设备返回ep列表,ep列表中包括的内容可以为与BLE的Service对应的ep标识信息。例如ep1对应的Service Handler ID,ep2对应的Service Handler ID。In and S41, the CHIP device may return the ep list to the CHIP control device, and the content included in the ep list may be the ep identification information corresponding to the BLE Service. For example, the Service Handler ID corresponding to ep1, and the Service Handler ID corresponding to ep2.
在S42中,CHIP控制设备向CHIP设备的ep/cluster或向ep/cluster/attribute发送READ请求。READ请求中可以包括组ep标识、ep标识、Cluster ID、Attribute ID中的一种或多 种。In S42, the CHIP control device sends a READ request to ep/cluster of the CHIP device or to ep/cluster/attribute. The READ request may include one or more of the group ep ID, ep ID, Cluster ID, and Attribute ID.
在S43中,CHIP设备向CHIP桥接功能模块发送解析映射关系的请求;并且,可以将收到的组ep标识、ep标识、Cluster ID、Attribute ID中的一种或多种发送到CHIP桥接功能模块。In S43, the CHIP device sends a request for parsing the mapping relationship to the CHIP bridging function module; and can send one or more of the received group ep identifier, ep identifier, Cluster ID, and Attribute ID to the CHIP bridging function module .
在S44中,CHIP桥接功能模块根据请求的CHIP设备的信息查找BLE设备的信息。例如,根据ep标识从映射关系中找到对应BLE的Service Handler ID,根据Cluster ID找到对应的Characteristic Handler ID,根据Attribute ID找到对应Property的Value。In S44, the CHIP bridge function module searches for the information of the BLE device according to the requested information of the CHIP device. For example, find the Service Handler ID corresponding to BLE from the mapping relationship according to the ep identifier, find the corresponding Characteristic Handler ID according to the Cluster ID, and find the Value of the corresponding Property according to the Attribute ID.
在S45中,CHIP桥接功能模块通过BLE主设备发起读数据请求。例如,如果收到的读请求中包括attribute ID,可以向service/characteristic/value发起读与attributeID对应的数据请求。再如,如果收到的读请求中无attribute ID,可以根据读请求中Cluster ID对应的所有与CharacteristicValue的映射关系获取一组状态数据请求。In S45, the CHIP bridge function module initiates a read data request through the BLE master device. For example, if the received read request includes attribute ID, you can initiate a read data request corresponding to attributeID to service/characteristic/value. For another example, if there is no attribute ID in the received read request, a set of status data requests can be obtained according to all the mapping relationships between the Cluster ID in the read request and the CharacteristicValue.
在S46中,向BLE从设备(BLE Slave)的service/characteristic发送读数据的请求。In S46, a request for reading data is sent to the service/characteristic of the BLE slave device (BLE Slave).
在S47中,BLE从设备向BLE主设备返回读请求对应的Service数据。In S47, the BLE slave device returns the Service data corresponding to the read request to the BLE master device.
在S48中,BLE主设备向CHIP桥接功能模块返回读请求对应Service数据,并且CHIP桥接功能模块将Service数据(例如Service的特征值)转换成CHIP设备的属性数据;例如,CHIP桥接功能模块根据映射关系填充Characteristic Handler对应cluster的attribute的值。In S48, the BLE master device returns the service data corresponding to the read request to the CHIP bridging function module, and the CHIP bridging function module converts the Service data (for example, the characteristic value of the Service) into the attribute data of the CHIP device; The relationship fills the value of the attribute of the Characteristic Handler corresponding to the cluster.
在S49中,CHIP桥接功能模块向CHIP设备返回该属性数据。In S49, the CHIP bridge function module returns the attribute data to the CHIP device.
在S50中,CHIP设备向CHIP控制设备返回该属性数据。In S50, the CHIP device returns the attribute data to the CHIP control device.
示例2可以适用于一个characteristic下存在多个属性value的情况,如果是characteristic只有单个属性value可以采用示例1。Example 2 can be applied to the situation where there are multiple attribute values under one characteristic. If the characteristic has only a single attribute value, example 1 can be used.
本申请实施例,可以使CHIP网络能够接入BLE网络类型的设备,丰富了CHIP生态接入的设备类型,CHIP设备可以与不同类型的设备例如BLE设备进行互操作。The embodiment of the present application can enable the CHIP network to access devices of the BLE network type, which enriches the device types for CHIP ecological access, and the CHIP devices can interoperate with different types of devices, such as BLE devices.
图10是根据本申请一实施例的CHIP桥接设备400的示意性框图。该CHIP桥接设备400可以包括:FIG. 10 is a schematic block diagram of a CHIP bridging device 400 according to an embodiment of the present application. The CHIP bridging device 400 may include:
第一处理单元410,用于建立CHIP设备与蓝牙低功耗BLE设备的映射关系。The first processing unit 410 is configured to establish a mapping relationship between the CHIP device and the Bluetooth low energy BLE device.
可选地,在本申请实施例中,该第一处理单元410还用于基于CHIP设备与BLE设备的映射关系创建该CHIP设备。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to create the CHIP device based on the mapping relationship between the CHIP device and the BLE device.
可选地,在本申请实施例中,该第一处理单元410还用于通过该CHIP设备与CHIP控制设备建立安全连接。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to establish a secure connection with the CHIP control device through the CHIP device.
可选地,在本申请实施例中,该第一处理单元410还用于接收该CHIP控制设备的第一请求,该第一请求中包括目标CHIP设备的信息;在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息;Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to receive a first request from the CHIP control device, where the first request includes information about the target CHIP device; between the CHIP device and the BLE device Find the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship;
如图11所示,该CHIP桥接设备400还包括:第二处理单元420,用于基于该目标BLE设备的信息,向该目标BLE设备发送与该第一请求对应的第二请求。As shown in FIG. 11 , the CHIP bridge device 400 further includes: a second processing unit 420, configured to send a second request corresponding to the first request to the target BLE device based on the information of the target BLE device.
可选地,在本申请实施例中,该第二处理单元420还用于接收来自该目标BLE设备的服务数据;Optionally, in this embodiment of the present application, the second processing unit 420 is further configured to receive service data from the target BLE device;
该第一处理单元420还用于基于该目标BLE设备的服务数据获取该目标CHIP设备的属性数据;向该CHIP控制设备返回该目标CHIP设备的属性数据。The first processing unit 420 is further configured to acquire attribute data of the target CHIP device based on the service data of the target BLE device; and return the attribute data of the target CHIP device to the CHIP control device.
可选地,在本申请实施例中,参见上述方法实施例的方式一,该CHIP设备包括端点,该端点包括簇,该簇包括属性,该CHIP设备与BLE设备的映射关系包括以下至少之一:Optionally, in this embodiment of the present application, referring to the first mode of the above method embodiment, the CHIP device includes an endpoint, the endpoint includes a cluster, the cluster includes an attribute, and the mapping relationship between the CHIP device and the BLE device includes at least one of the following: :
CHIP设备的端点标识与BLE物理设备地址的映射关系;The mapping relationship between the endpoint identifier of the CHIP device and the BLE physical device address;
CHIP设备的端点中的簇标识与BLE的服务处理器标识的映射关系;The mapping relationship between the cluster ID in the endpoint of the CHIP device and the service processor ID of BLE;
CHIP设备的簇Cluster中的属性标识与BLE的服务中的特征处理器标识的映射关系。The mapping relationship between the attribute identifier in the cluster of the CHIP device and the feature processor identifier in the BLE service.
可选地,在本申请实施例中,该第一处理单元410还用于在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的端点标识对应的目标BLE设备的地址;在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的簇标识对应的服务处理器标识。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to search for the address of the target BLE device corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device; The service processor identifier corresponding to the cluster identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
可选地,在本申请实施例中,该第一处理单元410还用于在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的属性标识对应的特征处理器标识。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to search for a feature processor identifier corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
可选地,在本申请实施例中,参见上述方法实施例的方式二,该CHIP设备包括组端点和端点,该端点包括簇,该簇包括属性,该CHIP设备与BLE设备的映射关系包括以下至少之一:Optionally, in this embodiment of the present application, referring to the second mode of the above method embodiment, the CHIP device includes a group endpoint and an endpoint, the endpoint includes a cluster, and the cluster includes an attribute, and the mapping relationship between the CHIP device and the BLE device includes the following: at least one of:
CHIP设备的组端点标识与BLE物理设备地址的映射关系;The mapping relationship between the group endpoint identifier of the CHIP device and the BLE physical device address;
CHIP设备的端点标识与BLE的服务处理器标识的映射关系;The mapping relationship between the endpoint identifier of the CHIP device and the service processor identifier of the BLE;
CHIP设备的端点中的簇标识与BLE的服务中的特征处理器标识的映射关系;The mapping relationship between the cluster ID in the endpoint of the CHIP device and the feature processor ID in the BLE service;
CHIP设备的簇中的属性标识与BLE的特征值的映射关系。The mapping relationship between the attribute identifier in the cluster of the CHIP device and the characteristic value of BLE.
可选地,在本申请实施例中,该第一处理单元410还用于在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的组端点标识对应的目标BLE设备的地址。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to search for the address of the target BLE device corresponding to the group endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
可选地,在本申请实施例中,该第一处理单元410还用于向CHIP控制设备返回端点列表,该端点列表中包括与BLE的服务处理器标识对应的端点标识。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to return an endpoint list to the CHIP control device, where the endpoint list includes an endpoint identifier corresponding to the service processor identifier of the BLE.
可选地,在本申请实施例中,该第一处理单元410还用于在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的端点标识对应的服务处理器标识;在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的簇标识对应的特征处理器标识。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to search for the service processor identifier corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device; in this The feature processor identifier corresponding to the cluster identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
可选地,在本申请实施例中,该第一处理单元410还用于在该CHIP设备与BLE设备的映射关系中查找与该第一请求中的属性标识对应的特征值。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to search for a feature value corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
可选地,在本申请实施例中,该第一处理单元410还用于在该第一请求中包括属性标识的情况下,向BLE设备的服务或特征发起与该属性标识对应的数据请求。Optionally, in the embodiment of the present application, the first processing unit 410 is further configured to initiate a data request corresponding to the attribute identifier to the service or feature of the BLE device in the case that the attribute identifier is included in the first request.
可选地,在本申请实施例中,该第一处理单元410还用于在该第一请求中不包括属性标识的情况下,基于第一请求中的簇标识对应的各属性标识获取一组数据请求。Optionally, in this embodiment of the present application, the first processing unit 410 is further configured to obtain a group of attribute identifiers based on the attribute identifiers corresponding to the cluster identifiers in the first request when the first request does not include an attribute identifier. data request.
本申请实施例的CHIP桥接设备400能够实现前述的方法实施例中的CHIP桥接设备的对应功能。该CHIP桥接设备400中的各个模块(子模块、单元或组件等)对应的流程、功能、实现方式以及有益效果,可参见上述方法实施例中的对应描述,在此不再赘述。需要说明,关于申请实施例的CHIP桥接设备400中的各个模块(子模块、单元或组件等)所描述的功能,可以由不同的模块(子模块、单元或组件等)实现,也可以由同一个模块 (子模块、单元或组件等)实现。The CHIP bridging device 400 in this embodiment of the present application can implement the corresponding functions of the CHIP bridging device in the foregoing method embodiments. For the corresponding processes, functions, implementations, and beneficial effects of each module (submodule, unit, or component, etc.) in the CHIP bridging device 400, reference may be made to the corresponding descriptions in the above method embodiments, which will not be repeated here. It should be noted that the functions described by each module (submodule, unit, or component, etc.) in the CHIP bridging device 400 of the application embodiment may be implemented by different modules (submodule, unit, or component, etc.), or by the same A module (submodule, unit or component, etc.) implementation.
图12是根据本申请一实施例的CHIP桥接设备500的示意性框图。该CHIP桥接设备500可以上述实施例的CHIP桥接设备的各模块(子模块、单元或组件等)。可选地,在本申请实施例中,该CHIP桥接设备500还包括:虚拟客户端510和CHIP桥接功能模块520。其中,虚拟客户端510可以实现上述第二处理单元的功能。FIG. 12 is a schematic block diagram of a CHIP bridging device 500 according to an embodiment of the present application. The CHIP bridging device 500 may be each module (sub-module, unit or component, etc.) of the CHIP bridging device in the above-mentioned embodiments. Optionally, in this embodiment of the present application, the CHIP bridging device 500 further includes: a virtual client 510 and a CHIP bridging function module 520 . The virtual client 510 may implement the functions of the above-mentioned second processing unit.
虚拟客户端510用于与BLE设备之间建立安全连接;向该CHIP桥接功能模块520发送映射关系建立请求;The virtual client 510 is used for establishing a secure connection with the BLE device; sending a mapping relationship establishment request to the CHIP bridging function module 520;
CHIP桥接功能模块520用于接收该映射关系建立请求。The CHIP bridging function module 520 is configured to receive the mapping relationship establishment request.
可选地,在本申请实施例中,该CHIP桥接功能模块520还用于建立CHIP设备与BLE设备的映射关系。Optionally, in this embodiment of the present application, the CHIP bridging function module 520 is further configured to establish a mapping relationship between the CHIP device and the BLE device.
可选地,在本申请实施例中,该CHIP桥接功能模块520还用于基于该CHIP设备与BLE设备的映射关系创建虚拟的CHIP设备530;Optionally, in this embodiment of the present application, the CHIP bridging function module 520 is further configured to create a virtual CHIP device 530 based on the mapping relationship between the CHIP device and the BLE device;
该CHIP桥接设备500还包括该虚拟的CHIP设备530。其中,CHIP桥接功能模块520和虚拟的CHIP设备530可以实现第一处理单元的功能。The CHIP bridge device 500 also includes the virtual CHIP device 530 . The CHIP bridging function module 520 and the virtual CHIP device 530 may implement the function of the first processing unit.
示例性地,CHIP桥接功能模块520接收到虚拟客户端510的映射关系建立请求后,建立CHIP设备与BLE设备的映射关系,并且,基于该映射关系可以创建虚拟的CHIP设备530。然后,虚拟的CHIP设备530与CHIP控制设备建立安全连接。虚拟的CHIP设备530从CHIP控制设备接收第一请求,解析该第一请求后,发送给CHIP桥接功能模块520。CHIP桥接功能模块520基于该第一请求,在该CHIP设备与BLE设备的映射关系中查找与该目标CHIP设备的信息对应的目标BLE设备的信息。CHIP桥接功能模块520在查找到目标BLE设备的信息后,可以向虚拟客户端数据请求,由虚拟客户端向BLE设备的服务或特征发起第二请求。虚拟客户端可以从BLE设备收到的服务数据转发至CHIP桥接功能模块520,由CHIP桥接功能模块520获取CHIP设备的属性数据后,通过虚拟的CHIP设备发送给CHIP控制设备。Exemplarily, after receiving the mapping relationship establishment request from the virtual client 510, the CHIP bridging function module 520 establishes the mapping relationship between the CHIP device and the BLE device, and can create a virtual CHIP device 530 based on the mapping relationship. Then, the virtual CHIP device 530 establishes a secure connection with the CHIP control device. The virtual CHIP device 530 receives the first request from the CHIP control device, parses the first request, and sends it to the CHIP bridging function module 520 . Based on the first request, the CHIP bridging function module 520 searches for the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device. After finding the information of the target BLE device, the CHIP bridging function module 520 may request the virtual client for data, and the virtual client initiates a second request to the service or feature of the BLE device. The virtual client can forward the service data received from the BLE device to the CHIP bridging function module 520. After the CHIP bridging function module 520 obtains the attribute data of the CHIP device, it sends it to the CHIP control device through the virtual CHIP device.
本申请实施例的CHIP桥接设备500能够实现前述的方法实施例中的CHIP桥接设备的对应功能。该CHIP桥接设备500中的各个模块(子模块、单元或组件等)对应的流程、功能、实现方式以及有益效果,可参见上述方法实施例中的对应描述,在此不再赘述。需要说明,关于申请实施例的CHIP桥接设备500中的各个模块(子模块、单元或组件等)所描述的功能,可以由不同的模块(子模块、单元或组件等)实现,也可以由同一个模块(子模块、单元或组件等)实现。The CHIP bridging device 500 in this embodiment of the present application can implement the corresponding functions of the CHIP bridging device in the foregoing method embodiments. For the corresponding processes, functions, implementations, and beneficial effects of each module (submodule, unit, or component, etc.) in the CHIP bridging device 500, reference may be made to the corresponding descriptions in the above method embodiments, which will not be repeated here. It should be noted that the functions described by each module (submodule, unit, or component, etc.) in the CHIP bridging device 500 of the application embodiment may be implemented by different modules (submodule, unit, or component, etc.), or by the same module. A module (submodule, unit or component, etc.) implementation.
图13是根据本申请实施例的通信设备600示意性结构图。该通信设备600包括处理器610,处理器610可以从存储器中调用并运行计算机程序,以使通信设备600实现本申请实施例中的方法。FIG. 13 is a schematic structural diagram of a communication device 600 according to an embodiment of the present application. The communication device 600 includes a processor 610, and the processor 610 can call and run a computer program from a memory, so that the communication device 600 implements the methods in the embodiments of the present application.
可选地,通信设备600还可以包括存储器620。其中,处理器610可以从存储器620中调用并运行计算机程序,以使通信设备600实现本申请实施例中的方法。Optionally, the communication device 600 may also include a memory 620 . The processor 610 may call and run a computer program from the memory 620, so that the communication device 600 implements the methods in the embodiments of the present application.
其中,存储器620可以是独立于处理器610的一个单独的器件,也可以集成在处理器610中。The memory 620 may be a separate device independent of the processor 610 , or may be integrated in the processor 610 .
可选地,通信设备600还可以包括收发器630,处理器610可以控制该收发器630与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices .
其中,收发器630可以包括发射机和接收机。收发器630还可以进一步包括天线,天线的数量可以为一个或多个。Among them, the transceiver 630 may include a transmitter and a receiver. The transceiver 630 may further include antennas, and the number of the antennas may be one or more.
可选地,该通信设备600可为本申请实施例的CHIP桥接设备,并且该通信设备600可以实现本申请实施例的各个方法中由CHIP桥接设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 600 may be the CHIP bridging device in this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the CHIP bridging device in each method in the embodiment of the present application, which is not repeated here for brevity. Repeat.
图14是根据本申请实施例的芯片700的示意性结构图。该芯片700包括处理器710,处理器710可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 14 is a schematic structural diagram of a chip 700 according to an embodiment of the present application. The chip 700 includes a processor 710, and the processor 710 can call and run a computer program from a memory, so as to implement the method in the embodiments of the present application.
可选地,芯片700还可以包括存储器720。其中,处理器710可以从存储器720中调用并运行计算机程序,以实现本申请实施例中由CHIP桥接设备执行的方法。Optionally, the chip 700 may further include a memory 720 . The processor 710 may call and run a computer program from the memory 720 to implement the method executed by the CHIP bridge device in the embodiment of the present application.
其中,存储器720可以是独立于处理器710的一个单独的器件,也可以集成在处理器710中。The memory 720 may be a separate device independent of the processor 710 , or may be integrated in the processor 710 .
可选地,该芯片700还可以包括输入接口730。其中,处理器710可以控制该输入接口730与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 700 may further include an input interface 730 . The processor 710 may control the input interface 730 to communicate with other devices or chips, and specifically, may acquire information or data sent by other devices or chips.
可选地,该芯片700还可以包括输出接口740。其中,处理器710可以控制该输出接口740与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。Optionally, the chip 700 may further include an output interface 740 . The processor 710 may control the output interface 740 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
可选地,该芯片可应用于本申请实施例中的CHIP桥接设备,并且该芯片可以实现本申请实施例的各个方法中由CHIP桥接设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the CHIP bridging device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the CHIP bridging device in each method of the embodiments of the present application, which is not repeated here for brevity.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-a-chip, or the like.
上述提及的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、现成可编程门阵列(field programmable gate array,FPGA)、专用集成电路(application specific integrated circuit,ASIC)或者其他可编程逻辑器件、晶体管逻辑器件、分立硬件组件等。其中,上述提到的通用处理器可以是微处理器或者也可以是任何常规的处理器等。The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an off-the-shelf programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC) or Other programmable logic devices, transistor logic devices, discrete hardware components, etc. The general-purpose processor mentioned above may be a microprocessor or any conventional processor or the like.
上述提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。The memory mentioned above may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM).
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM) 等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the above memory is an example but not a limitative description, for example, the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
图15是根据本申请实施例的通信系统800的示意性框图。该通信系统800包括CHIP桥接设备810。该CHIP桥接设备810用于建立CHIP设备与BLE设备的映射关系。FIG. 15 is a schematic block diagram of a communication system 800 according to an embodiment of the present application. The communication system 800 includes a CHIP bridge device 810 . The CHIP bridge device 810 is used to establish a mapping relationship between the CHIP device and the BLE device.
可选地,该系统还可以包括CHIP控制设备820和BLE设备830。Optionally, the system may further include a CHIP control device 820 and a BLE device 830 .
其中,该CHIP桥接设备810可以用于实现上述方法中由CHIP桥接设备实现的相应的功能,该CHIP控制设备820可以用于实现上述方法中由CHIP控制设备实现的相应的功能,以及该BLE设备830可以用于实现上述方法中由BLE物理设备实现的相应的功能。为了简洁,在此不再赘述。The CHIP bridging device 810 can be used to implement the corresponding functions implemented by the CHIP bridging device in the above method, the CHIP control device 820 can be used to implement the corresponding functions implemented by the CHIP control device in the above method, and the BLE device 830 may be used to implement the corresponding functions implemented by the BLE physical device in the above method. For brevity, details are not repeated here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例中的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions may be stored on or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted over a wire from a website site, computer, server or data center (eg coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) means to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)), and the like.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
以上所述仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以该权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art who is familiar with the technical scope disclosed in the present application can easily think of changes or substitutions. Covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (41)

  1. 一种设备桥接映射的方法,应用于通过互联网协议连接家庭CHIP桥接设备,所述方法包括:A method for device bridging mapping, which is applied to connecting home CHIP bridging devices through Internet Protocol, the method includes:
    建立CHIP设备与蓝牙低功耗BLE设备的映射关系。Establish the mapping relationship between CHIP devices and Bluetooth low energy BLE devices.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:
    基于CHIP设备与BLE设备的映射关系创建所述CHIP设备。The CHIP device is created based on the mapping relationship between the CHIP device and the BLE device.
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    通过所述CHIP设备与CHIP控制设备建立安全连接。A secure connection is established with the CHIP control device through the CHIP device.
  4. 根据权利要求3所述的方法,其中,所述方法还包括:The method of claim 3, wherein the method further comprises:
    接收所述CHIP控制设备的第一请求,所述第一请求中包括目标CHIP设备的信息;receiving a first request from the CHIP control device, where the first request includes information about the target CHIP device;
    在所述CHIP设备与BLE设备的映射关系中查找与所述目标CHIP设备的信息对应的目标BLE设备的信息;Find the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device;
    基于所述目标BLE设备的信息,向所述目标BLE设备发送与所述第一请求对应的第二请求。Based on the information of the target BLE device, a second request corresponding to the first request is sent to the target BLE device.
  5. 根据权利要求4所述的方法,其中,所述方法还包括:The method of claim 4, wherein the method further comprises:
    接收来自所述目标BLE设备的服务数据;receiving service data from the target BLE device;
    基于所述目标BLE设备的服务数据获取所述目标CHIP设备的属性数据;Obtain attribute data of the target CHIP device based on the service data of the target BLE device;
    向所述CHIP控制设备返回所述目标CHIP设备的属性数据。Return the attribute data of the target CHIP device to the CHIP control device.
  6. 根据权利要求4或5所述的方法,其中,在所述CHIP设备与BLE设备的映射关系中查找与所述目标CHIP设备的信息对应的目标BLE设备的信息,包括:The method according to claim 4 or 5, wherein searching the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device comprises:
    在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的端点标识对应的目标BLE设备的地址;Find the address of the target BLE device corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device;
    在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的簇标识对应的服务处理器标识。Search for the service processor identifier corresponding to the cluster identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  7. 根据权利要求6所述的方法,其中,在所述CHIP设备与BLE设备的映射关系中查找与所述目标CHIP设备的信息对应的目标BLE设备的信息,还包括:The method according to claim 6, wherein searching the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, further comprising:
    在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的属性标识对应的特征处理器标识。Search for a feature processor identifier corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  8. 根据权利要求1至7中任一项所述的方法,其中,所述CHIP设备包括组端点和端点,所述端点包括簇,所述簇包括属性,所述CHIP设备与BLE设备的映射关系包括以下至少之一:The method according to any one of claims 1 to 7, wherein the CHIP device includes a group endpoint and an endpoint, the endpoint includes a cluster, the cluster includes an attribute, and the mapping relationship between the CHIP device and the BLE device includes At least one of the following:
    CHIP设备的组端点标识与BLE物理设备地址的映射关系;The mapping relationship between the group endpoint identifier of the CHIP device and the BLE physical device address;
    CHIP设备的端点标识与BLE的服务处理器标识的映射关系;The mapping relationship between the endpoint identifier of the CHIP device and the service processor identifier of the BLE;
    CHIP设备的端点中的簇标识与BLE的服务中的特征处理器标识的映射关系;The mapping relationship between the cluster ID in the endpoint of the CHIP device and the feature processor ID in the BLE service;
    CHIP设备的簇中的属性标识与BLE的特征值的映射关系。The mapping relationship between the attribute identifier in the cluster of the CHIP device and the characteristic value of BLE.
  9. 根据权利要求4或5所述的方法,其中,在所述CHIP设备与BLE设备的映射关系中查找与所述目标CHIP设备的信息对应的目标BLE设备的信息,包括:The method according to claim 4 or 5, wherein searching the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device comprises:
    在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的组端点标识对应的目标BLE设备的地址。The address of the target BLE device corresponding to the group endpoint identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
  10. 根据权利要求9所述的方法,其中,所述方法还包括:The method of claim 9, wherein the method further comprises:
    向CHIP控制设备返回端点列表,所述端点列表中包括与BLE的服务处理器标识对应的端点标识。Return the endpoint list to the CHIP control device, where the endpoint list includes endpoint identifiers corresponding to the service processor identifiers of BLE.
  11. 根据权利要求9或10所述的方法,其中,在所述CHIP设备与BLE设备的映射关系中查找与所述目标CHIP设备的信息对应的目标BLE设备的信息,还包括:The method according to claim 9 or 10, wherein searching the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, further comprising:
    在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的端点标识对应的服务处理器标识;Search for the service processor identifier corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device;
    在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的簇标识对应的特征处理器标识。The feature processor identifier corresponding to the cluster identifier in the first request is searched in the mapping relationship between the CHIP device and the BLE device.
  12. 根据权利要求11所述的方法,其中,在所述CHIP设备与BLE设备的映射关系中查找与所述目标CHIP设备的信息对应的目标BLE设备的信息,还包括:The method according to claim 11, wherein searching the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship between the CHIP device and the BLE device, further comprising:
    在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的属性标识对应的特征值。Search for the feature value corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  13. 根据权利要求1至5、9至12中任一项所述的方法,其中,所述CHIP设备包括端点,所述端点包括簇,所述簇包括属性,所述CHIP设备与BLE设备的映射关系包括以下至少之一:The method according to any one of claims 1 to 5 and 9 to 12, wherein the CHIP device includes an endpoint, the endpoint includes a cluster, the cluster includes an attribute, and a mapping relationship between the CHIP device and the BLE device Include at least one of the following:
    CHIP设备的端点标识与BLE物理设备地址的映射关系;The mapping relationship between the endpoint identifier of the CHIP device and the BLE physical device address;
    CHIP设备的端点中的簇标识与BLE的服务处理器标识的映射关系;The mapping relationship between the cluster ID in the endpoint of the CHIP device and the service processor ID of BLE;
    CHIP设备的簇Cluster中的属性标识与BLE的服务中的特征处理器标识的映射关系。The mapping relationship between the attribute identifier in the cluster of the CHIP device and the feature processor identifier in the BLE service.
  14. 根据权利要求7或12所述的方法,其中,所述方法还包括:The method of claim 7 or 12, wherein the method further comprises:
    在所述第一请求中包括属性标识的情况下,向BLE设备的服务或特征发起与所述属性标识对应的数据请求。In the case that the first request includes an attribute identifier, a data request corresponding to the attribute identifier is initiated to the service or feature of the BLE device.
  15. 根据权利要求6或11所述的方法,其中,所述方法还包括:The method of claim 6 or 11, wherein the method further comprises:
    在所述第一请求中不包括属性标识的情况下,基于第一请求中的簇标识对应的各属性标识获取一组数据请求。In the case that the attribute identifier is not included in the first request, a set of data requests is obtained based on each attribute identifier corresponding to the cluster identifier in the first request.
  16. 根据权利要求1至15中任一项所述的方法,其中,所述CHIP桥接设备包括虚拟客户端、CHIP桥接功能模块,所述方法还包括:The method according to any one of claims 1 to 15, wherein the CHIP bridging device comprises a virtual client and a CHIP bridging function module, and the method further comprises:
    所述虚拟客户端与BLE设备之间建立安全连接;establishing a secure connection between the virtual client and the BLE device;
    所述虚拟客户端向所述CHIP桥接功能模块发送映射关系建立请求。The virtual client sends a mapping relationship establishment request to the CHIP bridging function module.
  17. 根据权利要求16所述的方法,其中,建立CHIP设备与BLE设备的映射关系,包括:The method according to claim 16, wherein establishing the mapping relationship between the CHIP device and the BLE device comprises:
    在所述CHIP桥接功能模块中,建立CHIP设备与BLE设备的映射关系。In the CHIP bridging function module, a mapping relationship between the CHIP device and the BLE device is established.
  18. 根据权利要求16或17所述的方法,其中,基于CHIP设备与BLE设备的映射关系创建所述CHIP设备,包括:The method according to claim 16 or 17, wherein creating the CHIP device based on the mapping relationship between the CHIP device and the BLE device comprises:
    所述CHIP桥接功能模块基于所述CHIP设备与BLE设备的映射关系创建虚拟的所述 CHIP设备,所述CHIP桥接设备还包括所述CHIP设备。The CHIP bridging function module creates the virtual CHIP device based on the mapping relationship between the CHIP device and the BLE device, and the CHIP bridging device further includes the CHIP device.
  19. 一种CHIP桥接设备,包括:A CHIP bridging device including:
    第一处理单元,用于建立CHIP设备与蓝牙低功耗BLE设备的映射关系。The first processing unit is configured to establish a mapping relationship between the CHIP device and the Bluetooth low energy BLE device.
  20. 根据权利要求19所述的设备,其中,所述第一处理单元还用于基于CHIP设备与蓝牙低功耗BLE设备的映射关系创建所述CHIP设备。The device according to claim 19, wherein the first processing unit is further configured to create the CHIP device based on a mapping relationship between the CHIP device and the Bluetooth Low Energy BLE device.
  21. 根据权利要求19或20所述的设备,其中,所述第一处理单元还用于通过所述CHIP设备与CHIP控制设备建立安全连接。The device according to claim 19 or 20, wherein the first processing unit is further configured to establish a secure connection with a CHIP control device through the CHIP device.
  22. 根据权利要求21所述的设备,其中,所述第一处理单元,还用于接收所述CHIP控制设备的第一请求,所述第一请求中包括目标CHIP设备的信息;在所述CHIP设备与BLE设备的映射关系中查找与所述目标CHIP设备的信息对应的目标BLE设备的信息;The device according to claim 21, wherein the first processing unit is further configured to receive a first request from the CHIP control device, where the first request includes information of a target CHIP device; Find the information of the target BLE device corresponding to the information of the target CHIP device in the mapping relationship with the BLE device;
    所述设备还包括:第二处理单元,用于基于所述目标BLE设备的信息,向所述目标BLE设备发送与所述第一请求对应的第二请求。The device further includes: a second processing unit configured to send a second request corresponding to the first request to the target BLE device based on the information of the target BLE device.
  23. 根据权利要求22所述的设备,其中,The apparatus of claim 22, wherein,
    所述第二处理单元还用于接收来自所述目标BLE设备的服务数据;The second processing unit is further configured to receive service data from the target BLE device;
    所述第一处理单元还用于基于所述目标BLE设备的服务数据获取所述目标CHIP设备的属性数据;向所述CHIP控制设备返回所述目标CHIP设备的属性数据。The first processing unit is further configured to acquire attribute data of the target CHIP device based on the service data of the target BLE device; and return the attribute data of the target CHIP device to the CHIP control device.
  24. 根据权利要求22或23所述的设备,其中,所述第一处理单元还用于在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的端点标识对应的目标BLE设备的地址;在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的簇标识对应的服务处理器标识。The device according to claim 22 or 23, wherein the first processing unit is further configured to search for the target BLE device corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device address; search for the service processor identifier corresponding to the cluster identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  25. 根据权利要求24所述的设备,其中,所述第一处理单元还用于在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的属性标识对应的特征处理器标识。The device according to claim 24, wherein the first processing unit is further configured to search for a feature processor identifier corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  26. 根据权利要求19至25中任一项所述的设备,其中,所述CHIP设备包括端点,所述端点包括簇,所述簇包括属性,所述CHIP设备与BLE设备的映射关系包括以下至少之一:The device according to any one of claims 19 to 25, wherein the CHIP device includes an endpoint, the endpoint includes a cluster, the cluster includes an attribute, and the mapping relationship between the CHIP device and the BLE device includes at least one of the following one:
    CHIP设备的端点标识与BLE物理设备地址的映射关系;The mapping relationship between the endpoint identifier of the CHIP device and the BLE physical device address;
    CHIP设备的端点中的簇标识与BLE的服务处理器标识的映射关系;The mapping relationship between the cluster ID in the endpoint of the CHIP device and the service processor ID of BLE;
    CHIP设备的簇Cluster中的属性标识与BLE的服务中的特征处理器标识的映射关系。The mapping relationship between the attribute identifier in the cluster of the CHIP device and the feature processor identifier in the BLE service.
  27. 根据权利要求22或23所述的设备,其中,所述第一处理单元还用于在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的组端点标识对应的目标BLE设备的地址。The device according to claim 22 or 23, wherein the first processing unit is further configured to search for the target BLE corresponding to the group endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device The address of the device.
  28. 根据权利要求27所述的设备,其中,所述第一处理单元还用于向CHIP控制设备返回端点列表,所述端点列表中包括与BLE的服务处理器标识对应的端点标识。The device according to claim 27, wherein the first processing unit is further configured to return an endpoint list to the CHIP control device, the endpoint list including an endpoint identifier corresponding to a service processor identifier of BLE.
  29. 根据权利要求27或28所述的设备,其中,所述第一处理单元还用于在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的端点标识对应的服务处理器标识;在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的簇标识对应的特征处理器标识。The device according to claim 27 or 28, wherein the first processing unit is further configured to search for a service processor corresponding to the endpoint identifier in the first request in the mapping relationship between the CHIP device and the BLE device Identification; searching for the feature processor identification corresponding to the cluster identification in the first request in the mapping relationship between the CHIP device and the BLE device.
  30. 根据权利要求29所述的设备,其中,所述第一处理单元还用于在所述CHIP设备与BLE设备的映射关系中查找与所述第一请求中的属性标识对应的特征值。The device according to claim 29, wherein the first processing unit is further configured to search for the characteristic value corresponding to the attribute identifier in the first request in the mapping relationship between the CHIP device and the BLE device.
  31. 根据权利要求19至23、27至30中任一项所述的设备,其中,所述CHIP设备包括组端点和端点,所述端点包括簇,所述簇包括属性,所述CHIP设备与BLE设备的映射关系包括以下至少之一:The device of any one of claims 19 to 23, 27 to 30, wherein the CHIP device includes a group endpoint and an endpoint, the endpoint includes a cluster, the cluster includes an attribute, the CHIP device is associated with a BLE device The mapping relationship includes at least one of the following:
    CHIP设备的组端点标识与BLE物理设备地址的映射关系;The mapping relationship between the group endpoint identifier of the CHIP device and the BLE physical device address;
    CHIP设备的端点标识与BLE的服务处理器标识的映射关系;The mapping relationship between the endpoint ID of the CHIP device and the service processor ID of the BLE;
    CHIP设备的端点中的簇标识与BLE的服务中的特征处理器标识的映射关系;The mapping relationship between the cluster ID in the endpoint of the CHIP device and the feature processor ID in the BLE service;
    CHIP设备的簇中的属性标识与BLE的特征值的映射关系。The mapping relationship between the attribute identifier in the cluster of the CHIP device and the characteristic value of BLE.
  32. 根据权利要求25或30所述的设备,其中,所述第一处理单元还用于在所述第一请求中包括属性标识的情况下,向BLE设备的服务或特征发起与所述属性标识对应的数据请求。The device according to claim 25 or 30, wherein the first processing unit is further configured to initiate a service or feature of the BLE device corresponding to the attribute identification when the first request includes an attribute identification data request.
  33. 根据权利要求24或29所述的设备,其中,所述第一处理单元还用于在所述第一请求中不包括属性标识的情况下,基于第一请求中的簇标识对应的各属性标识获取一组数据请求。The device according to claim 24 or 29, wherein the first processing unit is further configured to, in the case where the first request does not include the attribute identifier, based on each attribute identifier corresponding to the cluster identifier in the first request Get a set of data requests.
  34. 根据权利要求19至33中任一项所述的设备,其中,所述CHIP桥接设备还包括:The device according to any one of claims 19 to 33, wherein the CHIP bridging device further comprises:
    虚拟客户端,用于与BLE设备之间建立安全连接;向所述CHIP桥接功能模块发送映射关系建立请求;A virtual client, used for establishing a secure connection with the BLE device; sending a mapping relationship establishment request to the CHIP bridging function module;
    CHIP桥接功能模块,用于接收所述映射关系建立请求。The CHIP bridging function module is used for receiving the mapping relationship establishment request.
  35. 根据权利要求34所述的设备,其中,所述CHIP桥接功能模块还用于建立CHIP设备与BLE设备的映射关系。The device according to claim 34, wherein the CHIP bridging function module is further configured to establish a mapping relationship between the CHIP device and the BLE device.
  36. 根据权利要求34或35所述的设备,其中,所述CHIP桥接功能模块还用于基于所述CHIP设备与BLE设备的映射关系创建虚拟的所述CHIP设备;The device according to claim 34 or 35, wherein the CHIP bridging function module is further configured to create the virtual CHIP device based on the mapping relationship between the CHIP device and the BLE device;
    所述CHIP桥接设备还包括所述CHIP设备。The CHIP bridging device further includes the CHIP device.
  37. 一种通信设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至18中任一项所述的方法。A communication device, comprising: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute the computer program according to any one of claims 1 to 18 Methods.
  38. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至18中任一项所述的方法。A chip, comprising: a processor for invoking and running a computer program from a memory, so that a device on which the chip is installed executes the method according to any one of claims 1 to 18.
  39. 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至18中任一项所述的方法。A computer-readable storage medium storing a computer program that causes a computer to perform the method of any one of claims 1 to 18.
  40. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至18中任一项所述的方法。A computer program product comprising computer program instructions that cause a computer to perform the method of any one of claims 1 to 18.
  41. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至18中任一项所述的方法。A computer program that causes a computer to perform the method of any one of claims 1 to 18.
PCT/CN2020/134366 2020-12-07 2020-12-07 Device bridging mapping method and bridging device WO2022120545A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080107470.1A CN116547997A (en) 2020-12-07 2020-12-07 Method for bridging mapping of equipment and bridging equipment
PCT/CN2020/134366 WO2022120545A1 (en) 2020-12-07 2020-12-07 Device bridging mapping method and bridging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/134366 WO2022120545A1 (en) 2020-12-07 2020-12-07 Device bridging mapping method and bridging device

Publications (1)

Publication Number Publication Date
WO2022120545A1 true WO2022120545A1 (en) 2022-06-16

Family

ID=81972817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134366 WO2022120545A1 (en) 2020-12-07 2020-12-07 Device bridging mapping method and bridging device

Country Status (2)

Country Link
CN (1) CN116547997A (en)
WO (1) WO2022120545A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888216A (en) * 2017-03-20 2017-06-23 烽火通信科技股份有限公司 Internet of Things bridge joint adaption system and method based on AllJoyn agreements
CN108141448A (en) * 2015-08-05 2018-06-08 脸谱公司 Managing device cloud
WO2019112734A1 (en) * 2017-12-06 2019-06-13 Intel Corporation Plugin management for internet of things (iot) network optimization
CN109982305A (en) * 2014-09-15 2019-07-05 华为技术有限公司 Communication means, communication system and the relevant device of wearable device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982305A (en) * 2014-09-15 2019-07-05 华为技术有限公司 Communication means, communication system and the relevant device of wearable device
CN108141448A (en) * 2015-08-05 2018-06-08 脸谱公司 Managing device cloud
CN106888216A (en) * 2017-03-20 2017-06-23 烽火通信科技股份有限公司 Internet of Things bridge joint adaption system and method based on AllJoyn agreements
WO2019112734A1 (en) * 2017-12-06 2019-06-13 Intel Corporation Plugin management for internet of things (iot) network optimization

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUANG WEIBIN: "Analysis on the Interoperability of Smart Home Appliances under the Framework of the IoT", ELECTRICAL APPLIANCES N°9 2015, vol. 2020, no. 10, 25 October 2020 (2020-10-25), Electrical appliances N°9 2015, pages 11 - 13+22, XP055939014, ISSN: 1673-6079 *

Also Published As

Publication number Publication date
CN116547997A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
US20240045824A1 (en) Remote Mapping Method, Apparatus and Device for Computing Resources, and Storage Medium
US11641400B2 (en) Method and apparatus for secure passive wireless communication with Bluetooth vitals devices
CN109587281B (en) Container configuration method and computing node
WO2021031473A1 (en) Blockchain asset processing method based on multiple asset models and related device
US20180063879A1 (en) Apparatus and method for interoperation between internet-of-things devices
KR101317178B1 (en) ZigBee Gateway and method for identifying message of the same
US8291097B2 (en) Dynamic transaction protocol upgrades
CN102713925B (en) Confidential information is revealed the leakage of anti-locking system, confidential information leak-preventing method and confidential information and is prevented program
CN111416723B (en) Equipment management method and related equipment
CN115344197A (en) Data access method, network card and server
US11303583B2 (en) Resource trees by management controller
WO2014075255A1 (en) Method, apparatus and system for communication based on pcie switch
CN111008254A (en) Object creating method and device, computer equipment and storage medium
WO2022120545A1 (en) Device bridging mapping method and bridging device
CN109471713B (en) Method and device for inquiring information
CN109617817B (en) Method and device for generating forwarding table entry of MLAG networking
CN113630300B (en) Method and node for message transmission
CN113259462B (en) Block chain message distribution method and device
WO2021155529A1 (en) Resource deletion method, apparatus, and device, and storage medium
US9378140B2 (en) Least disruptive cache assignment
JP2023534897A (en) Resource publishing method and its device, gateway, cloud platform and computer storage medium
WO2022116191A1 (en) Connection establishment method and apparatus, and device and storage medium
CN110362336B (en) Method for acquiring machine room routing information and method and device for configuring script data
CN109510864A (en) A kind of retransmission method of cache request, transmission method and relevant apparatus
KR101526326B1 (en) Folder synchronizing method between user terminal and ip router, and ip router for thesame

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202080107470.1

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20964492

Country of ref document: EP

Kind code of ref document: A1