Display method and device for myopia prevention and control, computer equipment and storage medium
By determining the target gaze object based on environmental information in the car and displaying blurred layers, the problem that traditional myopia prevention and control equipment is difficult to use in automobile scenarios is solved, and the effect of helping users complete myopia prevention and control training in a real environment is achieved. .
Patent Information
- Application Number
- CN202411087398.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2025-02-14
Smart Images

Figure CN119440691A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vision adjustment technology, and in particular to a display method, device, computer equipment and storage medium for myopia prevention and control. Background Art
[0002] With the popularity of electronic devices such as mobile phones and computers in recent years, the myopia rate of residents has increased day by day, and myopia prevention and control has become one of the most concerned issues. The mainstream myopia prevention and control methods on the market at least include lighting modification, red light treatment, advanced imaging therapy and foggy vision therapy. Users can only use advanced imaging therapy or foggy vision therapy for myopia prevention and control training in a specific modified environment or when using specific myopia prevention and control equipment. When the user is driving or parking, the user has a lot of free time, but traditional myopia prevention and control equipment is difficult to help users complete myopia prevention and control training in car driving or parking scenarios. Summary of the invention
[0003] The present application proposes a display method, device, computer equipment and storage medium for myopia prevention and control.
[0004] In the first aspect, an embodiment of the present application provides a display method for myopia prevention and control, including: determining a target gaze object based on environmental information in front of a vehicle, the target gaze object being an object in front of the vehicle whose relative distance from the vehicle is greater than a first set distance; displaying a blurred layer at a position corresponding to the target gaze object on a target device, the blurred layer being used to change the degree of blurriness of the target gaze object, the target device being a window of the vehicle or a head-mounted device connected to the vehicle; if it is detected that the user gazes at the blurred layer for a time period greater than the set time period, canceling the display of the blurred layer on the target device.
[0005] In the second aspect, an embodiment of the present application provides a display device for myopia prevention and control, including: an object determination module, used to determine a target gaze object based on environmental information in front of a vehicle, the target gaze object being an object in front of the vehicle whose relative distance from the vehicle is greater than a first set distance; a layer display module, used to display a blurred layer at a position corresponding to the target gaze object on a target device, the blurred layer being used to change the degree of blur of the target gaze object, the target device being a window of the vehicle or a head-mounted device connected to the vehicle; a display cancellation module, used to cancel the display of the blurred layer on the target device if it is detected that the user gazes at the blurred layer for a time period greater than a set time period.
[0006] In a third aspect, an embodiment of the present application provides a computer device, comprising: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the above method.
[0008] In the display method for myopia prevention and control provided by the present application: according to the environmental information in front of the vehicle, the object in front of the vehicle whose relative distance to the vehicle is greater than the first set distance is determined as the target gaze object, and a blur layer for changing its blur degree is displayed at the position corresponding to the target gaze object on the target device. In this way, when the user gazes at the target gaze object for a time longer than the set time, the target gaze object can be gradually clarified by canceling the display of the blur layer, so that in the process of real-time interaction between the user and the real environment outside the vehicle, the ciliary muscles of the user's eyes can be gradually relaxed, so that the user can use his free time to complete myopia prevention and control training in the scene of car driving or parking. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flow chart of a display method for myopia prevention and control provided in one embodiment of the present application is shown.
[0011] Figure 2 Shows Figure 1 A schematic flow chart of the sub-steps of step S110 in one implementation manner.
[0012] Figure 3 A flow chart of a display method for myopia prevention and control provided in another embodiment of the present application is shown.
[0013] Figure 4 A flow chart of a display method for myopia prevention and control provided in yet another embodiment of the present application is shown.
[0014] Figure 5 A flow chart of a display method for myopia prevention and control provided in yet another embodiment of the present application is shown.
[0015] Figure 6 Shows Figure 4 A flowchart of the sub-steps of step S460 in one implementation manner.
[0016] Figure 7 A structural block diagram of a display system for myopia prevention and control provided in one embodiment of the present application is shown.
[0017] Figure 8 Shows this application Figure 7 The operating sequence diagram of the display system for myopia prevention and control is provided.
[0018] Fig. 9 A structural block diagram of a display device for myopia prevention and control provided in one embodiment of the present application is shown.
[0019] Fig.10 A structural block diagram of a computer device provided in an embodiment of the present application is shown.
[0020] Fig.11 A structural block diagram of a computer-readable storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below 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 making creative work are within the scope of protection of this application.
[0022] It should be noted that in some processes described in the specification, claims and the above-mentioned drawings of the present application, multiple operations that appear in a specific order are included, and these operations may not be executed or executed in parallel in the order in which they appear in this article. The sequence numbers of operations such as S110, S120, etc. are only used to distinguish different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or less operations, and these operations may be executed in sequence or in parallel. And, the terms "first", "second", etc. in the specification, claims and the above-mentioned drawings of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. 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 here can be implemented in an order other than those illustrated or described here. 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 server that includes a series of steps or sub-modules is not necessarily limited to those steps or sub-modules explicitly listed, but may include other steps or sub-modules that are not explicitly listed or that are inherent to these processes, methods, products, or devices.
[0023] See also Figure 1 , Figure 1 The flowchart of the display method for myopia prevention and control provided by an embodiment of the present application is shown in FIG. Figure 1 The display method for myopia prevention and control provided in the embodiment of the present application is described in detail. The display method for myopia prevention and control may include the following steps:
[0024] Step S110: determining a target gaze object according to the environmental information in front of the vehicle, where the target gaze object is an object in front of the vehicle and the relative distance to the vehicle is greater than a first set distance.
[0025] In this embodiment, when the user is in a scenario where the car is driving or parked, in order to help the user complete myopia prevention and control training, it is first necessary to determine the target gaze object based on the environmental information in front of the vehicle, that is, the object that the user gazes at with his eyes during the myopia prevention and control training, and the target gaze object is an object in front of the vehicle whose relative distance from the vehicle is greater than a first set distance.
[0026] Optionally, before starting the myopia prevention and control training, the vehicle may also include a start instruction in response to the user input, and enter step S110. The user inputs the start instruction in a manner including but not limited to voice input, start gesture, and key input. For example, the vehicle detects a voice containing a start mark issued by the user as the start instruction input by the user.
[0027] In some embodiments, an object in front of the vehicle whose relative distance to the vehicle is greater than a first set distance at the current moment can be determined as a target gaze object based on the environmental information in front of the vehicle. The environmental information in front of the vehicle can include the relative distance between each object in front of the vehicle and the vehicle, and the target gaze object can be a stationary object in front of the vehicle, such as roadside trees, signboards, and buildings on both sides of the road; or a moving object in front of the vehicle, such as a vehicle in front of the vehicle and pedestrians on both sides of the road, without limitation.
[0028] In some other embodiments, see Figure 2 Step S110 may specifically include the following contents from step S111 to step S112:
[0029] Step S111: predict the relative distance between each object and the vehicle after a preset time period based on the current driving data of the vehicle, the relative distance between each object in front of the vehicle and the vehicle, and the current moving speed.
[0030] In this embodiment, the environmental information in front of the vehicle may at least include the current driving data of the vehicle and the current speed of each object in front of the vehicle. The vehicle is provided with a sensor, and the current driving data of the vehicle, the relative distance between each object in front of the vehicle and the vehicle, and the current speed of each object are determined by acquiring the sensor data collected by the sensor. Among them, the current driving data of the vehicle includes at least the current speed of the vehicle, the steering angle of the vehicle, and the current position of the vehicle.
[0031] Optionally, the sensors on the vehicle side include but are not limited to position sensors, speed sensors, angular acceleration sensors, multiple vehicle-mounted cameras, and laser radars, etc. For example, by acquiring the current driving data of the vehicle collected by the position sensor, speed sensor, and angular acceleration sensor, the current movement speed of the vehicle, the steering angle of the vehicle, and the current position of the vehicle can be determined; by acquiring the road and environment image data in the three directions of the front, left, and right of the vehicle captured by multiple vehicle-mounted cameras, using the image recognition model to identify the video stream objects, and performing data fusion, the objects located in front of the vehicle can be determined; by acquiring the distance data collected by the laser radar, the relative distance between each object in front of the vehicle and the vehicle and the current movement speed of each object can be determined.
[0032] As an implementation method, if the vehicle is in a parking state, the distance that each object will move after a preset time period can be predicted based on the current movement speed of each object in front of the vehicle, and then the relative distance between each object in front of the vehicle and the vehicle and the distance that each object will move after a preset time period can be determined. The preset time period is the time that the user has pre-set to complete the myopia prevention and control training for the selected target gaze object.
[0033] Optionally, if the vehicle is in motion, the relative speed of each object and the vehicle can be obtained based on the current speed of the vehicle and the current speed of each object in front of the vehicle in the current driving data of the vehicle, thereby predicting the relative distance between each object and the vehicle after a preset time period, and determining the relative distance between each object in front of the vehicle after a preset time period based on the current relative distance between the vehicle and each object in front of the vehicle and the above relative distance.
[0034] As another implementation, the first position of the vehicle after a preset time period can be predicted based on the current movement speed of the vehicle, the steering angle of the vehicle and the current position of the vehicle in the current driving data of the vehicle, and the second position of each object in front of the vehicle after a preset time period can be predicted based on the relative distance between the vehicle and each object in front of the vehicle and the current movement speed. Thus, based on the current first position of the vehicle after the preset time period and the current second position of each object, the relative distance between each object and the vehicle after the preset time period can be determined, without limitation here.
[0035] Based on this, the present application can predict the relative distance between each object in front of the vehicle and the vehicle after a preset time period based on the current driving data acquired, the relative distance between each object in front of the vehicle and the vehicle, and the current movement speed, so as to select a suitable target object from multiple objects in front of the vehicle to ensure the effect of myopia prevention and control.
[0036] Step S112: If the relative distance between the target object and the vehicle is greater than the first set distance after the preset time, the target object is determined to be the target gaze object, and the target object is any object in front of the vehicle.
[0037] In this embodiment, after predicting the relative distance between each object and the vehicle after a preset time, if the relative distance between the target object and the vehicle after the preset time is greater than the first set distance, the target object is determined as the target gaze object to ensure the myopia prevention and control effect, wherein the target object is any object in front of the vehicle.
[0038] Optionally, since myopia is caused by looking at nearby objects for a long time, that is, the eye constantly uses the ciliary muscle to extend the eye axis in order to adapt to looking at nearby objects, causing ciliary muscle fatigue and unable to restore lens elasticity. In this application, the first setting distance can at least include 5m, that is, in the process of myopia prevention and control training, an object at a distance of 5m can be used for focusing, and the ciliary muscle of the user's eye can be adjusted to help the ciliary muscle gradually relax. If the relative distance between the target gaze object and the vehicle is less than the first setting distance when the myopia prevention and control training is completed, the eye will be caused to adapt to looking at the target gaze object located nearby, and the ciliary muscle will be used to extend the eye axis, causing ciliary muscle fatigue. Therefore, the relative distance between each object in front of the vehicle and the vehicle after the preset duration can be predicted, and the object whose relative distance with the vehicle after the preset duration is greater than the first setting distance is selected as the target gaze object to ensure the myopia prevention and control effect.
[0039] Step S120: Display a blur layer at a position corresponding to the target gaze object on the target device, where the blur layer is used to change the blur degree of the target gaze object. The target device is a window of the vehicle or a head-mounted device connected to the vehicle.
[0040] In this embodiment, in order to exercise the ciliary muscles of the user's eyes and restore the elasticity of the lens, a blur layer is displayed at a position corresponding to the target gaze object on the target device, and the blur degree of the target gaze object can be changed. At this time, when the user is looking at the blurred target gaze object, in order to see the target gaze object clearly, the ciliary muscles of the user's eyes must automatically and gradually relax and adjust, so that the image of the target gaze object is closer to the retina, making the image clear.
[0041] In this embodiment, the number of target gaze objects determined in step 110 may be one or more, which is not limited here. When the number of target gaze objects is multiple, the process of changing the blurriness of the target gaze objects may be to generate a corresponding blur layer for each target gaze object, and display the blur layer at a position corresponding to each target gaze object on the target device to change the blurriness of each target gaze object; the blurriness of the target gaze object may also be changed by, in response to the user's selection operation, generating a corresponding blur layer for one or more target gaze objects selected by the user, and displaying the blur layer at a position corresponding to the target gaze object selected by the user on the target device to blur each target gaze object selected by the user, so as to enhance the fun of human-computer interaction during myopia prevention and control training, thereby enhancing the user experience. Among them, the target device may at least be a window of the vehicle or a head-mounted device connected to the vehicle.
[0042] Step S130: If it is detected that the time duration for which the user stares at the blurred layer is greater than a set time duration, the blurred layer is canceled from being displayed on the target device.
[0043] In this embodiment, if it is detected that the time the user gazes at the blurred layer displayed at the position corresponding to the target gaze object on the target device is longer than the set time, the blurred layer is canceled on the target device and the target gaze object becomes clear.
[0044] Optionally, as the user stares at the blurred layer for longer than a set time, the blurred layer is no longer displayed. In the process of the target object the user is staring at changing from blurry to clear, the ciliary muscles of the user's eyes are exercised, thereby completing myopia prevention and control training.
[0045] Optionally, after the user completes a round of myopia prevention and control training based on the target gaze object selected this time, the user can also return to step S110 to re-determine the target gaze object to conduct a new round of myopia prevention and control training. Based on this, during the driving of the vehicle, the target gaze object that the user is looking at changes with the changes in the external environment of the vehicle, so that the user can interact with the external environment in real time during myopia prevention and control training, which improves the fun of the training process and avoids superimposing the myopia prevention and control scene directly in front of the user's eyes, shielding or blurring the actual external environment of the car, which causes the user to experience motion sickness, thereby improving the myopia prevention and control effect.
[0046] In some embodiments, after each round of myopia prevention and control training is completed, the difficulty of myopia prevention and control training can be gradually increased with the increase in the number of training sessions, that is, by increasing the number of target gaze objects that the user needs to gaze at during a new round of myopia prevention and control training. During each training process, if it is detected that the time the user gazes at the blurred layer corresponding to each target gaze object in turn is greater than the set time, the display of the blurred layer corresponding to each target gaze object is canceled in turn on the target device, thereby improving the myopia prevention and control effect by gradually increasing the intensity of myopia prevention and control training.
[0047] In an embodiment of the present application, according to the environmental information in front of the vehicle, an object in front of the vehicle whose relative distance to the vehicle is greater than the first set distance is determined as a target gaze object, and a blurred layer for changing its blur degree is displayed at a position corresponding to the target gaze object on the target device. When the user gazes at the target gaze object for a period longer than the set period, by canceling the display of the blurred layer, the target gaze object can be gradually clarified, so that the force of the ciliary muscle of the user's eye can be adjusted to help the ciliary muscle gradually relax, so that the user can use the free time to complete the myopia prevention and control training in the car driving or parking scene. At the same time, by displaying the blurred layer at a position corresponding to the target gaze object on the target device, the user can interact with the external environment in real time when the user performs myopia prevention and control training during the driving of the car, avoiding superimposing the myopia prevention and control scene directly in front of the user's eyes, shielding or blurring the actual environment outside the car, and the user will experience motion sickness, thereby ensuring the user experience.
[0048] See also Figure 3 , Figure 3 A flow chart of a display method for myopia prevention and control provided by another embodiment of the present application is shown. Figure 3 The display method for myopia prevention and control provided in the embodiment of the present application is described in detail. The display method for myopia prevention and control may include the following steps:
[0049] Step S210: determining a target gaze object according to the environmental information in front of the vehicle, where the target gaze object is an object in front of the vehicle and the relative distance to the vehicle is greater than a first set distance.
[0050] In this embodiment, the specific implementation of step S210 can refer to the content of the above-mentioned embodiment, which will not be repeated here.
[0051] Step S220: Based on the relative distance between the vehicle and the target gaze object, the number of targets in the fuzzy layer is determined, and the number of targets is positively correlated with the relative distance.
[0052] In this embodiment, there can be multiple fuzzy layers. Before the fuzzy layers are superimposed and displayed on the target device at a position corresponding to the target gaze object, the number of targets in the fuzzy layers can be determined based on the relative distance between the vehicle and the target gaze object. The number of targets is positively correlated with the relative distance.
[0053] Specifically, when the user sequentially gazes at multiple blurred layers corresponding to the target gaze object, the target number of the blurred layer can be determined based on the relative distance between the vehicle and the target gaze object. That is, when the relative distance between the vehicle and the target gaze object is closer, the number of blurred layers is smaller, so as to ensure that when multiple blurred layers are cancelled, the relative distance between the target gaze object and the vehicle is still greater than the first set distance, thereby ensuring the myopia prevention and control effect.
[0054] In some embodiments, the present application can also determine the target number of blurred layers based on the relative distance between the vehicle and the target gaze object, the current movement speed of the vehicle, the current movement speed of the target gaze object, the preset time, and the set myopia simulation degree. Among them, the preset time is the time required for the user to sequentially gaze at each blurred layer corresponding to the target gaze object to eliminate the myopia prevention and control training time required for multiple blurred layers; the myopia simulation degree is associated with the blurriness of the blurred layer. For example, when the myopia simulation degree is set to 100° myopia, when the blurred layer is displayed at the position corresponding to the target gaze object on the target device, it can simulate the user's viewing effect of the target gaze object under the myopia degree of 100°. As the user sequentially gazes at each blurred layer corresponding to the target gaze object, the display of the blurred layer is cancelled, so that the target gaze object gradually becomes clear, simulating the visual defocus process, and controlling the lengthening of the eye axis, thereby achieving the purpose of myopia prevention and control.
[0055] Optionally, when the relative distance, the current movement speed of the target gaze object, the preset time and the set myopia simulation degree are the same, the number of targets is negatively correlated with the current movement speed of the vehicle; when the relative distance, the current movement speed of the vehicle, the preset time and the set myopia simulation degree are the same, the number of targets is negatively correlated with the current movement speed of the target gaze object approaching the vehicle; when the relative distance, the current movement speed of the vehicle, the current movement speed of the target gaze object and the set myopia simulation degree are the same, the number of targets is positively correlated with the preset time; when the current movement speed of the vehicle, the current movement speed of the target gaze object and the preset time are the same, the number of targets is positively correlated with the set myopia simulation degree.
[0056] In some embodiments, the preset time and the set myopia simulation degree can be pre-set parameters of the vehicle. The vehicle obtains the relative movement speed between the vehicle and the target gaze object according to the current movement speed of the vehicle and the current movement speed of the target gaze object, and determines the target number of blurred layers according to the relative distance and relative movement speed between the vehicle and the target gaze object. For example: if the relative distance is within the range of 20m-30m, the relative movement speed is within the range of 0m / s-2m / s, the number of corresponding blurred layers is the first number; if the relative distance is within the range of 20m-30m, the relative movement speed is within the range of 2m / s-4m / s, the number of corresponding blurred layers is the second number, which is less than the first number; if the relative distance is within the range of 30m-40m, the relative movement speed is within the range of 0m / s-2m / s, the number of corresponding blurred layers is the third number, which is greater than the first number. At this time, if the vehicle is in a parking state, that is, the current movement speed of the vehicle is 0m / s, the current movement speed of the target object is the relative movement speed between the vehicle and the target object; if the target object is in a stationary state, that is, the current movement speed of the target object is 0m / s, the current movement speed of the vehicle is the relative movement speed between the vehicle and the target object.
[0057] Step S230: Generate a target number of fuzzy layers according to preset generation rules.
[0058] In this embodiment, when generating the fuzzy layer corresponding to the target gaze object, based on the determined target number of fuzzy layers, the target number of fuzzy layers are generated according to a preset generation rule.
[0059] In this embodiment, when there are multiple blurred layers, the blurring degrees of different blurred layers may be different. At this time, according to the preset generation rule, generating the target number of blurred layers may include: generating multiple blurred layers in a manner of decreasing blurring degrees, for example: generating blurred layers with blurring degrees corresponding to myopia effects of 100°, 80°, 60°, 40° and 20° respectively; or generating multiple blurred layers in a manner of randomly decreasing blurring degrees, which is not limited here.
[0060] Step S240: Displaying a first fuzzy layer at a position corresponding to the target gaze object on the target device, wherein the first fuzzy layer is a fuzzy layer with the greatest degree of fuzziness among the multiple fuzzy layers.
[0061] Optionally, when displaying the blurred layer at the position corresponding to the target gaze object on the target device, the first blurred layer, ie, the blurred layer with the greatest degree of blur among the multiple blurred layers, is displayed first.
[0062] Step S250: If it is detected that the time the user stares at the currently displayed first blurred layer is longer than the set time, the display of the first blurred layer is canceled, and the second blurred layer is displayed at a position corresponding to the target gaze object on the target device until each blurred layer is canceled after completion of display, and the second blurred layer is the blurred layer with the greatest degree of blur among the multiple blurred layers except the first blurred layer.
[0063] In this embodiment, when multiple blurred layers with reduced blurriness are generated according to preset generation rules, based on the time the user stares at the currently displayed blurred layer being greater than the set time length, the currently displayed blurred layer is switched in a manner of reducing the blurriness until each blurred layer is cancelled after completion of display, so that the target gaze object gradually becomes clearer, simulating the visual defocus process, controlling the lengthening of the eye axis, and thus achieving the purpose of myopia prevention and control.
[0064] In this embodiment, when multiple blurred layers with reduced blurriness are generated according to preset generation rules, the blurred layer with the largest blurriness among the multiple blurred layers is displayed at a position corresponding to the target gaze object on the target device. When it is detected that the time for which the user gazes at the currently displayed blurred layer is greater than the set time, the blurred layer is switched to a blurred layer with the largest blurriness except for the currently displayed blurred layer, until each blurred layer is cancelled after completion of display, thereby helping the ciliary muscles of the user's eyes to gradually relax in the process of gradually clarifying the target gaze object. In addition, when the car is driving or parking, this application helps the user to use his free time to complete myopia prevention and control training.
[0065] See also Figure 4 , Figure 4A flow chart of a display method for myopia prevention and control provided by another embodiment of the present application is shown. Figure 4 The display method for myopia prevention and control provided in the embodiment of the present application is described in detail. The display method for myopia prevention and control may include the following steps:
[0066] Step S310: determining a target gaze object according to the environmental information in front of the vehicle, where the target gaze object is an object in front of the vehicle and the relative distance from the vehicle is greater than a first set distance.
[0067] Step S320: Based on the relative distance between the vehicle and the target gaze object, the number of targets in the fuzzy layer is determined, and the number of targets is positively correlated with the relative distance.
[0068] In this embodiment, the specific implementation of step S310 and step S320 can refer to the content of the above-mentioned embodiment, which will not be repeated here.
[0069] Step S330: Generate a target number of fuzzy layers according to preset generation rules.
[0070] In this embodiment, when there are multiple blurred layers, the blurring degrees of different blurred layers may be the same or different. At this time, according to the preset generation rule, the target number of blurred layers is generated by generating multiple blurred layers in a manner of decreasing blurring degrees. For example, when forming blurred layers corresponding to myopic effects of 100°, 80°, 60°, 40° and 20° with decreasing blurring degrees, 5 blurred layers corresponding to myopic effects of 20° with the same blurring degrees are generated. At this time, the 5 blurred layers with myopic effects of 20° have a myopic effect of 100° after being superimposed. When the number of superimposed blurred layers decreases successively, myopic effects of 80°, 60°, 40° and 20° are formed respectively.
[0071] Step S340: Overlay and display multiple blurred layers at positions corresponding to the target gaze object on the target device.
[0072] In this embodiment, after generating multiple blurred layers, the multiple blurred layers are superimposed and displayed at the position corresponding to the target gaze object on the target device. For example: when forming blurred layers corresponding to the myopia effects of 100°, 80°, 60°, 40° and 20° with decreasing blur levels, the blur level of the bottom blurred layer superimposed and displayed on the target device corresponds to the myopia effect of 20°; the blur level of the second blurred layer corresponds to the myopia effect of 20°, and the two blurred layers with myopia effects of 20° are superimposed to have a myopia effect of 40°; ...; the blur level of the top blurred layer corresponds to the myopia effect of 20°, and the five blurred layers with myopia effects of 20° are superimposed to have a myopia effect of 100°.
[0073] Step S350: If it is detected that the time the user has gazed at each blurred layer in sequence is greater than the set time, the display of each blurred layer is canceled in sequence.
[0074] In this embodiment, after multiple blurred layers are superimposed and displayed at the position corresponding to the target gaze object on the target device, if it is detected that the user has gazed at each blurred layer in turn for a time longer than the set time, the display of each blurred layer is canceled in turn, so that in the process of reducing the number of blurred layers superimposed and displayed on the target gaze object, the blurriness of the target gaze object decreases as the number of blurred layers decreases. For example, if it is detected that the user has gazed at the blurred layer currently displayed on the top layer for a time longer than the set time, the display of this blurred layer is canceled, and the blurriness of the target gaze object decreases until each blurred layer is canceled after being gazed. Based on this, the viewing effect of the user in the process of the target gaze object changing from blurry to clear can be simulated. At this time, the ciliary muscles of the user's eyes gradually relax, completing the exercise of the ciliary muscles, thereby achieving the effect of myopia prevention and control.
[0075] In this embodiment, multiple blurred layers with the same or different degrees of blur are superimposed and displayed at positions corresponding to the target gaze object on the target device. When it is detected that the time for which the user gazes at each blurred layer in turn is greater than the set time, the display of each blurred layer is canceled in turn, so that the ciliary muscles of the user's eyes gradually relax during the process of the target gaze object gradually becoming clearer, thereby helping the user to complete myopia prevention and control training in his spare time when the car is driving or parking.
[0076] See also Figure 5 , Figure 5 A flow chart of a display method for myopia prevention and control provided by another embodiment of the present application is shown. Figure 5 The display method for myopia prevention and control provided in the embodiment of the present application is described in detail. The display method for myopia prevention and control may include the following steps:
[0077] Step S410: determining a target gaze object according to the environmental information in front of the vehicle, where the target gaze object is an object in front of the vehicle and the relative distance to the vehicle is greater than a first set distance.
[0078] Step S420: Display a blur layer at a position corresponding to the target gaze object on the target device, where the blur layer is used to change the blur degree of the target gaze object. The target device is a window of the vehicle or a head-mounted device connected to the vehicle.
[0079] In this embodiment, the specific implementation of step S410 and step S420 can refer to the content of the above-mentioned embodiment, which will not be repeated here.
[0080] Step S430: Determine the target game scene corresponding to the target gaze object, and overlay the virtual objects in the target game scene on the blurred layer. The virtual objects include at least virtual controlled objects and virtual obstacles. The virtual controlled objects are used to move along with the user's gaze point.
[0081] In this embodiment, in order to increase the fun of myopia prevention and control training and improve the myopia prevention and control effect, the myopia prevention and control game can be combined with the gaze scene of the fuzzy layer. Specifically, by determining the target game scene corresponding to the target gaze object, and superimposing the virtual object in the target game scene on the fuzzy layer, the user can complete the myopia prevention and control game in the target game scene, and then gaze at the fuzzy layer superimposed on the target device at the position corresponding to the target gaze object.
[0082] Optionally, the virtual objects in the target game scene include at least a virtual controlled object and a virtual obstacle, and the virtual controlled object is used to move following the gaze point of the user. By tracking the user's eyeball, identifying the gaze point position of the user's eyeball, and associating the gaze point of the user's eyeball with the virtual controlled object, the virtual controlled object can move in the target game scene following the gaze point of the user.
[0083] Optionally, before starting the game prevention and control scene in the myopia prevention and control training, the vehicle may further include a game start instruction in response to the user input, and enter step S430. The user inputs the start instruction in a manner including but not limited to voice input, start gesture, and key input.
[0084] Step S440: If it is determined that the virtual obstacle is not on the moving trajectory of the virtual controlled object, it is determined that the moving trajectory of the gaze point meets the set moving condition.
[0085] In this embodiment, when the user's gaze point moves in the target game scene, if it is determined that the virtual obstacle is not on the moving trajectory of the virtual controlled object that moves following the movement of the user's gaze point, then it is determined that the moving trajectory of the gaze point meets the set movement conditions, that is, at this time, the moving trajectory of the user's gaze point should avoid the virtual obstacles in the target game scene.
[0086] Among them, by eliminating the blurred layer, the target object is gradually clarified, which helps the user's ciliary muscles to gradually relax. When the extraocular muscles work together to adjust the eyes to turn up, down, left and right, the setting of the target game scene prompts the user's eye gaze point to move, which can exercise the user's extraocular muscles and thus enhance the myopia prevention and control effect for the user.
[0087] Optionally, the number of virtual obstacles in the target game scene may be fixed or variable. If the number of virtual obstacles is variable:
[0088] In some embodiments, after the user completes a round of myopia prevention and control training based on the target gaze object selected this time, the user can return to step S110 to re-determine the target gaze object. After each round of myopia prevention and control training is completed, as the number of training sessions increases, the number of virtual obstacles in the target game scene gradually increases, increasing the difficulty of the game, thereby increasing the difficulty of the myopia prevention and control training.
[0089] In other embodiments, in each round of myopia prevention and control training, the number of blurred layers to be eliminated can be multiple. The blurred layer displayed at the position corresponding to the target gaze object on the target device can be one. At this time, as the user gazes at the currently displayed blurred layer for a period of time greater than the set period of time, the blurred layer displayed on the target device is eliminated and switched to a blurred layer with the largest degree of blur except for the currently eliminated blurred layer for display. Alternatively, the position corresponding to the target gaze object on the target device can be a superimposed display of multiple blurred layers. At this time, as the user gazes at each blurred layer in turn for a period of time greater than the set period of time, the display of each blurred layer is canceled in turn. In the process of eliminating the blurred layers, as the number of blurred layers to be eliminated decreases, the number of virtual obstacles in the target game scene on the current blurred layer to be eliminated gradually increases, thereby gradually increasing the difficulty of myopia prevention and control training and improving the effect of myopia prevention and control.
[0090] Optionally, the difficulty of myopia prevention and control training may increase with the number of training sessions, which may be pre-set, or the difficulty of myopia prevention and control training may be adjusted to be variable in response to a difficulty adjustment operation of the user, which is not limited here.
[0091] As an implementation method, there are multiple blurred layers, and the blur levels of different blurred layers are the same or different. At this time, in step S430, after eliminating each blurred layer superimposed and displayed at the position corresponding to the target gaze object on the target device, the target game scene corresponding to the target gaze object is determined, and the virtual object in the target game scene is superimposed and displayed on the current top blurred layer. At this time, as the user gazes at each blurred layer in turn for a time longer than the set time, and in the target game scene superimposed and displayed on each blurred layer, when the movement trajectory of the user's gaze point meets the set movement conditions, the display of each blurred layer is canceled in turn, and in the target game scene corresponding to different blurred layers, the number of virtual obstacles can be fixed, and the number of virtual obstacles can also increase as the number of blurred layers gradually decreases, thereby gradually increasing the difficulty of myopia prevention and control training.
[0092] In some embodiments, the moving trajectory of the gaze point meets the set moving conditions and can also be: when the user's gaze point moves in the target game scene, the virtual obstacle is on the moving trajectory of the virtual controlled object that moves along with the movement of the user's gaze point, then it is determined that the moving trajectory of the gaze point meets the set moving conditions, that is, at this time the virtual obstacle is a virtual target object, and the moving trajectory of the user's gaze point should overlap with the position of the virtual obstacle in the target game scene.
[0093] Step S450: If it is determined that the virtual obstacle is on the moving trajectory of the virtual controlled object, it is determined that the moving trajectory of the gaze point does not meet the set moving condition.
[0094] In this embodiment, if it is determined that the virtual obstacle is on the moving trajectory of the virtual controlled object that moves following the user's gaze point, it is determined that the moving trajectory of the gaze point does not meet the set movement conditions, that is, at this time the moving trajectory of the user's gaze point does not successfully avoid the virtual obstacle in the target game scene.
[0095] Optionally, if it is detected that the movement trajectory of the user's eye gaze point does not meet the set movement conditions:
[0096] In some embodiments, the virtual object in the target game scene corresponding to the generated target gaze object is superimposed and displayed on the blurred layer again, and the user completes the myopia prevention and control game on the blurred layer again until it is detected that the movement trajectory of the user's eye gaze point meets the set movement conditions.
[0097] In other embodiments, the step of determining the target gaze object according to the environmental information in front of the vehicle is performed, that is, returning to step S410 to reselect the target gaze object.
[0098] Optionally, if the virtual obstacle is a virtual target object, if the virtual target object is not on the moving trajectory of the virtual controlled object that moves following the gaze point of the user, it is determined that the moving trajectory of the gaze point does not meet the set movement condition.
[0099] Step S460: If it is detected that the time duration of the user gazing at the blurred layer is greater than the set time duration, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement condition, the display of the blurred layer on the target device is cancelled.
[0100] In this embodiment, if it is detected that the time duration of the user's gaze on the blurred layer is greater than the set time duration, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement condition, the display of the blurred layer is cancelled.
[0101] In some embodiments, there are multiple blurred layers, and the blur levels of different blurred layers are the same or different. The first blurred layer is displayed at a position corresponding to the target gaze object on the target device, and the first blurred layer is the blurred layer with the largest blur level among the multiple blurred layers. At this time, as the duration of the user's gaze at the currently displayed first blurred layer is greater than the set duration, and in the target game scene superimposed on the first blurred layer, when the movement trajectory of the user's gaze point meets the set movement conditions, the display of the first blurred layer is canceled, and the second blurred layer is displayed at a position corresponding to the target gaze object on the target device, until each blurred layer is canceled after the display is completed, and the second blurred layer is the blurred layer with the largest blur level among the multiple blurred layers except the first blurred layer.
[0102] In other embodiments, there are multiple blurred layers, and the blurring degrees of different blurred layers are the same or different, and multiple blurred layers are superimposed and displayed at positions corresponding to the target gaze object on the target device. At this time, as the user stares at each blurred layer in turn for a time longer than the set time, and in the target game scene superimposed and displayed on each blurred layer, when the movement trajectory of the user's gaze point meets the set movement conditions, the display of each blurred layer is canceled in turn.
[0103] Optionally, when the myopia prevention and control training process is combined with a game scene, the movement trajectory of the user's gaze point on the blurred layer meets the set movement conditions, that is, the user completes the game goal in the target game scene, and it is detected that the user's gaze time on the blurred layer is greater than the set time, then it means that the user has successfully completed a myopia prevention and control training, and the user can obtain game rewards, such as accumulation of game scores or obtaining new game props, thereby enhancing the user's interest in myopia prevention and control training.
[0104] See also Figure 6 Step S460 may specifically include the following steps S461 to S462:
[0105] Step S461: If it is detected that the time the user stares at the blurred layer is greater than the set time, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement conditions, the relative distance between the current target gaze object and the vehicle is obtained as the target relative distance.
[0106] In this embodiment, if it is detected that the time the user stares at the blurred layer is greater than the set time, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement conditions, the relative distance between the current target gaze object and the vehicle is obtained as the target relative distance.
[0107] Step S462: If the target relative distance is less than the second set distance, the display of the blurred layer is canceled, and the step of determining the target gaze object according to the environmental information in front of the vehicle is executed. The first set distance is greater than the second set distance.
[0108] In this embodiment, in order to ensure the effect of myopia prevention and control, if the target relative distance is less than the second set distance, the display of the blurred layer is canceled, and the step of determining the object in front of the vehicle whose relative distance to the vehicle is greater than the first set distance is executed as the target gaze object, that is, returning to step S410 and reselecting the target gaze object.
[0109] In some embodiments, if there are multiple blurred layers, as the user gazes at each blurred layer for a time longer than the set time, the display of each blurred layer is canceled in turn. After detecting that the user gazes at the current top blurred layer for a time longer than the set time, and the movement trajectory of the user's gaze point on the current top blurred layer meets the set movement condition, it should also be determined whether the relative distance between the current target gaze object and the vehicle is less than the second set distance. That is, if the relative distance between the current target gaze object and the vehicle is less than the second set distance, the ciliary muscle will exert force to extend the eye axis in order to adapt to the target gaze object located nearby, causing ciliary muscle fatigue. Therefore, in order to ensure the myopia prevention and control effect during the myopia prevention and control training process, it should be ensured that when the user gazes at any blurred layer superimposed on the target gaze object, the relative distance between the target gaze object and the vehicle should be greater than the second set distance.
[0110] In this embodiment, by superimposing the virtual objects in the target game scene on the blurred layer, the user can complete the myopia prevention and control game in the target game scene, and then gaze at the blurred layer displayed at the position corresponding to the target gaze object on the target device. In this way, the myopia prevention and control game is combined with the gaze scene of the blurred layer, which improves the fun of the user in myopia prevention and control training, and exercises the extraocular muscles of the user's eyes in the process of helping the user's ciliary muscles gradually relax, thereby improving the myopia prevention and control training effect, allowing the user to complete efficient myopia prevention and control training in a pleasant training process.
[0111] See also Figures 7 and 8 , Figure 7 The structure block diagram of the display system for myopia prevention and control provided by an embodiment of the present application is shown. Figure 8 Shows this application Figure 7 The operation sequence diagram of the display system for myopia prevention and control is provided. Figure 7 As shown, the display system 500 for myopia prevention and control includes a display module 510, an application operation module 520, a data acquisition module 530, an image processing module 540 and an eye tracking module 550.
[0112] In this embodiment, the display module 510 is deployed on the vehicle side or the head mounted device, and the display module 510 responds to the start command input by the user on the operation interface and sends the start command to the application operation module 520. The head mounted device includes but is not limited to a mixed reality (MR) head mounted device, a virtual reality (VR) head mounted device, and an augmented reality (AR) head mounted device.
[0113] Optionally, the application operation module 520 is deployed on the vehicle side or the head-mounted device, and the application operation module 520 is in communication with the data acquisition module 530. The application operation module 520 responds to the received start instruction and calls the data acquisition module 530 deployed on the vehicle side. The data acquisition module 530 is at least used to collect the current driving data of the vehicle and the environmental data of the vehicle. Among them, the data acquisition module 530 includes at least a position sensor, a speed sensor, an angular acceleration sensor, a plurality of vehicle-mounted cameras, and a laser radar.
[0114] Optionally, the image processing module 540 disposed at the vehicle end is in communication connection with the data acquisition module 530, and the image processing module 540 is used to obtain the current driving data collected by the data acquisition module 530 and the environmental data of the vehicle. Based on the current driving data of the vehicle collected by the position sensor, the speed sensor and the angular acceleration sensor, the image processing module 540 can determine the current movement speed of the vehicle, the steering angle of the vehicle and the current position of the vehicle; based on the road and environmental image data in the three directions of the front, left and right of the vehicle captured by multiple on-board cameras, the image processing module 540 identifies the video stream objects through the image recognition model, performs data fusion, determines the objects in front of the vehicle, and based on the distance data collected by the laser radar, can determine the relative distance between each object in front of the vehicle and the vehicle and the current movement speed of each object.
[0115] Further, the image processing module 540 is used to select an object whose relative distance to the vehicle is greater than a first set distance from the multiple objects in front of the vehicle according to the current driving data of the vehicle, the relative distance between each object in front of the vehicle and the vehicle, and the current movement speed, so as to determine the target gaze object according to the environmental information in front of the vehicle, and generate a fuzzy layer corresponding to the target gaze object through three-dimensional rendering. In addition, the image processing module 540 is also used to determine the target game scene corresponding to the target gaze object, and generate virtual objects including virtual controlled objects and virtual obstacles in the target game scene through three-dimensional rendering.
[0116] In this embodiment, the image processing module 540 is also connected to the display module 510 for communication. The image processing module 540 is used to send the data of the generated blur layer corresponding to the target gaze object to the vehicle-side or head-mounted device display module 510. The display module 510 is used to change the blur degree of the target gaze object by displaying the blur layer at a position corresponding to the target gaze object on the target device. In addition, the display module 510 is also used to superimpose the virtual object in the target game scene on the blur layer when receiving the data of the virtual object sent by the image processing module 540.
[0117] The target device can at least be a window of the vehicle or a head-mounted device connected to the vehicle, which is not limited here. When data is transmitted between the image processing module 540 and the display module 510, the transmission mode of low voltage differential signal (LVDS) can be used, that is, high-speed differential transmission of data with extremely low voltage swing, which can realize point-to-point or point-to-multipoint connection, and has the characteristics of low power consumption, low bit error rate, low crosstalk and low radiation, thereby improving the accuracy and speed of data transmission between the image processing module 540 and the display module 510, and reducing the power consumption of the system during the transmission process.
[0118] Optionally, the display system 500 for myopia prevention and control tracks the user's eyes through an eye tracking module 550 disposed on the vehicle side, identifies the position of the user's eye gaze point, records the position of the eye gaze point and the gaze duration, and transmits the relevant data to the application operation module 520. Based on the acquired gaze point position, the application operation module 520 associates the user's eye gaze point with the virtual controlled object, so that the virtual controlled object can move in the target game scene following the movement of the user's gaze point.
[0119] Furthermore, the application operation module 520 is used to determine whether the myopia prevention and control training is completed based on the position of the eye's gaze point and the gaze duration. If it is detected that the user's gaze on the blurred layer is longer than the set duration, and it is determined that the virtual obstacle is not on the moving trajectory of the virtual controlled object, that is, when it is determined that the moving trajectory of the gaze point meets the set moving conditions, then it is determined that the myopia prevention and control training is completed, a layer cancellation instruction is generated, and the layer cancellation instruction is sent to the image processing module 540.
[0120] Optionally, the image processing module 540 controls the display module 510 to cancel the display of the blurred layer in response to the layer cancel instruction, and the user can also confirm on the interface display of the display module 510 that he has obtained the reward corresponding to the completed training.
[0121] In this embodiment, based on the display system 500 for myopia prevention and control provided by the present application, the blurred layer and the virtual objects in the target game scene can be displayed at the position corresponding to the target gaze object on the target device, so that the user can interact with the external environment in real time when the user performs myopia prevention and control training during the driving process of the car. In addition, after the user completes the myopia prevention and control game in the target game scene, in the process of gazing at the blurred layer displayed at the position corresponding to the target gaze object on the target device, the myopia prevention and control game is combined with the gaze scene of the blurred layer, which improves the fun of the user in the myopia prevention and control training, so that the ciliary muscles of the user's eyes are gradually relaxed while the extraocular muscles of the user's eyes are exercised, thereby improving the effect of myopia prevention and control training, so that the user can complete efficient myopia prevention and control training in a pleasant training process.
[0122] See also Fig. 9 , Fig. 9 The structural block diagram of a display device for myopia prevention and control provided by an embodiment of the present application is shown. The display device 600 for myopia prevention and control may include: an object determination module 610, a layer display module 620, and a display cancellation module 630.
[0123] The object determination module 610 is used to determine a target gaze object according to the environmental information in front of the vehicle, where the target gaze object is an object in front of the vehicle whose relative distance to the vehicle is greater than a first set distance.
[0124] The layer display module 620 is used to display a blurred layer at a position on the target device corresponding to the target gaze object. The blurred layer is used to change the blurriness of the target gaze object. The target device is the window of the vehicle or a head-mounted device connected to the vehicle.
[0125] The display cancellation module 630 is used to cancel the display of the blurred layer on the target device if it is detected that the time length for which the user gazes at the blurred layer is greater than a set time length.
[0126] In some embodiments, there are multiple blurred layers, and the blurriness of different blurred layers is different. The layer display module 620 is specifically used to: display a first blurred layer at a position corresponding to the target gaze object on the target device, and the first blurred layer is the blurred layer with the largest blurriness among the multiple blurred layers; the display cancellation module 630 is specifically used to: if it is detected that the time length of the user's gaze on the currently displayed first blurred layer is greater than the set time length, then cancel the display of the first blurred layer, and display the second blurred layer at a position corresponding to the target gaze object on the target device, until each blurred layer is canceled after display is completed, and the second blurred layer is the blurred layer with the largest blurriness among the multiple blurred layers except the first blurred layer.
[0127] In other embodiments, there are multiple blurred layers, and the blurriness of different blurred layers is the same or different. The layer display module 620 is specifically used to: superimpose and display multiple blurred layers at positions corresponding to the target gaze object on the target device; the display cancellation module 630 is specifically used to: if it is detected that the time for which the user gazes at each blurred layer in turn is greater than the set time, then cancel the display of each blurred layer in turn.
[0128] In this embodiment, the layer display module 620 is also specifically used to: determine the number of targets in the fuzzy layer based on the relative distance between the vehicle and the target gaze object, and the number of targets is positively correlated with the relative distance; generate the fuzzy layer of the target number according to the preset generation rules.
[0129] In some embodiments, the display cancellation module 630 is specifically used to cancel the display of the blurred layer on the target device if it is detected that the time the user gazes at the blurred layer is greater than the set time, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement conditions.
[0130] In some embodiments, the display device 600 for myopia prevention and control may also include a game scene display module, which is used to: determine the target game scene corresponding to the target gaze object, and superimpose the virtual objects in the target game scene on a blurred layer, wherein the virtual objects include at least virtual controlled objects and virtual obstacles, and the virtual controlled objects are used to move with the user's gaze point; if it is determined that the virtual obstacle is not on the moving trajectory of the virtual controlled object, then it is determined that the moving trajectory of the gaze point meets the set moving conditions; if it is determined that the virtual obstacle is on the moving trajectory of the virtual controlled object, then it is determined that the moving trajectory of the gaze point does not meet the set moving conditions.
[0131] In this embodiment, the display cancellation module 630 can also be specifically used for: if it is detected that the time length of the user's gaze on the blurred layer is greater than the set time length, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement conditions, then the relative distance between the current target gaze object and the vehicle is obtained as the target relative distance; if the target relative distance is less than the second set distance, the display of the blurred layer is canceled, and the step of determining the target gaze object according to the environmental information in front of the vehicle is executed, and the first set distance is greater than the second set distance.
[0132] In some embodiments, the object determination module 610 is specifically used to: predict the relative distance between each object and the vehicle after a preset time period based on the current driving data of the vehicle, the relative distance between each object in front of the vehicle and the vehicle, and the current movement speed; if the relative distance between the target object and the vehicle after the preset time period is greater than the first set distance, the target object is determined to be the target gaze object, and the target object is any object in front of the vehicle.
[0133] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0134] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0135] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0136] In summary, in the display method for myopia prevention and control of the present application: according to the environmental information in front of the vehicle, the object in front of the vehicle whose relative distance to the vehicle is greater than the first set distance is determined as the target gaze object, and a blur layer for changing its blur degree is displayed at a position corresponding to the target gaze object on the target device. In this way, when the user gazes at the target gaze object for a time longer than the set time, the target gaze object can be gradually clarified by canceling the display of the blur layer, thereby helping the user's ciliary muscles to gradually relax in the process of real-time interaction between the user and the real environment outside the vehicle, so that the user can use his free time to complete myopia prevention and control training in the car driving or parking scene.
[0137] The following will be combined Fig.10 A computer device 700 provided in the present application is described.
[0138] See also Fig.10 , Fig.10 A structural block diagram of a computer device 700 provided in an embodiment of the present application is shown. The above method provided in an embodiment of the present application can be executed by the computer device 700.
[0139] The computer device 700 in the embodiment of the present application may include one or more of the following components: a processor 701, a memory 702, and one or more applications, wherein the one or more applications may be stored in the memory 702 and configured to be executed by one or more processors 701, and the one or more programs are configured to execute the method as described in the aforementioned method embodiment.
[0140] The processor 701 may include one or more processing cores. The processor 701 uses various interfaces and lines to connect the various parts of the entire computer device 700, and executes various functions and processes data of the computer device 700 by running or executing instructions, programs, code sets or instruction sets stored in the memory 702, and calling data stored in the memory 702. Optionally, the processor 701 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 701 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem can also be integrated into the processor 701 and implemented separately through a communication chip.
[0141] The memory 702 may include a random access memory (RAM) or a read-only memory (ROM). The memory 702 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 702 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as the various corresponding relationships described above) created by the computer device 700 during use.
[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0143] In several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or modules, which may be electrical, mechanical or other forms.
[0144] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0145] Please refer to Fig.11 , Fig.11 The structure block diagram of a computer-readable storage medium provided in an embodiment of the present application is shown. The computer-readable storage medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0146] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step of the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.
[0147] In some embodiments, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the steps in the above-mentioned method embodiments.
[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A display method for myopia prevention and control, characterized in that: The method comprises: Determine a target gaze object according to environmental information in front of the vehicle, wherein the target gaze object is an object in front of the vehicle and the relative distance from the vehicle is greater than a first set distance; Displaying a blur layer at a position corresponding to the target gaze object on a target device, wherein the blur layer is used to change the blur degree of the target gaze object, and the target device is a window of the vehicle or a head-mounted device connected to the vehicle; If it is detected that the time duration for which the user stares at the blurred layer is greater than a set time duration, the display of the blurred layer on the target device is cancelled.
2. The method according to claim 1, characterized in that There are multiple blur layers, and blur degrees of different blur layers are different; The displaying of a blurred layer at a position corresponding to the target gaze object on the target device includes: Displaying a first blurred layer at a position corresponding to the target gaze object on the target device, wherein the first blurred layer is the blurred layer with the greatest degree of blur among the multiple blurred layers; If it is detected that the time length of the user gazing at the blurred layer is longer than the set time length, then the display of the blurred layer on the target device is canceled, including: If it is detected that the time length during which the user gazes at the first blurred layer currently displayed is greater than the set time length, the display of the first blurred layer is canceled, and a second blurred layer is displayed at a position corresponding to the target gaze object on the target device until each blurred layer is canceled after completion of display, and the second blurred layer is the blurred layer with the greatest degree of blur among the multiple blurred layers except the first blurred layer.
3. The method according to claim 1, characterized in that There are multiple blur layers, and blur degrees of different blur layers are the same or different; The displaying of a blurred layer at a position corresponding to the target gaze object on the target device includes: Overlaying and displaying a plurality of blur layers at positions corresponding to the target gaze object on the target device; If it is detected that the time length of the user gazing at the blurred layer is longer than the set time length, then the display of the blurred layer on the target device is canceled, including: If it is detected that the time length during which the user sequentially gazes at each of the blurred layers is greater than the set time length, the display of each of the blurred layers is sequentially canceled.
4. The method according to claim 2 or 3, characterized in that: Before displaying the blurred layer at a position corresponding to the target gaze object on the target device, the method further includes: Based on the relative distance between the vehicle and the target gaze object, determining the number of targets in the fuzzy layer, wherein the number of targets is positively correlated with the relative distance; According to the preset generation rules, the target number of fuzzy layers is generated.
5. The method according to claim 1, characterized in that If it is detected that the time length of the user gazing at the blurred layer is longer than the set time length, then canceling the display of the blurred layer on the target device includes: If it is detected that the time duration for which the user gazes at the blurred layer is greater than the set time duration, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement condition, the display of the blurred layer on the target device is canceled.
6. The method according to claim 5, characterized in that Before canceling the display of the blurred layer on the target device if it is detected that the time length of the user gazing at the blurred layer is greater than the set time length and the movement trajectory of the user's gaze point on the blurred layer meets the set movement condition, the method further includes: Determine a target game scene corresponding to the target gaze object, and overlay and display virtual objects in the target game scene on the blurred layer, wherein the virtual objects at least include virtual controlled objects and virtual obstacles, and the virtual controlled objects are used to move along with the gaze point of the user; If it is determined that the virtual obstacle is not on the moving trajectory of the virtual controlled object, determining that the moving trajectory of the gaze point meets the set moving condition; If it is determined that the virtual obstacle is on the moving trajectory of the virtual controlled object, it is determined that the moving trajectory of the gaze point does not meet the set moving condition.
7. The method according to claim 5, characterized in that If it is detected that the time length of the user gazing at the blurred layer is greater than the set time length, and the movement track of the user's gaze point on the blurred layer meets the set movement condition, then canceling the display of the blurred layer on the target device, including: If it is detected that the time duration of the user gazing at the blurred layer is greater than the set time duration, and the movement trajectory of the user's gaze point on the blurred layer meets the set movement condition, then the relative distance between the current target gaze object and the vehicle is obtained as the target relative distance; If the target relative distance is less than the second set distance, the display of the blurred layer is canceled, and the step of determining the target gaze object according to the environmental information in front of the vehicle is executed, and the first set distance is greater than the second set distance.
8. The method according to any one of claims 1 to 7, characterized in that: The environmental information includes the relative distance between each object in front of the vehicle and the vehicle and the current moving speed of each object. The determining the target gaze object according to the environmental information in front of the vehicle includes: According to the current driving data of the vehicle, the relative distance between each object in front of the vehicle and the vehicle, and the current moving speed, predict the relative distance between each object and the vehicle after a preset time period; If the relative distance between the target object and the vehicle is greater than the first set distance after the preset time period, the target object is determined to be the target gaze object, and the target object is any object in front of the vehicle.
9. A display device for myopia prevention and control, characterized in that: The display device for myopia prevention and control comprises: An object determination module is used to determine a target gaze object according to environmental information in front of the vehicle, wherein the target gaze object is an object in front of the vehicle and the relative distance from the vehicle is greater than a first set distance; A layer display module, used for displaying a blurred layer at a position corresponding to the target gaze object on a target device, wherein the blurred layer is used for changing the blur degree of the target gaze object, and the target device is a window of the vehicle or a head-mounted device connected to the vehicle; The display canceling module is used to cancel the display of the blurred layer on the target device if it is detected that the time length of the user gazing at the blurred layer is greater than a set time length.
10. A computer device, characterized in that: The computer device comprises: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 8.
Citation Information
Cited By
Display method and device, electronic equipment and readable storage medium
CN121255128A
Display method, device, electronic equipment and readable storage medium
CN121255128B