Data migration method and device, electronic equipment and storage medium
By analyzing and converting user preference data of old devices and migrating based on the attribute information of new devices, the problem of poor user experience when replacing home appliances is solved, and the accuracy of data migration and user habits are matched.
Patent Information
- Application Number
- CN202310701599.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-13
- Publication Date
- 2024-12-13
AI Technical Summary
When users change home appliances, the laundry program and parameter settings of the new equipment do not meet user habits, resulting in poor user experience. How to effectively migrate user preference data from old equipment to new equipment has become an urgent problem.
通过获取旧设备的属性信息和使用记录数据,分析得到初始喜好数据,并根据新设备的属性信息进行转换,传输目标喜好数据至新设备,确保数据迁移的准确性和用户体验。
It improves the accuracy of data migration, improves users' experience of home appliances, and ensures that the settings of new devices are in line with user habits.
Smart Images

Figure CN119127826A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a data migration method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of smart technology, home appliances (such as clothing care equipment) are almost indispensable products for every family. When the old clothing care equipment reaches a limited life cycle or the user wants to replace the clothing care equipment, the washing program and parameter settings of the newly purchased clothing care equipment may not meet the user's habits and preferences, which will cause the user's experience to be poor. Therefore, how to effectively migrate the user preference data on the old clothing care equipment to the new clothing care equipment has become an urgent problem to be solved. Summary of the invention
[0003] The present application provides a data migration method, device, electronic device and storage medium, which effectively migrate user preference data on a first home appliance to a second home appliance, thereby improving the accuracy of data migration and enhancing the user's experience of using the home appliance.
[0004] In a first aspect, the present application provides a data migration method, the method comprising:
[0005] Acquire first attribute information and usage record data of a first household appliance;
[0006] Analyzing the usage record data to obtain initial preference data;
[0007] In response to the confirmation operation of the data migration, obtaining second attribute information of the second home appliance;
[0008] The initial preference data is converted into target preference data according to the first attribute information and the second attribute information, and the target preference data is transmitted to the second household appliance.
[0009] The embodiment of the present application provides a data migration method, in which the terminal device of the present application is connected to a first home appliance and a second home appliance respectively, and the use record data obtained from the first home appliance is analyzed to obtain the user's initial preference data. Considering that the attribute information between the first home appliance and the second home appliance may be different, the initial preference data is converted to obtain target preference data, and finally the target preference data is migrated to the second home appliance. In the present application, the target preference data can better match the second home appliance and also conform to the user's preference habits, effectively migrating the user's preference data on the first home appliance to the second home appliance, thereby improving the accuracy of data migration and enhancing the user's experience of using the home appliance.
[0010] Furthermore, after the confirmation operation in response to the data migration, it also includes: classifying the initial preference data into general data unrelated to the attribute information of the home appliance and program data related to the attribute information of the home appliance; transmitting the general data to the second home appliance; accordingly, converting the initial preference data into target preference data according to the first attribute information and the second attribute information, and transmitting the target preference data to the second home appliance, includes: converting the program data into target program data according to the first attribute information and the second attribute information, and transmitting the target program data to the second home appliance.
[0011] Furthermore, the household appliance is a clothing care device, and the attribute information of the household appliance is a rated capacity of the clothing care device for a single clothing care.
[0012] Furthermore, the converting of the program data into target program data according to the first attribute information and the second attribute information includes: determining the ratio of the second rated capacity of the second clothing care device to the first rated capacity of the first clothing care device as a conversion coefficient; determining whether there is a target care mode in the second clothing care device, the program data including the care data of the preference care mode of the first clothing care device, the target care mode being one of the preference care modes; if so, multiplying the care data of the target care mode, the conversion coefficient and the calibration coefficient to obtain the target care data of the target care mode, the calibration coefficient being determined by comparing the second default value of the care data in the second clothing care device with the first default value of the care data in the first clothing care device; repeatedly performing the operation of determining whether there is a target care mode in the second clothing care device until the target care data corresponding to each preference care mode is obtained, thereby obtaining the target program data.
[0013] Furthermore, the program data also includes pattern data of the preferred care mode; after determining whether the target care mode exists in the second clothing care device, it also includes: if the target care mode does not exist in the second clothing care device, determining the pattern data corresponding to the target care mode from the program data, and generating a first pattern generation instruction, wherein the first pattern generation instruction is used to instruct the second clothing care device to generate the target care mode; sending the first pattern generation instruction and the pattern data to the second clothing care device, so that the second clothing care device responds to the first pattern generation instruction and generates the target care mode based on the pattern data; after a preset time, re-executing the operation of determining whether the target care mode exists in the second clothing care device.
[0014] Furthermore, the analysis of the usage record data to obtain initial preference data includes: determining key values corresponding to different data types in the usage record data and usage frequencies of the key values, the data types including at least general data and care data corresponding to multiple care modes, the care data including at least a washing speed value, a dehydration speed value, a water level value, a washing temperature value, and a number of rinses; determining a target key value whose usage frequency is greater than a preset frequency; and determining the initial preference data based on the target key value and the data type corresponding to the target key value, the initial preference data including at least the general data, the preferred care mode, and the care data of the preferred care mode.
[0015] Furthermore, the method also includes: determining a user group of the first clothing care device based on the initial preference data; when the user group is a target group, generating a second mode generation instruction, the second mode generation instruction is used to instruct the second clothing care device to generate a one-key care mode; sending the initial preference data and the second mode generation instruction to the second clothing care device, so that the second clothing care device responds to the second mode generation instruction and generates the one-key care mode based on the initial preference data.
[0016] In a second aspect, the present application provides a data migration device, the device comprising:
[0017] A historical data acquisition module, used to acquire first attribute information and usage record data of a first household appliance;
[0018] a preference data determination module, configured to analyze the usage record data to obtain initial preference data;
[0019] A device attribute acquisition module, configured to acquire second attribute information of a second home appliance in response to a confirmation operation of data migration;
[0020] The target data migration module is used to convert the initial preference data into target preference data according to the first attribute information and the second attribute information, and transmit the target preference data to the second household appliance.
[0021] In a third aspect, the present application provides an electronic device, the electronic device comprising:
[0022] at least one processor; and
[0023] a memory communicatively connected to the at least one processor; wherein,
[0024] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data migration method described in any embodiment of the present application.
[0025] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data migration method described in any embodiment of the present application when executed.
[0026] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the data migration device, or may be packaged separately from the processor of the data migration device, which is not limited in this application.
[0027] The description of the second, third and fourth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third and fourth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0028] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
[0029] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, and usage scenarios of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0031] Figure 1 A first flow chart of a data migration method provided in an embodiment of the present application;
[0032] Figure 2 A second flow chart of a data migration method provided in an embodiment of the present application;
[0033] Figure 3 A schematic diagram of the structure of a data migration device provided in an embodiment of the present application;
[0034] Figure 4 It is a block diagram of an electronic device used to implement a data migration method in an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0036] It should be noted that the terms "first", "second", "target", and "original" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having", and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0037] Figure 1 This is a first flow chart of a data migration method provided in an embodiment of the present application. This embodiment can be applied to the case of migrating user preference data on a first household appliance to a second household appliance. The data migration method provided in this embodiment can be executed by a data migration device provided in an embodiment of the present application. The device can be implemented in software and / or hardware and integrated in an electronic device that executes the method. Preferably, the electronic device in the embodiment of the present application can be a smart terminal, such as a mobile phone.
[0038] See also Figure 1 The method of this embodiment includes but is not limited to the following steps:
[0039] S110: Obtain first attribute information and usage record data of a first household appliance.
[0040] Among them, the household appliances may be washing machines, clothes dryers, sweeping robots, air conditioners, rice cookers, and range hoods, etc., without limitation. The first household appliance refers to old equipment that has reached a limited life cycle or that the user wants to replace. Attribute information refers to basic parameter information of the household appliance. For example, when the household appliance is a washing machine, the attribute information may be the rated capacity of the inner drum for a single care of clothes; when the household appliance is a sweeping robot, the attribute information may be the suction force during operation; when the household appliance is an air conditioner, the attribute information may be the cooling capacity during operation.
[0041] The first household appliance is equipped with a wireless communication module, and the smart terminal can establish a communication connection with the first household appliance through a Wi-Fi hotspot or short-range wireless communication technology. Among them, the short-range wireless communication technology can be one or a combination of Bluetooth communication technology, Near Field Communication (NFC) communication technology and ZigBee communication technology. The user can choose the best communication connection method according to the actual situation. The smart terminal includes a data acquisition unit, a data processing unit and a data migration unit.
[0042] In an embodiment of the present application, after the smart terminal establishes a communication connection with the first home appliance, the user triggers a physical button or a virtual button on the smart terminal to obtain the usage record data, and the smart terminal turns on the data acquisition function and starts the data acquisition unit. The data acquisition unit can obtain the usage record data from the data storage unit of the first home appliance for storing the usage record data, and can also obtain the first attribute information of the first home appliance. The usage record data can be various working parameters of the home appliance in the corresponding working mode each time the user uses the home appliance within a preset time period (such as half a year). Optionally, a usage record data can be generated for each use of the home appliance.
[0043] S120: Analyze the usage record data to obtain initial preference data.
[0044] In the embodiment of the present application, after the data acquisition unit acquires the usage record data, the data processing unit analyzes the usage record data to obtain the initial preference data of the user using the first home appliance. Optionally, when the home appliance is a clothing care device (such as a washing machine), the initial preference data at least includes general data, a preferred care mode, and care data of the preferred care mode.
[0045] Further, the use record data is analyzed to obtain the initial preference data, including: determining the key values corresponding to different data types in the use record data and the use frequency of the key values; determining the target key value whose use frequency is greater than the preset frequency; determining the initial preference data based on the target key value and the data type corresponding to the target key value; wherein the data type includes at least general data and nursing data corresponding to multiple nursing modes, the nursing data includes at least washing speed value, dehydration speed value, water level value, washing temperature value and rinsing times, and the general data includes at least status data of prompt sound (such as buzzer sound) and cleaning data of barrel self-cleaning. The preset frequency can be a preset percentage (such as 80%) of the number of use record data.
[0046] For example, if the data acquisition unit acquires 20 pieces of usage record data, the 20 pieces of usage record data are initially classified according to the nursing mode, and then the frequency of occurrence of the key value corresponding to the same nursing data under the same nursing mode (i.e., the usage frequency) is recorded. Based on the same method, the key value corresponding to each nursing data under different nursing modes and the usage frequency of the key value are obtained. Then, the target key value with a usage frequency greater than 16 is found; the initial preference data is determined based on the target key value and the nursing data corresponding to the target key value.
[0047] As another example, if the data acquisition unit acquires 20 usage record data, the key values corresponding to the status data of the prompt sound are on and off, the frequency of the key value on and the frequency of the key value off are determined, and the key value with a frequency greater than 16 is determined as the target key value. If the target key value is on, then the status data of the prompt sound is determined as on as the initial preference data.
[0048] S130. In response to the data migration confirmation operation, obtain second attribute information of the second home appliance.
[0049] The second home appliance refers to a newly purchased device of the same type as the first home appliance. For example, when the first home appliance is a washing machine, the second home appliance is also a washing machine. The first home appliance and the second home appliance can be devices of the same brand or different brands, and there is no limitation on this.
[0050] The second home appliance is also equipped with a wireless communication module, and the smart terminal can establish a communication connection with the second home appliance through a Wi-Fi hotspot or short-range wireless communication technology. Among them, the short-range wireless communication technology can be one or a combination of Bluetooth communication technology, NFC communication technology and ZigBee communication technology. The user can choose the best communication connection method according to the actual situation.
[0051] In the embodiment of the present application, after the smart terminal establishes a communication connection with the second home appliance, the user triggers a physical key or a virtual key for data migration on the smart terminal, and the smart terminal starts the data migration function and starts the data migration unit. The data migration unit can obtain the second attribute information of the second home appliance.
[0052] Furthermore, after responding to the confirmation operation of data migration, the method further includes: classifying the initial preference data into general data unrelated to the attribute information of the home appliance and program data related to the attribute information of the home appliance. The general data may include status data of the prompt sound and cleaning data of the tub self-cleaning, etc., and may also include the number of rinses, etc. The program data may include a care mode and care data corresponding to the care mode, etc.
[0053] S140: Convert the initial preference data into target preference data according to the first attribute information and the second attribute information, and transmit the target preference data to the second household appliance.
[0054] Considering the difference in attribute information between the first home appliance and the second home appliance, there will be errors if the initial preference data obtained from the first home appliance is directly used on the second home appliance. Therefore, the initial preference data needs to be converted to obtain target preference data, so that the target preference data can better match the second home appliance and conform to the user's preference habits.
[0055] Exemplarily, when the household appliance is a washing machine, after the second attribute information (i.e., the second rated capacity) of the second household appliance (i.e., the new washing machine) is obtained in the above step S130, the smart terminal needs to match the first attribute information (i.e., the first rated capacity) with the second attribute information (i.e., the second rated capacity). If the first attribute information is matched to be equal to the second attribute information, such as the rated capacity of the old washing machine is equal to the rated capacity of the new washing machine, then the smart terminal can use the initial preference data as the target preference data. If the first attribute information is matched to be not equal to the second attribute information, then the smart terminal needs to convert the initial preference data into the target preference data according to a preset calculation formula. Finally, the smart terminal transmits the target preference data to the second household appliance.
[0056] Furthermore, the general data is directly transmitted to the second home appliance; the program data is converted into target program data according to the first attribute information and the second attribute information, and the target program data is transmitted to the second home appliance.
[0057] In an optional embodiment, the data migration method of the present application also includes: determining the user group of the first clothing care device based on the initial preference data, specifically: determining whether the key value of the care data in the initial preference data is the default value, and the percentage of the care data that is the default value; when the percentage exceeds the preset value, it means that the user does not like to modify the care data of the first clothing care device, the user does not like too complicated care data or the user is not very good at operating the clothing care device, then when the user group using the first clothing care device is determined as the target group (such as the elderly group), the smart terminal generates a second mode generation instruction, and sends the initial preference data and the second mode generation instruction to the second clothing care device, so that the second clothing care device responds to the second mode generation instruction, and the second clothing care device generates a one-key care mode based on the initial preference data, and the second mode generation instruction is used to instruct the second clothing care device to generate a one-key care mode.
[0058] The technical solution provided in this embodiment is to obtain the first attribute information and usage record data of the first home appliance; analyze the usage record data to obtain the initial preference data; in response to the confirmation operation of data migration, obtain the second attribute information of the second home appliance; convert the initial preference data into target preference data according to the first attribute information and the second attribute information, and transmit the target preference data to the second home appliance. The terminal device of this application is connected to the first home appliance and the second home appliance respectively, analyzes the usage record data obtained from the first home appliance to obtain the user's initial preference data, considers that the attribute information between the first home appliance and the second home appliance may be different, converts the initial preference data to obtain the target preference data, and finally migrates the target preference data to the second home appliance. In this application, the target preference data can better match the second home appliance and also conform to the user's preference habits, effectively migrate the user's preference data on the first home appliance to the second home appliance, improve the accuracy of data migration, and enhance the user's experience of home appliances.
[0059] The following further describes the data migration method provided by the embodiment of the present application. Figure 2 A second flow chart of a data migration method provided in an embodiment of the present application. The embodiment of the present application is optimized on the basis of the above embodiment, and the specific optimization is as follows: the present embodiment explains in detail the process of converting program data into target program data according to the first attribute information and the second attribute information, the household appliance is a clothing care device, and the attribute information of the household appliance is the rated capacity of the clothing care device for a single clothing care.
[0060] See also Figure 2 The method of this embodiment includes but is not limited to the following steps:
[0061] S210: Determine a ratio of a second rated capacity of the second clothing care device to a first rated capacity of the first clothing care device as a conversion coefficient.
[0062] For example, if the second rated capacity of the second clothing care device is 12 kg and the first rated capacity of the first clothing care device is 10 kg, the conversion coefficient obtained by the intelligent terminal after numerical calculation is 1.2.
[0063] S220: Determine whether a target care mode exists in the second clothing care device.
[0064] The program data includes care data of a preferred care mode of the first clothing care device, the target care mode is one of the preferred care modes, and the preferred care mode may include at least two care modes.
[0065] In an embodiment of the present application, the smart terminal detects whether there is a target care mode in the second clothing care device. If there is a target care mode in the second clothing care device, steps S230-S240 are executed; if there is no target care mode in the second clothing care device, steps S250-S270 are executed.
[0066] S230: If a target care mode exists in the second clothing care device, the care data of the target care mode, the conversion coefficient and the calibration coefficient are multiplied to obtain the target care data of the target care mode.
[0067] The calibration coefficient is determined by the ratio between the second default value of the care data in the second clothing care device and the first default value of the care data in the first clothing care device. The care data at least includes a washing speed value, a dehydration speed value, a water level value and a washing temperature value.
[0068] For example, taking the water level value in the care data as an example, the initial preference value of the water level value of the first clothing care device in the initial preference data is L1, the default value is L2, the default value of the water level value of the second clothing care device is L3, and the calibration coefficient is L3 / L2. After numerical calculation, the target preference value of the water level value of the second clothing care device is L4: L4=L3 / L2*L1*conversion coefficient.
[0069] S240. Repeat the operation of determining whether a target care mode exists in the second clothing care device until target care data corresponding to each preferred care mode is obtained, thereby obtaining target program data.
[0070] In an embodiment of the present application, the preferred care mode may include at least two care modes, and step S220 is repeatedly executed to obtain the target care data corresponding to each care mode in the preferred care mode (ie, each preferred care mode), thereby obtaining the target program data.
[0071] S250: If the target care mode does not exist in the second clothing care device, determine the mode data corresponding to the target care mode from the program data, and generate a first mode generation instruction.
[0072] The program data also includes mode data of the preferred care mode, and the first mode generation instruction is used to instruct the second clothing care device to generate a target care mode. The mode data is data corresponding to generating a certain care mode.
[0073] S260: Send the first mode generation instruction and the mode data to the second clothing care device, so that the second clothing care device responds to the first mode generation instruction and generates a target care mode based on the mode data.
[0074] Optionally, the second clothing care device is connected to the cloud for communication, or the second clothing care device directly downloads a program corresponding to the target care mode in the cloud based on instructions generated by the first mode.
[0075] After the preset time, step S220 is executed again. Optionally, after the second clothing care device generates the target care mode, it can send a feedback signal to the smart terminal so that the terminal directly executes step S230, that is, multiplying the care data of the target care mode, the conversion coefficient and the calibration coefficient to obtain the target care data of the target care mode.
[0076] The technical solution provided by the present embodiment is as follows: by determining the ratio of the second rated capacity of the second clothing care device and the first rated capacity of the first clothing care device as a conversion coefficient; determining whether a target care mode exists in the second clothing care device; if the target care mode exists in the second clothing care device, multiplying the care data, the conversion coefficient and the calibration coefficient of the target care mode to obtain the target care data of the target care mode; repeatedly performing the operation of determining whether the target care mode exists in the second clothing care device until the target care data corresponding to each preferred care mode is obtained, thereby obtaining the target program data; if the target care mode does not exist in the second clothing care device, determining the mode data corresponding to the target care mode from the program data, and generating a first mode generation instruction; sending the first mode generation instruction and the mode data to the second clothing care device, so that the second clothing care device responds to the first mode generation instruction and generates the target care mode based on the mode data; after a preset time, re-executing the operation of determining whether the target care mode exists in the second clothing care device. When the target care mode does not exist in the second clothing care device, the present application controls the second clothing care device to generate the target care mode, and then converts the initial preference data to obtain the target preference data, and finally migrates the target preference data to the second clothing care device, effectively migrating the user preference data on the first home appliance to the second home appliance, thereby improving the accuracy of data migration and enhancing the user's experience of using the home appliance.
[0077] Figure 3 A schematic diagram of a data migration device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the device 300 may include:
[0078] The historical data acquisition module 310 is used to acquire first attribute information and usage record data of the first household appliance;
[0079] A preference data determination module 320, configured to analyze the usage record data to obtain initial preference data;
[0080] The device attribute acquisition module 330 is used to acquire second attribute information of the second home appliance in response to the confirmation operation of the data migration;
[0081] The target data migration module 340 is configured to convert the initial preference data into target preference data according to the first attribute information and the second attribute information, and transmit the target preference data to the second household appliance.
[0082] Furthermore, the above-mentioned target data migration module 340 can be specifically used to: after the confirmation operation in response to the data migration, classify the initial preference data into general data unrelated to the attribute information of the home appliance and program data related to the attribute information of the home appliance; transmit the general data to the second home appliance; convert the program data into target program data according to the first attribute information and the second attribute information, and transmit the target program data to the second home appliance.
[0083] Optionally, the household appliance is a clothing care device, and the attribute information of the household appliance is a rated capacity of the clothing care device for single clothing care.
[0084] Furthermore, the above-mentioned target data migration module 340 can also be specifically used to: determine the ratio of the second rated capacity of the second clothing care device and the first rated capacity of the first clothing care device as a conversion coefficient; determine whether there is a target care mode in the second clothing care device, the program data includes the care data of the preference care mode of the first clothing care device, and the target care mode is one of the preference care modes; if it exists, multiply the care data of the target care mode, the conversion coefficient and the calibration coefficient to obtain the target care data of the target care mode, and the calibration coefficient is determined by comparing the second default value of the care data in the second clothing care device with the first default value of the care data in the first clothing care device; repeat the operation of determining whether there is a target care mode in the second clothing care device until the target care data corresponding to each preference care mode is obtained, thereby obtaining the target program data.
[0085] Optionally, the program data also includes mode data of the preferred care mode;
[0086] Furthermore, the above-mentioned target data migration module 340 can also be specifically used for: if the target care mode does not exist in the second clothing care device, then determining the pattern data corresponding to the target care mode from the program data, and generating a first pattern generation instruction, wherein the first pattern generation instruction is used to instruct the second clothing care device to generate the target care mode; sending the first pattern generation instruction and the pattern data to the second clothing care device, so that the second clothing care device responds to the first pattern generation instruction and generates the target care mode based on the pattern data; after a preset time, re-executing the operation of determining whether the target care mode exists in the second clothing care device.
[0087] Furthermore, the above-mentioned preference data determination module 320 can be specifically used to: determine the key values corresponding to different data types in the usage record data and the usage frequency of the key values, the data types at least include general data and care data corresponding to multiple care modes, and the care data at least include washing speed value, dehydration speed value, water level value, washing temperature value and rinse times; determine the target key value whose usage frequency is greater than the preset frequency; determine the initial preference data based on the target key value and the data type corresponding to the target key value, and the initial preference data at least includes the general data, the preference care mode and the care data of the preference care mode.
[0088] Furthermore, the above-mentioned data migration device may also include: a one-key nursing mode generation module;
[0089] The one-key care mode generation module is used to determine the user group of the first clothing care device based on the initial preference data; when the user group is the target group, generate a second mode generation instruction, the second mode generation instruction is used to instruct the second clothing care device to generate a one-key care mode; send the initial preference data and the second mode generation instruction to the second clothing care device, so that the second clothing care device responds to the second mode generation instruction and generates the one-key care mode based on the initial preference data.
[0090] The data migration device provided in this embodiment can be applied to the data migration method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0091] Figure 4 It is a block diagram of an electronic device for implementing a data migration method of an embodiment of the present application. Electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0092] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0093] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0094] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the data migration method.
[0095] In some embodiments, the data migration method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data migration method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data migration method in any other appropriate manner (e.g., by means of firmware).
[0096] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0097] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0098] In the context of the present application, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0099] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0100] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0101] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0102] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. For example, those skilled in the art can use the various forms of processes shown above to reorder, add, or delete steps; the steps recorded in the present application can be performed in parallel, sequentially, or in different orders, as long as the desired results of the technical solution of the present application can be achieved, and this document does not limit them here.
[0103] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A data migration method, characterized in that: The method comprises: Acquire first attribute information and usage record data of a first household appliance; Analyzing the usage record data to obtain initial preference data; In response to the confirmation operation of the data migration, obtaining second attribute information of the second home appliance; The initial preference data is converted into target preference data according to the first attribute information and the second attribute information, and the target preference data is transmitted to the second household appliance.
2. The data migration method according to claim 1, characterized in that: After the confirmation operation in response to the data migration, the method further includes: classifying the initial preference data into general data unrelated to the attribute information of the home appliance and program data related to the attribute information of the home appliance; transmitting the general data to the second household appliance; Accordingly, converting the initial preference data into target preference data according to the first attribute information and the second attribute information, and transmitting the target preference data to the second household appliance includes: The program data is converted into target program data according to the first attribute information and the second attribute information, and the target program data is transmitted to the second home appliance.
3. The data migration method according to claim 2, characterized in that: The household appliance is a clothing care device, and the attribute information of the household appliance is a rated capacity of the clothing care device for single clothing care.
4. The data migration method according to claim 3, characterized in that: The converting the program data into target program data according to the first attribute information and the second attribute information comprises: determining a ratio of a second rated capacity of the second clothing care device to a first rated capacity of the first clothing care device as a conversion coefficient; determining whether a target care mode exists in the second clothing care device, the program data including care data of a preferred care mode of the first clothing care device, the target care mode being one of the preferred care modes; If present, multiplying the care data of the target care mode, the conversion coefficient and the calibration coefficient to obtain the target care data of the target care mode, wherein the calibration coefficient is determined by comparing a second default value of the care data in the second clothing care device with a first default value of the care data in the first clothing care device; The operation of determining whether a target care mode exists in the second clothing care device is repeatedly performed until target care data corresponding to each preferred care mode is obtained, thereby obtaining the target program data.
5. The data migration method according to claim 4, characterized in that: The program data also includes mode data of the preferred care mode; after determining whether a target care mode exists in the second clothing care device, the method further includes: If the target care mode does not exist in the second clothing care device, determining the mode data corresponding to the target care mode from the program data, and generating a first mode generation instruction, wherein the first mode generation instruction is used to instruct the second clothing care device to generate the target care mode; sending the first mode generation instruction and the mode data to the second clothing care device, so that the second clothing care device generates the target care mode based on the mode data in response to the first mode generation instruction; After a preset time, the operation of determining whether a target care mode exists in the second clothing care device is performed again.
6. The data migration method according to claim 1, characterized in that: The analyzing the usage record data to obtain initial preference data includes: Determine key values corresponding to different data types in the usage record data and usage frequencies of the key values, wherein the data types at least include general data and nursing data corresponding to multiple nursing modes, and the nursing data at least include a washing speed value, a dehydration speed value, a water level value, a washing temperature value, and a number of rinse times; Determining a target key value whose usage frequency is greater than a preset frequency; The initial preference data is determined based on the target key value and the data type corresponding to the target key value, and the initial preference data at least includes the general data, the preferred nursing mode and the nursing data of the preferred nursing mode.
7. The data migration method according to claim 3, characterized in that: The method further comprises: determining a user group of the first clothing care device according to the initial preference data; When the user group is a target group, generating a second mode generation instruction, wherein the second mode generation instruction is used to instruct the second clothing care device to generate a one-key care mode; The initial preference data and the second mode generation instruction are sent to the second clothing care device, so that the second clothing care device generates the one-key care mode based on the initial preference data in response to the second mode generation instruction.
8. A data migration device, characterized in that: The device comprises: A historical data acquisition module, used to acquire first attribute information and usage record data of a first household appliance; a preference data determination module, configured to analyze the usage record data to obtain initial preference data; A device attribute acquisition module, configured to acquire second attribute information of a second home appliance in response to a confirmation operation of data migration; The target data migration module is used to convert the initial preference data into target preference data according to the first attribute information and the second attribute information, and transmit the target preference data to the second household appliance.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the data migration method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data migration method described in any one of claims 1 to 7 when executed.
