Operation interface generation method and device, equipment and storage medium
By identifying and analyzing the user's facial and body shape data, determining their age and gender, and generating a target operating interface, the problem of existing smart kitchenware being unable to set a personalized interface according to the user is solved, achieving more efficient interface adaptation. sex and user experience.
Patent Information
- Application Number
- CN202411411024.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-10
Smart Images

Figure CN119356783A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of intelligent kitchen appliances, and specifically to a method, device, equipment and storage medium for generating an operation interface. Background Art
[0002] In the field of smart kitchen appliances, the operating interfaces of some devices with attached operating interfaces are often fixed, and it is impossible to set different operating interfaces according to different users.
[0003] To solve this technical problem, existing smart kitchen appliances often prepare multiple user interfaces or multiple interface display contents for users to choose from, and can generate interfaces and contents corresponding to the user's preferences based on a preference recommendation mechanism. For example, male users often display male-themed interfaces, while female users can display female-themed interfaces. However, when the user is using the appliance for the first time or different users are using the same smart kitchen appliance, the preference recommendation mechanism cannot generate an operation interface that suits the user's needs. Summary of the invention
[0004] The present application provides an operation interface generation method, device, equipment and storage medium to improve the adaptability of the operation interface.
[0005] According to one aspect of the present application, a method for generating an operation interface is provided, the method comprising:
[0006] When a device wake-up instruction sent by a user to a target device is identified, a first age and a first gender of the user are determined according to the facial data of the user based on a correspondence between the facial data and the user information; the facial data is obtained by an image acquisition module performing image acquisition on the user;
[0007] Based on the correspondence between the body shape data and the user information, determining the second age and the second gender of the user according to the body shape data; the body shape data is obtained by the image acquisition module performing image acquisition on the user;
[0008] Performing a consistency check on the first gender and the second gender, and if the consistency check passes, determining the first gender or the second gender as the target gender of the user, and performing a rationality check on the first age and the second age;
[0009] If the rationality check passes, determining the target age of the user according to the first age and the second age;
[0010] Based on the correspondence between the user's age and the interface configuration template, a target operation interface of the target device is generated according to the target age and the target gender.
[0011] According to another aspect of the present application, there is provided an operation interface generating device, the device comprising:
[0012] A first information determination module is used to determine the first age and first gender of the user according to the facial data of the user, based on the correspondence between the facial data and the user information, when recognizing a device wake-up instruction sent by the user to the target device; the facial data is obtained by the image acquisition module performing image acquisition on the user;
[0013] A second information determination module is used to determine the second age and the second gender of the user according to the body shape data based on the correspondence between the body shape data and the user information; the body shape data is obtained by the image acquisition module performing image acquisition on the user;
[0014] an information verification module, configured to perform consistency verification on the first gender and the second gender, and if the consistency verification passes, determine the first gender or the second gender as the target gender of the user, and perform rationality verification on the first age and the second age;
[0015] an age determination module, configured to determine the target age of the user according to the first age and the second age when the rationality check passes;
[0016] The interface generation module is used to generate a target operation interface of the target device according to the target age and the target gender based on the corresponding relationship between the user's age and the interface configuration template.
[0017] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0018] one or more processors;
[0019] A memory for storing 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 one of the operation interface generation methods provided in the embodiments of the present application.
[0021] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, any one of the operation interface generation methods provided in the embodiments of the present application is implemented.
[0022] The present application determines the first age and first gender of the user according to the facial data of the user based on the correspondence between the facial data and the user's information when recognizing the device wake-up instruction sent by the user to the target device; the facial data is obtained by the image acquisition module performing image acquisition on the user; the second age and second gender of the user are determined according to the body data based on the correspondence between the body data and the user's information; the body data is obtained by the image acquisition module performing image acquisition on the user; the first gender and the second gender are checked for consistency, and if the consistency check passes, the first gender or the second gender is determined as the target gender of the user, and the first age and the second age are checked for rationality; if the rationality check passes, the target age of the user is determined according to the first age and the second age; 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. The above technical scheme can improve the adaptability of the operation interface by comprehensively considering the age and gender of the user and generating the target operation interface in a targeted manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a flowchart of a method for generating an operation interface according to Embodiment 1 of the present application;
[0024] Figure 2 This is a flowchart of a method for generating an operation interface according to Embodiment 2 of the present application;
[0025] Figure 3 It is a structural schematic diagram of an operation interface generating device provided according to Embodiment 3 of the present application;
[0026] Figure 4 It is a structural schematic diagram of an electronic device that implements the operation interface generation method of an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] In addition, it should be noted that in the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of facial data, application data, age and gender and other related data are all authorized by the user and carried out with the knowledge of the user, and are only used for automatically generating an operating interface for smart kitchen appliances, in compliance with relevant laws and regulations, and do not violate public order and good morals.
[0030] Embodiment 1
[0031] Figure 1 This is a flow chart of an operation interface generation method provided according to the first embodiment of the present application. This embodiment is applicable to the case where the smart kitchen appliance automatically generates an operation interface according to the user information. It can be executed by an operation interface generation device. The operation interface generation device can be implemented in the form of hardware and / or software. The operation interface generation device can be configured in the smart kitchen appliance, such as an integrated stove. Figure 1 As shown, the method includes:
[0032] S110. When a device wake-up instruction sent by the user to the target device is identified, based on the correspondence between the facial data and the user information, the first age and the first gender of the user are determined according to the facial data of the user; the facial data is obtained by performing image acquisition on the user by the image acquisition module.
[0033] Among them, the user refers to the user who is currently preparing to use the target device. The target device refers to the device that the user is preparing to use and currently needs to generate an operation interface, which can be an integrated stove, microwave oven, range hood, etc. in smart kitchen appliances. The device wake-up instruction refers to the instruction or signal that the user wants to wake up the target device, which is used to switch the target device from a dormant or standby state to a working state; the instruction can be sent remotely through the user's mobile terminal or by the user touching the switch button of the target device. Facial data refers to relevant data used to describe the user's facial information, which can include at least one of facial features, facial contours and facial colors. User information refers to the user's personal information, which can include at least one of age and gender. The correspondence between facial data and user information is pre-set based on empirical values or through a large number of experiments. The first age refers to the age of the user determined by facial data. The first gender refers to the gender of the user determined by facial data. The image acquisition module refers to the device on the target device used to acquire images of the user, which can 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 identified, the user's facial data is used as an index to search the local database of the target device for age and gender corresponding to the facial data to obtain the user's first age and first gender.
[0035] The index refers to the unique identifier of the user's facial data, which is used to find related information. The local database refers to the data set stored locally on the target device, which is used to store the association between user information and other related data.
[0036] S120, based on the correspondence between the body shape data and the user information, determine the second age and second gender of the user according to the body shape data; the body shape data is obtained by performing image acquisition on the user by the image acquisition module.
[0037] The body shape data is data used to characterize the body shape of the user, and may include at least one of height, body shape, and outline. The correspondence between the body shape data and the user information is pre-set based on empirical values or through a large number of experiments. The second age is the age of the user determined by the body shape data. The second gender is the gender of the user determined by the body shape data.
[0038] Optionally, when a device wake-up command sent by the user to the target device is identified, the user's body shape data is used as an index to search the local database of the target device for age and gender corresponding to the body shape data 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 target gender of the user, and perform a rationality check on the first age and the second age.
[0040] The target gender refers to the gender of the user that is finally determined and used to generate the operation interface. The consistency check refers to the check used to determine whether the first gender and the second gender are consistent.
[0041] In an optional implementation, when the consistency check fails, the image acquisition module is notified to re-acquire the facial data and body shape data of the user.
[0042] Optionally, the rationality check on the first age and the second age may be performed by subtracting the first age from the second age to obtain an age difference; if the age difference is less than or equal to an 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-capture 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 predetermined based on experience or through a large number of experiments.
[0044] S140. When the rationality check passes, determine the target age of the user based on the first age and the second age.
[0045] The target age refers to the final age of the user used to generate the operation interface.
[0046] Optionally, the first age and the second age are averaged to obtain the target age of the user.
[0047] S150: Based on the correspondence between the user's age and the interface configuration template, a target operation interface of the target device is generated according to the target age and the target gender.
[0048] The corresponding relationship between the user's age and the interface configuration template is pre-set based on empirical values or through a large number of experiments.
[0049] Optionally, the target age of the user is used as an index to search the local database of the target device for an interface configuration template corresponding to the target age to obtain the target configuration template of the user; and a target operation interface of the target device is generated according to the target configuration template and the target gender.
[0050] The interface configuration template is pre-set based on experience or through a large number of experiments. The target configuration template refers to a candidate operation interface that is pre-configured and can be used directly. The target operation interface refers to the operation interface that is finally determined and available for users.
[0051] In an optional implementation, after the target operation interface is generated, the target operation interface may also be fed back to the user for confirmation.
[0052] The embodiment of the present application determines the first age and first gender of the user according to the facial data of the user based on the correspondence between the facial data and the user information when recognizing the device wake-up instruction sent by the user to the target device; the facial data is obtained by the image acquisition module performing image acquisition on the user; the second age and second gender of the user are determined according to the body data based on the correspondence between the body shape data and the user information; the body shape data is obtained by the image acquisition module performing image acquisition on the user; the first gender and the second gender are checked for consistency, and if the consistency check passes, the first gender or the second gender is determined as the target gender of the user, and the first age and the second age are checked for rationality; if the rationality check passes, the target age of the user is determined according to the first age and the second age; based on the correspondence between the age of the user and the interface configuration template, the target operation interface of the target device is generated according to the target age and the target gender. The above technical scheme can improve the adaptability of the operation interface by comprehensively considering the age and gender of the user and generating the target operation interface in a targeted manner.
[0053] Embodiment 2
[0054] Figure 2 This is a flow chart of an operation interface generation method provided in accordance with the second embodiment of the present application. Based on the technical solutions of the above embodiments, this embodiment refines "based on the correspondence between the user's age and the interface configuration template, according to the target age and target gender, a target operation interface for the target device is generated" into "based on the correspondence between the user's age and the interface configuration template, according to the target age, a target configuration template is selected from the candidate configuration templates; according to the target gender, the current configuration interface of the target configuration template is adjusted to obtain the target operation interface for the target device". It should be noted that for the parts not described in detail in the embodiments of the present application, please refer to the relevant statements of other embodiments. Figure 2 As shown, the method includes:
[0055] S210. When a device wake-up instruction sent by the user to the target device is identified, based on the correspondence between the facial data and the user information, the first age and the first gender of the user are determined according to the facial data of the user; the facial data is obtained by performing image acquisition on the user by the image acquisition module.
[0056] S220, based on the correspondence between the body shape data and the user information, determine the second age and second gender of the user according to the body shape data; the body shape data is obtained by performing image acquisition on the user by the image acquisition module.
[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 target gender of the user, and perform a rationality check on the first age and the second age.
[0058] S240. When the rationality check passes, determine the target age of the user 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 a target configuration template from the candidate configuration templates according to the target age.
[0060] The candidate configuration template is preset based on empirical values or through a large number of experiments.
[0061] Optionally, the candidate configuration templates include a child template, a mass template and an elderly template; accordingly, if the target age is less than or equal to a first age threshold, 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 a second age threshold, the mass 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] Among them, the child template refers to an operation interface prepared for children, for example, the operation interface uses bright colors, large icons, large fonts and cartoon designs. The mass template refers to an operation interface prepared for middle-aged or young people, for example, the operation interface uses cold / warm tones, moderate icons and moderate fonts. The elderly template refers to an operation interface prepared for the aging population, for example, the operation interface uses cold / warm tones, high contrast, large icons and large fonts. The first age threshold and the second age threshold are both pre-set based on experience or through a large number of experiments.
[0063] S260: Adjust the current configuration interface of the target configuration template according to the target gender to obtain a 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 is determined as the target operation interface of the target device; if the target configuration template is a general template or an elderly template, based on the correspondence between the user's gender and the interface configuration style, the interface color tone and interface border in the current configuration interface of the target configuration template are adjusted to obtain the target operation interface.
[0065] The corresponding relationship between the user's gender and the interface configuration style is pre-set based on experience or through a large number of experiments. The interface configuration style refers to the configuration of the details of the operation interface, which may include at least one of the interface color tone and the interface border.
[0066] For example, if the target configuration template is a popular template and the target gender is male, the interface color tone is adjusted to a cool tone and the interface border is adjusted to a straight line design; if the target configuration template is a popular template and the target gender is female, the interface color tone is adjusted to a warm tone and the interface border is adjusted to a rounded design.
[0067] In an optional implementation, before adjusting the current configuration interface of the target configuration template according to the target gender and obtaining the target operation interface of the target device, if the target configuration template is a child template, a security check is performed on the target device; if the security check fails, the current operation interface of the child template is locked, and a prohibited operation notification is fed back to the user.
[0068] Among them, the safety check is used to check whether the target device has any operational risk. The current configuration interface refers to the operation interface of the target configuration template that has not been adjusted. The prohibited operation notification refers to the notification feedback to the user that prohibits the operation of the current operation interface.
[0069] The embodiment of the present application determines the first age and first gender of the user according to the facial data of the user based on the correspondence between the facial data and the user information when recognizing the device wake-up instruction sent by the user to the target device; the facial data is obtained by the image acquisition module performing image acquisition on the user; the second age and second gender of the user are determined according to the body data based on the correspondence between the body data and the user information; the body data is obtained by the image acquisition module performing image acquisition on the user; the first gender and the second gender are checked for consistency, and if the consistency check passes, the first gender or the second gender is determined as the target gender of the user, and the first age and the second age are checked for rationality; if the rationality check passes, the target age of the user is determined according to the first age and the second age; based on the correspondence between the user age and the interface configuration template, the target configuration template is selected from the candidate configuration template according to the target age; according to the target gender, the current configuration interface of the target configuration template is adjusted to obtain the target operation interface of the target device. The above technical scheme can improve the generation efficiency of the operation interface by selecting the target configuration template from the candidate configuration template and modifying it based on the template, avoiding long waiting time for the user, and helping to improve the user experience.
[0070] Embodiment 3
[0071] Figure 3 This is a schematic diagram of the structure of an operation interface generation device provided in the third embodiment of the present application, which can be applied to the case where the smart kitchen appliance automatically generates an operation interface according to the user information. The operation interface generation device can be implemented in the form of hardware and / or software, and the operation interface generation device can be configured in the smart kitchen appliance, such as an integrated stove. Figure 3 As shown, the device comprises:
[0072] The first information determination module 310 is used to determine the first age and the first gender of the user according to the facial data of the user when recognizing the device wake-up instruction sent by the user to the target device, based on the correspondence between the facial data and the user information; the facial data is obtained by the image acquisition module through image acquisition of the user;
[0073] The second information determination module 320 is used to determine the second age and the second gender of the user according to the body shape data based on the correspondence between the body shape data and the user information; the body shape data is obtained by the image acquisition module through image acquisition of the user;
[0074] An 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 target gender of the user, and a rationality verification is performed on the first age and the second age.
[0075] An age determination module 340 is used to determine the target age of the user according to the first age and the second age when the rationality check passes;
[0076] The interface generation module 350 is used to generate a target operation interface of a target device according to a target age and a target gender based on the correspondence between the user's age and the interface configuration template.
[0077] The embodiment of the present application determines the first age and first gender of the user according to the facial data of the user based on the correspondence between the facial data and the user information when recognizing the device wake-up instruction sent by the user to the target device; the facial data is obtained by the image acquisition module performing image acquisition on the user; the second age and second gender of the user are determined according to the body data based on the correspondence between the body shape data and the user information; the body shape data is obtained by the image acquisition module performing image acquisition on the user; the first gender and the second gender are checked for consistency, and if the consistency check passes, the first gender or the second gender is determined as the target gender of the user, and the first age and the second age are checked for rationality; if the rationality check passes, the target age of the user is determined according to the first age and the second age; based on the correspondence between the age of the user and the interface configuration template, the target operation interface of the target device is generated according to the target age and the target gender. The above technical scheme can improve the adaptability of the operation interface by comprehensively considering the age and gender of the user and generating the target operation interface in a targeted manner.
[0078] Optionally, the interface generation module 350 includes:
[0079] A template selection unit, configured to select a target configuration template from candidate configuration templates according to a target age based on a correspondence between the user's age and the interface configuration template;
[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 a children template, a general template, and an elderly template; accordingly, the template selection unit is specifically used to:
[0082] If the target age is less than or equal to the first age threshold, 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, the mass template is determined as the target configuration template;
[0084] If the target age is greater than the second age threshold, the elderly template is determined as the target configuration template.
[0085] Optionally, the interface generation module 350 further includes:
[0086] The security verification unit is used to adjust the current configuration interface of the target configuration template according to the target gender. Before obtaining the target operation interface of the target device, if the target configuration template is a child template, a security verification is performed on the target device; if the security verification fails, the current operation interface of the child template is locked, and a prohibited operation notification is fed back to the user.
[0087] Optionally, an interface generation unit is specifically used to:
[0088] If the target configuration template is a child template, the current configuration interface of the child template is determined as the target operation interface of the target device;
[0089] If the target configuration template is a general template or an elderly template, based on the correspondence between the user's gender and the interface configuration style, the interface color tone and interface border in the current configuration interface of the target configuration template are adjusted to obtain the target operation interface.
[0090] Optionally, the information verification module 330 is specifically used to:
[0091] Subtract the first age from the second age to obtain the age difference;
[0092] If the age difference is less than or equal to the age difference threshold, the rationality check passes;
[0093] If the age difference is greater than the age difference threshold, the rationality check fails, and the image acquisition module is notified to re-collect the user's facial data and body shape data.
[0094] The operation interface generation device provided in the embodiment of the present application can execute the operation interface generation method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing each operation interface generation method.
[0095] Embodiment 4
[0096] Figure 4 It is a structural diagram of an electronic device 410 that implements the method for generating an operation interface of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0097] like Figure 4As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In RAM413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, ROM412 and RAM413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0098] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0099] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 411 executes the various methods and processes described above, such as an operation interface generation method.
[0100] In some embodiments, the operation interface generation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the operation interface generation method described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured as an operation interface generation method by any other appropriate means (e.g., by means of firmware).
[0101] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0102] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable operation interface generation device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0103] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0104] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball), through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0105] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0106] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0107] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
[0108] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for generating an operation interface, characterized in that: include: When a device wake-up instruction sent by a user to a target device is identified, a first age and a first gender of the user are determined according to the facial data of the user based on a correspondence between the facial data and the user information; the facial data is obtained by an image acquisition module performing image acquisition on the user; Based on the correspondence between the body shape data and the user information, determining the second age and the second gender of the user according to the body shape data; the body shape data is obtained by the image acquisition module performing image acquisition on the user; Performing a consistency check on the first gender and the second gender, and if the consistency check passes, determining the first gender or the second gender as the target gender of the user, and performing a rationality check on the first age and the second age; If the rationality check passes, determining the target age of the user according to 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 of the target device is generated according to the target age and the target gender.
2. The method according to claim 1, characterized in that Based on the correspondence between the user's age and the interface configuration template, generating a target operation interface of the target device according to the target age and the target gender, including: Based on the correspondence between the user's age and the interface configuration template, selecting a target configuration template from the candidate configuration templates according to the target age; According to the target gender, the current configuration interface of the target configuration template is adjusted to obtain the target operation interface of the target device.
3. The method according to claim 2, characterized in that The candidate configuration templates include a children template, a general template and an elderly template; the 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 a first age threshold, determining the child template as a target configuration template; If the target age is greater than a first age threshold and less than or equal to a second age threshold, determining the mass template as a target configuration template; If the target age is greater than a second age threshold, the elderly template is determined as the target configuration template.
4. The method according to claim 3, 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 child template, performing a security check on the target device; If the security check fails, the current operation interface of the child template is locked, and a prohibited operation notification is fed back to the user.
5. The method according to claim 3, 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 child template, determining the current configuration interface of the child template as the target operation interface of the target device; If the target configuration template is a general template or an elderly template, based on the correspondence between the user's gender and the interface configuration style, the interface color tone and interface border in the current configuration interface of the target configuration template are adjusted to obtain the target operation interface.
6. The method according to claim 1, characterized in that Performing a rationality check on the first age and the second age includes: Subtracting the first age from the second age to obtain an age difference; If the age difference 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 facial data and body shape data of the user.
7. An operation interface generating device, characterized in that: include: A first information determination module is used to determine the first age and first gender of the user according to the facial data of the user, based on the correspondence between the facial data and the user information, when recognizing a device wake-up instruction sent by the user to the target device; the facial data is obtained by the image acquisition module performing image acquisition on the user; A second information determination module is used to determine the second age and the second gender of the user according to the body shape data based on the correspondence between the body shape data and the user information; the body shape data is obtained by the image acquisition module performing image acquisition on the user; an information verification module, configured to perform consistency verification on the first gender and the second gender, and if the consistency verification passes, determine the first gender or the second gender as the target gender of the user, and perform rationality verification on the first age and the second age; an age determination module, configured to determine the target age of the user according to the first age and the second age when the rationality check passes; The interface generation module is used to generate a target operation interface of the target device according to the target age and the target gender based on the corresponding relationship between the user's age and the interface configuration template.
8. An electronic device, characterized in that: include: one or more processors; A memory for storing 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 operation interface generation method as described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the operation interface generation method as described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the operation interface generating method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Interface generating method and device of terminal
CN103677516A
Intelligent terminal-based interface control method and system
CN107748646A
Control method and control system based on intelligent terminals
CN108037878A
Interface generation method and device
CN108958857A
Page generation method, apparatus, computer device, and storage medium
CN109343851A