Equipment card updating method and device, equipment and storage medium
By calculating the characteristic similarity and usage frequency of multiple online device cards, deduplication and processing of cards, the problem of repetition of equipment cards is solved, and the refined management of cards is achieved and the system efficiency is improved.
Patent Information
- Application Number
- CN202411250148.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-09-06
AI Technical Summary
During the distribution process of multiple online devices, connecting multiple wire controllers to the same indoor unit causes the generated device cards to be repeated, resulting in inconvenient operation and complex management.
By calculating the characteristic similarity between the initial device card and the original device card, filtering and deduplication, generating updated device cards, and setting thresholds using device usage frequency and user behavior data to ensure the uniqueness and distinction of cards.
It effectively avoids user operation chaos caused by repeated device cards, improves the refinement of card management, and maintains efficient data processing capabilities in the system background and the simplicity of interface design.
Smart Images

Figure CN119276708A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a device card updating method and apparatus, an electronic device and a storage medium. Background Art
[0002] A multi-split system is an air conditioning system configuration that features a single outdoor unit (outdoor unit) that can connect and drive multiple indoor units (indoor units). In order to achieve smart home or remote control functions, these indoor and outdoor units need to be connected to an intelligent control system through a network distribution process, allowing users to remotely control the air conditioning system using devices such as smartphones, tablets or computers.
[0003] In the networking process of multi-connected devices, a single outdoor unit usually corresponds to multiple indoor units. Since the networking control cannot be performed directly through the indoor unit, it is necessary to connect and pair with the indoor unit through the wire controller using the CAN 485 (Controller Area Network with a baud rate of 485 kilobits per second) bus to obtain relevant information about the indoor unit. Subsequently, the wire controller is networked in the smart home operating software, and the corresponding indoor unit control card will be generated if successful.
[0004] However, in actual operation, multiple wire controllers may be connected to the same indoor unit, which will result in duplicate control cards being generated, causing not only operational inconvenience but also possible misoperation, while also increasing the complexity of management. Summary of the invention
[0005] The embodiment of the present application provides a device card update method to solve or at least partially solve the above-mentioned problem.
[0006] Correspondingly, the embodiment of the present application also provides a device card updating apparatus, an electronic device and a storage medium to ensure the implementation and application of the above method.
[0007] In order to solve the above problems, the embodiment of the present application discloses a device card update method, which is applied to a multi-connected device control application program, wherein the multi-connected device includes an external device and a plurality of internal devices, and the multi-connected device corresponds to a plurality of original device cards, and the method includes:
[0008] Generating corresponding initial equipment cards for the plurality of indoor units respectively according to the equipment data of the plurality of indoor units;
[0009] Calculating feature similarity between the initial device card and the original device card, and filtering duplicate device cards in the initial device card according to the feature similarity;
[0010] A deduplication strategy is executed for the duplicate device card to update the original device card to obtain an updated device card.
[0011] Optionally, before calculating the feature similarity between the initial device card and the original device card, the method further includes:
[0012] Acquire historical data corresponding to the original device card, wherein the historical data at least includes device usage frequency and user behavior data;
[0013] A usage frequency threshold and a user preference threshold are set respectively according to the device usage frequency and the user behavior data.
[0014] Optionally, executing a deduplication strategy for the duplicate device card to update the original device card 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, the duplicate device card is used to update the original device card.
[0016] Optionally, the duplicate device card and the original device card respectively include a plurality of device attributes, and executing a deduplication strategy for the duplicate device card to update the original device card includes:
[0017] If the device attributes corresponding to the duplicate device card include 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, 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 comprises:
[0019] Acquiring initial device data of the plurality of indoor units;
[0020] Extracting data from the initial device data to obtain target device data;
[0021] Process the target device data using data mining technology to extract key data features;
[0022] A corresponding data label is formed according to the key data features.
[0023] Optionally, generating corresponding initial device cards for the plurality of indoor units respectively according to the device data of the plurality of indoor units includes:
[0024] Generate corresponding unique device identifiers for the plurality of internal machines respectively;
[0025] Integrate the unique device identification, the key data feature and the data tag corresponding to each internal machine to obtain a device fingerprint corresponding to each internal machine;
[0026] According to the device fingerprints corresponding to the plurality of internal machines, corresponding initial device cards are generated for the plurality of internal machines respectively.
[0027] Optionally, the integrating the unique device identification, the key data feature and the data tag corresponding to each internal machine to obtain the device fingerprint corresponding to each internal machine includes:
[0028] Integrate the key data features and the data tags into a device data set of a preset data type;
[0029] According to the unique device identification corresponding to each internal machine and the device data set, a device fingerprint corresponding to each internal machine is obtained.
[0030] Optionally, the calculating the feature similarity between the initial device card and the original device card includes:
[0031] Converting the device data corresponding to the initial device card into a numerical vector corresponding to the initial device card, and converting the device data corresponding to the original device card into a numerical vector corresponding to the original device card;
[0032] 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.
[0033] Optionally, after obtaining the updated device card, the method further includes:
[0034] Classifying the updated device cards, and grouping the updated device cards corresponding to the indoor units of the same outdoor unit into the same card set to obtain the card set;
[0035] A card control combination corresponding to the external machine is generated according to the card set.
[0036] Optionally, the calculating the feature similarity between the initial device card and the original device card, and screening duplicate device cards in the initial device card according to the feature similarity, includes:
[0037] Calculating the cosine similarity between the initial device card and the original device card, and filtering duplicate device cards in the initial device card according to the cosine similarity;
[0038] and / or,
[0039] The Euclidean distance between the initial device card and the original device card is calculated, and duplicate device cards in the initial device card are filtered out according to the Euclidean distance.
[0040] Optionally, the method comprises:
[0041] receiving user feedback from users regarding the updated device card;
[0042] The deduplication strategy is updated according to the user feedback.
[0043] Optionally, the receiving user feedback regarding the updated device card includes:
[0044] Recording the user's operation behavior on the updated device card, where the operation behavior at least includes deleting the device card;
[0045] The operation behavior is counted, and the statistical result is used as the user feedback.
[0046] The embodiment of the present application also discloses a device card updating device, which is applied to a multi-connected device control application program, wherein the multi-connected device includes an external device and a plurality of internal devices, and the multi-connected device corresponds to a plurality of original device cards, and the device includes:
[0047] A card generation module, used to generate corresponding initial device cards for the plurality of indoor units respectively according to the device data of the plurality of indoor units;
[0048] A similarity calculation module, used to calculate the feature similarity between the initial device card and the original device card, and filter the duplicate device cards in the initial device card according to the feature similarity;
[0049] The card deduplication module is used to execute a deduplication strategy for the duplicate device cards to update the original device cards to obtain updated device cards.
[0050] An embodiment of the present application also discloses an electronic device, including: a processor; and a memory, on which executable code is stored. When the executable code is executed, the processor executes the device card update method as described in one or more of the embodiments of the present application.
[0051] The embodiments of the present application also disclose one or more machine-readable media on which executable codes are stored. When the executable codes are executed, the processor executes the device card update method as described in one or more of the embodiments of the present application.
[0052] Compared with the prior art, the embodiments of the present application have the following advantages:
[0053] In an embodiment of the present application, corresponding initial device cards are generated for the several indoor units respectively according to the device data of the several indoor units; the feature similarity between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card are screened according to the feature similarity; a deduplication strategy is executed for the duplicate device card to update the original device card and obtain an updated device card. In an embodiment of the present application, in a multi-connected device control application, when the same indoor unit is connected to multiple wire controllers and multiple initial device cards are generated, these generated initial device cards are updated by implementing a deduplication strategy, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. The embodiment of the present application not only avoids user operation confusion that may be caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system background of the multi-connected device control application can also maintain efficient data processing capabilities and keep the interface design simple. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a flowchart of the steps of an embodiment of a device card update method of the present application;
[0055] Figure 2 It is a specific flow chart of an embodiment of a device card updating method of the present application;
[0056] Figure 3 It is a structural block diagram of an embodiment of a device card updating apparatus of the present application;
[0057] Figure 4 It is a schematic diagram of the structure of a device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0059] Reference Figure 1 , is a flowchart of a method for updating a device card according to an embodiment of the present application, comprising the following steps:
[0060] Step 101: Generate corresponding initial equipment cards for the plurality of indoor units respectively according to the equipment data of the plurality of indoor units.
[0061] A device card update method provided in an embodiment of the present application is applied to a multi-split device control application, which can be a smart home application. A multi-split device is an air conditioning system configuration, which is characterized by including an outdoor unit and several indoor units. In order to realize the smart home or remote control function, these indoor units and outdoor units need to be connected to the intelligent control system through a network distribution process, so that users can use devices such as smartphones, tablets or computers to remotely control the air conditioning system through the multi-split device control application.
[0062] In the networking process of multi-split devices, a single outdoor unit usually corresponds to multiple indoor units. Since the networking control cannot be performed directly through the indoor unit, it is necessary to use the wired controller to connect and pair with the indoor unit using the CAN 485 bus to obtain relevant information about the indoor unit. Subsequently, the wired controller is networked in the multi-split device control application. If successful, the corresponding indoor unit device card will be generated, and the user can use the device card to control the corresponding indoor unit.
[0063] In the embodiment of the present application, the multi-connected device has already corresponded to several original device cards, that is, the multi-connected device has completed network configuration at least once before, and generated several original device cards corresponding to different internal devices. In the case of changes in the internal device information, upgrades or maintenance of the multi-connected device control application, network configuration or re-network configuration, etc., these original device cards need to be updated.
[0064] In step 101, corresponding initial device cards are generated for the plurality of indoor units according to the device data of the plurality of indoor units.
[0065] In an optional embodiment, before step 101, it is also necessary to obtain initial device data of several indoor machines, preprocess these initial device data, and generate corresponding unique device identifiers for the several indoor machines respectively, and obtain the device fingerprint corresponding to each indoor machine based on the preprocessed device data and the unique device identifier. The data form of the device fingerprint is a comparable data form, and then based on the device fingerprints corresponding to the several indoor machines, corresponding initial device cards are generated for the several indoor machines respectively.
[0066] Step 102: 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.
[0067] In step 102, the feature similarity between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card are screened according to the feature similarity. Since the device card is generated based on the device fingerprint in the comparable data form, 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. When the feature similarity exceeds the feature similarity threshold, the initial device card is considered to be a duplicate device card 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 screened according to the feature similarity. In one example, the feature similarity can be cosine similarity and / or Euclidean distance.
[0068] Step 103: Execute a deduplication strategy for the duplicate device card to update the original device card to obtain an updated device card.
[0069] In step 103, a deduplication strategy is executed for duplicate device cards to update the original device cards to obtain updated device cards.
[0070] In one embodiment, the historical data corresponding to the original device card is first obtained, and the historical data at least includes the device usage frequency and user behavior data, and the usage frequency threshold and the user preference threshold are set according to the device usage frequency and user behavior data in the historical data. Furthermore, the duplicate device card and the original device card respectively include several device attributes, and the device attributes may include device type, device model, device status, temperature setting, wind speed setting, working mode, energy consumption data, etc. Specifically, in one embodiment, the detailed process of executing the deduplication strategy for duplicate device cards is as follows.
[0071] In the first case, 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, the duplicate device card is used to update the corresponding original device card.
[0072] In the second case, if the device attributes corresponding to the duplicate device card include new device attributes that do not exist 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, a new device card is generated based on the duplicate device card.
[0073] In the third case, if the first and second cases 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 the deduplication strategy to update the original device cards to obtain updated device cards, which correspond to different indoor units. In one embodiment, the device cards corresponding to the same outdoor unit can further generate a card control combination.
[0075] In an embodiment of the present application, corresponding initial device cards are generated for the several indoor units respectively according to the device data of the several indoor units; the feature similarity between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card are screened according to the feature similarity; a deduplication strategy is executed for the duplicate device card to update the original device card and obtain an updated device card. In an embodiment of the present application, in a multi-connected device control application, when the same indoor unit is connected to multiple wire controllers and multiple initial device cards are generated, these generated initial device cards are updated by implementing a deduplication strategy, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. The embodiment of the present application not only avoids user operation confusion that may be caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system background of the multi-connected device control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0076] In an optional embodiment of the present application, before calculating the feature similarity between the initial device card and the original device card, the method further includes:
[0077] Acquire historical data corresponding to the original device card, wherein the historical data at least includes device usage frequency and user behavior data;
[0078] A usage frequency threshold and a user preference threshold are set respectively according to the device usage frequency and the user behavior data.
[0079] In this embodiment, before calculating the feature similarity, the historical data corresponding to the original device card is first obtained. The historical data includes at least the device usage frequency and user behavior data. The device usage frequency can reflect the frequency of user use of the device, and the user behavior data can reflect the user's preference for the internal device corresponding to the original device card, such as frequent interaction. According to the device usage frequency and user behavior data, the usage frequency threshold and user preference threshold are set respectively for subsequent execution of the deduplication strategy.
[0080] The embodiment of the present application sets a frequency threshold and a user preference threshold to update the original device card when a deduplication strategy is subsequently executed, thereby obtaining updated device cards for different internal devices.
[0081] In an optional embodiment of the present application, executing a deduplication strategy for the duplicate device card to update the original device card 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, the duplicate device card is used to update the original device card.
[0083] In this embodiment, the execution of the deduplication strategy may specifically include that 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, the device data corresponding to the duplicate device card may be used to update the original device card. That is, when the user's usage frequency of the internal machine corresponding to the duplicate device card is higher than the usage frequency threshold, and / or the user shows a preference for the duplicate device card, so that the user behavior data of the duplicate device card is higher than the usage frequency threshold, the duplicate device card is used to update the original device card corresponding to the duplicate device card, and the duplicate device card is deleted after the update.
[0084] The embodiment of the present application 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 updating the device data of the original device card and achieving the effect of deduplication of the device card.
[0085] In an optional embodiment of the present application, the duplicate device card and the original device card respectively include a plurality of device attributes, and the performing of 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 include 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, 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 respectively include several device attributes, and the device attributes may include device type, device model, device status, temperature setting, wind 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 include 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 attribute is a device attribute that does 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 include new device attributes that do not exist in the original device card, 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 is significantly different from the energy consumption data of the original device card and is higher than the preset attribute difference threshold, the duplicate device card can also be saved as a new device card.
[0089] The embodiment of the present application executes a deduplication strategy according to the device attributes corresponding to the duplicate device cards and the original device cards. According to the duplicate device cards, corresponding new device cards can be generated for the newly connected indoor machines, so that different indoor machines correspond to different device cards.
[0090] In an optional embodiment of the present application, the method includes:
[0091] Acquiring initial device data of the plurality of indoor units;
[0092] Extracting data from the initial device data to obtain target device data;
[0093] Process the target device data using data mining technology to extract key data features;
[0094] A corresponding data label is formed according to the key data features.
[0095] In this embodiment, before generating corresponding initial device cards for several indoor units according to the device data of several indoor units, it is necessary to first obtain the initial device data and perform preprocessing. Specifically, the initial device data of several indoor units are obtained respectively, which may include sensor data, user interaction data, etc.
[0096] Data extraction is performed on the initial device data to obtain the target device data, which may include device ID (Identifier), device attributes, usage frequency, user behavior, etc. Specifically, the device ID is the identifier of each internal device; the device attributes are the characteristics of the internal device combination, such as device type, brand, model, etc.; the usage frequency is the usage frequency of the internal device combination, which can be extracted from the log data; the user behavior is the behavioral data of the user's interaction with the device combination, such as the number of clicks, usage time, preference settings, etc.
[0097] Then, data mining technology is used to process the target device data, extract key data features, and then form a series of corresponding data labels based on the key data features, such as device attributes, usage frequency, user behavior, etc.
[0098] The embodiment of the present application pre-processes the initial device data for subsequent generation of a corresponding initial device card for the internal machine.
[0099] In an optional embodiment of the present application, generating corresponding initial device cards for the plurality of indoor units respectively according to the device data of the plurality of indoor units includes:
[0100] Generate corresponding unique device identifiers for the plurality of internal machines respectively;
[0101] Integrate the unique device identification, the key data feature and the data tag corresponding to each internal machine to obtain a device fingerprint corresponding to each internal machine;
[0102] According to the device fingerprints corresponding to the plurality of internal machines, corresponding initial device cards are generated for the plurality of internal machines respectively.
[0103] In this embodiment, it is necessary to generate corresponding unique device identifications for several internal machines respectively, and the unique device identification can be a hash value. The unique device identification, key data features and data tags corresponding to each internal machine are integrated to obtain the device fingerprint corresponding to each internal machine. The data form of the device fingerprint is a comparable data form. Then, according to the device fingerprints corresponding to the several internal machines, the corresponding initial device cards are generated for the several internal machines respectively.
[0104] The embodiment of the present application integrates the data of each internal machine into a device fingerprint in a comparable data form, and then generates corresponding initial device cards for several internal machines according to the device fingerprint, so as to subsequently update the original device cards.
[0105] In an optional embodiment of the present application, the unique device identifier, the key data feature, and the data tag corresponding to each internal machine are integrated to obtain a device fingerprint corresponding to each internal machine, including:
[0106] Integrate the key data features and the data tags into a device data set of a preset data type;
[0107] According to the unique device identification corresponding to each internal machine and the device data set, a device fingerprint corresponding to each internal machine is obtained.
[0108] In this embodiment, when generating a device fingerprint, the key data features and data tags are first integrated into a device data set of a preset data type, and the preset data type is a comparable data form. In one example, the key data features and data tags can be integrated into a device data set of a comparable data form by encoding. Then, according to the unique device identifier corresponding to each internal machine and the device data set, the device fingerprint corresponding to each internal machine is obtained.
[0109] The embodiment of the present application first integrates key data features and data tags into a device data set of preset data types, and then obtains the device fingerprint corresponding to each internal machine based on the unique device identifier and device data set corresponding to each internal machine, so as to facilitate the subsequent calculation of the feature similarity between the initial device card and the original device card.
[0110] In an optional embodiment of the present application, the calculating the feature similarity between the initial device card and the original device card includes:
[0111] Converting the device data corresponding to the initial device card into a numerical vector corresponding to the initial device card, and converting the device data corresponding to the original device card into a numerical vector corresponding to the original device card;
[0112] 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.
[0113] In this embodiment, when calculating 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 convert the device data corresponding to the original device card into a numerical vector corresponding to the original device card, and use these numerical vectors as inputs to the deduplication strategy model, thereby calculating the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card.
[0114] The embodiment of the present application converts the device data corresponding to the device card into a corresponding numerical vector, calculates the feature similarity between the numerical vector corresponding to the initial device card and the numerical vector corresponding to the original device card, and uses it for subsequent execution of a deduplication strategy.
[0115] In an optional embodiment of the present application, after obtaining the updated device card, the method further includes:
[0116] Classifying the updated device cards, and grouping the updated device cards corresponding to the indoor units of the same outdoor unit into the same card set to obtain the card set;
[0117] A card control combination corresponding to the external machine is generated according to the card set.
[0118] In this embodiment, after obtaining the updated device cards, the updated device cards can be further classified, and the updated device cards of the indoor units corresponding to the same outdoor unit can be classified into the same card set to obtain different card sets corresponding to different outdoor units, and card control combinations corresponding to different outdoor units can be generated according to these card sets. That is, the indoor unit devices are grouped on the multi-connection device control application, and the indoor unit device cards belonging to the same outdoor unit are automatically merged into the same card control combination.
[0119] The embodiment of the present application automatically merges the internal device cards belonging to the same external device into the same card control combination, so that the user can quickly locate and access the required device card.
[0120] In an optional embodiment of the present application, the calculating the feature similarity between the initial device card and the original device card, and screening the duplicate device cards in the initial device card according to the feature similarity, includes:
[0121] Calculating the cosine similarity between the initial device card and the original device card, and filtering duplicate device cards in the initial device card according to the cosine similarity;
[0122] and / or,
[0123] The Euclidean distance between the initial device card and the original device card is calculated, and duplicate device cards in the initial device card are filtered out according to the Euclidean distance.
[0124] In this embodiment, the feature similarity can be calculated using cosine similarity and / or Euclidean distance. Specifically, the cosine similarity between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card that are repeated with the original device card are screened according to the calculated cosine similarity, and / or, the Euclidean distance between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card that are repeated with the original device card are screened according to the calculated Euclidean distance.
[0125] The embodiment of the present application calculates the feature similarity between the initial device card and the original device card based on the cosine similarity and / or the Euclidean distance, and screens out the duplicate device cards in the initial device card for subsequent execution of the deduplication strategy.
[0126] In an optional embodiment of the present application, the method includes:
[0127] receiving user feedback from users regarding the updated device card;
[0128] The deduplication strategy is updated according to the user feedback.
[0129] In this embodiment, the deduplication strategy can learn from user feedback and behavior, and automatically adjust the 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 updated device cards, and use user feedback to further train and optimize the algorithm to update the deduplication strategy.
[0130] The embodiment of the present application can ensure 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 an optional embodiment of the present application, the receiving user feedback on the updated device card includes:
[0132] Recording the user's operation behavior on the updated device card, where the operation behavior at least includes deleting the device card;
[0133] The operation behavior is counted, and the statistical result is used as the user feedback.
[0134] In this embodiment, the method of receiving user feedback may specifically be recording the user's operation behaviors on the updated device card, and these operation behaviors at least include deleting the device card. For example, if the user believes that the updated device card still has duplicates, the user may delete the device card by himself. These operation behaviors are counted, and the statistical results are used as user feedback to update the deduplication strategy.
[0135] The embodiment of the present application records the user's operational behaviors such as deleting device cards as user feedback to update the deduplication strategy, allowing the user to point out errors in the deduplication strategy and use this data to further train and optimize the deduplication strategy.
[0136] In an optional embodiment, before the deduplication strategy is integrated into the multi-connected device control application, the deduplication strategy may be tested, which may include unit testing, integration testing, and user acceptance testing. After integration, the performance of the deduplication strategy may be regularly evaluated to ensure that it meets business requirements, and the performance of the deduplication strategy may be monitored to ensure its effectiveness and accuracy in actual operation.
[0137] In an embodiment of the present application, corresponding initial device cards are generated for the several indoor units respectively according to the device data of the several indoor units; the feature similarity between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card are screened according to the feature similarity; a deduplication strategy is executed for the duplicate device card to update the original device card and obtain an updated device card. In an embodiment of the present application, in a multi-connected device control application, when the same indoor unit is connected to multiple wire controllers and multiple initial device cards are generated, these generated initial device cards are updated by implementing a deduplication strategy, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. The embodiment of the present application not only avoids user operation confusion that may be caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system background of the multi-connected device control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0138] Reference Figure 2 , is a specific flow chart of an embodiment of a device card update method of the present application.
[0139] Figure 2 The complete process of the device card update method provided in the embodiment of the present application is shown in FIG. After starting the device card update, the initial device data of several internal machines are obtained respectively, which may include sensor data, user interaction data, etc. The initial device data is extracted and processed using data mining technology to extract key data features, and then a series of corresponding data tags are formed according to the key data features, such as device ID, device attributes, usage frequency, user behavior, etc.
[0140] After that, the data integration process is carried out. Generate corresponding unique device identifiers, such as hash values, for several internal machines respectively, and then integrate the unique device identifiers, key data features and data tags corresponding to each internal machine to obtain the device fingerprint corresponding to each internal machine, and then generate corresponding initial device cards for several internal machines according to the device fingerprints to implement the deduplication strategy for these initial device cards.
[0141] Obtain the historical data corresponding to the original device card, which includes at least device usage frequency and user behavior data. According to the device usage frequency and user behavior data, set the usage frequency threshold and user preference threshold respectively for subsequent deduplication strategy. Then, calculate the feature similarity between the initial device card and the original device card, detect and filter the duplicate device cards in the initial device card according to the feature similarity, and execute the deduplication strategy for these duplicate device cards to update the original device card. Specifically, it can be divided into the following three cases:
[0142] In the first case, 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, the duplicate device card is used to update the corresponding original device card.
[0143] In the second case, if the device attributes corresponding to the duplicate device card include new device attributes that do not exist 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, a new device card is generated based on the duplicate device card.
[0144] In the third case, if the first and second cases 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 may be received, and the user feedback may be used to further train and optimize the algorithm to update the deduplication strategy.
[0146] In an embodiment of the present application, corresponding initial device cards are generated for the several indoor units respectively according to the device data of the several indoor units; the feature similarity between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card are screened according to the feature similarity; a deduplication strategy is executed for the duplicate device card to update the original device card and obtain an updated device card. In an embodiment of the present application, in a multi-connected device control application, when the same indoor unit is connected to multiple wire controllers and multiple initial device cards are generated, these generated initial device cards are updated by implementing a deduplication strategy, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. The embodiment of the present application not only avoids user operation confusion that may be caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system background of the multi-connected device control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0147] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0148] On the basis of the above embodiments, this embodiment further provides a device card updating apparatus, which is applied to electronic devices such as terminal devices and servers.
[0149] Reference Figure 3 , shows a structural block diagram of an embodiment of a device card updating apparatus of the present application, which may specifically include the following modules:
[0150] The card generation module 301 is used to generate corresponding initial device cards for the plurality of indoor units respectively according to the device data of the plurality of indoor units;
[0151] A similarity calculation module 302 is used to calculate the feature similarity between the initial device card and the original device card, and filter the duplicate device cards in the initial device card according to the feature similarity;
[0152] The card deduplication module 303 is used to execute a deduplication strategy for the duplicate device cards to update the original device cards and obtain updated device cards.
[0153] Optionally, the device further comprises:
[0154] A historical data acquisition module, used to acquire historical data corresponding to the original device card, wherein the historical data at least includes 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 respectively according to the device usage frequency and the user behavior data.
[0156] Optionally, the card deduplication module 303 further includes:
[0157] The card update submodule is used to update the original device card with 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 respectively include several device attributes, and the card deduplication module 303 includes:
[0159] A 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 include 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, and 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 comprises:
[0161] An initial data acquisition module, used to acquire initial device data of the plurality of indoor units;
[0162] A data extraction module, used to extract data from the initial device data to obtain target device data;
[0163] A data mining module, used to process the target device data using data mining technology to extract key data features;
[0164] The label generation module is used to form corresponding data labels according to the key data features.
[0165] Optionally, the card generation module 301 includes:
[0166] The identification generation submodule is used to generate corresponding unique device identifications for the plurality of internal machines respectively;
[0167] A data integration submodule, used to integrate the unique device identification, the key data features and the data tags corresponding to each internal machine to obtain a device fingerprint corresponding to each internal machine;
[0168] The initial card generation submodule is used to generate corresponding initial device cards for the multiple internal machines according to the device fingerprints corresponding to the multiple internal machines.
[0169] Optionally, the data integration submodule is further used to:
[0170] Integrate the key data features and the data tags into a device data set of a preset data type;
[0171] According to the unique device identification corresponding to each internal machine and the device data set, a device fingerprint corresponding to each internal machine is obtained.
[0172] Optionally, the similarity calculation module 302 includes:
[0173] A vector conversion submodule, 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 comprises:
[0176] A set generation module, used for classifying the updated device cards, and classifying 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 generating module is used to generate a card control combination corresponding to the external machine according to the card set.
[0178] Optionally, the similarity calculation module 302 is further used to:
[0179] Calculating the cosine similarity between the initial device card and the original device card, and filtering duplicate device cards in the initial device card according to the cosine similarity;
[0180] and / or,
[0181] The Euclidean distance between the initial device card and the original device card is calculated, and duplicate device cards in the initial device card are filtered out according to the Euclidean distance.
[0182] Optionally, the device comprises:
[0183] A feedback receiving module, used for receiving user feedback on the updated device card;
[0184] A strategy updating module is used to update the deduplication strategy according to the user feedback.
[0185] Optionally, the feedback receiving module includes:
[0186] An operation record submodule, used to record the user's operation behavior on the updated device card, wherein the operation behavior at least includes deleting the device card;
[0187] The operation statistics submodule is used to count the operation behaviors and use the statistical results as the user feedback.
[0188] In an embodiment of the present application, corresponding initial device cards are generated for the several indoor units respectively according to the device data of the several indoor units; the feature similarity between the initial device card and the original device card is calculated, and the duplicate device cards in the initial device card are screened according to the feature similarity; a deduplication strategy is executed for the duplicate device card to update the original device card and obtain an updated device card. In an embodiment of the present application, in a multi-connected device control application, when the same indoor unit is connected to multiple wire controllers and multiple initial device cards are generated, these generated initial device cards are updated by implementing a deduplication strategy, ensuring that the updated device cards can effectively distinguish information from different indoor units, thereby achieving refined management of device cards. The embodiment of the present application not only avoids user operation confusion that may be caused by duplicate device cards, but also enables users to quickly locate and access the required device cards. The system background of the multi-connected device control application can also maintain efficient data processing capabilities and keep the interface design simple.
[0189] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.
[0190] The present application embodiment provides one or more machine-readable media on which instructions are stored, and when executed by one or more processors, an electronic device executes one or more of the methods described in the above embodiments. In the present application embodiment, the electronic device includes various types of devices such as terminal devices and servers (clusters).
[0191] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as terminal devices and servers (clusters). Figure 4 An exemplary apparatus 400 that may be used to implement various embodiments described in this application is schematically illustrated.
[0192] For one embodiment, Figure 4 An exemplary apparatus 400 is shown having one or more processors 402, a control module (chip set) 404 coupled to at least one of the processor(s) 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] The processor 402 may include one or more single-core or multi-core processors, and the processor 402 may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 400 can be used as a terminal device, server (cluster), etc. described in the embodiments of the present 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 combined with the one or more computer-readable media and configured to execute the instructions 414 to implement a module to perform the actions described in the present disclosure.
[0195] For one embodiment, control module 404 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 402 and / or any suitable device or component in communication with 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] The memory 406 may be used, for example, to load and store data and / or instructions 414 for the device 400. For one embodiment, the memory 406 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 406 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0198] For one embodiment, control module 404 may include one or more input / output controllers to provide interfaces to NVM / storage device 408 and input / output device(s) 410 .
[0199] For example, NVM / storage 408 may be used to store data and / or instructions 414. NVM / storage 408 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).
[0200] NVM / storage device 408 may include storage resources that are physically part of the device on which apparatus 400 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 408 may be accessed via input / output device(s) 410 over a network.
[0201] (One or more) input / output devices 410 may provide an interface for the apparatus 400 to communicate with any other appropriate device, and the input / output device 410 may include a communication component, an audio component, a sensor component, etc. The network interface 412 may provide an interface for the apparatus 400 to communicate through one or more networks, and the apparatus 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, for example, accessing a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.
[0202] For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 404. For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers of the control module 404 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404. For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404 to form a system-on-chip (SoC).
[0203] In various embodiments, the device 400 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 400 may have more or fewer components and / or different architectures. For example, in some embodiments, the device 400 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0204] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in a memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.
[0205] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0206] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0207] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device card update terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable device card update terminal device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0208] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable device card update terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A 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, so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0210] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0211] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0212] The above is a detailed introduction to a device card update method and apparatus, an electronic device and a storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A device card update method, characterized in that: Applied to a multi-connected device control application program, the multi-connected device includes an external device and several internal devices, and the multi-connected device corresponds to several original device cards. The method includes: Generating corresponding initial equipment cards for the plurality of indoor units respectively according to the equipment data of the plurality of indoor units; Calculating feature similarity between the initial device card and the original device card, and filtering duplicate device cards in the initial device card according to the feature similarity; A deduplication strategy is executed for the duplicate device card to update the original device card to obtain an updated device card.
2. The method according to claim 1, characterized in that Before calculating the feature similarity between the initial device card and the original device card, the method further includes: Acquire historical data corresponding to the original device card, wherein the historical data at least includes device usage frequency and user behavior data; A usage frequency threshold and a user preference threshold are set respectively according to the device usage frequency and the user behavior data.
3. The method according to claim 2, characterized in that The executing a deduplication strategy for the duplicate device card to update the original device card 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, the duplicate device card is used to update the original device card.
4. The method according to claim 2, characterized in that: The duplicate device card and the original device card respectively include a plurality of device attributes, and the performing of 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 include 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, 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.
5. The method according to claim 1, characterized in that The method comprises: Acquiring initial device data of the plurality of indoor units; Extracting data from the initial device data to obtain target device data; Process the target device data using data mining technology to extract key data features; A corresponding data label is formed according to the key data features.
6. The method according to claim 5, characterized in that The generating corresponding initial equipment cards for the plurality of indoor units respectively according to the equipment data of the plurality of indoor units comprises: Generate corresponding unique device identifiers for the plurality of internal machines respectively; Integrate the unique device identification, the key data feature and the data tag corresponding to each internal machine to obtain a device fingerprint corresponding to each internal machine; According to the device fingerprints corresponding to the plurality of internal machines, corresponding initial device cards are generated for the plurality of internal machines respectively.
7. The method according to claim 6, characterized in that The integrating the unique device identification, the key data feature and the data tag corresponding to each internal machine to obtain the device fingerprint corresponding to each internal machine includes: Integrate the key data features and the data tags into a device data set of a preset data type; According to the unique device identification corresponding to each internal machine and the device data set, a device fingerprint corresponding to each internal machine is obtained.
8. The method according to claim 1, characterized in that The calculating the feature similarity between the initial device card and the original device card includes: Converting the device data corresponding to the initial device card into a numerical vector corresponding to the initial device card, and converting the device data corresponding to the original device card into a numerical vector corresponding to the original device card; 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.
9. The method according to claim 1, characterized in that: After obtaining the updated device card, the method further includes: Classifying the updated device cards, and grouping the updated device cards corresponding to the indoor units of the same outdoor unit into the same card set to obtain the card set; A card control combination corresponding to the external machine is generated according to the card set.
10. The method according to claim 1, characterized in that The calculating the feature similarity between the initial device card and the original device card, and screening duplicate device cards in the initial device card according to the feature similarity, includes: Calculating the cosine similarity between the initial device card and the original device card, and filtering duplicate device cards in the initial device card according to the cosine similarity; and / or, The Euclidean distance between the initial device card and the original device card is calculated, and duplicate device cards in the initial device card are filtered out according to the Euclidean distance.
11. The method according to claim 1, characterized in that The method comprises: receiving user feedback from users regarding the updated device card; The deduplication strategy is updated according to the user feedback.
12. The method according to claim 11, characterized in that The receiving user feedback regarding the updated device card includes: Recording the user's operation behavior on the updated device card, where the operation behavior at least includes deleting the device card; The operation behavior is counted, and the statistical result is used as the user feedback.
13. A device card updating apparatus, characterized in that: Applied to a multi-connected device control application program, the multi-connected device includes an external device and several internal devices, the multi-connected device corresponds to several original device cards, and the device includes: A card generation module, used to generate corresponding initial device cards for the plurality of indoor units respectively according to the device data of the plurality of indoor units; A similarity calculation module, used to calculate the feature similarity between the initial device card and the original device card, and filter the duplicate device cards in the initial device card according to the feature similarity; The card deduplication module is used to execute a deduplication strategy for the duplicate device cards to update the original device cards to obtain updated device cards.
14. An electronic device, characterized in that: include: processor; and A memory having executable codes stored thereon, which, when executed, enables the processor to execute the multi-connected device networking method as described in one or more of claims 1-12.
15. One or more machine-readable media having executable codes stored thereon, which, when executed, enable a processor to execute the multi-connection device networking method as described in one or more of claims 1-12.
Citation Information
Patent Citations
Device control method and device
CN105611045A
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
Air conditioner control method and device, electronic equipment and medium
CN118089223A