An operation interface generation method, device, equipment and storage medium

By collecting facial and body data of users in smart kitchen appliances, determining their age and gender, and performing consistency and rationality checks, a personalized user interface is generated. This solves the problem of existing technologies being unable to adapt to different users and improves interface adaptability and generation efficiency.

CN119356783BActive Publication Date: 2025-11-11ZHEJIANG YITIAN INTELLIGENT KITCHEN ELECTRICITY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411411024.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-11-11
Estimated Expiration
2044-10-10

AI Technical Summary

Technical Problem

Existing smart kitchen appliances cannot generate suitable user interfaces for different users, and preference recommendation mechanisms cannot meet the needs of first-time users or users from different backgrounds.

Method used

The system acquires the user's facial and body data through an image acquisition module, combines this data with pre-defined correspondences to determine the user's age and gender, performs consistency and rationality checks, and generates the target user interface.

Benefits of technology

It improves the adaptability and generation efficiency of the user interface, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356783B_ABST
    Figure CN119356783B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and storage medium for generating a user interface, relating to the field of smart kitchen appliances technology. The method includes, upon recognizing a device wake-up command sent by a user to a target device, determining the user's first age and first gender based on facial data; determining the user's second age and second gender based on body shape data; performing a consistency check on the first and second genders, and if the consistency check passes, determining the first or second gender as the user's target gender, and performing a reasonableness check on the first and second ages; if the reasonableness check passes, determining the user's target age based on the first and second ages; and generating a target user interface for the target device based on the correspondence between the user's age and the interface configuration template, according to the target age and target gender. This technical solution can improve the adaptability of the user interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart kitchenware technology, specifically to a method, apparatus, device, and storage medium for generating an operating interface. Background Technology

[0002] In the field of smart kitchen appliances, the user interfaces of some devices are often fixed and cannot be customized according to different users.

[0003] To address this technical challenge, existing smart kitchen appliances often offer multiple user interfaces or display options for users to choose from. They can also generate interfaces and content tailored to user preferences using a preference recommendation mechanism; for example, male users might be shown a male-themed interface, while female users might be shown a female-themed interface. However, when a user is using the appliance for the first time or when different users are using the same smart kitchen appliance, the preference recommendation mechanism fails to generate an interface suitable for the user's needs. Summary of the Invention

[0004] This application provides a method, apparatus, device, and storage medium for generating a user interface to improve the adaptability of the user interface.

[0005] According to one aspect of this application, a method for generating a user interface is provided, the method comprising:

[0006] When a device wake-up command sent by the target device is detected, the user's first age and first gender are determined based on the correspondence between facial data and user information, according to the user's facial data; the facial data is obtained by the image acquisition module capturing images of the user.

[0007] Based on the correspondence between body shape data and user information, the user's second age and second gender are determined according to the body shape data; the body shape data is obtained by the image acquisition module from the user's image.

[0008] A consistency check is performed on the first gender and the second gender. If the consistency check passes, the first gender or the second gender is determined as the target gender of the user, and a reasonableness check is performed on the first age and the second age.

[0009] If the rationality check passes, the target age of the user is determined based on the first age and the second age;

[0010] Based on the correspondence between the user's age and the interface configuration template, the target operation interface of the target device is generated according to the target age and the target gender.

[0011] According to another aspect of this application, a user interface generation apparatus is provided, the apparatus comprising:

[0012] The first information determination module is used to determine the user's first age and first gender based on the correspondence between facial data and user information when a device wake-up command is detected sent by the user to the target device; the facial data is obtained by the image acquisition module by capturing images of the user.

[0013] The second information determination module is used to determine the user's second age and second gender based on the correspondence between body shape data and user information, according to the body shape data; the body shape data is obtained by the image acquisition module from capturing images of the user.

[0014] The information verification module is used to perform consistency verification on the first gender and the second gender. If the consistency verification passes, the first gender or the second gender is determined as the target gender of the user, and the reasonableness of the first age and the second age is verified.

[0015] An age determination module is used to determine the target age of the user based on the first age and the second age, provided that the reasonableness check passes.

[0016] The interface generation module is used to generate the target operation interface of the target device based on the correspondence between the user's age and the interface configuration template, according to the target age and the target gender.

[0017] According to another aspect of this application, an electronic device is provided, the electronic device comprising:

[0018] One or more processors;

[0019] Memory, used to store one or more programs;

[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the user interface generation methods provided in the embodiments of this application.

[0021] According to another aspect of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements any of the user interface generation methods provided in the embodiments of this application.

[0022] This application, upon recognizing a device wake-up command sent by the user to the target device, determines the user's first age and first gender based on the correspondence between facial data and user information. The facial data is obtained by an image acquisition module capturing images of the user. Based on the correspondence between body shape data and user information, the user's second age and second gender are determined. The body shape data is also obtained by an image acquisition module capturing images of the user. A consistency check is performed on the first and second genders; if the consistency check passes, the first or second gender is determined as the user's target gender. A reasonableness check is also performed on the first and second ages; if the reasonableness check passes, the user's target age is determined based on the first and second ages. Based on the correspondence between the user's age and the interface configuration template, a target operating interface for the target device is generated according to the target age and target gender. This technical solution, by comprehensively considering the user's age and gender and specifically generating a target operating interface, can improve the adaptability of the operating interface. Attached Figure Description

[0023] Figure 1 This is a flowchart of a user interface generation method according to Embodiment 1 of this application;

[0024] Figure 2 This is a flowchart of a user interface generation method according to Embodiment 2 of this application;

[0025] Figure 3 This is a schematic diagram of the structure of an interface generation device according to Embodiment 3 of this application;

[0026] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the user interface generation method of the embodiments of this application. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0029] Furthermore, it should be noted that the collection, storage, use, processing, transmission, provision, and disclosure of facial data, application data, age, gender, and other related data involved in the technical solution of this application are all carried out with the authorization of the user and with the user's knowledge, and are only used for the automatic generation of operation interfaces for smart kitchen appliances. This complies with the provisions of relevant laws and regulations and does not violate public order and good morals.

[0030] Example 1

[0031] Figure 1 This is a flowchart of a user interface generation method according to Embodiment 1 of this application. This embodiment is applicable to situations where smart kitchen appliances automatically generate a user interface based on user information. The method can be executed by a user interface generation device, which can be implemented in hardware and / or software. This user interface generation device can be configured in smart kitchen appliances, such as integrated stoves. Figure 1 As shown, the method includes:

[0032] S110. When a device wake-up command sent by the target device is detected, the user's first age and first gender are determined based on the correspondence between facial data and user information, according to the user's facial data; the facial data is obtained by the image acquisition module from the user's image.

[0033] In this context, "user" refers to the user currently preparing to use the target device. "Target device" refers to the device the user intends to use and for which an interface needs to be generated; this could be an integrated stove, microwave oven, or range hood in a smart kitchen appliance. "Device wake-up command" refers to the instruction or signal from the user to wake up the target device, used to switch it from sleep or standby mode to working mode; this command can be sent remotely via the user's mobile terminal or by the user touching the power button on the target device. "Facial data" refers to relevant data describing the user's facial information, and may include at least one of facial features, facial contours, and facial color. "User information" refers to the user's personal information, and may include at least one of age and gender. The correspondence between facial data and user information is based on empirical values ​​or pre-set through extensive experimentation. "First age" refers to the user's age determined from facial data. "First gender" refers to the user's gender determined from facial data. "Image acquisition module" refers to the device on the target device used to acquire images of the user, and may be at least one of a camera and an image sensor.

[0034] Optionally, when a device wake-up command sent by the user to the target device is detected, the user's facial data is used as an index to search for the age and gender corresponding to the facial data in the target device's local database to obtain the user's first age and first gender.

[0035] Here, the index refers to the unique identifier of a user's facial data, used to find related information. The local database refers to the data collection stored locally on the target device, used to store the relationships between user information and other relevant data.

[0036] S120. Based on the correspondence between body shape data and user information, determine the user's second age and second gender according to the body shape data; the body shape data is obtained by the image acquisition module from the user's image.

[0037] Body shape data refers to data characterizing the user's body shape, and may include at least one of height, build, and silhouette. The correspondence between body shape data and user information is based on empirical values ​​or pre-defined through extensive experimentation. Secondary age is the user's age determined using body shape data. Secondary gender is the user's gender determined using body shape data.

[0038] Optionally, when a device wake-up command sent by the user to the target device is detected, the user's body shape data is used as an index to search for the age and gender corresponding to the body shape data in the target device's local database to obtain the user's first age and first gender.

[0039] S130. Perform a consistency check on the first gender and the second gender. If the consistency check passes, determine the first gender or the second gender as the user's target gender, and perform a reasonableness check on the first age and the second age.

[0040] Here, "target gender" refers to the final determined gender of the user used to generate the user interface. "Consistency check" refers to the check used to determine whether the primary gender and the secondary gender are consistent.

[0041] In one alternative implementation, if the consistency check fails, the image acquisition module is notified to re-acquire the user's facial and body data.

[0042] Optionally, the rationality check of the first age and the second age can be performed by subtracting the first age and the second age to obtain the age difference value; if the age difference value is less than or equal to the age difference threshold, the rationality check passes; if the age difference value is greater than the age difference threshold, the rationality check fails, and the image acquisition module is notified to re-acquire the user's facial data and body shape data.

[0043] The age difference refers to the difference between the first age and the second age. The age difference threshold is determined in advance based on empirical values ​​or through a large number of experiments.

[0044] S140. If the rationality check passes, determine the user's target age based on the first age and the second age.

[0045] The target age refers to the final determined age of the user used to generate the user interface.

[0046] Optionally, the average of the first age and the second age can be used to obtain the user's target age.

[0047] S150. Based on the correspondence between the user's age and the interface configuration template, generate the target operation interface for the target device according to the target age and target gender.

[0048] The correspondence between the user's age and the interface configuration template is based on empirical values ​​or pre-set through a large number of experiments.

[0049] Optionally, the target configuration template for the user is obtained by searching the local database of the target device for the interface configuration template corresponding to the target age, using the user's target age as an index; and the target operation interface for the target device is generated based on the target configuration template and the target gender.

[0050] The interface configuration template is pre-defined based on experience or through extensive experimentation. The target configuration template refers to a pre-configured, ready-to-use candidate interface. The target interface refers to the final, user-available interface.

[0051] In one alternative implementation, after generating the target user interface, the target user interface can also be fed back to the user for confirmation.

[0052] This application embodiment, upon recognizing a device wake-up command sent by the user to the target device, determines the user's first age and first gender based on the correspondence between facial data and user information. The facial data is obtained by an image acquisition module capturing images of the user. Based on the correspondence between body shape data and user information, the user's second age and second gender are determined. The body shape data is also obtained by an image acquisition module capturing images of the user. A consistency check is performed on the first and second genders; if the consistency check passes, the first or second gender is determined as the user's target gender. A reasonableness check is also performed on the first and second ages; if the reasonableness check passes, the user's target age is determined based on the first and second ages. Based on the correspondence between the user's age and the interface configuration template, a target operating interface for the target device is generated according to the target age and target gender. This technical solution, by comprehensively considering the user's age and gender and specifically generating a target operating interface, can improve the adaptability of the operating interface.

[0053] Example 2

[0054] Figure 2 This is a flowchart of a user interface generation method according to Embodiment 2 of this application. Based on the technical solutions of the above embodiments, this embodiment refines the process of "generating a target user interface for a target device based on the correspondence between the user's age and the interface configuration template, according to the target age and target gender" into "selecting a target configuration template from candidate configuration templates based on the correspondence between the user's age and the interface configuration template, according to the target age; adjusting the current configuration interface of the target configuration template according to the target gender, to obtain the target user interface for the target device." It should be noted that for parts not detailed in this embodiment, please refer to the relevant descriptions in other embodiments. Figure 2 As shown, the method includes:

[0055] S210. When a device wake-up command sent by the target device is detected, the user's first age and first gender are determined based on the correspondence between facial data and user information, according to the user's facial data; the facial data is obtained by the image acquisition module from the user's image.

[0056] S220. Based on the correspondence between body shape data and user information, determine the user's second age and second gender according to the body shape data; the body shape data is obtained by the image acquisition module from the user's image.

[0057] S230. Perform a consistency check on the first gender and the second gender. If the consistency check passes, determine the first gender or the second gender as the user's target gender, and perform a reasonableness check on the first age and the second age.

[0058] S240. If the rationality check passes, determine the user's target age based on the first age and the second age.

[0059] S250. Based on the correspondence between the user's age and the interface configuration template, select the target configuration template from the candidate configuration templates according to the target age.

[0060] Among them, the candidate configuration template refers to the one that is pre-set based on empirical values ​​or through a large number of experiments.

[0061] Optionally, the candidate configuration templates include a children's template, a general template, and an elderly template; correspondingly, if the target age is less than or equal to a first age threshold, the children's template is determined as the target configuration template; if the target age is greater than the first age threshold and less than or equal to a second age threshold, the general template is determined as the target configuration template; if the target age is greater than the second age threshold, the elderly template is determined as the target configuration template.

[0062] The "Children's Template" refers to an interface designed for children, featuring bright colors, large icons, large fonts, and cartoon designs. The "General Audience Template" is designed for middle-aged or young adults, using cool / warm colors, moderate icons, and moderate fonts. The "Senior Citizen Template" is designed for the elderly, using cool / warm colors, high contrast, large icons, and large fonts. Both the first and second age thresholds are based on empirical values ​​or pre-set through extensive experimentation.

[0063] S260. Based on the target gender, adjust the current configuration interface of the target configuration template to obtain the target operation interface of the target device.

[0064] Optionally, if the target configuration template is a children's template, the current configuration interface of the children's template will be determined as the target operation interface of the target device; if the target configuration template is a general template or an elderly template, the interface color and interface border in the current configuration interface of the target configuration template will be adjusted based on the correspondence between the user's gender and the interface configuration style to obtain the target operation interface.

[0065] The correspondence between user gender and interface configuration style is based on empirical values ​​or pre-set through extensive experimentation. Interface configuration style refers to the detailed configuration of the user interface, which may include at least one of the following: interface color scheme and interface borders.

[0066] For example, if the target configuration template is a general template and the target gender is male, the interface color scheme will be adjusted to a cool color scheme and the interface borders will be adjusted to a straight line design; if the target configuration template is a general template and the target gender is female, the interface color scheme will be adjusted to a warm color scheme and the interface borders will be adjusted to a rounded design.

[0067] In one alternative implementation, before adjusting the current configuration interface of the target configuration template according to the target gender to obtain the target operation interface of the target device, if the target configuration template is a children's template, a security check is performed on the target device; if the security check fails, the current operation interface of the children's template is locked, and a notification prohibiting operation is sent to the user.

[0068] Among these, security verification is used to check whether the target device poses any operational risks. The current configuration interface refers to the user interface before any adjustments have been made to the target configuration template. The prohibition notification refers to a notification from the user prohibiting them from operating the current interface.

[0069] This application embodiment, upon recognizing a device wake-up command sent by the user to the target device, determines the user's first age and first gender based on the correspondence between facial data and user information. The facial data is obtained by an image acquisition module capturing images of the user. Based on the correspondence between body shape data and user information, the user's second age and second gender are determined based on the body shape data, also obtained by the image acquisition module. A consistency check is performed on the first and second genders; if the consistency check passes, the first or second gender is determined as the user's target gender. A reasonableness check is also performed on the first and second ages; if the reasonableness check passes, the user's target age is determined based on the first and second ages. Based on the correspondence between the user's age and the interface configuration template, a target configuration template is selected from the candidate configuration templates according to the target age. Based on the target gender, the current configuration interface of the target configuration template is adjusted to obtain the target operation interface for the target device. This technical solution, by selecting a target configuration template from the candidate configuration templates and modifying it, improves the efficiency of generating the operation interface, avoids long user wait times, and helps improve the user experience.

[0070] Example 3

[0071] Figure 3 This is a schematic diagram of a user interface generation device according to Embodiment 3 of this application. It is applicable to situations where smart kitchen appliances automatically generate a user interface based on user information. This user interface generation device can be implemented in hardware and / or software and can be configured in smart kitchen appliances, such as integrated stoves. Figure 3 As shown, the device includes:

[0072] The first information determination module 310 is used to determine the user's first age and first gender based on the correspondence between facial data and user information when a device wake-up command sent by the user to the target device is detected; the facial data is obtained by the image acquisition module by acquiring images of the user.

[0073] The second information determination module 320 is used to determine the user's second age and second gender based on the correspondence between body shape data and user information; the body shape data is obtained by the image acquisition module from capturing images of the user.

[0074] The information verification module 330 is used to perform consistency verification on the first gender and the second gender. If the consistency verification passes, the first gender or the second gender is determined as the user's target gender, and the rationality of the first age and the second age is verified.

[0075] The age determination module 340 is used to determine the user's target age based on the first age and the second age, provided that the reasonableness check passes.

[0076] The interface generation module 350 is used to generate the target operation interface of the target device based on the correspondence between the user's age and the interface configuration template, according to the target age and target gender.

[0077] This application embodiment, upon recognizing a device wake-up command sent by the user to the target device, determines the user's first age and first gender based on the correspondence between facial data and user information. The facial data is obtained by an image acquisition module capturing images of the user. Based on the correspondence between body shape data and user information, the user's second age and second gender are determined. The body shape data is also obtained by an image acquisition module capturing images of the user. A consistency check is performed on the first and second genders; if the consistency check passes, the first or second gender is determined as the user's target gender. A reasonableness check is also performed on the first and second ages; if the reasonableness check passes, the user's target age is determined based on the first and second ages. Based on the correspondence between the user's age and the interface configuration template, a target operating interface for the target device is generated according to the target age and target gender. This technical solution, by comprehensively considering the user's age and gender and specifically generating a target operating interface, can improve the adaptability of the operating interface.

[0078] Optionally, the interface generation module 350 includes:

[0079] The template selection unit is used to select the target configuration template from the candidate configuration templates based on the correspondence between the user's age and the interface configuration templates, according to the target age;

[0080] The interface generation unit is used to adjust the current configuration interface of the target configuration template according to the target gender to obtain the target operation interface of the target device.

[0081] Optionally, the candidate configuration templates include children's templates, general templates, and senior citizen templates; correspondingly, the template selection unit is specifically used for:

[0082] If the target age is less than or equal to the first age threshold, then the child template is determined as the target configuration template;

[0083] If the target age is greater than the first age threshold and less than or equal to the second age threshold, then the general template will be determined as the target configuration template.

[0084] If the target age is greater than the second age threshold, then the elderly template will be selected as the target configuration template.

[0085] Optionally, the interface generation module 350 also includes:

[0086] The security verification unit is used to perform a security verification on the target device before adjusting the current configuration interface of the target configuration template according to the target gender to obtain the target operation interface of the target device. If the target configuration template is a child template, the unit will perform a security verification on the target device. If the security verification fails, the unit will lock the current operation interface of the child template and send a notification to the user prohibiting operation.

[0087] Optional, the interface generation unit is specifically used for:

[0088] If the target configuration template is a children's template, then the current configuration interface of the children's template will be determined as the target operation interface of the target device.

[0089] If the target configuration template is a general template or an elderly template, the interface color and border of the current configuration interface of the target configuration template will be adjusted based on the correspondence between the user's gender and the interface configuration style to obtain the target operation interface.

[0090] Optional, the information verification module 330 is specifically used for:

[0091] The difference between the first age and the second age is obtained as the age difference value.

[0092] If the age difference is less than or equal to the age difference threshold, the rationality check passes.

[0093] If the age difference exceeds the age difference threshold, the rationality check fails, and the image acquisition module is notified to re-acquire the user's facial and body data.

[0094] The user interface generation apparatus provided in this application can execute the user interface generation method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing each user interface generation method.

[0095] Example 4

[0096] Figure 4 This is a schematic diagram of the structure of an electronic device 410 implementing the user interface generation method of the embodiments of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, 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 processors, cellular phones, smartphones, 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 claimed herein.

[0097] like Figure 4As shown, the electronic device 410 includes at least one processor 411 and a memory, such as a read-only memory (ROM) 412 or a random access memory (RAM) 413, communicatively connected to the at least one processor 411. The memory stores computer programs executable by the at least one processor. The processor 411 can perform various appropriate actions and processes based on the computer program stored in the ROM 412 or loaded from storage unit 418 into the RAM 413. The RAM 413 may also store various programs and data required for the operation of the electronic device 410. The processor 411, ROM 412, and RAM 413 are interconnected via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.

[0098] Multiple components in electronic device 410 are connected to I / O interface 415, including: input unit 416, such as keyboard, mouse, etc.; output unit 417, such as various types of displays, speakers, etc.; storage unit 418, such as disk, optical disk, etc.; and communication unit 419, such as network card, modem, wireless transceiver, etc. Communication unit 419 allows electronic device 410 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0099] Processor 411 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 411 performs the various methods and processes described above, such as user interface generation methods.

[0100] In some embodiments, the user interface generation method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 410 via ROM 412 and / or communication unit 419. When the computer program is loaded into RAM 413 and executed by processor 411, one or more steps of the user interface generation method described above may be performed. Alternatively, in other embodiments, processor 411 may be configured as the user interface generation method by any other suitable means (e.g., by means of firmware).

[0101] 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-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0102] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable user interface generation device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0103] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0104] To provide interaction with a user, the systems and techniques described herein can 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 pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0105] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0106] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0107] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this application can be achieved, and this is not limited herein.

[0108] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand 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 within the scope of protection of this application.

Claims

1. A method for generating a user interface, characterized in that, include: When a device wake-up command sent by the target device is detected, the user's first age and first gender are determined based on the correspondence between facial data and user information, according to the user's facial data; the facial data is obtained by the image acquisition module capturing images of the user. Based on the correspondence between body shape data and user information, the user's second age and second gender are determined according to the body shape data; the body shape data is obtained by the image acquisition module from the user's image. A consistency check is performed on the first gender and the second gender. If the consistency check passes, the first gender or the second gender is determined as the target gender of the user, and a reasonableness check is performed on the first age and the second age. If the rationality check passes, the target age of the user is determined based on the first age and the second age; Based on the correspondence between the user's age and the interface configuration template, a target operation interface for the target device is generated according to the target age and the target gender, including: Based on the correspondence between the user's age and the interface configuration template, the target configuration template is selected from the candidate configuration templates according to the target age; Based on the target gender, the current configuration interface of the target configuration template is adjusted to obtain the target operation interface of the target device.

2. The method according to claim 1, characterized in that, The candidate configuration templates include children's templates, general templates, and senior citizen templates; the step of selecting a target configuration template from the candidate configuration templates based on the correspondence between the user's age and the interface configuration template, according to the target age, includes: If the target age is less than or equal to the first age threshold, then the child template is determined as the target configuration template; If the target age is greater than the first age threshold and less than or equal to the second age threshold, then the public template is determined as the target configuration template; If the target age is greater than the second age threshold, then the elderly template is determined as the target configuration template.

3. The method according to claim 2, characterized in that, Before adjusting the current configuration interface of the target configuration template according to the target gender to obtain the target operation interface of the target device, the method further includes: If the target configuration template is a children's template, then the target device is subjected to security verification; If the security check fails, the current operation interface of the child template is locked, and a notification prohibiting operation is sent to the user.

4. The method according to claim 2, characterized in that, The step of adjusting the current configuration interface of the target configuration template according to the target gender to obtain the target operation interface of the target device includes: If the target configuration template is a children's template, then the current configuration interface of the children's template is determined as the target operation interface of the target device; If the target configuration template is a general template or an elderly template, then based on the correspondence between the user's gender and the interface configuration style, the interface color and interface border in the current configuration interface of the target configuration template are adjusted to obtain the target operation interface.

5. The method according to claim 1, characterized in that, The reasonableness of the first age and the second age is verified, including: The difference between the first age and the second age is obtained; If the age difference value is less than or equal to the age difference threshold, the rationality check passes; If the age difference is greater than the age difference threshold, the rationality check fails, and the image acquisition module is notified to re-acquire the user's facial and body data.

6. A user interface generation device, characterized in that, include: The first information determination module is used to determine the user's first age and first gender based on the correspondence between facial data and user information when a device wake-up command is detected sent by the user to the target device; the facial data is obtained by the image acquisition module by capturing images of the user. The second information determination module is used to determine the user's second age and second gender based on the correspondence between body shape data and user information, according to the body shape data; the body shape data is obtained by the image acquisition module from capturing images of the user. The information verification module is used to perform consistency verification on the first gender and the second gender. If the consistency verification passes, the first gender or the second gender is determined as the target gender of the user, and the reasonableness of the first age and the second age is verified. An age determination module is used to determine the target age of the user based on the first age and the second age, provided that the reasonableness check passes. The interface generation module is used to generate the target operation interface of the target device based on the correspondence between the user's age and the interface configuration template, according to the target age and the target gender. The interface generation module includes: The template selection unit is used to select a target configuration template from the candidate configuration templates based on the correspondence between the user's age and the interface configuration template, according to the target age; The interface generation unit is used to adjust the current configuration interface of the target configuration template according to the target gender to obtain the target operation interface of the target device.

7. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the user interface generation method as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the user interface generation method as described in any one of claims 1-5.

9. A computer program product comprising a computer program that, when executed by a processor, implements the user interface generation method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Interface generating method and device of terminal

    CN103677516A

  • Intelligent terminal-based interface control method and system

    CN107748646A