User eye use prompting methods, devices and electronic equipment
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-20
- Publication Date
- 2026-08-14
AI Technical Summary
[0003]现有技术中,用户在使用电子设备观看内容时,相应客户端未对用户做出任何护眼提示或者引导
[0015]本公开提供的用户用眼提示方法,在用户护眼任务完成状态信息为已完成的情况下,获得第一虚拟形象图像,第一虚拟形象图像包括第一设定元素和第二设定元素,第一设定元素与用户护眼任务完成状态信息相关联,第二设定元素与用户属性信息相关联,使得生成的第一虚拟形象图像为与用户自身相关联的个性化定制图像,容易让用户产生专属感和认同感,另外生成的第一虚拟形象图像可以联想起自己为保护眼睛的付出和获得的认可,提升用户体验。
Smart Images

Figure CN122574175A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of user eye use prompting technology, and specifically to a user eye use prompting method, device, and electronic device. Background Technology
[0002] The use of electronic devices has become widespread in people's learning, work, and daily life, and the corresponding need for eye protection has also received attention.
[0003] In existing technologies, when users view content on electronic devices, the corresponding client does not provide any eye protection prompts or guidance. Therefore, there is a need to provide a user eye protection prompt method to solve the aforementioned technical problem. Summary of the Invention
[0004] This disclosure provides a new technical solution for a user eye-use prompting method.
[0005] According to a first aspect of this disclosure, a method for providing eye-use tips is provided, the method comprising: Acquire user attribute information and user eye behavior data within a set viewing period, wherein the user attribute information includes user zodiac information and / or user-defined personal animal preference information; The user's eye care task completion status information is determined based on the aforementioned eye use behavior data; When the user's eye protection task completion status information is "completed", a first virtual image image containing a first setting element and a second setting element is obtained, wherein the first setting element is associated with the user's eye protection task completion status information and the second setting element is associated with the user attribute information. The first virtual avatar image is displayed on the user's viewing interface.
[0006] Optionally, the eye-use behavior data may be the duration of each continuous eye use within a set viewing period, the duration of eye rest between two consecutive periods of eye use, or the eye-use behavior data may be information on eye-protection actions performed by the user within a set viewing period.
[0007] Optionally, the first setting element is a visual feedback indicator representing the user's eye protection task completion status, and the first setting element is presented through a first setting prop; The second setting element is a visual feedback identifier associated with user attribute information, and the second setting element is presented through a second setting prop.
[0008] Optionally, the method further includes: In response to a user-triggered operation to enter the display interface, a second virtual image containing a second setting element and a third setting element is obtained, wherein the third setting element is used to remind the user to protect their eyes; The second virtual avatar image is displayed on the user's viewing interface.
[0009] Optionally, the method further includes: If the display duration of the first virtual avatar image exceeds a preset duration, the first virtual avatar image displayed on the user's viewing interface will be switched to the second virtual avatar image.
[0010] Optionally, the method further includes: recording the display time of the second virtual avatar image within each set viewing period; A user eye behavior profile is generated based on the display time of the second virtual avatar image within each set viewing period, for users to query later.
[0011] Optionally, obtaining the first virtual image image containing the first set element and the second set element includes: Obtain the virtual avatar configuration information set by the user, wherein the virtual avatar configuration information includes virtual avatar head-to-body ratio information, virtual avatar style information, information on the combination of user attribute information and virtual avatar, and virtual avatar expression information; A first image generation request carrying the virtual avatar configuration information, the user attribute information, and the user's eye protection task completion status information is sent to the server. Receive the first virtual avatar image generated by the server based on the virtual avatar configuration information, the user attribute information, and the user's eye protection task completion status information.
[0012] Optionally, the server stores the correspondence between user identification information and the generated first virtual avatar image, wherein the method further includes: If the first virtual avatar image is not being acquired for the first time, the user identification information will be sent to the server. The server receives the corresponding first virtual avatar image found by the server based on the user identification information and the correspondence between the user identification information and the generated first virtual avatar image.
[0013] According to a second aspect of this disclosure, a user eye-use alert device is provided, comprising: The acquisition module is used to acquire user attribute information and user eye behavior data within a set viewing period, wherein the user attribute information includes user zodiac information and / or user-defined personal animal preference information; The eye protection task status information determination module is used to determine the user's eye protection task completion status information based on the eye use behavior data. The image acquisition module is used to obtain a first virtual image containing a first set element and a second set element when the user's eye protection task completion status information is "completed". The first set element is associated with the user's eye protection task completion status information, and the second set element is associated with the user attribute information. The display module is used to display the first virtual avatar image on the user's viewing interface.
[0014] According to a third aspect of this disclosure, an electronic device is provided, including a memory and a processor, the memory storing a computer program for controlling the processor to operate in order to perform the method according to any one of the first aspects.
[0015] The user eye care prompt method provided in this disclosure obtains a first virtual avatar image when the user's eye care task completion status information is "completed". The first virtual avatar image includes a first setting element and a second setting element. The first setting element is associated with the user's eye care task completion status information, and the second setting element is associated with the user's attribute information. This makes the generated first virtual avatar image a personalized image associated with the user, which makes it easy for the user to feel a sense of exclusivity and identification. In addition, the generated first virtual avatar image can remind the user of their efforts to protect their eyes and the recognition they have received, thereby improving the user experience.
[0016] Other features and advantages of the embodiments of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of the present disclosure and, together with their description, serve to explain the principles of the embodiments of the present disclosure.
[0018] Figure 1 A flowchart illustrating a user eye-use prompting method according to some embodiments is shown; Figure 2 A schematic diagram of the composition of a user eye-care prompting device according to some embodiments is shown; Figure 3 A hardware configuration diagram of an electronic device according to some embodiments is shown. Detailed Implementation
[0019] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the invention.
[0020] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.
[0021] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0022] In all the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0023] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0024] This disclosure provides a method for providing eye-care prompts to users. When the user's eye care task completion status is "completed," a first virtual avatar image is obtained. The first virtual avatar image includes a first setting element and a second setting element. The first setting element is associated with the user's eye care task completion status information, and the second setting element is associated with the user's attribute information. This makes the generated first virtual avatar image a personalized image associated with the user, which easily gives the user a sense of exclusivity and identification. In addition, the generated first virtual avatar image can remind the user of their efforts to protect their eyes and the recognition they have received, thus improving the user experience.
[0025] Figure 1 A flowchart illustrating a user eye-use alert method according to an embodiment of this disclosure is shown. This method can be applied to an app (application). The app can be a client-side app or a web-based app. Figure 1 As shown, the method includes steps S110 to S140.
[0026] Step S110: Obtain user attribute information and user eye behavior data within a set viewing period, wherein the user attribute information includes user zodiac information and / or user-defined personal animal preference information.
[0027] User attribute information is obtained based on user input on the app's information collection interface. This interface provides text input boxes or voice input controls. Users input their attribute information through these boxes or controls. Alternatively, the interface offers user attribute information settings, including zodiac animal information settings and / or preferred animal information settings. Users can select their zodiac animal and / or preferred animal from these settings. Zodiac animal information settings can be either a birth date setting or a Chinese zodiac animal setting.
[0028] Eye-use behavior data includes the duration of continuous eye use within a set viewing period and the rest period between two consecutive periods of eye use. Continuous eye use duration is the length of time a user continuously uses their eyes without interrupting their gaze at the electronic device screen. Rest period is the length of time the user allows their eyes to rest between two consecutive eye-use cycles. Both continuous eye use duration and rest period between two consecutive periods can be determined using video information of the user's head captured by the electronic device's camera.
[0029] Eye-use behavior data refers to information on eye-protection actions performed by users within a set viewing period. Eye-protection action information refers to specific eye or head behaviors that users actively perform to relieve eye strain and protect their vision, which can be detected and identified by electronic devices (such as cameras and sensors). Eye-protection action information includes at least one of the following: blinking, gazing into the distance, closing the eyes to rest, eye movement, and eye massage.
[0030] The viewing period can be set according to your eye protection needs, such as 1 hour, 1 day, or 1 week.
[0031] Step S120: Determine the user's eye care task completion status information based on eye behavior data.
[0032] The user's eye protection task completion status information is either "completed" or "incomplete".
[0033] When user behavior data includes the user's continuous screen time within a set viewing period and the screen rest time between two consecutive screen times, if each consecutive screen time is less than the first set time and the screen rest time between two consecutive screen times is greater than the second set time, the user's eye protection task completion status is determined to be completed.
[0034] When the user behavior data is information on eye protection actions performed by the user within a set viewing period, and it is determined that the user has completed the eye protection actions within the set viewing period, the user's eye protection task completion status information is determined to be "completed".
[0035] Step S130: When the user's eye protection task completion status information is "completed", obtain a first virtual image image containing a first setting element and a second setting element, wherein the first setting element is associated with the user's eye protection task completion status information and the second setting element is associated with the user's attribute information.
[0036] In some embodiments, obtaining a first virtual avatar image containing a first set element and a second set element specifically includes: acquiring virtual avatar configuration information set by the user, wherein the virtual avatar configuration information includes virtual avatar head-to-body ratio information, virtual avatar style information, information on the combination of user attribute information and virtual avatar, and virtual avatar expression information; sending a first image generation request carrying virtual avatar configuration information, user attribute information, and user eye protection task completion status information to the server; and receiving the first virtual avatar image generated by the server based on the virtual avatar configuration information, user attribute information, and user eye protection task completion status information.
[0037] The configuration information for a virtual avatar can be either pre-stored configuration information or configuration information set by the user.
[0038] By configuring virtual avatar information, batch generation of avatars can be guaranteed, while flexible adjustment of emotional expression is also supported. Developers do not need to debug prompts for each user individually, greatly improving generation efficiency and quality control.
[0039] The head-to-body ratio of a virtual avatar can be 1:1, 1:3, or 1:5.
[0040] The style information for the virtual avatar is realistic, cartoonish, or anime-style.
[0041] The way user attribute information is combined with virtual avatar information is that the user is wearing animal-shaped clothing or holding an animal doll.
[0042] The virtual avatar's facial expressions can be smiling, calm, cool, cute, or confident.
[0043] The server sends a first image generation request containing virtual avatar configuration information, user attribute information, and user eye protection task completion status information to the server. The server then calls the Wensheng Image Model to generate the first virtual avatar image based on the virtual avatar configuration information, user attribute information, and user eye protection task completion status information.
[0044] The first setting element is a visual feedback indicator representing the user's eye protection task completion status. The first setting element is presented through a first setting prop. The first setting prop is integrated into the first virtual avatar image to become part of the first virtual avatar's appearance. The first setting prop is at least one of a medal, certificate, crown, and wreath.
[0045] The second setting element is a visual feedback identifier associated with user attribute information. The second setting element is presented through a second setting prop. The second setting prop is integrated into the first virtual avatar image to become part of the first virtual avatar's appearance. The second setting prop is at least one of a handheld doll or a doll costume.
[0046] In this embodiment, virtual avatar image generation is achieved through a text-based image model. Specifically, this includes: encapsulating virtual avatar configuration information, user attribute information, and user eye protection task completion status information into API request parameters, and setting image generation parameters, such as image size, generation steps, and guidance scale; sending the image generation request to a pre-set text-based image server; and receiving the image data returned by the server. Using API calls eliminates reliance on specific models or vendors, allows adaptation to various backend services, and provides excellent flexibility and portability.
[0047] In some embodiments, the server stores a correspondence between user identification information and the generated first virtual avatar image. When the server generates a first virtual avatar image for a user for the first time, the server obtains the user's user identification information, establishes a one-to-one correspondence between the generated first virtual avatar image and the user identification information, and stores this correspondence. This correspondence can be stored in the form of a key-value table.
[0048] In this embodiment, the method further includes: when the first virtual avatar image is not obtained for the first time, sending user identification information to the server; and receiving the corresponding first virtual avatar image found by the server based on the user identification information and the correspondence between the user identification information and the generated first virtual avatar image.
[0049] The client reads the user identification information of the currently logged-in user from its local machine and sends the user identification information to the server via a network request (e.g., HTTP GET or POST). Upon receiving the network request, the server extracts the user identification information and uses it as a lookup key to search for a match between the stored user identification information and the generated first virtual avatar image. If a match is found, the corresponding first virtual avatar image is directly returned to the client. If no match exists for the user identification, it is determined to be the first image request, and the server reverts to the initial generation process of the first virtual avatar image.
[0050] The first virtual avatar image is generated only once by the server during the initial generation and can be reused directly in subsequent generation. This avoids the need to regenerate the first virtual avatar image every time it is called and displayed, reducing the computational load on the server. The client does not need to wait for the complex image rendering and generation process, thus improving the user experience.
[0051] Step S140: Display the first virtual avatar image on the user's viewing interface.
[0052] In some embodiments, the method further includes: in response to a user-triggered operation of entering a display interface, obtaining a second virtual avatar image containing a second setting element and a third setting element, wherein the third setting element is used to prompt the user to protect their eyes; and displaying the second virtual avatar image on the display interface viewed by the user.
[0053] In this embodiment, obtaining a second virtual avatar image containing a second setting element and a third setting element specifically includes: acquiring user attribute information, user-defined virtual avatar configuration information, and eye protection prompt information, wherein the virtual avatar configuration information includes virtual avatar head-to-body ratio information, virtual avatar style information, information on the combination of user attribute information and virtual avatar, and virtual avatar expression information; sending a second image generation request carrying user attribute information, virtual avatar configuration information, and eye protection prompt information to the server; and receiving the second virtual avatar image generated by the server based on the user attribute information, virtual avatar configuration information, and eye protection prompt information.
[0054] For a detailed description of the virtual avatar configuration information, please refer to the above embodiments, which will not be elaborated further here.
[0055] The eye protection prompts can be pre-stored configuration information or user-defined configuration information.
[0056] The system sends a request to generate a second image, containing user attribute information, virtual avatar configuration information, and eye protection tips, to the server. The server then uses the Wensheng Image Model to generate the second virtual avatar image based on the user attribute information, virtual avatar configuration information, and eye protection tips.
[0057] The second setting element can be referred to the description of the above embodiments, and will not be elaborated further here.
[0058] The third setting element is a visual feedback indicator used to remind users to protect their eyes. This third setting element is presented through a third setting prop. The third setting prop is integrated into the first virtual avatar image to become part of the first virtual avatar's appearance. The third setting prop can be a prompt prop or a viewing time counter prop. A prompt prop is a handheld sign. A viewing time counter prop is a timer or an hourglass.
[0059] In this embodiment, when a user triggers the operation to enter the display interface, a second virtual image containing eye protection prompts is actively displayed. This delivers eye health information the moment the user starts using the device, which can stimulate the user's proactive attention to their own eye health and prevent the user from neglecting eye protection due to being immersed in watching. In addition, the user's eye protection information is integrated into the virtual image that matches the user's attribute information. This presentation method can significantly reduce the user's psychological resistance to eye protection intervention and improve the acceptance of prompts.
[0060] In some embodiments, the server stores a mapping between user identification information and generated second virtual avatar images. When the server generates a second virtual avatar image for a user for the first time, the server obtains the user's identification information, establishes a one-to-one mapping between the generated second virtual avatar image and the user identification information, and stores this mapping. This mapping can be stored in the form of a key-value table.
[0061] In this embodiment, the method further includes: when the second virtual avatar image is not being acquired for the first time, sending user identification information to the server; and receiving the corresponding second virtual avatar image found by the server based on the user identification information and the correspondence between the user identification information and the generated second virtual avatar image.
[0062] The second virtual avatar image is generated only once by the server during the initial generation and can be reused directly thereafter. This avoids the need to regenerate the second virtual avatar image every time it is called and displayed, reducing the server's computational load. The client does not need to wait for the complex image rendering and generation process, thus improving the user experience.
[0063] In some embodiments, the method further includes: if the display duration of the first virtual avatar image is longer than a preset duration, switching the first virtual avatar image displayed on the user's viewing interface to a second virtual avatar image.
[0064] The first virtual avatar is used to display the user's eye care achievements. The second virtual avatar is used to remind the user to protect their eyes. When the user completes the eye care task, the first virtual avatar is displayed on the user's screen. If the display time of the first virtual avatar exceeds the preset time, the display of the first virtual avatar will switch to the second virtual avatar, that is, the display will switch from eye care achievement display to eye care reminder display, so as to start the next stage of eye care guidance.
[0065] In some embodiments, the method further includes: recording the display time of the second virtual avatar image within each set viewing period; and generating a user eye behavior profile based on the display time of the second virtual avatar image within each set viewing period for subsequent user query.
[0066] The display time of the second virtual avatar image within each set viewing period can be a single point in time or a period of time.
[0067] By generating user eye behavior profiles, users or their guardians can view eye behavior data, gain a clear understanding of whether their eye habits are healthy, and thus proactively adjust their behavior.
[0068] The following is a specific embodiment illustrating the method for providing eye protection prompts to users.
[0069] Xiaoming's mother registered an app for him, filling in his birth information: June 8, 2015 (Year of the Sheep), but no preferred animal was specified. His virtual avatar was a chibi-style cartoon character wearing a sheep costume, with bright, expressive eyes, a gentle smile, and a hand outstretched in a greeting gesture, against a soft, light background. After Xiaoming entered the app, an image generation request containing his user information, avatar configuration, and eye-protection tips was sent to the server. The server then used a text-based image generation API to create a chibi-style avatar wearing a fluffy sheep costume, with round, bright eyes, waving to the user. This avatar was displayed on the app's homepage as Xiaoming's personal eye-protection reminder.
[0070] Once Xiaoming's eye-use behavior data is obtained, and it is determined that the eye protection task has been completed based on the eye-use behavior data, an image generation request carrying user attribute information, virtual image configuration information, and user eye protection task completion status information is sent to the server. The server calls the Wenshengtu API to generate a chibi-style image wearing a fluffy sheep doll costume and a golden crown, which is displayed as an achievement reward on the achievement wall.
[0071] This embodiment provides a user eye use alert device. Figure 2 A schematic diagram of the composition of a user eye-use alert device according to an embodiment of the present disclosure is shown. Figure 2 As shown, the user eye care prompt device includes an acquisition module 210, an eye care task status information determination module 220, an image acquisition module 230, and a display module 240.
[0072] The acquisition module 210 is used to acquire user attribute information and user eye behavior data within a set viewing period, wherein the user attribute information includes user zodiac information and / or user-defined personal animal preference information.
[0073] The eye protection task status information determination module 220 is used to determine the user's eye protection task completion status information based on eye use behavior data.
[0074] The image acquisition module 230 is used to obtain a first virtual image image containing a first setting element and a second setting element when the user's eye protection task completion status information is "completed". The first setting element is associated with the user's eye protection task completion status information, and the second setting element is associated with the user's attribute information.
[0075] The display module 240 is used to display the first virtual avatar image on the display interface viewed by the user.
[0076] In some embodiments, eye behavior data may be the duration of each continuous eye use within a set viewing period, the duration of eye rest between two consecutive periods of eye use, or the eye behavior data may be information on eye protection actions performed by the user within a set viewing period.
[0077] In some embodiments, the first setting element is a visual feedback identifier representing the user's eye protection task completion status, and the first setting element is presented through a first setting prop; the second setting element is a visual feedback identifier associated with user attribute information, and the second setting element is presented through a second setting prop.
[0078] In some embodiments, the image acquisition module 230 is used to acquire a second virtual avatar image containing a second setting element and a third setting element in response to a user-triggered entry into the display interface, wherein the third setting element is used to remind the user to protect their eyes. The display module 240 is used to display the second virtual avatar image on the display interface viewed by the user.
[0079] In some embodiments, the display module 240 is used to switch the first virtual avatar image displayed on the user's viewing interface to a second virtual avatar image if the display duration of the first virtual avatar image is longer than a preset duration.
[0080] In some embodiments, the device further includes an eye behavior profile generation module. The eye behavior profile generation module is used to record the display time of the second virtual avatar image within each set viewing period; and to generate a user eye behavior profile based on the display time of the second virtual avatar image within each set viewing period for subsequent user query.
[0081] In some embodiments, the image acquisition module 230 is used to acquire the virtual avatar configuration information set by the user, wherein the virtual avatar configuration information includes virtual avatar head-to-body ratio information, virtual avatar style information, information on the combination of user attribute information and virtual avatar, and virtual avatar expression information; send a first image generation request carrying the virtual avatar configuration information, user attribute information, and user eye protection task completion status information to the server; and receive the first virtual avatar image generated by the server based on the virtual avatar configuration information, user attribute information, and user eye protection task completion status information.
[0082] In some embodiments, the server stores the correspondence between user identification information and the generated first virtual avatar image. The image acquisition module 230 is used to send the user identification information to the server when the first virtual avatar image is not being acquired for the first time; and to receive the corresponding first virtual avatar image found by the server based on the user identification information and the correspondence between the user identification information and the generated first virtual avatar image.
[0083] This disclosure also provides an electronic device for implementing any of the above method embodiments. Figure 3 A structural block diagram of an electronic device according to some embodiments is shown. This electronic device may be a server, PC, workstation, laptop, etc., and is not limited thereto.
[0084] like Figure 3 As shown, the electronic device includes a processor 310 and a memory 320 for storing executable instructions of the processor 310. The processor 310 is configured to implement the methods provided according to any embodiment of the present disclosure when executing the instructions stored in the memory 320.
[0085] The processor 310 is used to execute computer instructions, which can be written using instruction sets of architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 320 includes, for example, ROM (Read-Only Memory), RAM (Random Access Memory), and non-volatile memory such as hard disks, etc., and is not limited here.
[0086] This disclosure also provides a non-volatile computer-readable storage medium having computer program instructions stored thereon. When executed by a processor, the computer program instructions implement the methods provided in any of the above embodiments.
[0087] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0088] This disclosure may be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement any of the methods in the foregoing embodiments of this disclosure.
[0089] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media may include, for example, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), compact disc-read-only memory (CD-ROM), digital versatile disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any combination thereof. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0090] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include one or more of copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to computer-readable storage media in the respective computing / processing device.
[0091] The computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object programs written in any combination of one or more programming languages, including object-oriented programming languages (such as Smalltalk, C++, etc.) and conventional procedural programming languages (such as the "C" language or similar programming languages). The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network (e.g., a local area network or a wide area network), or it may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays, or programmable logic arrays, is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the embodiments of this disclosure.
[0092] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0093] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0094] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0095] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It should be noted that implementation in hardware, implementation in software, and implementation using a combination of software and hardware are all equivalent.
[0096] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.
Claims
1. A method for providing user eye usage tips, characterized in that, include: Acquire user attribute information and user eye behavior data within a set viewing period, wherein the user attribute information includes user zodiac information and / or user-defined personal animal preference information; The user's eye care task completion status information is determined based on the aforementioned eye use behavior data; When the user's eye protection task completion status information is "completed", a first virtual image image containing a first setting element and a second setting element is obtained, wherein the first setting element is associated with the user's eye protection task completion status information and the second setting element is associated with the user attribute information. The first virtual avatar image is displayed on the user's viewing interface.
2. The method according to claim 1, characterized in that, The eye-use behavior data can be the duration of each continuous eye use within a set viewing period, the duration of eye rest between two consecutive periods of eye use, or the eye-use behavior data can be information on eye-protection actions performed by the user within a set viewing period.
3. The method according to claim 1, characterized in that, The first setting element is a visual feedback indicator representing the user's eye protection task completion status, and the first setting element is presented through a first setting prop; The second setting element is a visual feedback identifier associated with user attribute information, and the second setting element is presented through a second setting prop.
4. The method according to claim 1, characterized in that, The method further includes: In response to a user-triggered operation to enter the display interface, a second virtual image containing a second setting element and a third setting element is obtained, wherein the third setting element is used to remind the user to protect their eyes; The second virtual avatar image is displayed on the user's viewing interface.
5. The method according to claim 4, characterized in that, The method further includes: If the display duration of the first virtual avatar image exceeds a preset duration, the first virtual avatar image displayed on the user's viewing interface will be switched to the second virtual avatar image.
6. The method according to claim 1, characterized in that, The method further includes: Record the display time of the second virtual avatar image within each set viewing period; A user eye behavior profile is generated based on the display time of the second virtual avatar image within each set viewing period, for users to query later.
7. The method according to claim 1, characterized in that, The process of obtaining a first virtual image containing a first set element and a second set element includes: Obtain the virtual avatar configuration information set by the user, wherein the virtual avatar configuration information includes virtual avatar head-to-body ratio information, virtual avatar style information, information on the combination of user attribute information and virtual avatar, and virtual avatar expression information; A first image generation request carrying the virtual avatar configuration information, the user attribute information, and the user's eye protection task completion status information is sent to the server. Receive the first virtual avatar image generated by the server based on the virtual avatar configuration information, the user attribute information, and the user's eye protection task completion status information.
8. The method according to claim 7, characterized in that, The server stores the correspondence between user identification information and the generated first virtual avatar image, wherein the method further includes: If the first virtual avatar image is not being acquired for the first time, the user identification information will be sent to the server. The server receives the corresponding first virtual avatar image found by the server based on the user identification information and the correspondence between the user identification information and the generated first virtual avatar image.
9. A user eye-use alert device, characterized in that, include: The acquisition module is used to acquire user attribute information and user eye behavior data within a set viewing period, wherein the user attribute information includes user zodiac information and / or user-defined personal animal preference information; The eye protection task status information determination module is used to determine the user's eye protection task completion status information based on the eye use behavior data; The image acquisition module is used to obtain a first virtual image containing a first set element and a second set element when the user's eye protection task completion status information is "completed". The first set element is associated with the user's eye protection task completion status information, and the second set element is associated with the user attribute information. The display module is used to display the first virtual avatar image on the user's viewing interface.
10. An electronic device, characterized in that, include: It includes a memory and a processor, the memory storing a computer program for controlling the processor to operate in order to perform the method according to any one of claims 1 to 8.