Device association method and electronic device
The device association method addresses the issue of dynamic relationship changes by calculating association strengths to establish combination or preemption associations, enhancing accuracy and decision-making in device management systems.
Patent Information
- Application Number
- JP2022504679
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-07-25
- Filing Date
- 2020-07-24
- Publication Date
- 2024-11-20
- Estimated Expiration
- 2040-07-24
AI Technical Summary
Existing device association methods do not account for dynamic changes in relationships between devices, leading to reduced accuracy in determining device-related bodies.
A device association method that calculates association strengths between devices and establishes either combination or preemption associations based on these strengths, allowing for dynamic adjustments in device relationships.
Enhances the accuracy of device associations by dynamically adjusting relationships based on calculated association strengths, improving decision-making through better data analysis from interconnected devices.
Smart Images

Figure 0007587568000002 
Figure 0007587568000003 
Figure 0007587568000004
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to a Chinese patent application entitled “Device Association Method, Apparatus and Electronic Device” filed on July 25, 2019 (Application No. 201910677046.X), which is hereby incorporated by reference in its entirety.
[0002] The present disclosure relates to the field of device management technology, and more particularly to a device association method and an electronic device. [Background technology]
[0003] With the development and popularization of Internet of Things technology, connectivity has become a basic attribute of Internet of Things devices. When devices are associated with the same body, there is an association relationship between the devices, and by analyzing data generated by multiple devices having an association relationship, information about the body can be better determined and the accuracy of the determination can be improved.
[0004] The related art solutions do not take into account dynamic changes of associations between devices, which reduces the accuracy of determining the body of device associations. Summary of the Invention
[0005] An embodiment of the present disclosure discloses a device association method implemented in a device management platform, the device association method including: receiving a first association request transmitted by a first device for instructing to establish an association between the first device and a second device, and a device association being established between the second device and a third device; obtaining a first association strength between the first device and the second device and a second association strength between the second device and the third device; If the first association strength is less than or equal to the second association strength, a device combination association is established between the first device, the second device, and the third device; If the first association strength is greater than the second association strength, establishing a device preemption association between the first device and the second device.
[0006] In some embodiments, prior to receiving a first association request transmitted by the first device, receiving a second association request indicating an association between the third device and the second device; The method further includes establishing a device association between the second device and the third device based on the second association request.
[0007] In some embodiments, prior to receiving the second association request: receiving registration requests transmitted by the first device, the second device, and the third device, respectively; The method further includes completing registration of the first device, the second device, and the third device with the device management platform based on the registration request.
[0008] In some embodiments, obtaining a first association strength between the first device and the second device comprises: obtaining a first device type corresponding to the first device and a second device type corresponding to the second device; A second number is obtained between the first device and the second device, which is the number of devices through which information is transmitted between the first device and the second device; Calculating the first association strength based on the first device type, the second device type, and the second quantity.
[0009] In some embodiments, obtaining a second association strength between the second device and the third device comprises: obtaining a second device type corresponding to the second device and a third device type corresponding to the third device; A first number is obtained between the second device and the third device, which is the number of devices through which information is transmitted between the second device and the third device; Calculating the second association strength based on the second device type, the third device type, and the first quantity.
[0010] In some embodiments, establishing a device pairing association between the first device, the second device, and the third device includes: establishing a device combination short association between the first device, the second device and the third device; or and establishing a device combination length association between the first device, the second device, and the third device.
[0011] In some embodiments, creating a device pairing short association between the first device, the second device, and the third device includes: If the first device is a temporary device, creating a device pairing short association between the first device, the second device and the third device.
[0012] In some embodiments, creating a device combination length association between the first device, the second device, and the third device includes: If the first device is a long-term device, creating a device combination length association between the first device, the second device, and the third device.
[0013] An embodiment of the present disclosure discloses a device association device applied to a device management platform, the device association device comprising: a first request receiving module, which is used to receive a first association request sent by a first device to instruct the first device to associate with a second device, and in which a device association is established between the second device and a third device; an association strength obtaining module used for obtaining a first association strength between the first device and the second device and a second association strength between the second device and the third device; a combination association module used to set a device combination association between the first device, the second device, and the third device if the first association strength is less than or equal to the second association strength; A preemption association module is used to establish a device preemption association between the first device and the second device if the first association strength is greater than the second association strength.
[0014] In some embodiments, a second request receiving module adapted to receive a second association request for instructing association between the third device and the second device; The device further includes a device association module adapted to establish a device association between the second device and the third device based on the second association request.
[0015] In some embodiments, a registration request receiving module used for receiving registration requests sent by the first device, the second device, and the third device, respectively; The device further includes a device registration module used for completing registration of the first device, the second device and the third device with the device management platform based on the registration request.
[0016] In some embodiments, the associated intensity acquisition module comprises: a first type acquisition submodule for acquiring a first device type corresponding to the first device and a second device type corresponding to the second device; A second number acquisition submodule, which is used for acquiring a second number, which is the number of devices through which information is transmitted between the first device and the second device; A first intensity calculation sub-module is used to calculate the first associated intensity based on the first device type, the second device type and the second quantity.
[0017] In some embodiments, the associated intensity acquisition module comprises: a second / third type acquisition submodule for acquiring a second device type corresponding to the second device and a third device type corresponding to the third device; A first number acquisition submodule, which is used for acquiring a first number between the second device and the third device, which is the number of devices through which information is transmitted between the second device and the third device; A second intensity calculation sub-module is used to calculate the second associated intensity based on the second device type, the third device type and the first quantity.
[0018] In some embodiments, the combination association module: a combination short association sub-module used to create a device combination short association between the first device, the second device, and the third device; or A combination length association sub-module is included, which is used to set up an instrument combination length association between the first instrument, the second instrument and the third instrument.
[0019] In some embodiments, the combination short association sub-module: A short association submodule is used to set up a device combination short association between the first device, the second device and the third device if the first device is a temporary device.
[0020] In some embodiments, the combinatorial length association sub-module: If the first device is a long-term device, creating a device combination length association between the first device, the second device, and the third device.
[0021] An embodiment of the present disclosure further discloses an electronic device for device association, the electronic device including a processor and a memory having instructions stored therein, which, when executed by the processor, cause the processor to execute: receiving a first association request sent by a first device to instruct the processor to establish an association between the first device and a second device; a device association is established between the second device and a third device, obtaining a first association strength between the first device and the second device and a second association strength between the second device and the third device; if the first association strength is less than or equal to the second association strength, establishing a device combination association between the first device, the second device, and the third device; and if the first association strength is greater than the second association strength, establishing a device preemption association between the first device and the second device.
[0022] In some embodiments, the instructions, when executed by the processor, further cause the processor to receive a second association request to instruct the processor to establish an association between the third device and the second device, and to establish a device association between the second device and the third device based on the second association request.
[0023] In some embodiments, the instructions, when executed by the processor, further cause the processor to receive registration requests sent by the first device, the second device, and the third device, respectively, and complete registration of the first device, the second device, and the third device with the device management platform based on the registration requests.
[0024] In some embodiments, the instructions, when executed by the processor, further cause the processor to obtain a first device type corresponding to the first device and a second device type corresponding to the second device, obtain a second number which is the number of devices passed through when transmitting information between the first device and the second device, and calculate the first association strength based on the first device type, the second device type, and the second number.
[0025] In some embodiments, the instructions, when executed by the processor, further cause the processor to: obtain a second device type corresponding to the second device and a third device type corresponding to the third device; obtain a first number, which is the number of devices through which information is transmitted between the second device and the third device; and calculate the second association strength based on the second device type, the third device type, and the first number.
[0026] In some embodiments, the instructions, when executed by the processor, further cause the processor to establish a short device combination association between the first device, the second device, and the third device, or to establish a long device combination association between the first device, the second device, and the third device.
[0027] In some embodiments, the instructions, when executed by the processor, further cause the processor to: if the first device is a temporary device, create a device combination short association between the first device, the second device, and the third device.
[0028] In some embodiments, the instructions, when executed by the processor, further cause the processor to: if the first device is a long-term device, create a device combination length association between the first device, the second device, and the third device.
[0029] An embodiment of the present disclosure further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by a processor, cause the processor to perform any one of the methods described above. [Brief description of the drawings]
[0030] [Figure 1] FIG. 1 shows a step flowchart of a device association method provided by an embodiment of the present disclosure. [Diagram 2] FIG. 2 shows a step flowchart of a device association method provided by an embodiment of the present disclosure. [Figure 3a] FIG. 3a shows a schematic diagram of a combination association provided by an embodiment of the present disclosure. [Figure 3b] FIG. 3b shows a schematic diagram of preemption association provided by an embodiment of the present disclosure. [Figure 4] FIG. 4 illustrates a schematic configuration diagram of a device association device provided by an embodiment of the present disclosure. [Diagram 5] FIG. 5 illustrates a schematic configuration diagram of a device association device provided by an embodiment of the present disclosure. [Figure 6] FIG. 6 illustrates a schematic configuration diagram of the hardware of an electronic device for establishing device association according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0031] In order to make the above objects, features and advantages of the present disclosure more apparent, the present disclosure will be described in more detail below in conjunction with drawings and specific embodiments.
[0032] Referring to FIG. 1, a step flowchart of a device association method provided by an embodiment of the present disclosure is shown. The device association method can be applied to a device management platform, and specifically may include the following steps:
[0033] Step 101: Receive a first association request sent by a first device, the first association request being used to instruct an association between the first device and a second device, and a device association being established between the second device and a third device.
[0034] In the embodiment of the present disclosure, the appliance management platform is a platform for managing appliances, and the appliances may be household appliances, such as electronic devices such as refrigerators, televisions, air cleaners, and magic mirrors.
[0035] The above-mentioned first appliance, second appliance and third appliance are three different appliances, for example, the first appliance can be a television, the second appliance can be a refrigerator, and the third appliance can be an air cleaner. Of course, the first appliance, second appliance and third appliance can be appliances of the same type, for example, the first appliance, second appliance and third appliance are all refrigerators, and as can be understood, when the first appliance, second appliance and third appliance are all refrigerators, the three appliances can be appliances of the same type in the same home or different homes, that is, the three appliances are three different appliances of only the same type, for example, the first appliance is refrigerator 1, the second appliance is refrigerator 2, the third appliance is refrigerator 3, etc.
[0036] It can be understood that the above examples are merely given to better understand the technical solutions of the embodiments of the present disclosure, and do not uniquely limit the embodiments of the present disclosure.
[0037] Of course, the first device, the second device and the third device are all devices that have already been pre-registered in the device management platform, and the device registration process will be described in detail in the embodiment described below, so the description will not be repeated here in this embodiment.
[0038] Device association means establishing an association relationship between two or more devices. For example, the health management platform tracks and analyzes the food situation in the home, obtains evaluation indexes for the household's eating and drinking health, and provides guidance for the household's healthy eating and drinking. For example, the household refrigerator and the shopping cart used by the household members are all registered in the health management platform, and Refrigerator 1 and Refrigerator 2 are associated with each other.
[0039] An equipment association is established in advance between the second equipment and the third equipment. The process of establishing the equipment association in advance between the second equipment and the third equipment will be described in detail in the embodiment described below, and a repeated explanation will be omitted here in this embodiment.
[0040] The first association request is a request sent from the first device to the device management platform to establish an association between the first device and the second device. Naturally, since the second device and the third device have already been associated with each other in advance, the first association request may also be a request sent from the first device to establish an association between the first device and the third device, or may be specifically determined according to the actual situation.
[0041] After the device management platform receives the first association request sent from the first device, it executes step 102 .
[0042] Step 102: Obtain a first association strength between the first device and the second device, and a second association strength between the second device and the third device.
[0043] The first association strength is the association strength between the first device and the second device, and the second association strength is the association strength between the second device and the third device.
[0044] A method for acquiring the first association strength may be to acquire the number of devices through which information is passed when the first device and the second device transmit information to each other, and calculate the first association strength based on the number of devices through which information is passed.
[0045] A method for acquiring the second association strength may be to acquire the number of devices through which information is passed when the second device and the third device transmit information to each other, and calculate the second association strength based on the number of devices through which information is passed.
[0046] The detailed process of calculating the first correlation strength and the second correlation strength will be described in detail in the following embodiment, and the description will be omitted here.
[0047] After obtaining the first association strength between the first device and the second device, and the second association strength between the second device and the third device, step 103 and step 104 are performed.
[0048] Step 103: If the first association strength is less than or equal to the second association strength, establish an instrument combination association between the first instrument, the second instrument, and the third instrument.
[0049] An equipment combination relationship is an equipment relationship established between two or more equipment, for example, an equipment relationship established between three equipment or five equipment.
[0050] In the above step, after obtaining the first association strength between the first device and the second device, and the second association strength between the second device and the third device, the magnitude relationship between the first association strength and the second association strength may be compared.
[0051] When the first association strength is less than or equal to the second association strength, a device combination association may be established between the first device, the second device, and the third device.
[0052] The first relation strength is equal to or less than the second relation strength, that is, the relation strength between the first device and the second device is smaller than the relation strength between the second device and the third device, and when a device relation has already been established between the second device and the third device, the first device, the second device, and the third device are combined to establish a combination relation between the three devices, that is, a device combination relation between the first device, the second device, and the third device. For example, the first device can be indicated as AE1, the second device as AE2, and the third device as AE3, and the device relation established between the second device and the third device may be (AE2, AE3), and the combination relation established between the first device, the second device, and the third device may be (AE1, (AE2, AE3)).
[0053] It can be understood that the above examples are merely given for better understanding of the technical solutions of the embodiments of the present disclosure, and are not intended to limit the embodiments of the present disclosure.
[0054] Of course, in the present disclosure, an association strength threshold can be set in advance, and if the association strength between devices is greater than the association strength threshold, the devices are associated with each other.
[0055] The association strength threshold is a threshold of the association strength between devices that is set in advance in the device management platform by an operator.
[0056] The association strength threshold may be 5, 8, 10, etc., and can be specifically determined according to business needs, and the embodiments of the present disclosure are not limited thereto.
[0057] When the association strength between two devices is greater than the association strength threshold, a device association can be established between the two devices, and when the association strength between the two devices is equal to or less than the association strength threshold, the two devices do not satisfy the condition for device association.
[0058] A magnitude relationship between the first associated strength and an associated strength threshold can be determined.
[0059] If the first association is greater than the association strength threshold, it indicates that a device association between the first device and the second device can be established, and a device association between the first device and the third device can be established.
[0060] When the first association strength is equal to or less than the second association strength, i.e., when the association strength between the first device and the second device is equal to or less than the association strength between the second device and the third device, it may be determined whether the first association strength and the second association strength are greater than an association strength threshold. When it is determined that the first association strength is greater than the association strength threshold, a device combination association is established between the first device, the second device, and the third device.
[0061] Naturally, in the present disclosure, it may be determined whether to establish a long relationship or a short relationship between the three depending on the device type of the first device, and this will be specifically described in detail in the embodiments described below, and this embodiment does not limit the same.
[0062] Step 104: If the first association strength is greater than the second association strength, establish a device preemption association between the first device and the second device.
[0063] A device preemption association means breaking down the original device association and establishing a device association between one of the two devices that have already been associated with each other and a preemption device.
[0064] If the first association strength is greater than the second association strength, i.e., if the association strength between the first device and the second device is greater than or equal to the association strength between the second device and the third device, it indicates that the condition for a device preemption association is satisfied, and a device preemption association is established between the first device and the second device.
[0065] Of course, the first association request sent by the first device is used to instruct the establishment of a device association between the first device and the third device, and if the third association strength (i.e., the association strength between the first device and the third device) is greater than or equal to the second association strength, it indicates that the first device and the third device satisfy the conditions for a device preemption association, and a device preemption association between the first device and the third device may be established.
[0066] The embodiment of the present disclosure realizes dynamic association between different devices by calculating the association strength of different devices and realizing combination association or preemption association according to the situation requesting the association.
[0067] The device association method according to the embodiment of the present disclosure includes receiving a first association request sent by a first device to instruct the establishment of an association between the first device and the second device, obtaining a first association strength between the first device and the second device and a second association strength between the second device and the third device when the first association strength is equal to or less than the second association strength, and establishing a device combination association between the first device, the second device, and the third device when the first association strength is greater than the second association strength. The embodiment of the present disclosure can realize a combination association or a preemption association according to the calculation of the association strength of different devices and the situation of which one requests the association, thereby realizing a dynamic association between different devices.
[0068] Referring to FIG. 2, a step flowchart of a device association method provided by an embodiment of the present disclosure is shown. The device association method can be applied to a device management platform, and specifically may include the following steps:
[0069] Step 201: Receive registration requests sent by the first device, the second device, and the third device, respectively.
[0070] In the embodiment of the present disclosure, the appliance management platform is a platform for managing appliances, and the appliances may be household appliances, such as electronic appliances such as refrigerators, televisions, air cleaners, and magic mirrors.
[0071] The above-mentioned first appliance, second appliance and third appliance are three different appliances, for example, the first appliance can be a television, the second appliance can be a refrigerator, and the third appliance can be an air cleaner. Of course, the first appliance, second appliance and third appliance can be appliances of the same type, for example, the first appliance, second appliance and third appliance are all refrigerators, and it can be understood that when the first appliance, second appliance and third appliance are all refrigerators, the three appliances can be appliances of the same type in the same household or different households, that is, the three appliances are three different appliances of only the same type, for example, the first appliance is refrigerator 1, the second appliance is refrigerator 2, the third appliance is refrigerator 3, etc.
[0072] It can be understood that the above examples are merely given for better understanding of the technical solutions of the embodiments of the present disclosure, and are not intended to limit the embodiments of the present disclosure.
[0073] The registration requests are requests sent from the first device, the second device and the third device to the device management platform, respectively, to complete device registration on the device management platform.
[0074] The device management platform can receive the registration requests sent by the first device, the second device and the third device, and perform step 202.
[0075] Step 202: Complete registration of the first device, the second device and the third device in the device management platform based on the registration request.
[0076] After receiving the registration requests sent by the first device, the second device and the third device, the device management platform can complete the registration of the first device, the second device and the third device on the device management platform respectively according to the registration requests corresponding to each device.
[0077] After completing the registration, the device management platform can determine whether to establish a device association relationship according to the association strength between the devices, and can manage the devices.
[0078] After completing registration of the first device, the second device and the third device in the device management platform according to the registration request, execute step 203.
[0079] Step 203: Receive a second association request, the second association request being used to indicate an association between the third device and the second device.
[0080] The second association request may be a request sent by the second device to establish a device association with a third device, or may be a request sent by the third device to establish a device association with the second device.
[0081] When the second association request is a request sent by the second device to establish a device association with the third device, the second device may previously transmit a discovery request according to a device discovery protocol, and when the third device receives the discovery request, it may return a discovery response message to the second device, the response including a device identifier of the second device and indicating that the third device can establish a device association relationship with the second device.
[0082] After the second device receives the discovery response message returned from the third device, the second device may combine the device identifier of the third device and the device identifier of the second device to generate a second association request, and send the second association request to the device management platform.
[0083] In addition, when the second association request is a request sent by the third device to establish a device association with the second device, the specific implementation process is as described in the above proposal, and the embodiment of the present disclosure will not be repeatedly described here.
[0084] After the device management platform receives the second association request, it executes step 204 .
[0085] Step 204: Establish a device association between the second device and the third device based on the second association request.
[0086] After receiving the second association request, a device association between the second device and a third device may be established in response to the second association request.
[0087] After receiving the second association request sent by the second device or the third device, the device management platform may analyze the second association request, obtain the second device and the third device that need to be associated with each other according to the analysis result, and establish a device association between the second device and the third device.
[0088] After establishing the device association between the second device and the third device, step 205 is executed.
[0089] Step 205: Receive a first association request sent by a first device, the first association request being used to indicate an association between the first device and a second device.
[0090] The first association request is a request for establishing an association between the first device and the second device sent to the device management platform. Naturally, since the second device and the third device have already been associated with each other in advance, the first association request may also be a request for establishing an association between the first device and the third device sent from the first device, or may be specifically determined according to the actual situation.
[0091] In addition, the process in which the first device sends the first association request is the same as the process in which the second device or the third device sends the second association request, and for a specific description, reference may be made to the transmission process for the second association request, and the embodiments of the present disclosure will not be repeated here.
[0092] After receiving the first association request sent by the first device, execute step 206.
[0093] Step 206: Obtain a first association strength between the first device and the second device, and a second association strength between the second device and the third device.
[0094] The first association strength is the association strength between the first device and the second device, and the second association strength is the association strength between the second device and the third device.
[0095] A method for acquiring the first association strength may be to acquire the number of devices through which information is passed when the first device and the second device transmit information to each other, and calculate the first association strength based on the number of devices through which information is passed.
[0096] A method for acquiring the second association strength may be to acquire the number of devices through which information is passed when the second device and the third device transmit information to each other, and to calculate the second association strength based on the number of devices through which information is passed.
[0097] The calculation process of the first correlation strength and the second correlation strength can be described in detail in conjunction with the following two embodiments.
[0098] In some embodiments of the present disclosure, step 206 may include:
[0099] Sub-step A1: Obtaining a first device type corresponding to the first device and a second device type corresponding to the second device.
[0100] In the embodiments of the present disclosure, the first appliance type refers to a type of a first appliance, and the first appliance type may be a type such as a refrigerator, a television, an air conditioner, etc., and may be specifically determined according to actual circumstances.
[0101] The second appliance type is a type of a second appliance, and the second appliance type may be a type such as a refrigerator, a television, an air conditioner, etc., and may be specifically determined according to actual circumstances.
[0102] It can be understood that the first device type and the second device type may be the same device type or different device types, and can be specifically determined according to actual circumstances, and the embodiments of the present disclosure are not limited thereto.
[0103] After receiving a first association request including a device identifier of the first device and a device identifier of the second device, the device management platform can combine the device identifiers corresponding to the first device and the second device to obtain registration information of the first device and the second device on the platform, and can further obtain a first device type of the first device and a second device type of the second device according to the information pre-registered by the first device and the second device.
[0104] Of course, when the first device sends the first association request, it may carry device types corresponding to the first device and the second device in the first association request, and the device management platform can directly analyze the first association request to obtain the first device type of the first device and the second device type of the second device.
[0105] In specific implementation, those skilled in the art may adopt other methods to obtain the first device type of the first device, and may specifically determine it according to business needs, and the embodiments of the present disclosure are not limited thereto.
[0106] After obtaining the first device type of the first device and the second device type of the second device, sub-step A2 is performed.
[0107] Sub-step A2: Obtaining a second number between the first device and the second device, the second number being the number of devices through which information is transmitted between the first device and the second device.
[0108] The second number is the number of devices through which information is transmitted between the first device and the second device, for example, the number of routers through which information is transmitted between the devices.
[0109] The second number may be determined by determining networking information of the home appliances according to appliance registration information of a home that has been pre-registered by the appliance management platform, and calculating a second number of appliances that need to be passed through when transmitting information between the first appliance and the second appliance according to the networking information of the home appliances.
[0110] In specific implementation, other manners may be adopted to obtain the second number, and the embodiments of the present disclosure are not limited thereto.
[0111] After obtaining the second number, sub-step A3 is performed.
[0112] Sub-step A3: Calculating the first associated strength based on the first device type, the second device type, and the second quantity.
[0113] After obtaining the first device type, the second device type, and the second quantity, a first associated strength can be calculated based on the first device type, the second device type, and the second quantity, and the calculation process may be as shown in Table 1 below.
[0114] [Table 1]
[0115] As shown in Table 1 above, when the first device AE1 and the second device AE2 are of the same type, for example, a refrigerator, the association strength between them is 10, and when the span (i.e., the first quantity) is 1, the association strength is also 10. By adding up the two association strengths, the first association strength between the first device and the second device, i.e., 20, is obtained.
[0116] As can be understood, the correlation strengths corresponding to the two equipment types and the correlation strengths of different spans may be pre-installed in the equipment management platform, and the specific installation process may be determined according to business needs, and the embodiments of the present disclosure are not limited thereto.
[0117] In specific implementation, those skilled in the art may adopt other methods to obtain the first association strength, and may specifically determine it according to business needs, and the embodiments of the present disclosure are not limited thereto.
[0118] In another preferred embodiment of the present disclosure, the above step 206 may include:
[0119] Sub-step B1: Obtaining a second device type corresponding to the second device and a third device type corresponding to the third device.
[0120] In the embodiments of the present disclosure, the second appliance type refers to a type of a second appliance, and the second appliance type may be a type such as a refrigerator, a television, an air conditioner, etc., and may be specifically determined according to actual circumstances.
[0121] The third appliance type is a type of a third appliance, and the third appliance type may be a type such as a refrigerator, a television, an air conditioner, etc., and may be specifically determined according to actual circumstances.
[0122] It can be understood that the second device type and the third device type may be the same device type or different device types, and can be specifically determined according to actual circumstances, and the embodiments of the present disclosure are not limited thereto.
[0123] After receiving the second association request including the device identifiers corresponding to the second device and the third device, respectively, the device management platform may combine the device identifiers of the second device and the third device to obtain registration information of the second device and the third device on the platform, and further obtain a second device type of the second device and a third device type of the third device according to the information pre-registered by the second device and the third device.
[0124] Of course, when the second device or the third device sends the second association request, it may carry the device types corresponding to the second device and the third device in the second association request, and the device management platform can directly analyze the second association request to obtain the second device type of the second device and the third device type of the third device.
[0125] In specific implementation, those skilled in the art may adopt other methods to obtain the second device type of the second device and the device type of the third device, or may specifically determine according to business needs, and the embodiments of the present disclosure are not limited thereto.
[0126] After obtaining the second device type of the second device and the third device type of the third device, sub-step B2 is performed.
[0127] Sub-step B2: Obtaining a first number between the second device and the third device, the first number being the number of devices through which information is transmitted between the second device and the third device.
[0128] The first number is the number of devices through which information is transmitted between the second device and the third device, for example, the number of routers through which information is transmitted between the devices.
[0129] The first number may be determined by determining networking information of the home devices according to device registration information of a home that has been pre-registered by the device management platform, and calculating the first number of devices that need to be passed through when transmitting information between the second device and the third device according to the networking information of the home devices.
[0130] In specific implementation, other manners may be adopted to obtain the first number, and the embodiments of the present disclosure are not limited thereto.
[0131] After obtaining the first number between the second device and the third device, execute sub-step B3.
[0132] Sub-step B3: Calculating the second associated strength based on the second device type, the third device type, and the first quantity.
[0133] After obtaining the second device type, the third device type, and the first quantity, a second correlation strength may be calculated based on the second device type, the third device type, and the first quantity. The specific process of calculating the second correlation strength is similar to the process of calculating the first correlation strength in the above sub-step A3, and thus the repeated description will be omitted in this embodiment.
[0134] After obtaining the first association strength between the first device and the second device, and the second association strength between the second device and the third device, step 207 or step 208 is performed.
[0135] Step 207: If the first association strength is less than or equal to the second association strength, establish an instrument combination association between the first instrument, the second instrument, and the third instrument.
[0136] When the first association strength is equal to or less than the second association strength, that is, when the association strength between the first device and the second device is equal to or less than the association strength between the second device and the third device, since an apparatus association has already been established between the second device and the third device, the first device, the second device, and the third device are combined to establish a combination association between the three devices, that is, an apparatus combination association between the first device, the second device, and the third device. For example, referring to FIG. 3a, a schematic diagram of a combination association provided by an embodiment of the present disclosure is shown. As shown in FIG. 3a, in an apparatus management platform, a shopping cart as a first device can be represented as AE1, a refrigerator 1 as a second device can be represented as AE2, and a refrigerator 2 as a third device can be represented as AE3. The apparatus association established between the second device and the third device can be (AE2, AE3), or when AE1, AE2, and AE3 satisfy an apparatus combination association condition, the combination association established between the first device, the second device, and the third device can be (AE1, (AE2, AE3)).
[0137] It can be understood that the above examples are only given for better understanding of the technical solutions of the embodiments of the present disclosure, and are not intended to limit the embodiments of the present disclosure.
[0138] Of course, in the present disclosure, a correlation strength threshold may be set in advance, and when the correlation strength between devices is greater than the correlation strength threshold, the devices are associated with each other.
[0139] The association strength threshold is a threshold of the association strength between devices that is set in advance in the device management platform by an operator.
[0140] The association strength threshold may be 5, 8, 10, etc., and can be specifically determined according to business needs, and the embodiments of the present disclosure are not limited thereto.
[0141] When the association strength between two devices is greater than the association strength threshold, a device association between the two devices may be established; when the association strength between the two devices is equal to or less than the association strength threshold, the two devices do not satisfy the condition for device association.
[0142] A magnitude relationship between the first association strength and an association strength threshold may be determined.
[0143] When the first association strength and the second association strength are both greater than the association strength threshold, it indicates that a device association can be established between the first device and the second device, and a device association can be established between the first device and the third device.
[0144] If the first association strength is less than or equal to the second association strength, i.e., the association strength between the first device and the second device is less than or equal to the association strength between the second device and the third device, it may be determined whether the first association strength is greater than an association strength threshold.
[0145] When it is determined that the first association strength is greater than the association strength threshold, a device combination association is established between the first device, the second device, and the third device.
[0146] Of course, in the present disclosure, it may be determined whether to establish a long relationship or a short relationship between the three entities according to the different device types of the first device, and the specific details will be described in detail in conjunction with the following examples.
[0147] In an embodiment of the present disclosure, the above step 207 may include:
[0148] Sub-step C1: Creating a device combination short association between the first device, the second device and the third device.
[0149] Sub-step C2: Creating a device combination length association between the first device, the second device, and the third device.
[0150] In the embodiment of the present disclosure, the short association of the device pair refers to the association established between the devices within a short period of time, for example, one month or two months.
[0151] The term "instrument combination long-term association" refers to an association established between instruments that is for a long period of time, such as two or three years.
[0152] In the present disclosure, whether the first device is a temporary device or a long-term device may be taken into consideration to determine whether to attach a short device combination association or a long device combination association. Specifically, a detailed description can be given in conjunction with the following examples.
[0153] In another embodiment of the present disclosure, the above sub-step C1 may include:
[0154] Sub-step D1: If the first device is a temporary device, create a device combination short association between the first device, the second device and the third device.
[0155] The above sub-step C2 may include:
[0156] Sub-step D2: If the first device is a long-term device, create a device combination length association between the first device, the second device and the third device.
[0157] A temporary device is a device that is used temporarily. For example, in a household, some home appliances are not used frequently and are used once every certain time (such as one or two months), such as an air cleaner, and thus the home appliance may be considered as a temporary device.
[0158] When the first device is a temporary device, a device combination short association may be set between the first device, the second device, and the third device. For example, when the first device AE1 is a shopping cart, AE1 is a temporary device, so a combination short association may be set, and the start time and end time of the association need to be recorded.
[0159] By establishing a short-term association between devices, it is possible to avoid storing long-term associations between devices on the platform, avoid occupying platform space, and achieve the purpose of utilizing resources.
[0160] A long-term appliance is an appliance that is used for a long period of time. For example, a rice cooker is an appliance that is used for a long period of time in a household, and a rice cooker may be considered as a long-term appliance.
[0161] When the first appliance is a long-term appliance, an appliance combination length association may be set between the first appliance, the second appliance, and the third appliance. For example, when the first appliance AE1 is a rice cooker, the rice cooker is a long-term appliance, so a combination length association may be set, and only the start time of the association may be recorded.
[0162] Of course, in the present disclosure, the strength of the association between each device may be considered to determine whether to establish a strong association, a normal association, or a weak association. The strong association may be established by adopting a group method, the weak association may be established by adopting a link binding method, and the normal association may be established by selecting one of the methods, and a detailed description of this process will be omitted in the embodiments of the present disclosure.
[0163] Step 208: If the first association strength is greater than the second association strength, establish a device preemption association between the first device and the second device.
[0164] A device preemption association means breaking down the original device association and establishing a device association between one of the two devices that have already been associated and a preemption device.
[0165] If the first association strength is greater than the second association strength, i.e., if the association strength between the first device and the second device is greater than or equal to the association strength between the second device and the third device, it indicates that the condition for a device preemption association is satisfied, and a device preemption association is established between the first device and the second device.
[0166] Of course, if the first association request sent by the first device is used to instruct the establishment of a device association between the first device and a third device, and the second association strength is less than the third association strength (i.e., the association strength between the first device and the third device), it indicates that the first device and the third device satisfy the conditions for a device preemption association, and a device preemption association between the first device and the third device may be established.
[0167] A specific process of establishing a preemption association may be as shown in FIG. 3b. Referring to FIG. 3b, a schematic diagram of establishing a preemption association provided by an embodiment of the present disclosure is shown. For example, as shown in FIG. 3b, in an equipment management platform, a first equipment, an air cleaner 2, can be represented as AE1, a second equipment, an air cleaner 1, can be represented as AE2, and a third equipment, a magic mirror, can be represented as AE3. An equipment association, i.e., (AE2, AE3), is established between AE2 and AE3 in advance. When AE1 and AE3 satisfy the preemption association condition, the equipment association between AE2 and AE3 can be broken, and a preemption association, i.e., (AE1, AE3), can be established between AE1 and AE3, for example, as shown by "X" in FIG. 3b.
[0168] It can be understood that the above examples are merely given to better understand the technical solutions of the embodiments of the present disclosure, and are not intended to limit the embodiments.
[0169] The embodiment of the present disclosure realizes dynamic association between different devices by calculating the association strength of different devices and realizing combination association or preemption association according to the situation requesting the association.
[0170] The device association method according to the embodiment of the present disclosure includes receiving a first association request sent by a first device to instruct the establishment of an association between the first device and the second device, obtaining a first association strength between the first device and the second device and a second association strength between the second device and the third device when the first association strength is equal to or less than the second association strength, and establishing a device combination association between the first device, the second device, and the third device when the first association strength is greater than the second association strength. The embodiment of the present disclosure realizes a combination association or a preemption association according to the calculation of the association strengths of different devices and the situation of which one requests the association, thereby realizing a dynamic association between different devices.
[0171] Referring to FIG. 4, a configuration schematic diagram of a device association device provided by an embodiment of the present disclosure is shown. The device association device can be applied to a device management platform, and specifically, may include the following modules:
[0172] The first request receiving module 310 is used to receive a first association request sent by a first device to instruct an association to be established between the first device and a second device, and a device association is established between the second device and a third device.
[0173] The association strength obtaining module 320 is used for obtaining a first association strength between the first device and the second device, and a second association strength between the second device and the third device.
[0174] The combination association module 330 is used to create a device combination association between the first device, the second device, and the third device if the first association strength is less than or equal to the second association strength.
[0175] A preemption association module 340 is used to create a device preemption association between the first device and the second device if the first association strength is greater than the second association strength.
[0176] The device association device according to the embodiment of the present disclosure receives a first association request sent by a first device to instruct the association between the first device and the second device, and obtains a first association strength between the first device and the second device and a second association strength between the second device and the third device when the device association is established between the second device and the third device, and establishes a device combination association between the first device, the second device, and the third device when the first association strength is equal to or less than the second association strength, and establishes a device preemption association between the first device and the second device when the first association strength is greater than the second association strength. The embodiment of the present disclosure realizes a combination association or a preemption association according to the calculation of the association strength of different devices and the situation of which one requests the association, thereby realizing a dynamic association between different devices.
[0177] Referring to FIG. 5, a schematic diagram of a configuration of a device association device provided by an embodiment of the present disclosure is shown. The device association device can be applied to a device management platform, and specifically, may include the following modules:
[0178] The registration request receiving module 410 is used for receiving the registration requests sent by the first device, the second device and the third device respectively.
[0179] The device registration module 420 is used for completing registration of the first device, the second device and the third device with the device management platform based on the registration request.
[0180] The second request receiving module 430 is used to receive a second association request, where the second association request is used to indicate an association between the third device and the second device.
[0181] The device association module 440 is used to establish a device association between the second device and the third device based on the second association request.
[0182] The first request receiving module 450 is used to receive a first association request sent by a first device to instruct an association to be established between the first device and a second device, and a device association is established between the second device and a third device.
[0183] The association strength obtaining module 460 is used for obtaining a first association strength between the first device and the second device, and a second association strength between the second device and the third device.
[0184] The combination association module 470 is used to create a device combination association between the first device, the second device, and the third device if the first association strength is less than or equal to the second association strength.
[0185] A preemption association module 480 is used to create a device preemption association between the first device and the second device if the first association strength is greater than the second association strength.
[0186] In some embodiments, the associated intensity acquisition module 460 comprises:
[0187] a first type acquisition submodule for acquiring a first device type corresponding to the first device and a second device type corresponding to the second device;
[0188] A second number acquisition submodule, which is used for acquiring a second number, which is the number of devices through which information is transmitted between the first device and the second device;
[0189] A first intensity calculation sub-module is used to calculate the first associated intensity based on the first device type, the second device type and the second quantity.
[0190] In some embodiments, the associated intensity acquisition module 460 comprises:
[0191] a second / third type acquisition submodule for acquiring a second device type corresponding to the second device and a third device type corresponding to the third device;
[0192] A first number acquisition submodule, which is used for acquiring a first number between the second device and the third device, which is the number of devices through which information is transmitted between the second device and the third device;
[0193] A second intensity calculation sub-module is used to calculate the second associated intensity based on the second device type, the third device type and the first quantity.
[0194] In some embodiments, the combination association module 470:
[0195] A combination short association sub-module used for creating a device combination short association between the first device, the second device, and the third device; or
[0196] A combination length association sub-module is used for establishing an instrument combination length association between the first instrument, the second instrument and the third instrument.
[0197] In some embodiments, the combination short association sub-module:
[0198] A short association submodule is used to set up a device combination short association between the first device, the second device and the third device if the first device is a temporary device.
[0199] In some embodiments, the combinatorial length association sub-module:
[0200] If the first device is a long-term device, creating a device combination length association between the first device, the second device, and the third device.
[0201] The device association device according to the embodiment of the present disclosure receives a first association request sent by a first device to instruct the association between the first device and the second device, and obtains a first association strength between the first device and the second device and a second association strength between the second device and the third device when the device association is established between the second device and the third device, and establishes a device combination association between the first device, the second device, and the third device when the first association strength is equal to or less than the second association strength, and establishes a device preemption association between the first device and the second device when the first association strength is greater than the second association strength. The embodiment of the present disclosure realizes a combination association or a preemption association according to the calculation of the association strength of different devices and the situation of which one requests the association, thereby realizing a dynamic association between different devices.
[0202] FIG. 6 illustrates a schematic diagram of a hardware configuration of an electronic device 600 (e.g., the device illustrated in FIG. 4 or FIG. 5) for device association according to an embodiment of the present disclosure. The hardware configuration 600 may include a processor or controller 606 (e.g., a digital signal processor (DSP), a central processing unit (CPU), etc.). The processor 606 may be a single processing unit or multiple processing units for performing different operations of the flows described herein. The configuration 600 may further include an input unit 602 for receiving signals from other entities and an output unit 604 for providing signals to other entities. The input unit 602 and the output unit 604 may be configured as a single entity or as separate entities.
[0203] The configuration 600 may also include at least one computer readable storage medium 608 having a non-volatile or volatile memory form, such as a non-volatile computer readable storage medium such as an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash memory, and / or a hard disk drive. The readable storage medium 608 includes a computer program 610 that includes code / computer readable instructions that, when executed by a processor 606 in the configuration 600, can cause the hardware configuration 600 and / or a device in which the hardware configuration 600 is included to execute, for example, the flows described in conjunction with Figures 1-2 above and any variations thereof.
[0204] The computer program 610 is arranged to have computer program code of, for example, the architecture of computer program modules 610a-610c. Thus, in an exemplary embodiment when the hardware configuration 600 is used in, for example, an electronic device, the code in the computer program of the configuration 600 may include a module 610a used to receive a first association request sent by a first device to instruct the association between the first device and a second device, and an apparatus association is established between the second device and a third device; a module 610b used to obtain a first association strength between the first device and the second device and a second association strength between the second device and the third device; and a module 610c used to establish an apparatus combination association between the first device, the second device, and the third device when the first association strength is equal to or less than the second association strength, and to establish an apparatus preemption association between the first device and the second device when the first association strength is greater than the second association strength.
[0205] The computer program modules can substantially execute individual operations in the flows shown in Figures 1 and 2 to simulate an electronic device. In other words, when different computer program modules are executed in the processor or controller 606, they can correspond to different units or modules in Figure 4 or Figure 5.
[0206] While the code means in the embodiment disclosed in conjunction with FIG. 6 above is implemented as a computer program module which, when executed by processor 606, causes hardware configuration 600 to perform the operations described in conjunction with FIGS. 1-2 above, in potential embodiments, at least one item in the code means may be implemented, at least in part, as a hardware circuit.
[0207] The processor may be a single CPU (Central Processing Unit), but may include two or more processing units. For example, the processor may include a general-purpose microprocessor, an instruction set processor, and / or related chip groups, and / or a special-purpose microprocessor (e.g., an application specific integrated circuit (ASIC)). The processor may further include an on-board memory for cache purposes. The computer program may be carried by a computer program product connected to the processor. The computer program product may include a computer readable medium on which the computer program is stored. For example, the computer program product may be a flash memory, a random access memory (RAM), a read only memory (ROM), an EEPROM, and the computer program modules may be distributed in different computer program products in the form of memory in an electronic device in a possible embodiment.
[0208] Each embodiment in this specification will be described in an incremental manner, with each embodiment being described focusing on the differences from other embodiments, and the same and similar parts between the individual embodiments may be referred to each other.
[0209] Finally, it should be noted that, in this specification, relational terms such as first and second, etc., are merely intended to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that any such actual relationship or ordering exists between those entities or operations. And, the terms "comprise", "include", or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or device that includes a set of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent in such process, method, article, or device. Absent further limitations, an element qualified by the phrase "comprises a" does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.
[0210] The device association method, device association device, and electronic device provided by the present disclosure have been described in detail above, and the principles and embodiments of the present disclosure are described in the present specification by applying specific examples, and the description of the above examples is only intended to help understand the method and core idea of the present disclosure. At the same time, those skilled in the art may change the specific embodiments and application scope according to the idea of the present disclosure, and in summary, the contents of the present specification should not be understood as limiting the present disclosure. [Explanation of symbols]
[0211] 1. Refrigerator 2. Refrigerator 310 First Request Reception Module 320 Related Intensity Acquisition Module 330 Combination Association Module 340 Preemption Association Module 410 Registration request receiving module 420 Device Registration Module 430 Second Request Reception Module 440 Device Association Module 450 First Request Reception Module 460 Related Intensity Acquisition Module 470 Combination Association Module 480 Preemption Association Module 602 Input Unit 604 Output Unit 606 Processor 608 Readable storage media
Claims
1. 1. A device association method executed by a device management platform, comprising: receiving a first association request transmitted by a first device for instructing to establish an association between the first device and a second device, and a device association being established between the second device and a third device; obtaining a first association strength between the first device and the second device and a second association strength between the second device and the third device; If the first association strength is less than or equal to the second association strength, a device combination association is established between the first device, the second device, and the third device; establishing a device preemption association between the first device and the second device if the first association strength is greater than the second association strength. Device association method.
2. prior to receiving a first association request transmitted by the first device; receiving a second association request indicating an association between the third device and the second device; and establishing a device association between the second device and the third device based on the second association request. The method of claim 1.
3. prior to receiving the second association request. receiving registration requests transmitted by the first device, the second device, and the third device, respectively; and completing registration of the first device, the second device, and the third device with the device management platform based on the registration request. The method of claim 2.
4. Obtaining a first association strength between the first device and the second device includes: obtaining a first device type corresponding to the first device and a second device type corresponding to the second device; A second number is obtained between the first device and the second device, which is the number of devices through which information is transmitted between the first device and the second device; calculating the first associated strength based on the first device type, the second device type, and the second quantity. The method according to any one of claims 1 to 3.
5. Obtaining a second association strength between the second device and the third device includes: obtaining a second device type corresponding to the second device and a third device type corresponding to the third device; A first number is obtained between the second device and the third device, which is the number of devices through which information is transmitted between the second device and the third device; calculating the second associated strength based on the second device type, the third device type, and the first quantity. The method according to any one of claims 1 to 4.
6. and creating a device combination association between the first device, the second device, and the third device, establishing a device combination short association between the first device, the second device and the third device; or establishing a device combination length association between the first device, the second device, and the third device; The method according to any one of claims 1 to 5.
7. and creating a device combination short association between the first device, the second device, and the third device, and if the first device is a temporary device, creating a device pairing short association between the first device, the second device, and the third device. The method according to claim 6.
8. Attaching a device combination length association between the first device, the second device, and the third device includes: and if the first device is a long-term device, creating a device combination long-term association between the first device, the second device, and the third device. The method according to claim 6.
9. An electronic device for device association, A processor; a memory having instructions stored thereon, the instructions, when executed by the processor, causing the processor to: receiving a first association request transmitted by a first device for instructing to establish an association between the first device and a second device, and a device association being established between the second device and a third device; obtaining a first association strength between the first device and the second device and a second association strength between the second device and the third device; If the first association strength is less than or equal to the second association strength, a device combination association is established between the first device, the second device, and the third device; if the first association strength is greater than the second association strength, establishing a device preemption association between the first device and the second device. electronic equipment.
10. The instructions, when executed by the processor, further cause the processor to: receiving a second association request indicating an association between the third device and the second device; and executing a device association between the second device and the third device based on the second association request.
10. The electronic device according to claim 9.
11. The instructions, when executed by the processor, further cause the processor to: receiving registration requests transmitted by the first device, the second device, and the third device, respectively; and completing registration of the first device, the second device, and the third device in a device management platform according to the registration request. The electronic device according to claim 10.
12. The instructions, when executed by the processor, further cause the processor to: obtaining a first device type corresponding to the first device and a second device type corresponding to the second device; A second number is obtained between the first device and the second device, which is the number of devices through which information is transmitted between the first device and the second device; calculating the first associated strength based on the first device type, the second device type, and the second quantity. The electronic device according to any one of claims 9 to 11.
13. The instructions, when executed by the processor, further cause the processor to: obtaining a second device type corresponding to the second device and a third device type corresponding to the third device; A first number is obtained between the second device and the third device, which is the number of devices through which information is transmitted between the second device and the third device; calculating the second associated strength based on the second device type, the third device type, and the first quantity. The electronic device according to any one of claims 9 to 12.
14. The instructions, when executed by the processor, further cause the processor to: establishing a device pairing short association between the first device, the second device, and the third device; or and performing a device combination length association between the first device, the second device, and the third device. The electronic device according to any one of claims 9 to 13.
15. The instructions, when executed by the processor, further cause the processor to: if the first device is a temporary device, performing a device pairing short association between the first device, the second device and the third device.
15. The electronic device according to claim 14.
16. The instructions, when executed by the processor, further cause the processor to: if the first device is a long-term device, performing a device combination long-term association between the first device, the second device, and the third device.
15. The electronic device according to claim 14.
17. A computer readable storage medium having instructions stored thereon, said instructions, when executed by a processor, causing said processor to perform a method according to any one of claims 1 to 8. A computer-readable storage medium.
Citation Information
Patent Citations
Method and system for controlling cooperation between equipment
JP2001145174A
Methods for discovering, configuring, and exploiting relationships in Internet of Things (iot) networks
JP2016518636A
A real-time, context-aware recommendation engine based on the user's Internet of Things (IoT) environment.
JP2016528610A
Network system, information processing method, server, communication terminal, and program
JP2019040510A
Method, communication terminal, and communication node device for associating resources
US20190149613A1
