Smart home applet page arrangement method, device and equipment and readable medium

By obtaining the user operation frequency of smart home devices and building user preference vectors, the page layout method of smart home mini-programs solves the difficulty of users finding control buttons in multiple devices, realizing personalized adjustment of the page and improving user experience.

CN120029703APending Publication Date: 2025-05-23GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411925881.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The increase in the number of smart home devices has led to the complexity of mini-program control pages on the user's control side. Users feel confused and inconvenient when operating, and cannot flexibly adjust according to the user's personalized usage frequency, affecting the user experience and system design concepts.

Method used

By obtaining the user operation frequency of smart home devices, grading, and setting the layout style of the applet control page according to the grading results. Extract device features, build user preference vectors, calculate the similarity of unoperated devices, push devices that may be used frequently, and adjust the page layout style.

Benefits of technology

It realizes that users can quickly locate the control buttons of commonly used smart home devices, improves operation efficiency and user experience, meets users' personalized needs, and reduces visual fatigue and operation resistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029703A_ABST
    Figure CN120029703A_ABST
Patent Text Reader

Abstract

The invention relates to a smart home applet page arrangement method, device and equipment and a readable medium. The method comprises the following steps: acquiring a user operation frequency corresponding to smart home equipment, grading the smart home equipment according to the user operation frequency, and setting an arrangement style of an applet control page according to a grading result to obtain a first arrangement style; extracting equipment characteristics of the smart home equipment, and constructing a user preference vector according to the equipment characteristics corresponding to the smart home equipment operated by the user and the user operation frequency; calculating the similarity between the equipment characteristics of the smart home equipment which is not operated by the user and the user preference vector; and pushing the smart home devices with the similarity greater than the preset similarity to the user side through an applet according to the sequence of the similarity, and adjusting the first arrangement style according to the pushed possible use frequency of the smart home devices to obtain a second arrangement style. The problem that the applet control page layout of the existing smart home equipment is unreasonable is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a method, device, equipment and readable medium for arranging pages of smart home applets. Background Art

[0002] With the continuous advancement of science and technology and the continuous improvement of people's living standards, smart home devices have gradually entered thousands of households and become an indispensable part of modern family life. From smart lighting systems to smart home appliances, from smart security equipment to environmental monitoring devices, a variety of smart home devices have brought unprecedented convenience and comfort to people's lives. However, with the increase in the number of smart home devices, the applet control page on the user control end often becomes complicated, and numerous device control buttons and function options are piled up in disorder, making users confused and inconvenient when operating. When facing an emergency situation and needing to quickly operate a certain device, users may need to spend a lot of time looking for the target control button among many devices, which undoubtedly greatly reduces the operating efficiency and may even affect the normal use of the device at a critical moment. And there are significant differences in the usage habits and frequency of smart home devices among different users. Most of the existing smart home applets adopt a unified fixed page layout, which cannot be flexibly adjusted according to the user's personalized usage frequency, resulting in users' difficulty in quickly finding their commonly used device control entrances during use, and unable to meet the diverse needs of users. The chaotic and complicated applet pages not only affect the user's operating experience, but also undermine the simple and beautiful design concept pursued by the smart home system. The lack of reasonable layout of control pages will cause users to experience visual fatigue and resistance to operation, reducing their overall satisfaction with and willingness to use the smart home system.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The present application provides a smart home mini-program page arrangement method, device, equipment and readable medium to solve the above-mentioned technical problem that "the mini-program control pages lack reasonable arrangement of control pages, which will cause visual fatigue and resistance to operation in users, and reduce the user's overall satisfaction and willingness to use the smart home system."

[0005] According to one aspect of an embodiment of the present application, the present application provides a smart home mini-program page arrangement method, including: obtaining user operation frequencies corresponding to smart home devices, grading the smart home devices according to the user operation frequencies, and setting the arrangement style of the mini-program control page according to the grading results to obtain a first arrangement style; extracting device features of the smart home devices, and constructing a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency; calculating the similarity between the device features of the smart home devices that the user has not operated and the user preference vector; pushing smart home devices with a similarity greater than a preset similarity to the user end through the mini-program according to the sorting of the similarities, and adjusting the first arrangement style according to the possible usage frequency of the pushed smart home devices to obtain a second arrangement style.

[0006] Optionally, obtaining user operation frequencies corresponding to smart home devices, grading the smart home devices according to the user operation frequencies, and setting the layout style of the mini-program control page according to the grading results to obtain a first layout style includes: obtaining user operation frequencies of different smart home devices, the operation frequencies at least including device turning on frequency, device turning off frequency and device parameter adjustment frequency; dividing the smart home devices into multiple frequency levels based on the order of the operation frequencies from large to small; setting the layout style of the mini-program control page according to the frequency levels of the smart home devices; updating the user operation frequencies of different smart home devices based on a preset time period, and adjusting the layout style of the mini-program control page according to the updated user operation frequencies to obtain a first layout style.

[0007] Optionally, the frequency hierarchy includes high usage frequency, medium usage rate and low usage frequency, and setting the layout style of the mini-program control page according to the frequency hierarchy of smart home devices includes: setting the control button of the high-frequency device in the first preset area of ​​the mini-program control page, and the first preset area is configured as the top area of ​​the mini-program control page; setting the control button of the medium-frequency device in the second preset area of ​​the mini-program control page, and the second preset area is configured as the middle area of ​​the mini-program control page; setting the control button of the low-frequency device in the third preset area or the secondary page of the mini-program control page, and the third preset area is configured as the bottom area of ​​the mini-program control page.

[0008] Optionally, after updating the user's operation frequency of different smart home devices based on a preset time period and adjusting the layout style of the mini-program control page according to the updated operation frequency, it also includes: obtaining special home devices among all the smart home devices, the special home devices including at least security alarm devices; setting a special display area on the mini-program control page; and setting the control buttons of the special home devices in the special display area.

[0009] Optionally, the extracting device features of the smart home devices and constructing a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency includes: extracting device features of the smart home devices, the device features including at least device type, device function and device usage scenario; determining the smart home devices operated by the user according to the user operation frequency of each of the smart home devices; determining a vector dimension and a corresponding vector weight based on the device features of the smart home devices operated by the user; and constructing a user preference vector according to the vector dimension, the vector weight and the user operation frequency.

[0010] Optionally, the calculating the similarity between the device characteristics of the smart home devices that have not been operated by the user and the user preference vector includes: constructing a feature vector of the smart home that has not been operated by the user based on the device characteristics; normalizing the feature vector and the user preference vector; and calculating the similarity corresponding to the device characteristics and the user preference vector through a vector space pattern using the normalized feature vector and the user preference vector.

[0011] Optionally, the sorting according to the similarity pushes smart home devices with a similarity greater than a preset similarity to the user end through the mini program, and adjusts the first arrangement style according to the possible usage frequency of the pushed smart home devices to obtain a second arrangement style, including: screening out smart home devices with a similarity greater than the preset similarity based on the preset similarity and the similarity of each of the smart home devices; sorting the screened smart home devices based on the similarity; pushing the smart home devices to the user end corresponding to the mini program in sequence based on the sorting result; determining the possible usage frequency of the smart home device based on the device attributes and device functions of the pushed smart home device in combination with the similarity; determining the second frequency level of the smart home device based on the possible usage frequency, and adjusting and optimizing the first arrangement style of the control page of the mini program according to the second frequency level to obtain a second arrangement style.

[0012] According to another aspect of an embodiment of the present application, the present application provides a smart home mini-program page arrangement device, including: a first style arrangement module, used to obtain the user operation frequency corresponding to the smart home device, classify the smart home device according to the user operation frequency, and set the arrangement style of the mini-program control page according to the classification result to obtain a first arrangement style; a vector construction module, used to extract the device characteristics of the smart home device, and construct a user preference vector according to the device characteristics corresponding to the smart home device operated by the user and the user operation frequency; a similarity calculation module, used to calculate the similarity between the device characteristics of the smart home device that the user has not operated and the user preference vector; a second style arrangement module, used to push the smart home devices with a similarity greater than a preset similarity to the user end through the mini-program according to the sorting of the similarity, and adjust the first arrangement style according to the possible usage frequency of the pushed smart home device to obtain a second arrangement style.

[0013] According to another aspect of an embodiment of the present application, the present application provides an electronic device, including a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, the memory and the processor communicate through the communication bus and the communication interface, and the steps of the above method are implemented when the processor executes the computer program.

[0014] According to another aspect of an embodiment of the present application, the present application also provides a computer-readable medium having a non-volatile program code executable by a processor, and the program code enables the processor to execute the above method.

[0015] The above technical solution provided by the embodiment of the present application has the following advantages compared with the related art:

[0016] This application classifies smart home devices by obtaining the user's operation frequency and sets the corresponding first layout style, so that users can quickly locate the control buttons of commonly used smart home devices. For example, high-frequency smart home devices are placed in a conspicuous and easy-to-operate area of ​​the applet control page, such as the top or core position. In daily operations, users can directly and conveniently control frequently used smart lighting, common home appliances and other smart home devices without tedious searches, which greatly shortens the operation time. Especially in emergency situations, key smart home devices can be quickly started or adjusted to ensure the timely function of smart home device functions, thereby improving the response speed and practicality of the entire smart home system. By constructing a user preference vector and calculating the similarity between the smart home devices that the user has not operated and the preference vector, and pushing the smart home devices to the user accordingly, the previous first layout style is adjusted to the second layout style, and the smart home devices that the user has not used but are likely to use can be recommended to the user, which improves the user experience, realizes personalized recommendations, and meets the personalized needs of different users. Through reasonable smart home device classification and dynamic adjustment of pages based on user behavior data, unnecessary information stacking is reduced, so that the applet control page presents a concise and clear visual effect. During the operation, users will not be distracted by too many irrelevant buttons and options, which reduces visual fatigue and resistance to operation, improves the overall aesthetic experience, makes the interactive interface of the smart home system more friendly and comfortable, and further optimizes the interaction process between users and smart home devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] Figure 1 A schematic diagram of a hardware environment for a smart home applet page arrangement method provided according to an embodiment of the present application;

[0020] Figure 2 A flowchart of a method for arranging pages of a smart home applet provided according to an embodiment of the present application;

[0021] Figure 3 A schematic diagram of the structure of a smart home applet page arrangement device provided according to an embodiment of the present application;

[0022] Figure 4 A schematic diagram of an optional electronic device structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] 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 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 making creative work are within the scope of protection of this application.

[0024] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.

[0025] In the related art, the layout of the applet control page of smart home devices is relatively complicated and disordered, lacking a reasonable arrangement method, which will cause visual fatigue and resistance to operation in users, and reduce the user's experience of the smart home system.

[0026] In order to solve the problems mentioned in the background technology, according to one aspect of the embodiments of the present application, an embodiment of a smart home mini-program page arrangement method is provided.

[0027] Optionally, in the embodiment of the present application, the above method can be applied to Figure 1 In the hardware environment composed of the terminal 101 and the server 103 shown in FIG. Figure 1 As shown, the server 103 is connected to the terminal 101 via a network, and can be used to provide services for the terminal or a client installed on the terminal. A database 105 can be set on the server or independently of the server to provide data storage services for the server 103. The above-mentioned network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 101 includes but is not limited to a PC, a mobile phone, a tablet computer, etc.

[0028] A method for arranging pages of a smart home applet in an embodiment of the present application may be executed by the server 103, or may be executed jointly by the server 103 and the terminal 101, such as Figure 2 As shown, the method may include the following steps:

[0029] Step S202, obtaining the user operation frequency corresponding to the smart home device, grading the smart home device according to the user operation frequency, and setting the layout style of the mini-program control page according to the grading result to obtain a first layout style;

[0030] Optionally, obtaining user operation frequencies corresponding to smart home devices, grading the smart home devices according to the user operation frequencies, and setting the arrangement style of the mini-program control page according to the grading results to obtain a first arrangement style includes:

[0031] Obtaining the user's operation frequency of different smart home devices, where the operation frequency at least includes the device opening frequency, the device closing frequency, and the device parameter adjustment frequency;

[0032] Smart home devices are divided into multiple frequency levels based on the order of operating frequency from large to small;

[0033] Set the layout style of the mini-program control page according to the frequency level of smart home devices;

[0034] The user operation frequency of the user on different smart home devices is updated based on a preset time period, and the arrangement style of the mini-program control page is adjusted according to the updated user operation frequency to obtain a first arrangement style.

[0035] In the above implementation, by obtaining the user operation frequency corresponding to the smart home device and grading the device accordingly and setting the layout style of the mini program control page, the user experience and operation efficiency can be significantly improved. Different users have different operation frequencies for various smart home devices. By accurately obtaining the operation data such as the device opening frequency, closing frequency and parameter adjustment frequency, the frequency levels are sorted from large to small, so that the frequently used devices can be more prominent and easier to operate in the mini program control page. It makes it unnecessary for users to find frequently used devices among many devices, saving operation time and improving the convenience of daily use. The user's living habits and device usage patterns may change over time. Regularly update the operation frequency and rearrange the page to ensure that the mini program can always be optimized according to the user's latest usage preferences. For example, in a certain season, the user may frequently use the temperature adjustment function of the air conditioner, then the position and display method of the device in the mini program page will be more eye-catching and convenient; and when the season changes and the frequency of use decreases, its position in the page will also be adjusted accordingly to make more conspicuous space for other high-frequency devices. This dynamically adjusted page layout not only improves the interaction efficiency between users and smart home devices, but also enhances users' satisfaction and dependence on smart home systems, and strongly promotes the effective application and popularization of smart home technology in daily life.

[0036] Optionally, the frequency level includes high usage frequency, medium usage rate and low usage frequency. The arrangement style of the mini-program control page is set according to the frequency level of the smart home device, including:

[0037] Setting the control button of the high-frequency device in the first preset area of ​​the mini-program control page, wherein the first preset area is configured as the top area of ​​the mini-program control page;

[0038] Setting the control button of the medium frequency device in the second preset area of ​​the mini-program control page, wherein the second preset area is configured as the middle area of ​​the mini-program control page;

[0039] The control button of the low-frequency device is set in the third preset area or the secondary page of the mini-program control page, and the third preset area is configured as the bottom area of ​​the mini-program control page.

[0040] In the above implementation, the method of setting the layout style of the applet control page according to the frequency level greatly optimizes the user's interactive experience with smart home devices and improves the convenience and efficiency of operation. Placing the control button of the device with high frequency of use in the top area of ​​the applet control page is ergonomic and user operation habits. When the user opens the applet, the sight is first focused on the top. Without complicated search and sliding operations, the frequently used devices, such as light switches and power control of common electrical appliances, can be quickly found and controlled, which saves operation time and improves the convenience of daily use, especially when the user is in a hurry or operates multiple devices at the same time. The advantages are obvious. By setting the control button of the medium-frequency device in the middle area, it not only ensures its relative accessibility, but also distinguishes it from the high-frequency device. For those devices that occasionally need to adjust parameters or open and close less frequently, but still have a certain frequency of use, such as the opening and closing degree adjustment of smart curtains, the mode switching of air purifiers, etc., users can easily find and operate them during the natural sight transfer process, making the operation process smoother and reducing the possibility of misoperation. By placing low-frequency devices in the bottom area or on the secondary page, they are prevented from occupying too much space on the main page, making the page layout more concise and clear. For devices such as seasonal electric heaters and rarely used smart sweeping robots with deep settings, this layout will not affect users' quick operation of high-frequency devices, and they can be found by simply sliding down or entering the secondary page when needed, maintaining the neatness and usability of the entire mini program page, allowing users to experience a clear logic and layered interactive experience during the operation process, enhancing users' favorability and dependence on the smart home system, thereby promoting smart homes to better integrate into daily life.

[0041] Optionally, after updating the user's operation frequency of different smart home devices based on a preset time period and adjusting the layout style of the mini-program control page according to the updated operation frequency, the method further includes:

[0042] Acquire special home devices among all smart home devices, where the special home devices at least include security alarm devices;

[0043] Set a special display area on the applet control page;

[0044] Set the control buttons of special home appliances in special display areas.

[0045] In the above implementation, by regularly updating the operation frequency to adjust the page layout, the applet can closely fit the user's changing living habits and usage scenarios. For example, with the change of seasons or family activities, the frequency of use of various smart home devices will also change. Timely updates and adjustments ensure that commonly used devices are always in a convenient operation position, improve the efficiency of users' daily operations, reduce the time cost of finding and operating devices, and make the user experience smoother and more comfortable. For special home devices, such as security alarm devices, their control buttons are set in a special display area, and users can quickly locate and operate them in an emergency without having to search among many device control buttons, which greatly shortens the response time and enhances the family's security protection capabilities. Even in non-emergency states, the setting of this special area can always remind users of the existence and status of security devices, improve users' safety awareness, and improve the reliability of the smart home system and users' trust in it as a whole, so that smart homes can not only provide convenience in life, but also provide a certain degree of security for the family.

[0046] Step S204, extracting device features of smart home devices, and constructing a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency;

[0047] Optionally, extracting device features of smart home devices, and constructing a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency, including:

[0048] Extracting device features of smart home devices, where the device features at least include device type, device function, and device usage scenario;

[0049] Determine the smart home devices operated by the user according to the user operation frequency of each smart home device;

[0050] Determine the vector dimension and the corresponding vector weight based on the device features of the smart home devices operated by the user;

[0051] Construct a user preference vector based on vector dimension, vector weight and user operation frequency.

[0052] In this embodiment, it is assumed that the smart home devices obtained according to the device type, device function and device usage scenario include smart lighting devices, smart temperature control devices, smart security devices and smart cleaning devices. A four-dimensional vector dimension is constructed to represent user preferences, and each dimension corresponds to the above four types of devices. For smart lighting devices, determine the frequency of use of light color modes (such as cold white, warm white, color, etc.), the frequency of light brightness adjustment, and whether the timer switch function is often used. If the user often uses the warm white mode, frequently adjusts the brightness and sets the timer switch every day, then in the dimension of smart lighting devices, a higher weight value is set, for example, set to 0.8. For smart temperature control devices, analyze the range of user-set temperature, the frequency difference of using the air conditioning cooling and heating functions, and whether the smart constant temperature mode is enabled. Assuming that the user sets the temperature between 25-26 degrees Celsius most of the time, rarely uses the heating function and often enables the smart constant temperature mode, then in the dimension of smart temperature control devices, the corresponding weight is set to 0.6. For smart security devices, determine whether the user often turns on the monitoring function, whether multiple alarm modes are set (such as intrusion alarm, smoke alarm, etc.), and the frequency of viewing security videos. If the user always turns on the monitoring function, sets multiple alarm modes, and views security videos every week, a weight of 0.7 is set in the dimension of smart security devices. For smart cleaning devices, consider the frequency with which users use different cleaning modes (such as sweeping, mopping, vacuuming, etc.) and whether scheduled cleaning tasks are set. If the user uses the sweeping mode every day and sets a scheduled cleaning task three times a week, a weight of 0.5 can be set in the dimension of smart cleaning devices. Finally, the user preference vector can be expressed as [0.8, 0.6, 0.7, 0.5]. The obtained user preference vector intuitively reflects the user's preference based on the characteristics of various smart home devices.

[0053] By extracting device features such as device type, device function, and device usage scenario in detail, the interaction mode between users and smart home devices can be deeply and accurately analyzed. For example, it can be identified that users frequently operate devices of a certain type (such as smart speakers), have specific functions (such as voice music playback and smart home control center functions), and are mainly used in living room scenarios. This provides a delicate and comprehensive information basis for subsequent personalized services, which helps mini programs to more accurately meet users' specific needs in different scenarios, rather than simply optimizing the layout based on simple device operation frequency. Screening out devices that have actually been operated based on user operation frequency avoids unnecessary analysis of unused devices, so that the constructed user preference vector focuses more on the user's real usage habits, so that the resources of the mini program can be concentrated on optimizing the device interaction areas that users really care about and frequently use, effectively improving the program's operating efficiency and pertinence. Determining the vector dimension and weight based on device features further strengthens the ability to quantitatively describe user preferences. For those key device features that have a greater impact on user experience, a higher weight is given so that the user preference vector can more accurately reflect the user's inner demand tendencies. For example, if the user often uses the brightness adjustment function of the bedroom light at night, then the relevant dimension of "bedroom lighting equipment" will stand out in the vector due to its higher weight. The mini program can then place the bedroom light control button in a more conspicuous and convenient position in night mode, or provide more convenient interactive components such as brightness adjustment sliders. The user preference vector finally constructed provides solid data support for the intelligent layout of the mini program, realizes the effective transformation from the user's complex operation behavior to the precise page layout adjustment, greatly improves the convenience, comfort and personalized experience of user operation, makes the smart home mini program truly a user-friendly and efficient smart life assistant, enhances the user's stickiness and satisfaction with the smart home system, and effectively promotes the deep popularization and good application of smart home technology in home scenarios.

[0054] Step S206, calculating the similarity between the device features of the smart home devices that the user has not operated and the user preference vector;

[0055] Optionally, calculating the similarity between the device features of the smart home devices that the user has not operated and the user preference vector includes:

[0056] Construct a feature vector of a smart home that the user has not operated based on the device features;

[0057] Normalize the feature vector and the user preference vector;

[0058] The similarity between the device feature and the user preference vector is calculated through the normalized feature vector and the user preference vector through the vector space mode.

[0059] In this embodiment, it is assumed that there are intelligent lighting equipment (equipment A), intelligent temperature control equipment (equipment B), intelligent security equipment (equipment C), and intelligent cleaning equipment (equipment D). First, a feature vector is constructed according to the equipment characteristics of each device. Among them, the device type of device A is lighting, and its functions include adjusting brightness, switching colors, and timing switches. The usage scenarios are mostly living rooms, bedrooms, and dining rooms. Construct its feature vector, and assume that it is represented in vector form as [1,1,1,1,0,0]. Assume that the vector dimension order is [whether it is lighting type, whether the brightness can be adjusted, whether the color can be switched, whether the timing switch can be turned on and off, whether it is security-related, whether it is cleaning-related], 1 means that the feature is available, and 0 means that it is not available. It is only for the convenience of explanation of the example. More reasonable dimensions can be set according to the actual situation.) The device type of device B is temperature control, and its functions include adjusting temperature and setting different modes (such as cooling, heating, dehumidification, etc.). The usage scenarios are mainly bedrooms, living rooms, etc. Its feature vector can be expressed as [0,0,0,0,1,0] (according to the dimension order set above, the temperature control-related and usage scenario characteristics are emphasized). Device C is of the security type, with functions such as real-time monitoring, abnormal alarm, and night vision. Its usage scenarios include the front door, courtyard, and indoor corridor. The corresponding feature vector is [0,0,0,0,1,0] (also based on the dimension setting to highlight the security feature). Device D is of the cleaning type, with functions such as automatic cleaning, mopping, and obstacle avoidance. Its usage scenarios are mostly in the living room, bedroom, and other areas. Its feature vector is represented as [0,0,0,0,0,1]. The constructed feature vectors of each device (the feature vectors of device A, device B, device C, and device D) and the user preference vector are normalized. The purpose of normalization is to put all vectors at the same level standard, so as to accurately measure the similarity between them. For example, for the feature vector of device A [1,1,1,1,0,0], the modulus of the feature vector is calculated to be 2, and then each element of the feature vector is divided by the modulus to obtain the normalized vector [0.5,0.5,0.5,0.5,0,0]. The modulus calculation formula of the feature vector of device A is: Similarly, the feature vectors of devices B, C, and D and the user preference vector are normalized to obtain their normalized vector values. The similarity between the device feature vector and the user preference vector is calculated using the cosine similarity calculation formula in the vector space mode. For the normalized feature vector of device A and the normalized user preference vector, the similarity calculation formula is:

[0060]

[0061] in: is the normalized feature vector of device A, is the user preference vector;

[0062] The similarity value between device A and the user preference vector is calculated, for example:

[0063]

[0064] Substitution and The actual normalized modulus value can be calculated to obtain the specific cos(θ A ), assuming it is 0.45, the similarity values ​​of device B, device C, device D and the user preference vector can be calculated in the same way. For example, the similarity of device B is 0.3, the similarity of device C is 0.4, and the similarity of device D is 0.25.

[0065] Optionally, the similarity of this embodiment may also be calculated using a similarity calculation method such as TF-IDF, so variations in the similarity calculation method are also within the protection scope of this embodiment.

[0066] In the above embodiment, by constructing feature vectors and performing normalization processing, the feature data of devices of different types and dimensions can be placed under a unified and comparable standard. This helps to accurately measure the degree of correlation between the features of each device, avoid comparison deviations caused by factors such as data magnitude and attribute differences, and make subsequent similarity calculations more scientific, reasonable and accurate. Using vector space patterns to calculate similarities can deeply explore the degree of fit between smart home devices that users have not operated and user preferences. For example, for devices that users have not used but whose functions, usage scenarios and other features are highly similar to user preferences, the mini program can judge based on this and give appropriate recommended positions when arranging the page, or display them in association with the preferred devices to guide users to try to use them, thereby increasing the exposure and probability of the device being used.

[0067] Step S208, push the smart home devices with a similarity greater than a preset similarity to the user end through the mini program according to the similarity sorting, and adjust the first arrangement pattern to obtain a second arrangement pattern according to the possible usage frequency of the pushed smart home devices.

[0068] Optionally, smart home devices with a similarity greater than a preset similarity are pushed to the user end through the applet according to the similarity sorting, and the first arrangement pattern is adjusted according to the possible usage frequency of the pushed smart home devices to obtain a second arrangement pattern, including:

[0069] According to the preset similarity and the similarity of each smart home device, the smart home devices with a similarity greater than the preset similarity are screened out;

[0070] Sort the screened smart home devices based on similarity;

[0071] Based on the sorting results, the smart home devices are pushed to the user end corresponding to the mini program in sequence;

[0072] Determine the possible usage frequency of smart home devices based on the device attributes, device functions and similarity of the pushed smart home devices;

[0073] The second frequency level of the smart home device is determined according to the possible usage frequency, and the first arrangement style of the control page of the mini-program is adjusted and optimized according to the second frequency level to obtain the second arrangement style.

[0074] In the above embodiment, smart home devices with a similarity greater than a preset degree are pushed to the user in sequence according to the similarity sorting, so that smart home devices that the user has not used but may use can be pushed to the customer according to the user's daily usage, so as to improve the user experience. The second frequency level is determined by the possible frequency of use, and the newly pushed and likely frequently used devices are integrated into a reasonable page layout to ensure that the user can still operate efficiently when facing new recommended devices. The user's operational feedback on the recommended device will further update the user preference vector, making subsequent recommendations and page adjustments more accurate. It not only increases the user's dependence on the mini-program and the frequency of use, but also promotes the synergy between smart home devices to be better utilized, and promotes the entire smart home ecosystem to develop in a more intelligent, efficient, and personalized direction, creating a more comfortable, convenient, and intelligent home living environment for users.

[0075] In this embodiment, the applet control page includes a home page, a secondary page, a sidebar, and a shortcut menu. When the applet control page is laid out according to the above embodiment, the order of the layout is home page→secondary page→sidebar or shortcut menu.

[0076] Furthermore, when laying out the homepage of the mini-program control page, the above-mentioned smart lighting equipment, intelligent security equipment, smart temperature control equipment and smart cleaning equipment are laid out on the homepage of the mini-program page respectively. First, the smart lighting equipment function area is the core display area. According to the above-mentioned user preference vector weight of 0.8, the proportion of the smart lighting equipment function area in the homepage is set to 40% of the upper area, and a high-definition lighting scene simulation map is used as the background to create a visual effect of different lighting atmospheres to attract user attention. Above the background image, three main quick operation buttons are arranged horizontally, including "common color switching" (by default, the warm white and color mode switching buttons that are most frequently used by users are displayed, and more color options can be expanded by clicking), "brightness adjustment slider" (the slider is long, which is convenient for accurate operation, and the initial position of the slider is set according to the brightness used by the user last time), and "scheduled task management" (displayed as a calendar icon, a detailed scheduled task setting page pops up after clicking, and the brief information of the most recently set scheduled task is displayed next to the icon, such as "turn on the living room light from 7 to 10 every night"). In the lower right corner of the function area, there is a "Lighting Scene Mode" drop-down menu, which contains the scene modes that the user has previously customized or commonly used (such as "Reading Mode", "Movie Mode", etc.). After selection, you can switch to the corresponding lighting combination setting with one click, which fully meets the user's high-frequency demand for comprehensive control of lighting color, brightness and other aspects.

[0077] The smart security equipment function area is an important display area. According to the above-mentioned user preference vector weight of smart security equipment, which is 0.7, the smart security equipment function area is set on the left side of the middle of the homepage, occupying about 30% of the area, with a scalable real-time monitoring screen window as the core element. Users can view the details of the monitoring screen by pinching and zooming. The name and status of the current monitoring device (such as "door camera-online") are displayed below the window. On the right side of the monitoring window, three main buttons are arranged vertically: "Alarm mode master switch" (displayed as a striking red button, with a flashing effect around the button when turned on, which is convenient for users to quickly confirm the alarm status), "Alarm mode details" (click to expand the list of all set alarm modes, such as intrusion alarm, smoke alarm, etc., each alarm mode has an independent switch button and setting icon next to it, which can be set in detail), "Security video quick view" (displayed as a film roll icon, click to jump directly to the security video list page of the last three days, the list is arranged in chronological order, and the latest video is at the top).

[0078] The smart temperature control device function area is the second most important display area. According to the user preference weight of the smart temperature control device obtained above, which is 0.6, the smart temperature control device function area is set on the right side of the middle of the homepage, occupying 20% ​​of the area. A simple thermometer dial graphic is used as the main visual element. The dial pointer points to the current indoor temperature, and the temperature value is accurately displayed in digital form below the dial. Above the graphic, two temperature adjustment buttons, "+" and "-", are set. The button size is moderate and the color contrasts sharply with the background, which is convenient for user operation. Each click adjusts the temperature in steps of 0.5 degrees Celsius. The default adjustment range is around 25-26 degrees Celsius, which is commonly used by users. At the same time, the temperature value set by the user last time is displayed next to the button. Below the graphic, a "smart constant temperature mode switch" button is set. The button is displayed in green. When it is turned on, the text prompt "smart constant temperature is turned on" is displayed, and when it is turned off, it is displayed "smart constant temperature is turned off", which meets the user's usage habits of the smart constant temperature mode.

[0079] The smart cleaning equipment function area is configured as a regular display area. According to the above-mentioned user preference weight of the smart cleaning equipment (0.5), the smart cleaning equipment function area is set at the bottom of the homepage, occupying 10% of the area, with four cleaning equipment icons of equal size arranged horizontally, representing "sweeping mode", "mopping mode", "vacuuming mode" and "deep cleaning mode" respectively. After clicking the icon, the corresponding device starts to perform the corresponding cleaning task, and the last time the device was used is displayed below the icon. On the right side of the icon area, a "scheduled cleaning setting" button is set. After clicking it, the scheduled cleaning task setting page pops up. The page displays the scheduled task information of three times a week set by the user by default, which is convenient for users to modify or add scheduled cleaning tasks.

[0080] Furthermore, the secondary page of the applet control page is laid out. This embodiment takes the device management page as an example. First, the functions related to the management preferences of smart lighting devices are highlighted. A large title bar of "Smart Lighting Devices" is set at the top of the device management page. The color of the title bar adopts a similar tone to the lighting function area on the home page to enhance visual relevance. The main part of the page first displays a list of all connected smart lighting devices. Each device item is presented in the form of a card. The top of the card displays a device picture (such as a photo of the appearance of the lamp), the device name and the room information. The middle of the card is set with a "Light Color Setting" button (click to expand the detailed color selection panel, and the commonly used color options reflected by the user preference vector are displayed in the front first), and a "Brightness Adjustment Range Setting" button (a wider or narrower brightness adjustment range can be set to meet the special needs of users. The default brightness adjustment range commonly used by users is displayed). At the bottom of each device card, there is a "Device Linkage Settings" button (used to combine multiple lamps for linkage control, such as setting the lights in multiple rooms to turn on and off at the same time or switch color modes. This function is provided based on the user's preference for comprehensive lighting control) and a "Lighting Scene Editing" button (click to enter the scene editing page, where users can create new lighting scene modes according to their preferences, such as "Party Mode", "Sleep Mode", etc.).

[0081] In the secondary page, the intelligent security equipment management is laid out according to the preferred characteristics and is set in the middle of the equipment management page. The title bar is "Intelligent Security Equipment". A small monitoring icon is displayed next to the title bar to enhance the connection with the security monitoring function. After expansion, a list of connected security equipment is displayed. Each equipment item is also presented in the form of a card. The top of the card displays the equipment picture (such as the appearance of the camera or the shape of the alarm), the equipment name and location information. The middle of the card sets the "Image Quality Adjustment" button for the camera device (the camera's resolution, frame rate and other parameters can be adjusted to meet the user's concern about the clarity of the monitoring picture) and the "Storage Settings" button (related to the security video viewing function, which can set the duration and storage location of the video storage); for the alarm device, set the "Alarm Sensitivity Adjustment" button (the alarm sensitivity can be finely adjusted according to user needs to adapt to different scenarios) and the "Alarm Notification Settings" button (used to set the notification method when the alarm is triggered, such as pushing messages to mobile phones, sounding alarms, etc.).

[0082] In the secondary page, the smart temperature control device management is laid out according to preference habits. In the lower left area of ​​the device management page, set the "Smart Temperature Control Device" title bar, and the title bar uses a temperature-related blue tone. After expansion, a list of connected temperature control devices is presented. Each device item is displayed in the form of a card. The top of the card displays the device picture (such as the appearance of the air conditioner or the shape of the smart thermostat), the device model and the current operating mode information. The middle of the card is set with a "Temperature Curve Setting" button (users can set the temperature changes in different time periods of a day or a week by drawing a temperature curve, which meets the user's potential needs for precise temperature control) and an "Energy Saving Mode Setting" button (used to turn on or off the energy saving mode of the device, taking into account the user's habit of temperature setting, and providing energy saving related functions). At the bottom of each device card, a "Device Remote Control" button is set (to facilitate users to remotely turn on or off the temperature control device when they are away) and a "Temperature Calibration" button (the temperature sensor of the temperature control device can be calibrated to ensure the accuracy of temperature measurement).

[0083] In the secondary page, the intelligent cleaning equipment management is laid out according to the preference requirements. The intelligent cleaning equipment management is set in the lower right area of ​​the equipment management page. The title bar is "Intelligent Cleaning Equipment". The title bar adopts green tones, which echoes the concept of cleaning and environmental protection. After expansion, the list of connected cleaning equipment is displayed. Each equipment item is presented in the form of a card. The top of the card displays the equipment picture (such as the appearance of the sweeping robot or the shape of the mopping machine), the equipment name and power information. The middle of the card is set with a "cleaning mode customization" button (users can customize the parameters of the cleaning mode according to their needs, such as the cleaning strength of the sweeping robot, the water output of the mopping machine, etc., to meet the user's preference for personalized settings of the cleaning mode), and a "cleaning path planning" button (for devices such as sweeping robots that can plan cleaning routes, users can manually draw cleaning paths or set the cleaning order of specific areas). At the bottom of each equipment card, a "equipment maintenance reminder" button is set (according to the length and frequency of use of the equipment, remind users to perform equipment maintenance, such as replacing the filter of the sweeping robot, etc.) and a "consumables purchase link" button (directly link to the corresponding consumables purchase page of the e-commerce platform, so that users can purchase consumables for cleaning equipment).

[0084] Furthermore, the sidebar or shortcut menu layout of the mini-program control page is laid out. The sidebar or shortcut menu is mainly used to strengthen preference guidance. Including quick access to commonly used functions. At the top of the sidebar or shortcut menu, the "common color switching" and "brightness adjustment" functions of the smart lighting devices with higher weights in the user preference vector are fixedly displayed in the form of icons, and these two icons are larger in size and high-contrast colors, so that users can quickly operate on any page without returning to the homepage. Then the "monitoring screen view" icon of the smart security device is arranged in sequence (a small window of real-time monitoring screen will pop up directly after clicking, so that users can check the monitoring situation at any time) and the "alarm mode master switch" icon (one-click to turn on or off all alarm modes to meet the user's needs for quick control of security status).

[0085] Set the device classification entrances in the order of preference weights. Set four classification entrances below in the order of preference vector weights, corresponding to smart lighting equipment, smart security equipment, smart temperature control equipment, and smart cleaning equipment. The entrance icon design has obvious device feature recognition, and clicking each entrance can directly jump to the corresponding device management page, which is convenient for users to quickly switch to the device category they want to manage. At the same time, the number of unread messages of this type of device (such as unprocessed alarm information, device failure reminders, etc.) is displayed next to each entrance to remind users to pay attention to the status of related devices in time.

[0086] According to another aspect of the embodiment of the present application, Figure 3 As shown, a smart home applet page arrangement device is provided, comprising:

[0087] The first arrangement style module 301 is used to obtain the user operation frequency corresponding to the smart home device, classify the smart home devices according to the user operation frequency, and set the arrangement style of the mini-program control page according to the classification result to obtain the first arrangement style;

[0088] A vector construction module 303 is used to extract device features of smart home devices and construct a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency;

[0089] A similarity calculation module 305, used to calculate the similarity between the device features of the smart home devices that the user has not operated and the user preference vector;

[0090] The second arrangement module 307 is used to push the smart home devices with a similarity greater than a preset similarity to the user end through the mini program according to the similarity sorting, and adjust the first arrangement style to obtain the second arrangement style according to the possible usage frequency of the pushed smart home devices.

[0091] It should be noted that the first style arrangement module 301 in this embodiment can be used to execute step S202 in the embodiment of the present application, the vector construction module 303 in this embodiment can be used to execute step S204 in the embodiment of the present application, the similarity calculation module 305 in this embodiment can be used to execute step S206 in the embodiment of the present application, and the second style arrangement module 307 in this embodiment can be used to execute step S208 in the embodiment of the present application.

[0092] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware.

[0093] According to another aspect of the embodiments of the present application, the present application provides an electronic device, such as Figure 4 As shown, it includes a memory 401, a processor 403, a communication interface 405 and a communication bus 407. The memory 401 stores a computer program that can be run on the processor 403. The memory 401 and the processor 403 communicate through the communication interface 405 and the communication bus 407. When the processor 403 executes the computer program, the steps of the above method are implemented.

[0094] The memory and processor in the above electronic device communicate via a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc.

[0095] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0096] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0097] According to another aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any of the above embodiments.

[0098] Optionally, in an embodiment of the present application, the computer-readable medium is configured to store program codes for the processor to perform the following steps:

[0099] Step S202, obtaining the user operation frequency corresponding to the smart home device, grading the smart home device according to the user operation frequency, and setting the layout style of the mini-program control page according to the grading result to obtain a first layout style.

[0100] Step S204: extract device features of the smart home devices, and construct a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency.

[0101] Step S206, calculating the similarity between the device features of the smart home devices that the user has not operated and the user preference vector.

[0102] Step S208, push the smart home devices with a similarity greater than a preset similarity to the user end through the mini program according to the similarity sorting, and adjust the first arrangement pattern to obtain a second arrangement pattern according to the possible usage frequency of the pushed smart home devices.

[0103] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0104] When the embodiments of the present application are specifically implemented, reference may be made to the above-mentioned embodiments, which have corresponding technical effects.

[0105] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0106] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0107] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0109] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0110] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0111] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0112] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk. It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0113] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A method for arranging pages of smart home applets, characterized in that: include: Obtaining user operation frequencies corresponding to smart home devices, grading the smart home devices according to the user operation frequencies, and setting an arrangement style of a mini-program control page according to the grading results to obtain a first arrangement style; Extracting device features of the smart home devices, and constructing a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency; Calculating the similarity between the device feature of the smart home device that has not been operated by the user and the user preference vector; According to the ranking of the similarities, the smart home devices with a similarity greater than a preset similarity are pushed to the user end through the mini program, and the first arrangement pattern is adjusted according to the possible usage frequency of the pushed smart home devices to obtain a second arrangement pattern.

2. The method for arranging pages of smart home applets according to claim 1, characterized in that: The obtaining of user operation frequencies corresponding to smart home devices, grading the smart home devices according to the user operation frequencies, and setting the arrangement style of the mini-program control page according to the grading results to obtain a first arrangement style includes: Acquire the user's operation frequency of different smart home devices, where the operation frequency at least includes the device opening frequency, the device closing frequency, and the device parameter adjustment frequency; Dividing the smart home devices into a plurality of frequency levels based on the order of the operating frequencies from large to small; Setting the layout style of the mini-program control page according to the frequency level of the smart home device; The user operation frequency of the user on different smart home devices is updated based on a preset time period, and the arrangement style of the mini-program control page is adjusted according to the updated user operation frequency to obtain a first arrangement style.

3. The method for arranging pages of smart home mini-programs according to claim 2, characterized in that: The frequency level includes high usage frequency, medium usage rate and low usage frequency, and the arrangement style of the mini-program control page is set according to the frequency level of the smart home device, including: Setting the control button of the high-frequency device in a first preset area of ​​the mini-program control page, wherein the first preset area is configured as the top area of ​​the mini-program control page; Setting the control button of the intermediate frequency device in a second preset area of ​​the mini-program control page, wherein the second preset area is configured as a middle area of ​​the mini-program control page; The control button of the low-frequency device is set in the third preset area or the secondary page of the mini-program control page, and the third preset area is configured as the bottom area of ​​the mini-program control page.

4. The method for arranging pages of smart home mini-programs according to claim 2, characterized in that: After updating the user's operation frequency of different smart home devices based on a preset time period and adjusting the arrangement style of the mini-program control page according to the updated operation frequency, the method further includes: Acquire special home devices among all the smart home devices, wherein the special home devices at least include security alarm devices; Setting a special display area on the applet control page; The control buttons of the special household equipment are arranged in the special display area.

5. The method for arranging pages of smart home mini-programs according to claim 1, characterized in that: The extracting device features of the smart home devices and constructing a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency includes: Extracting device features of the smart home device, where the device features include at least device type, device function, and device usage scenario; Determining the smart home devices operated by the user according to the user operation frequency of each of the smart home devices; Determine a vector dimension and a corresponding vector weight based on the device features of the smart home device operated by the user; A user preference vector is constructed according to the vector dimension, the vector weight and the user operation frequency.

6. The method for arranging pages of smart home mini-programs according to claim 1, characterized in that: The calculating the similarity between the device feature of the smart home device that has not been operated by the user and the user preference vector includes: Constructing a feature vector of a smart home that has not been operated by the user according to the device features; Normalizing the feature vector and the user preference vector; The normalized feature vector and the user preference vector are used to calculate the similarity between the device feature and the user preference vector through a vector space model.

7. The method for arranging pages of smart home mini-programs according to claim 1, characterized in that: The sorting according to the similarity pushes the smart home devices with a similarity greater than a preset similarity to the user terminal through the applet, and adjusting the first arrangement pattern to obtain a second arrangement pattern according to the possible usage frequency of the pushed smart home devices, including: According to the preset similarity and the similarity of each of the smart home devices, select the smart home devices with a similarity greater than the preset similarity; sorting the screened smart home devices based on the similarity; Pushing the smart home devices to the user terminals corresponding to the mini-programs in sequence based on the sorting results; Determine the possible usage frequency of the smart home device according to the pushed device attributes and device functions of the smart home device combined with the similarity; The second frequency level of the smart home device is determined according to the possible usage frequency, and the first arrangement style of the control page of the mini-program is adjusted and optimized according to the second frequency level to obtain a second arrangement style.

8. A smart home applet page layout device, characterized in that: include: A first arrangement style module is used to obtain user operation frequencies corresponding to smart home devices, classify the smart home devices according to the user operation frequencies, and set an arrangement style of the mini-program control page according to the classification results to obtain a first arrangement style; A vector construction module, used to extract device features of the smart home devices, and construct a user preference vector according to the device features corresponding to the smart home devices operated by the user and the user operation frequency; A similarity calculation module, used to calculate the similarity between the device feature of the smart home device that the user has not operated and the user preference vector; The second arrangement style module is used to push the smart home devices with a similarity greater than a preset similarity to the user end through the mini program according to the similarity sorting, and adjust the first arrangement style to obtain a second arrangement style according to the possible usage frequency of the pushed smart home devices.

9. An electronic device, comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, and the memory and the processor communicate through the communication bus and the communication interface, characterized in that: When the processor executes the computer program, the smart home applet page arrangement method described in any one of claims 1 to 7 is implemented.

10. A computer readable medium having a non-volatile program code executable by a processor, characterized in that: The program code enables the processor to execute the smart home applet page arrangement method described in any one of claims 1 to 7.