A device card updating method, device, apparatus, and storage medium
Patent Information
- Application Number
- CN202411250148.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2044-09-06
AI Technical Summary
[0004]然而,在实际操作中可能会遇到多个线控器接入同一室内机的情况,这会导致生成的控制卡片重复,不仅造成操作上的不便,还可能引发误操作,同时也增加了管理的复杂性
[0053]在本申请实施例中,根据所述若干个内机的设备数据,分别为所述若干个内机生成对应的初始设备卡片;计算所述初始设备卡片与所述原有设备卡片之间的特征相似度,按照所述特征相似度筛选所述初始设备卡片中的重复设备卡片;针对所述重复设备卡片执行去重策略,以更新所述原有设备卡片,得到更新后的设备卡片。本申请实施例在多联机设备控制应用程序中,当同一内机连接多个线控器并生成多个初始设备卡片时,通过实施去重策略,对这些生成的初始设备卡片进行更新处理,确保了更新后的设备卡片能够有效区分来自不同内机的信息,从而实现对设备卡片的精细化管理。本申请实施例不仅避免了因设备卡片重复而可能导致的用户操作混乱,还使得用户能够迅速定位并访问所需的设备卡片,多联机设备控制应用程序的系统后台也能够维持高效的数据处理能力,并保持界面设计的简洁性。
Smart Images

Figure CN119276708B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home technology, and in particular to a device card update method and apparatus, an electronic device, and a storage medium. Background Technology
[0002] A multi-split air conditioning system is a configuration in which a single outdoor unit can connect to and drive multiple indoor units. To enable smart home or remote control functions, these indoor and outdoor units need to be connected to a smart control system via a network connection process, allowing users to remotely control the air conditioning system using devices such as smartphones, tablets, or computers.
[0003] In the network configuration process of multi-split air conditioning systems, a single outdoor unit typically corresponds to multiple indoor units. Since direct network control via the indoor units is not possible, a wired controller is required. This controller connects and pairs with the indoor units using a CAN 485 (485 kilobits per second controller area network) bus to obtain relevant information. Subsequently, the wired controller is configured for network configuration in the smart home operating software. Upon successful configuration, a corresponding indoor unit control card is generated.
[0004] However, in actual operation, there may be situations where multiple wired controllers are connected to the same indoor unit, which will result in duplicate control cards, causing not only inconvenience in operation but also potential for misoperation, and also increasing the complexity of management. Summary of the Invention
[0005] This application provides a device card update method to solve or at least partially solve the above-mentioned problems.
[0006] Accordingly, embodiments of this application also provide a device card update apparatus, an electronic device, and a storage medium to ensure the implementation and application of the above method.
[0007] To address the aforementioned problems, this application discloses a device card updating method, applied to a multi-split air conditioning unit control application. The multi-split air conditioning unit includes an outdoor unit and several indoor units, and each multi-split air conditioning unit corresponds to several existing device cards. The method includes:
[0008] Based on the device data of the aforementioned indoor units, generate corresponding initial device cards for each of the aforementioned indoor units;
[0009] Calculate the feature similarity between the initial device card and the original device card, and filter out duplicate device cards in the initial device card according to the feature similarity;
[0010] A deduplication strategy is executed on the duplicate device cards to update the original device cards and obtain updated device cards.
[0011] Optionally, before calculating the feature similarity between the initial device card and the original device card, the method further includes:
[0012] Obtain historical data corresponding to the original device card, wherein the historical data includes at least device usage frequency and user behavior data;
[0013] Based on the device usage frequency and the user behavior data, a usage frequency threshold and a user preference threshold are set respectively.
[0014] Optionally, the step of performing a deduplication strategy on the duplicate device cards to update the original device cards includes:
[0015] If the device usage frequency of the duplicate device card is higher than the usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold, then the original device card is updated using the duplicate device card.
[0016] Optionally, the duplicate device card and the original device card each include several device attributes, and the step of performing a deduplication strategy on the duplicate device card to update the original device card includes:
[0017] If the device attributes corresponding to the duplicate device card contain new device attributes, and / or the difference between the target device attributes corresponding to the duplicate device card and the target device attributes corresponding to the original device card is higher than a preset attribute difference threshold, then a new device card is generated based on the duplicate device card, and the new device attributes are device attributes that do not exist in the device data corresponding to the original device card.
[0018] Optionally, the method includes:
[0019] Obtain the initial equipment data of the aforementioned internal units;
[0020] Data extraction is performed on the initial device data to obtain the target device data;
[0021] Data mining techniques are used to process the target device data and extract key data features.
[0022] Based on the key data features, corresponding data labels are generated.
[0023] Optionally, generating corresponding initial device cards for each of the plurality of indoor units based on their device data includes:
[0024] Generate a unique device identifier for each of the aforementioned internal units;
[0025] The unique device identifier, key data features, and data tags corresponding to each internal unit are integrated to obtain the device fingerprint corresponding to each internal unit.
[0026] Based on the device fingerprints corresponding to the plurality of internal units, corresponding initial device cards are generated for each of the plurality of internal units.
[0027] Optionally, the step of integrating the unique device identifier, the key data features, and the data tag corresponding to each internal unit to obtain the device fingerprint corresponding to each internal unit includes:
[0028] The key data features and the data tags are integrated into a device data set of a preset data type;
[0029] Based on the unique device identifier corresponding to each indoor unit and the device data set, the device fingerprint corresponding to each indoor unit is obtained.
[0030] Optionally, calculating the feature similarity between the initial device card and the original device card includes:
[0031] The device data corresponding to the initial device card is converted into a numerical vector corresponding to the initial device card, and the device data corresponding to the original device card is converted into a numerical vector corresponding to the original device card.
[0032] Calculate the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card.
[0033] Optionally, after obtaining the updated device card, the method further includes:
[0034] The updated device cards are classified, and the updated device cards of the indoor units corresponding to the same outdoor unit are grouped into the same card set to obtain the card set;
[0035] Based on the card set, a card control combination corresponding to the outdoor unit is generated.
[0036] Optionally, calculating the feature similarity between the initial device card and the existing device card, and filtering duplicate device cards in the initial device card according to the feature similarity, includes:
[0037] Calculate the cosine similarity between the initial device card and the original device card, and filter out duplicate device cards in the initial device card according to the cosine similarity;
[0038] And / or,
[0039] Calculate the Euclidean distance between the initial device card and the existing device cards, and filter out duplicate device cards in the initial device card according to the Euclidean distance.
[0040] Optionally, the method includes:
[0041] Receive user feedback regarding the updated device card;
[0042] Based on the user feedback, the deduplication strategy is updated.
[0043] Optionally, receiving user feedback regarding the updated device card includes:
[0044] Record the user's actions on the updated device card, including at least deleting the device card;
[0045] The aforementioned operational behaviors are statistically analyzed, and the statistical results are used as user feedback.
[0046] This application also discloses a device card updating apparatus, applied to a multi-split air conditioning unit control application. The multi-split air conditioning unit includes an outdoor unit and several indoor units, and each multi-split air conditioning unit corresponds to several existing device cards. The apparatus includes:
[0047] The card generation module is used to generate corresponding initial device cards for each of the plurality of internal units based on the device data of the plurality of internal units.
[0048] The similarity calculation module is used to calculate the feature similarity between the initial device card and the original device card, and to filter out duplicate device cards in the initial device card according to the feature similarity.
[0049] The card deduplication module is used to perform a deduplication strategy on the duplicate device cards to update the original device cards and obtain updated device cards.
[0050] This application also discloses an electronic device, including: a processor; and a memory storing executable code thereon, which, when executed, causes the processor to perform one or more device card update methods as described in this application.
[0051] This application also discloses one or more machine-readable media storing executable code thereon, which, when executed, causes a processor to perform one or more device card update methods as described in this application.
[0052] Compared with the prior art, the embodiments of this application have the following advantages:
[0053] In this embodiment, based on the device data of the plurality of indoor units, corresponding initial device cards are generated for each of the plurality of indoor units; the feature similarity between the initial device card and the original device card is calculated, and duplicate device cards in the initial device cards are filtered according to the feature similarity; a deduplication strategy is executed on the duplicate device cards to update the original device cards, resulting in updated device cards. In the multi-split air conditioner control application, when multiple wired controllers are connected to the same indoor unit and multiple initial device cards are generated, this embodiment implements a deduplication strategy to update these generated initial device cards, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. This embodiment not only avoids user operation confusion caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system backend of the multi-split air conditioner control application can also maintain efficient data processing capabilities and keep the interface design simple. Attached Figure Description
[0054] Figure 1 This is a flowchart illustrating the steps of an embodiment of a device card update method according to this application;
[0055] Figure 2 This is a detailed flowchart of an embodiment of a device card update method according to this application;
[0056] Figure 3 This is a structural block diagram of an embodiment of a device card updating device according to this application;
[0057] Figure 4 This is a schematic diagram of the structure of a device provided in an embodiment of this application. Detailed Implementation
[0058] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0059] Reference Figure 1 This is a flowchart illustrating the steps of an embodiment of a device card update method according to this application, including the following steps:
[0060] Step 101: Based on the device data of the plurality of indoor units, generate corresponding initial device cards for each of the plurality of indoor units.
[0061] This application provides a device card updating method applied to a multi-split air conditioning system control application, which can be a smart home application. A multi-split air conditioning system is a configuration that includes one outdoor unit and several indoor units. To achieve smart home or remote control functions, these indoor and outdoor units need to be connected to the intelligent control system through a network configuration process, allowing users to remotely control the air conditioning system using devices such as smartphones, tablets, or computers via the multi-split air conditioning system control application.
[0062] In the network configuration process of multi-split air conditioning systems, a single outdoor unit typically corresponds to multiple indoor units. Since direct network configuration and control cannot be performed through the indoor units, a wired controller is required. This controller connects and pairs with the indoor units via the CAN 485 bus to obtain relevant information about the indoor units. Subsequently, the wired controller is configured in the multi-split air conditioning system control application. Upon successful configuration, a corresponding indoor unit device card is generated, which the user can use to control the corresponding indoor unit.
[0063] In this embodiment, the multi-split air conditioning unit already has several existing device cards, meaning that the multi-split air conditioning unit has already completed at least one network configuration, generating several existing device cards corresponding to different indoor units. In cases of changes to indoor unit device information, upgrades or maintenance of the multi-split air conditioning unit control application, network configuration or reconfiguration, these existing device cards need to be updated.
[0064] In step 101, based on the device data of several indoor units, corresponding initial device cards are generated for each of the several indoor units.
[0065] In an optional embodiment, before step 101, it is also necessary to obtain initial device data of several indoor units, preprocess these initial device data, generate corresponding unique device identifiers for several indoor units, and obtain device fingerprints for each indoor unit based on the preprocessed device data and unique device identifiers. The data format of the device fingerprints is a comparable data format. Then, based on the device fingerprints corresponding to several indoor units, corresponding initial device cards are generated for several indoor units.
[0066] Step 102: Calculate the feature similarity between the initial device card and the original device card, and filter out duplicate device cards in the initial device card according to the feature similarity.
[0067] In step 102, the feature similarity between the initial device card and the original device card is calculated, and duplicate device cards in the initial device card are filtered according to the feature similarity. Since the device cards are generated based on device fingerprints in a comparable data format, the feature similarity between the initial device card generated in step 101 and the original device card can be calculated, and a feature similarity threshold can be set. If the feature similarity exceeds the feature similarity threshold, the initial device card is considered a duplicate of the corresponding original device card, and all duplicate device cards in the initial device card that are duplicates of the original device card are filtered according to the feature similarity. In one example, the feature similarity can be cosine similarity and / or Euclidean distance.
[0068] Step 103: Perform a deduplication strategy on the duplicate device cards to update the original device cards and obtain the updated device cards.
[0069] In step 103, a deduplication strategy is executed for duplicate device cards to update the original device cards and obtain updated device cards.
[0070] In one embodiment, historical data corresponding to the original device card is first obtained. This historical data includes at least device usage frequency and user behavior data. Based on the device usage frequency and user behavior data in the historical data, usage frequency thresholds and user preference thresholds are set respectively. Further, the duplicate device card and the original device card each include several device attributes, which may include device type, device model, device status, temperature setting, fan speed setting, operating mode, energy consumption data, etc. Specifically, in one embodiment, the detailed process of performing a deduplication strategy for duplicate device cards is as follows.
[0071] In the first scenario, if the usage frequency of the duplicate device card is higher than the usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold, then the duplicate device card is used to update the corresponding original device card.
[0072] In the second scenario, if the device attributes corresponding to the duplicate device card contain new device attributes that are not present in the device data corresponding to the original device card, and / or, the difference between the target device attributes corresponding to the duplicate device card and the target device attributes corresponding to the original device card is higher than a preset attribute difference threshold, then a new device card is generated based on the duplicate device card.
[0073] In the third scenario, if the first and second scenarios are not met, the original device card remains unchanged, and the corresponding duplicate device card is deleted.
[0074] This embodiment processes duplicate device cards according to a deduplication strategy to update the original device cards, resulting in updated device cards that correspond to different indoor units. In one embodiment, device cards corresponding to the same outdoor unit can further generate card control combinations.
[0075] In this embodiment, based on the device data of the plurality of indoor units, corresponding initial device cards are generated for each of the plurality of indoor units; the feature similarity between the initial device card and the original device card is calculated, and duplicate device cards in the initial device cards are filtered according to the feature similarity; a deduplication strategy is executed on the duplicate device cards to update the original device cards, resulting in updated device cards. In the multi-split air conditioner control application, when multiple wired controllers are connected to the same indoor unit and multiple initial device cards are generated, this embodiment implements a deduplication strategy to update these generated initial device cards, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. This embodiment not only avoids user operation confusion caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system backend of the multi-split air conditioner control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0076] In an optional embodiment of this application, before calculating the feature similarity between the initial device card and the original device card, the method further includes:
[0077] Obtain historical data corresponding to the original device card, wherein the historical data includes at least device usage frequency and user behavior data;
[0078] Based on the device usage frequency and the user behavior data, a usage frequency threshold and a user preference threshold are set respectively.
[0079] In this embodiment, before calculating feature similarity, historical data corresponding to the original device card is first obtained. This historical data includes at least device usage frequency and user behavior data. Device usage frequency reflects how often a user uses the device, while user behavior data reflects the user's preference for the internal device corresponding to the original device card, such as frequent interaction. Based on the device usage frequency and user behavior data, usage frequency thresholds and user preference thresholds are set respectively for subsequent deduplication strategies.
[0080] This application embodiment sets a frequency threshold and a user preference threshold to update the original device cards when executing the deduplication strategy, thereby obtaining updated device cards for different internal devices.
[0081] In one optional embodiment of this application, the step of performing a deduplication strategy on the duplicate device cards to update the original device cards includes:
[0082] If the device usage frequency of the duplicate device card is higher than the usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold, then the original device card is updated using the duplicate device card.
[0083] In this embodiment, the deduplication strategy may specifically include: if the usage frequency of a duplicate device card is higher than a usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold, then the original device card can be updated using the device data corresponding to the duplicate device card. That is, when a user's usage frequency of the internal unit corresponding to a duplicate device card is higher than the usage frequency threshold, and / or the user shows preference for the duplicate device card, causing the user behavior data of the duplicate device card to be higher than the usage frequency threshold, then the duplicate device card is used to update the original device card corresponding to that duplicate device card, and the duplicate device card is deleted after the update.
[0084] This application embodiment determines whether the original data card needs to be updated based on the frequency threshold and the user preference threshold, and uses the duplicate device card to update the original device card corresponding to the duplicate device card, thereby realizing the update of the device data of the original device card and achieving the effect of deduplication of device cards.
[0085] In an optional embodiment of this application, the duplicate device card and the original device card each include several device attributes. The step of performing a deduplication strategy on the duplicate device card to update the original device card includes:
[0086] If the device attributes corresponding to the duplicate device card contain new device attributes, and / or the difference between the target device attributes corresponding to the duplicate device card and the target device attributes corresponding to the original device card is higher than a preset attribute difference threshold, then a new device card is generated based on the duplicate device card, and the new device attributes are device attributes that do not exist in the device data corresponding to the original device card.
[0087] In this embodiment, the duplicate device card and the original device card each include several device attributes, which may include device type, device model, device status, temperature setting, fan speed setting, working mode, energy consumption data, etc.
[0088] In this embodiment, the execution of the deduplication strategy may specifically include: if the device attributes corresponding to the duplicate device card contain new device attributes, and / or the difference between the target device attributes corresponding to the duplicate device card and the target device attributes corresponding to the original device card is higher than a preset attribute difference threshold, then a new device card is generated based on the duplicate device card, wherein the new device attributes are device attributes that do not exist in the device data corresponding to the original device card. For example, assuming that the device attributes corresponding to the duplicate device card contain new device attributes that do not exist in the original device card, then the duplicate device card can be saved as a new device card; assuming that the energy consumption data in the device attributes corresponding to the duplicate device card differs significantly from the energy consumption data of the original device card and is higher than the preset attribute difference threshold, then the duplicate device card can also be saved as a new device card.
[0089] This application embodiment executes a deduplication strategy based on the device attributes corresponding to the duplicate device card and the original device card. It can generate a corresponding new device card for the newly connected indoor unit based on the duplicate device card, so that different indoor units have different device cards.
[0090] In one optional embodiment of this application, the method includes:
[0091] Obtain the initial equipment data of the aforementioned internal units;
[0092] Data extraction is performed on the initial device data to obtain the target device data;
[0093] Data mining techniques are used to process the target device data and extract key data features.
[0094] Based on the key data features, corresponding data labels are generated.
[0095] In this embodiment, before generating corresponding initial device cards for several internal units based on their device data, it is necessary to first acquire and preprocess the initial device data. Specifically, the initial device data for several internal units is acquired, which may include sensor data, user interaction data, etc.
[0096] Data extraction is performed on the initial device data to obtain target device data. Target device data can include device IDs, device attributes, usage frequency, and user behavior. Specifically, the device ID is the identifier for each internal device; device attributes are the characteristics of the internal device combination, such as device type, brand, and model; usage frequency is the frequency of use of the internal device combination, which can be extracted from log data; and user behavior is the behavioral data of user interactions with the device combination, such as click count, usage duration, and preference settings.
[0097] Then, data mining techniques are used to process the target device data, extract key data features, and then form a series of corresponding data tags based on the key data features, such as device attributes, usage frequency, user behavior, etc.
[0098] This application embodiment preprocesses the initial device data for subsequent generation of corresponding initial device cards for the internal unit.
[0099] In one optional embodiment of this application, generating corresponding initial device cards for each of the plurality of internal units based on their device data includes:
[0100] Generate a unique device identifier for each of the aforementioned internal units;
[0101] The unique device identifier, key data features, and data tags corresponding to each internal unit are integrated to obtain the device fingerprint corresponding to each internal unit.
[0102] Based on the device fingerprints corresponding to the plurality of internal units, corresponding initial device cards are generated for each of the plurality of internal units.
[0103] In this embodiment, it is necessary to generate a unique device identifier for each of the several internal units. This unique device identifier can be a hash value. The unique device identifier, key data features, and data tags for each internal unit are integrated to obtain a device fingerprint for each internal unit. The device fingerprint is in a comparable data format. Then, based on the device fingerprints corresponding to the several internal units, initial device cards are generated for each of the several internal units.
[0104] This application embodiment integrates the data of each internal unit into a comparable data form of device fingerprint, and then generates corresponding initial device cards for several internal units based on the device fingerprint, which are used to update the original device cards in the future.
[0105] In an optional embodiment of this application, the integration of the unique device identifier, the key data features, and the data tag corresponding to each internal unit to obtain the device fingerprint corresponding to each internal unit includes:
[0106] The key data features and the data tags are integrated into a device data set of a preset data type;
[0107] Based on the unique device identifier corresponding to each indoor unit and the device data set, the device fingerprint corresponding to each indoor unit is obtained.
[0108] In this embodiment, when generating a device fingerprint, key data features and data tags are first integrated into a device data set of a preset data type. This preset data type is a comparable data format. In one example, key data features and data tags can be integrated into a device data set of a comparable data format through encoding. Then, based on the unique device identifier corresponding to each internal unit and the device data set, the device fingerprint corresponding to each internal unit is obtained.
[0109] In this embodiment, key data features and data tags are first integrated into a device data set of a preset data type. Then, based on the unique device identifier and device data set corresponding to each internal unit, the device fingerprint corresponding to each internal unit is obtained, which facilitates the subsequent calculation of the feature similarity between the initial device card and the original device card.
[0110] In an optional embodiment of this application, calculating the feature similarity between the initial device card and the original device card includes:
[0111] The device data corresponding to the initial device card is converted into a numerical vector corresponding to the initial device card, and the device data corresponding to the original device card is converted into a numerical vector corresponding to the original device card.
[0112] Calculate the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card.
[0113] In this embodiment, to calculate the feature similarity between the initial device card and the original device card, it is necessary to first convert the device data corresponding to the initial device card into a numerical vector corresponding to the initial device card, and then convert the device data corresponding to the original device card into a numerical vector corresponding to the original device card. These numerical vectors are then used as input to the deduplication strategy model to calculate the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card.
[0114] In this embodiment, the device data corresponding to the device card is converted into a corresponding numerical vector, and the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card is calculated for subsequent deduplication strategy execution.
[0115] In an optional embodiment of this application, after obtaining the updated device card, the method further includes:
[0116] The updated device cards are classified, and the updated device cards of the indoor units corresponding to the same outdoor unit are grouped into the same card set to obtain the card set;
[0117] Based on the card set, a card control combination corresponding to the outdoor unit is generated.
[0118] In this embodiment, after obtaining the updated device cards, the updated device cards can be further classified. Updated device cards for indoor units corresponding to the same outdoor unit are grouped into the same card set, resulting in different card sets corresponding to different outdoor units. Based on these card sets, card control combinations corresponding to different outdoor units are generated. That is, indoor unit devices are grouped on the multi-split air conditioning device control application, and indoor unit device cards belonging to the same outdoor unit are automatically merged into the same card control combination.
[0119] This application embodiment automatically merges indoor device cards belonging to the same outdoor unit into a single card control group, enabling users to quickly locate and access the required device cards.
[0120] In an optional embodiment of this application, calculating the feature similarity between the initial device card and the existing device card, and filtering duplicate device cards in the initial device card according to the feature similarity, includes:
[0121] Calculate the cosine similarity between the initial device card and the original device card, and filter out duplicate device cards in the initial device card according to the cosine similarity;
[0122] And / or,
[0123] Calculate the Euclidean distance between the initial device card and the existing device cards, and filter out duplicate device cards in the initial device card according to the Euclidean distance.
[0124] In this embodiment, feature similarity can be calculated using cosine similarity and / or Euclidean distance. Specifically, the cosine similarity between each pair of the initial device card and the original device card is calculated, and duplicate device cards in the initial device card that are identical to the original device card are filtered according to the calculated cosine similarity. And / or, the Euclidean distance between each pair of the initial device card and the original device card is calculated, and duplicate device cards in the initial device card that are identical to the original device card are filtered according to the calculated Euclidean distance.
[0125] In this embodiment, the feature similarity between the initial device card and the original device card is calculated based on cosine similarity and / or Euclidean distance, and duplicate device cards in the initial device card are filtered out for subsequent deduplication strategies.
[0126] In one optional embodiment of this application, the method includes:
[0127] Receive user feedback regarding the updated device card;
[0128] Based on the user feedback, the deduplication strategy is updated.
[0129] In this embodiment, the deduplication strategy can learn from user feedback and behavior, automatically adjusting thresholds and decision rules required in the deduplication process, such as frequency thresholds and user preference thresholds. Specifically, this embodiment provides a user feedback mechanism to receive user feedback on the updated device cards, and uses this feedback to further train and optimize the algorithm to update the deduplication strategy.
[0130] This application embodiment ensures the accuracy and adaptability of the deduplication strategy by receiving user feedback on the updated device card and using the user feedback to update the deduplication strategy.
[0131] In one optional embodiment of this application, receiving user feedback regarding the updated device card includes:
[0132] Record the user's actions on the updated device card, including at least deleting the device card;
[0133] The aforementioned operational behaviors are statistically analyzed, and the statistical results are used as user feedback.
[0134] In this embodiment, receiving user feedback can specifically involve recording user actions related to the updated device cards, including at least deleting device cards. For example, if a user believes that duplicate device cards still exist after the update, they can delete the card themselves. These actions are then statistically analyzed, and the results are used as user feedback to update the deduplication strategy.
[0135] This application embodiment records user actions such as deleting device cards as user feedback to update the deduplication strategy, allowing users to point out errors in the deduplication strategy, and using this data to further train and optimize the deduplication strategy.
[0136] In one optional embodiment, the deduplication strategy can be tested before being integrated into the multi-unit device control application, including unit testing, integration testing, and user acceptance testing. After integration, the performance of the deduplication strategy can be evaluated periodically to ensure it meets business requirements, and its performance can be monitored to ensure its effectiveness and accuracy in actual operation.
[0137] In this embodiment, based on the device data of the plurality of indoor units, corresponding initial device cards are generated for each of the plurality of indoor units; the feature similarity between the initial device card and the original device card is calculated, and duplicate device cards in the initial device cards are filtered according to the feature similarity; a deduplication strategy is executed on the duplicate device cards to update the original device cards, resulting in updated device cards. In the multi-split air conditioner control application, when multiple wired controllers are connected to the same indoor unit and multiple initial device cards are generated, this embodiment implements a deduplication strategy to update these generated initial device cards, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. This embodiment not only avoids user operation confusion caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system backend of the multi-split air conditioner control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0138] Reference Figure 2 This is a detailed flowchart of an embodiment of a device card updating method according to this application.
[0139] Figure 2 The diagram illustrates the complete flow of the device card update method provided in this application embodiment. After starting the device card update, initial device data for several internal units is first acquired, which may include sensor data, user interaction data, etc. Data extraction is performed on the initial device data, and data mining techniques are used to process and extract key data features. Then, a series of corresponding data tags are formed based on the key data features, such as device ID, device attributes, usage frequency, user behavior, etc.
[0140] Next, the data integration process is carried out. A unique device identifier, such as a hash value, is generated for each of the several internal machines. Then, the unique device identifier, key data features, and data tags for each internal machine are integrated to obtain the device fingerprint for each internal machine. Based on the device fingerprint, initial device cards are generated for each of the several internal machines, and a deduplication strategy is performed on these initial device cards.
[0141] Obtain historical data corresponding to the original device cards. This historical data includes at least device usage frequency and user behavior data. Based on these data, set usage frequency thresholds and user preference thresholds for subsequent deduplication strategies. Then, calculate the feature similarity between the initial device cards and the original device cards. Detect and filter duplicate device cards in the initial device cards based on feature similarity, and perform deduplication strategies on these duplicate cards to update the original device cards. Specifically, this can be divided into the following three cases:
[0142] In the first scenario, if the usage frequency of the duplicate device card is higher than the usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold, then the duplicate device card is used to update the corresponding original device card.
[0143] In the second scenario, if the device attributes corresponding to the duplicate device card contain new device attributes that are not present in the device data corresponding to the original device card, and / or, the difference between the target device attributes corresponding to the duplicate device card and the target device attributes corresponding to the original device card is higher than a preset attribute difference threshold, then a new device card is generated based on the duplicate device card.
[0144] In the third scenario, if the first and second scenarios are not met, the original device card remains unchanged, and the corresponding duplicate device card is deleted.
[0145] After obtaining the updated device card, user feedback on the updated device card can be received, and the algorithm can be further trained and optimized using the user feedback to update the deduplication strategy.
[0146] In this embodiment, based on the device data of the plurality of indoor units, corresponding initial device cards are generated for each of the plurality of indoor units; the feature similarity between the initial device card and the original device card is calculated, and duplicate device cards in the initial device cards are filtered according to the feature similarity; a deduplication strategy is executed on the duplicate device cards to update the original device cards, resulting in updated device cards. In the multi-split air conditioner control application, when multiple wired controllers are connected to the same indoor unit and multiple initial device cards are generated, this embodiment implements a deduplication strategy to update these generated initial device cards, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. This embodiment not only avoids user operation confusion caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system backend of the multi-split air conditioner control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0147] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.
[0148] Based on the above embodiments, this embodiment also provides a device card updating device, which is applied to electronic devices such as terminal devices and servers.
[0149] Reference Figure 3 The diagram shows a structural block diagram of an embodiment of a device card updating apparatus according to this application, which may specifically include the following modules:
[0150] The card generation module 301 is used to generate corresponding initial device cards for each of the plurality of internal units based on the device data of the plurality of internal units.
[0151] Similarity calculation module 302 is used to calculate the feature similarity between the initial device card and the original device card, and filter duplicate device cards in the initial device card according to the feature similarity;
[0152] The card deduplication module 303 is used to perform a deduplication strategy on the duplicate device cards to update the original device cards and obtain updated device cards.
[0153] Optionally, the device further includes:
[0154] The historical data acquisition module is used to acquire the historical data corresponding to the original device card. The historical data includes at least device usage frequency and user behavior data.
[0155] The threshold setting submodule is used to set a usage frequency threshold and a user preference threshold based on the device usage frequency and the user behavior data, respectively.
[0156] Optionally, the card deduplication module 303 further includes:
[0157] The card update submodule is used to update the original device card using the duplicate device card if the device usage frequency of the duplicate device card is higher than the usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold.
[0158] Optionally, the duplicate device card and the original device card each include several device attributes, and the card deduplication module 303 includes:
[0159] The new card generation submodule is used to generate a new device card based on the duplicate device card if the device attributes corresponding to the duplicate device card contain new device attributes, and / or the difference between the target device attributes corresponding to the duplicate device card and the target device attributes corresponding to the original device card is higher than a preset attribute difference threshold. The new device attributes are device attributes that do not exist in the device data corresponding to the original device card.
[0160] Optionally, the device includes:
[0161] An initial data acquisition module is used to acquire the initial device data of the plurality of internal units;
[0162] The data extraction module is used to extract data from the initial device data to obtain the target device data;
[0163] The data mining module is used to process the target device data using data mining techniques and extract key data features;
[0164] The tag generation module is used to generate corresponding data tags based on the key data features.
[0165] Optionally, the card generation module 301 includes:
[0166] The identifier generation submodule is used to generate a unique device identifier for each of the plurality of internal units;
[0167] The data integration submodule is used to integrate the unique device identifier, key data features, and data tags corresponding to each internal unit to obtain the device fingerprint corresponding to each internal unit;
[0168] The initial card generation submodule is used to generate corresponding initial device cards for each of the plurality of internal units based on the device fingerprints corresponding to the plurality of internal units.
[0169] Optionally, the data integration submodule is further configured to:
[0170] The key data features and the data tags are integrated into a device data set of a preset data type;
[0171] Based on the unique device identifier corresponding to each indoor unit and the device data set, the device fingerprint corresponding to each indoor unit is obtained.
[0172] Optionally, the similarity calculation module 302 includes:
[0173] The vector conversion submodule is used to convert the device data corresponding to the initial device card into a numerical vector corresponding to the initial device card, and to convert the device data corresponding to the original device card into a numerical vector corresponding to the original device card.
[0174] The vector calculation submodule is used to calculate the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card.
[0175] Optionally, the device further includes:
[0176] The collection generation module is used to classify the updated device cards, and group the updated device cards of the indoor units corresponding to the same outdoor unit into the same card set to obtain the card set;
[0177] The control combination generation module is used to generate a card control combination corresponding to the external unit based on the card set.
[0178] Optionally, the similarity calculation module 302 is further configured to:
[0179] Calculate the cosine similarity between the initial device card and the original device card, and filter out duplicate device cards in the initial device card according to the cosine similarity;
[0180] And / or,
[0181] Calculate the Euclidean distance between the initial device card and the existing device cards, and filter out duplicate device cards in the initial device card according to the Euclidean distance.
[0182] Optionally, the device includes:
[0183] The feedback receiving module is used to receive user feedback regarding the updated device card;
[0184] The strategy update module is used to update the deduplication strategy based on the user feedback.
[0185] Optionally, the feedback receiving module includes:
[0186] An operation log submodule is used to record the user's operation behavior on the updated device card, the operation behavior including at least deleting the device card;
[0187] The operation statistics submodule is used to collect statistics on the operation behavior and use the statistical results as user feedback.
[0188] In this embodiment, based on the device data of the plurality of indoor units, corresponding initial device cards are generated for each of the plurality of indoor units; the feature similarity between the initial device card and the original device card is calculated, and duplicate device cards in the initial device cards are filtered according to the feature similarity; a deduplication strategy is executed on the duplicate device cards to update the original device cards, resulting in updated device cards. In the multi-split air conditioner control application, when multiple wired controllers are connected to the same indoor unit and multiple initial device cards are generated, this embodiment implements a deduplication strategy to update these generated initial device cards, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. This embodiment not only avoids user operation confusion caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system backend of the multi-split air conditioner control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0189] This application also provides a non-volatile readable storage medium storing one or more modules (programs). When these modules are applied to a device, they enable the device to execute the instructions for the method steps in this application.
[0190] This application provides one or more machine-readable media storing instructions that, when executed by one or more processors, cause an electronic device to perform one or more of the methods described in the above embodiments. In this application, the electronic device includes various types of devices such as terminal devices and servers (clusters).
[0191] The embodiments of this disclosure can be implemented as an apparatus configured as desired using any suitable hardware, firmware, software, or any combination thereof, including electronic devices such as terminal devices, servers (clusters), etc. Figure 4 An exemplary apparatus 400 is schematically shown that can be used to implement the various embodiments described in this application.
[0192] In one embodiment, Figure 4 An exemplary device 400 is shown, which includes one or more processors 402, a control module (chipset) 404 coupled to at least one of the processors 402, a memory 406 coupled to the control module 404, a non-volatile memory (NVM) / storage device 408 coupled to the control module 404, one or more input / output devices 410 coupled to the control module 404, and a network interface 412 coupled to the control module 404.
[0193] Processor 402 may include one or more single-core or multi-core processors, and processor 402 may include any combination of general-purpose processors or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, device 400 can serve as a terminal device, server (cluster), or other device as described in the embodiments of this application.
[0194] In some embodiments, the apparatus 400 may include one or more computer-readable media (e.g., memory 406 or NVM / storage device 408) having instructions 414 and one or more processors 402 that are combined with the one or more computer-readable media and configured to execute the instructions 414 to implement the module and thus perform the actions described in this disclosure.
[0195] In one embodiment, the control module 404 may include any suitable interface controller to provide any suitable interface to at least one of the processors 402 and / or any suitable device or component communicating with the control module 404.
[0196] The control module 404 may include a memory controller module to provide an interface to the memory 406. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0197] Memory 406 may be used, for example, to load and store data and / or instructions 414 for device 400. In one embodiment, memory 406 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, memory 406 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).
[0198] In one embodiment, the control module 404 may include one or more input / output controllers to provide an interface to the NVM / storage device 408 and (one or more) input / output devices 410.
[0199] For example, NVM / storage device 408 may be used to store data and / or instructions 414. NVM / storage device 408 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (one or more) non-volatile storage devices (e.g., one or more hard disk drives (HDDs), one or more optical disc drives (CDs), and / or one or more digital universal optical disc (DVD) drives).
[0200] NVM / storage device 408 may include storage resources that are physically part of a device on which device 400 is mounted, or that can be accessed by the device but do not necessarily have to be part of the device. For example, NVM / storage device 408 may be accessed via a network via one or more input / output devices 410.
[0201] One or more input / output devices 410 may provide an interface for device 400 to communicate with any other suitable device. Input / output devices 410 may include communication components, audio components, sensor components, etc. Network interface 412 may provide an interface for device 400 to communicate via one or more networks. Device 400 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, such as accessing wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, etc., or combinations thereof.
[0202] In one embodiment, at least one of the processors 402 may be logically packaged with one or more controllers (e.g., memory controller modules) of the control module 404. In one embodiment, at least one of the processors 402 may be logically packaged with one or more controllers of the control module 404 to form a system-in-package (SiP). In one embodiment, at least one of the processors 402 may be integrated with the logic of one or more controllers of the control module 404 on the same die. In one embodiment, at least one of the processors 402 may be integrated with the logic of one or more controllers of the control module 404 on the same die to form a system-on-a-chip (SoC).
[0203] In various embodiments, device 400 may be, but is not limited to, a server, desktop computing device, or mobile computing device (e.g., laptop, handheld computing device, tablet, netbook, etc.). In various embodiments, device 400 may have more or fewer components and / or different architectures. For example, in some embodiments, device 400 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0204] The detection device may use a main control chip as a processor or control module, and sensor data, position information, etc. may be stored in a memory or NVM / storage device. The sensor group may be used as an input / output device, and the communication interface may include a network interface.
[0205] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0206] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0207] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device card to produce a machine, such that the instructions executed by the processor of the terminal device via the computer or other programmable device card generate instructions for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0208] These computer program instructions may also be stored in a computer-readable storage medium that can guide a computer or other programmable device card to update a terminal device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0209] These computer program instructions can also be loaded onto a computer or other programmable device card update terminal device, causing a series of operational steps to be performed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0210] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0211] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0212] The above provides a detailed description of a device card updating method and apparatus, an electronic device, and a storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for updating a device card, characterized in that, An application for controlling multi-split air conditioning systems, wherein the multi-split air conditioning system includes an outdoor unit and several indoor units, and the multi-split air conditioning system corresponds to several existing device cards, the method comprising: Based on the device data of the plurality of indoor units, corresponding initial device cards are generated for each of the plurality of indoor units. The initial device cards for the plurality of indoor units are generated based on the device fingerprints corresponding to each of the plurality of indoor units. The data format of the device fingerprints is a comparable data format. Obtain historical data corresponding to the original device card, wherein the historical data includes at least device usage frequency and user behavior data; Based on the device usage frequency and the user behavior data, a usage frequency threshold and a user preference threshold are set respectively; The device data corresponding to the initial device card is converted into a numerical vector corresponding to the initial device card, and the device data corresponding to the original device card is converted into a numerical vector corresponding to the original device card. Calculate the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card, and filter out duplicate device cards in the initial device card according to the feature similarity; A deduplication strategy is executed on the duplicate device cards to update the original device cards and obtain the updated device cards. The step of performing a deduplication strategy on the duplicate device cards to update the original device cards includes: If the device usage frequency of the duplicate device card is higher than the usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold, then the original device card is updated using the duplicate device card.
2. The method according to claim 1, characterized in that, The duplicate device card and the original device card each include several device attributes. The step of performing a deduplication strategy on the duplicate device card to update the original device card includes: If the device attributes corresponding to the duplicate device card contain new device attributes, and / or the difference between the target device attributes corresponding to the duplicate device card and the target device attributes corresponding to the original device card is higher than a preset attribute difference threshold, then a new device card is generated based on the duplicate device card, and the new device attributes are device attributes that do not exist in the device data corresponding to the original device card.
3. The method according to claim 1, characterized in that, The method includes: Obtain the initial equipment data of the aforementioned internal units; Data extraction is performed on the initial device data to obtain the target device data; Data mining techniques are used to process the target device data and extract key data features. Based on the key data features, corresponding data labels are generated.
4. The method according to claim 3, characterized in that, The step of generating corresponding initial device cards for each of the plurality of indoor units based on their device data includes: Generate a unique device identifier for each of the aforementioned internal units; The unique device identifier, key data features, and data tags corresponding to each internal unit are integrated to obtain the device fingerprint corresponding to each internal unit. Based on the device fingerprints corresponding to the plurality of internal units, corresponding initial device cards are generated for each of the plurality of internal units.
5. The method according to claim 4, characterized in that, The process of integrating the unique device identifier, key data features, and data tag corresponding to each internal unit to obtain the device fingerprint corresponding to each internal unit includes: The key data features and the data tags are integrated into a device data set of a preset data type; Based on the unique device identifier corresponding to each indoor unit and the device data set, the device fingerprint corresponding to each indoor unit is obtained.
6. The method according to claim 1, characterized in that, After obtaining the updated device card, the method further includes: The updated device cards are classified, and the updated device cards of the indoor units corresponding to the same outdoor unit are grouped into the same card set to obtain the card set; Based on the card set, a card control combination corresponding to the outdoor unit is generated.
7. The method according to claim 1, characterized in that, The step of calculating the feature similarity between the initial device card and the existing device card, and filtering duplicate device cards in the initial device card according to the feature similarity, includes: Calculate the cosine similarity between the initial device card and the original device card, and filter out duplicate device cards in the initial device card according to the cosine similarity; And / or, Calculate the Euclidean distance between the initial device card and the existing device cards, and filter out duplicate device cards in the initial device card according to the Euclidean distance.
8. The method according to claim 1, characterized in that, The method includes: Receive user feedback regarding the updated device card; Based on the user feedback, the deduplication strategy is updated.
9. The method according to claim 8, characterized in that, The receiving of user feedback regarding the updated device card includes: Record the user's actions on the updated device card, including at least deleting the device card; The aforementioned operational behaviors are statistically analyzed, and the statistical results are used as user feedback.
10. A device card updating apparatus, characterized in that, An application for controlling multi-split air conditioning systems, wherein the multi-split air conditioning system includes an outdoor unit and several indoor units, and the multi-split air conditioning system corresponds to several existing equipment cards, the device comprising: The card generation module is used to generate corresponding initial device cards for the plurality of internal units based on the device data of the plurality of internal units. The initial device cards for the plurality of internal units are generated based on the device fingerprints corresponding to the plurality of internal units respectively. The data format of the device fingerprints is a comparable data format. The historical data acquisition module is used to acquire the historical data corresponding to the original device card. The historical data includes at least device usage frequency and user behavior data. The threshold setting submodule is used to set a usage frequency threshold and a user preference threshold based on the device usage frequency and the user behavior data, respectively. The similarity calculation module is used to convert the device data corresponding to the initial device card into a numerical vector corresponding to the initial device card, and to convert the device data corresponding to the original device card into a numerical vector corresponding to the original device card; calculate the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card, and filter out duplicate device cards in the initial device card according to the feature similarity; The card deduplication module is used to perform a deduplication strategy on the duplicate device cards to update the original device cards and obtain the updated device cards. The card deduplication module further includes: The card update submodule is used to update the original device card using the duplicate device card if the device usage frequency of the duplicate device card is higher than the usage frequency threshold, and / or the user behavior data of the duplicate device card is higher than the usage frequency threshold.
11. An electronic device, characterized in that, include: processor; and A memory having executable code stored thereon, which, when executed, causes the processor to perform the multi-unit equipment distribution method as described in one or more of claims 1-9.
12. One or more machine-readable media having executable code stored thereon, which, when executed, causes a processor to perform the multi-unit equipment distribution method as described in one or more of claims 1-9.
Citation Information
Patent Citations
Air conditioner equipment pairing method and device
CN108592311A
Basic service card system management method and device, equipment and storage medium
CN117874044A
Control method and device based on interconnection and interworking network, equipment and storage medium
CN117879986A