A vision detection method and device, electronic equipment and storage medium

By testing visual acuity and optotype size at different distances and using formulas to calculate the size of healthy optotypes and target distances, the problems of low efficiency and insufficient accuracy of existing visual acuity testing methods are solved, and the accurate determination of axial length deformation and degree of hyperopia is achieved.

CN115644789BActive Publication Date: 2026-06-12BOE YIYUN (HANGZHOU) TECH CO LTD +3

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BOE YIYUN (HANGZHOU) TECH CO LTD
Filing Date
2022-08-17
Publication Date
2026-06-12

Smart Images

  • Figure CN115644789B_ABST
    Figure CN115644789B_ABST
Patent Text Reader

Abstract

The present application relates to the field of vision detection, and particularly relates to a vision detection method and device, electronic equipment and storage medium, the method comprising: acquiring test vision corresponding to a user at a reference distance and a non-reference distance respectively, and test optotype size corresponding to the test vision; determining healthy optotype size corresponding to the user at the non-reference distance according to the test optotype size corresponding to the reference distance; determining a target distance from the non-reference distance by comparing the test optotype size corresponding to the non-reference distance and the healthy optotype size; and determining an eye axis deformation variable and / or hyperopia degree of the user according to the target distance and a preset standard eye axis length. Through the method, the vision detection is accurate and efficient, and the eye axis deformation variable and / or hyperopia degree of the user can be accurately determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vision testing, and more specifically, to a vision testing method, apparatus, electronic device, and storage medium. Background Technology

[0002] As more and more people start using electronic products, people's eyesight has been greatly affected. The first thing to do in treating vision problems is to check people's vision.

[0003] Currently, the main method is to manually test each person's vision at a fixed distance. This manual testing is inefficient and inaccurate. In addition, this method can only test each person's visual acuity and cannot detect the deformation of each person's axial length, which is an important basis for determining each person's glasses prescription. Summary of the Invention

[0004] In view of this, the purpose of this application is to provide a vision testing method, device, electronic device and storage medium that can accurately determine the user's axial length deformation and / or degree of hyperopia.

[0005] In a first aspect, embodiments of this application provide a vision testing method, which includes:

[0006] Obtain the user's visual acuity at different distances from the test target, and the corresponding test target size; the distance includes the reference distance and non-reference distance;

[0007] Based on the test target size corresponding to the reference distance, determine the corresponding health target size for the user at non-reference distances;

[0008] The target distance is determined from the non-reference distance by comparing the test target size and the healthy target size corresponding to the non-reference distance;

[0009] Based on the target distance and the preset standard axial length, determine the user's axial deformation and / or degree of hyperopia.

[0010] In one possible implementation, determining the health target size for the user at a non-reference distance based on the test target size corresponding to the reference distance includes:

[0011] Calculate the health target size using the following formula;

[0012]

[0013] Where y is the size of the health target, d1 is the reference distance, d2 is the non-reference distance, and s is the size of the test target.

[0014] In one possible implementation, the target distance is determined from the non-reference distance by comparing the test target size and the healthy target size corresponding to the non-reference distance, including:

[0015] Determine whether the test target size and the health target size are the same for non-reference distances;

[0016] If the test target size and health target size are the same for all non-reference distances, then the longest distance among all non-reference distances is determined as the target distance.

[0017] If the test target size and health target size are different for all non-reference distances, then the shortest distance among all non-reference distances is determined as the target distance.

[0018] Otherwise, the target distance is determined from the non-reference distances by comparing the test target size and the healthy target size corresponding to the smallest distance among the non-reference distances.

[0019] In one possible implementation, the target distance is determined from the non-reference distances by comparing the test target size and the healthy target size corresponding to the minimum distance among the non-reference distances, including:

[0020] Determine whether the test target size and the health target size are the same for the smallest distance among non-reference distances;

[0021] If the test target size and the health target size are the same for the smallest non-reference distance, the longest distance among all non-reference distances with the same test target size and health target size is determined as the target distance.

[0022] If the test target size and the health target size are different among the minimum non-reference distances, the shortest distance among all non-reference distances with the same test target size and health target size is determined as the target distance.

[0023] In one possible implementation, the user's axial length deformation is determined based on the target distance and a preset standard axial length, including:

[0024] Calculate the axial length deformation using the following formula;

[0025]

[0026] Where α is the axial length deformation, ν is the preset standard axial length, and u is the target distance.

[0027] In one possible implementation, determining the user's degree of farsightedness based on the target distance and a preset standard axial length includes:

[0028] The degree of farsightedness can be calculated using the following formula;

[0029] b = (u / w)(w+v) / (u+v);

[0030] Where b is the degree of farsightedness, ν is the preset standard axial length, u is the target distance, and w is the preset farsighted distance.

[0031] In one possible implementation, the vision detection method further includes:

[0032] The system obtains the visual acuity of users at different distances from the test target under different screen time durations, as well as the size of the first target corresponding to the visual acuity test; the distances include the reference distance and non-reference distances.

[0033] For each duration of screen time, based on the first optotype size corresponding to the reference distance, determine the second optotype size corresponding to the user at a non-reference distance for the same duration of screen time;

[0034] By comparing the first and second target sizes at non-reference distances, the target distance corresponding to the viewing time is determined.

[0035] The optimal screen time for a user is determined based on the target distance corresponding to all screen time durations.

[0036] In one possible implementation, the vision detection method further includes:

[0037] The system obtains the user's visual acuity at different distances from the test target under varying ambient brightness, as well as the corresponding first target size; the distances include reference distances and non-reference distances.

[0038] For each ambient brightness, based on the first target size corresponding to the reference distance, determine the second target size corresponding to the user at a non-reference distance under the ambient brightness.

[0039] By comparing the first and second target sizes at non-reference distances, the target distance corresponding to the ambient brightness is determined.

[0040] The optimal ambient brightness for the user is determined based on the target distance corresponding to all ambient brightness levels.

[0041] In one possible implementation, the vision detection method further includes:

[0042] Determine the historical target distance for each user;

[0043] Obtain the user's visual acuity at different distances from the test target under different viewing durations, and the corresponding first target size, including:

[0044] Obtain the corresponding visual acuity of the user at different distances from the test target within the historical target distance under different screen time durations.

[0045] In one possible implementation, the optimal screen time for the user is determined based on the target distance corresponding to all screen time durations, including:

[0046] Arrange all screen time durations from smallest to largest, and determine the screen time duration for which the target distance changes first as the user's optimal screen time duration.

[0047] In one possible implementation, obtaining the user's visual acuity at different distances from the test target, and the corresponding test target size, includes:

[0048] Display the test target display interface corresponding to the user in the human-computer interaction display device;

[0049] For the test target display interface, the direction of the test target is input by the user through an input device at different distances from the test target.

[0050] Based on the user-inputted optotype direction and the actual optotype direction of the test optotype, the corresponding test visual acuity for the user at different distances from the test optotype, and the corresponding test optotype size, are determined.

[0051] Secondly, embodiments of this application also provide a vision testing device, which includes:

[0052] The acquisition module is used to acquire the user's visual acuity at different distances from the test target, and the size of the test target corresponding to the visual acuity; the distance includes the reference distance and non-reference distance;

[0053] The determination module is used to determine the corresponding health target size for the user at non-reference distances based on the test target size corresponding to the reference distance;

[0054] The determination module is also used to determine the target distance from the non-reference distance by comparing the test target size and the health target size corresponding to the non-reference distance;

[0055] The determination module is also used to determine the user's axial length deformation and / or degree of hyperopia based on the target distance and the preset standard axial length.

[0056] In one possible implementation, the determining module is specifically used to calculate the health target size using the following formula;

[0057]

[0058] Where y is the size of the health target, d1 is the reference distance, d2 is the non-reference distance, and s is the size of the test target.

[0059] In one possible implementation, the determining module is specifically used to determine whether the test target size and the healthy target size corresponding to the non-reference distance are the same; if the test target size and the healthy target size corresponding to all non-reference distances are the same, then the longest distance among all non-reference distances is determined as the target distance; if the test target size and the healthy target size corresponding to all non-reference distances are not the same, then the shortest distance among all non-reference distances is determined as the target distance; otherwise, the target distance is determined from the non-reference distances by comparing the test target size and the healthy target size corresponding to the shortest distance among the non-reference distances.

[0060] In one possible implementation, the determining module is specifically used to determine whether the test target size and the healthy target size of the minimum distance among non-reference distances are the same; if the test target size and the healthy target size of the minimum distance among non-reference distances are the same, the longest distance among all non-reference distances with the same test target size and healthy target size is determined as the target distance; if the test target size and the healthy target size of the minimum distance among non-reference distances are not the same, the shortest distance among all non-reference distances with the same test target size and healthy target size is determined as the target distance.

[0061] In one possible implementation, the determining module is specifically used to calculate the axial length deformation using the following formula;

[0062]

[0063] Where α is the axial length deformation, ν is the preset standard axial length, and u is the target distance.

[0064] In one possible implementation, the determining module is specifically used to calculate the degree of farsightedness using the following formula;

[0065] b = (u / w)(w+v) / (u+v);

[0066] Where b is the degree of farsightedness, ν is the preset standard axial length, u is the target distance, and w is the preset farsighted distance.

[0067] In one possible implementation, the acquisition module is further configured to acquire the test visual acuity of the user at different distances from the test target under different eye use durations, and the size of the first target corresponding to the test visual acuity; the distance includes a reference distance and a non-reference distance;

[0068] The determination module is also used to determine, for each viewing duration, the second visual target size corresponding to the user at a non-reference distance based on the first visual target size corresponding to the reference distance;

[0069] The determination module is also used to determine the target distance corresponding to the viewing time by comparing the first and second target sizes corresponding to the non-reference distance;

[0070] The determination module is also used to determine the user's optimal screen time based on the target distance corresponding to all screen time durations.

[0071] In one possible implementation, the acquisition module is further configured to acquire the test visual acuity of the user at different distances from the test target under different ambient brightness conditions, and the size of the first target corresponding to the visual acuity; the distance includes a reference distance and a non-reference distance;

[0072] The determination module is also used to determine, for each ambient brightness, the second target size corresponding to the user at a non-reference distance based on the first target size corresponding to the reference distance;

[0073] The determination module is also used to determine the target distance under ambient light by comparing the first target size and the second target size corresponding to the non-reference distance;

[0074] The determination module is also used to determine the optimal ambient brightness for the user based on the target distance corresponding to all ambient brightness levels.

[0075] In one possible implementation, the determining module is further configured to determine the historical target distance corresponding to the user;

[0076] The acquisition module is also used to acquire the test visual acuity of the user at different distances from the test target within the historical target distance under different eye use durations.

[0077] In one possible implementation, the determining module is specifically used to sort all the screen time durations from smallest to largest, and determine the screen time duration for which the target distance changes first as the user's optimal screen time duration.

[0078] In one possible implementation, the acquisition module is specifically used to display a test target display interface corresponding to the user in a human-computer interaction display device; for the test target display interface, it receives the target direction input by the user through an input device at different distances from the test target; based on the target direction input by the user and the actual target direction of the test target, it determines the test visual acuity corresponding to the user at different distances from the test target, and the test target size corresponding to the test visual acuity.

[0079] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any vision detection method of the first aspect.

[0080] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of any vision detection method according to the first aspect.

[0081] This application provides a vision testing method, device, electronic device, and storage medium. The method includes: acquiring the user's test visual acuity at different distances from a test target, and the corresponding test target size; the distances include a reference distance and non-reference distances; determining the user's healthy target size at non-reference distances based on the test target size at the reference distance; determining a target distance from the non-reference distances by comparing the test target size at the non-reference distance with the healthy target size; and determining the user's axial length deformation based on the target distance and a preset standard axial length. This application determines the target distance by using the test target size at the non-reference distance and the healthy target size at the non-reference distance determined based on the test target size at the reference distance. Then, based on the target distance and a preset standard axial length, it determines the user's axial length deformation and / or hyperopia degree. The vision testing is accurate and efficient, and it can accurately determine the user's axial length deformation and / or hyperopia degree. Attached Figure Description

[0082] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0083] Figure 1 A flowchart of a vision testing method provided in an embodiment of this application is shown;

[0084] Figure 2 A flowchart of another vision testing method provided in an embodiment of this application is shown;

[0085] Figure 3 A flowchart of another vision testing method provided in an embodiment of this application is shown;

[0086] Figure 4This paper shows a schematic diagram of the structure of a vision testing device provided in an embodiment of the present application;

[0087] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0088] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0089] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0090] To enable those skilled in the art to utilize the content of this application, and in conjunction with the specific application scenario of "vision testing," the following implementation is provided. For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is primarily described in the context of "vision testing," it should be understood that this is merely an exemplary embodiment.

[0091] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0092] The following is a detailed description of a vision testing method provided in the embodiments of this application.

[0093] Reference Figure 1 The diagram shown is a schematic flowchart of a vision testing method provided in an embodiment of this application. The exemplary steps of this embodiment are described below:

[0094] S101. Obtain the user's visual acuity at different distances from the test target, and the size of the test target corresponding to the visual acuity.

[0095] In this embodiment, the distance includes a reference distance and a non-reference distance. The test visual acuity of the user at both the reference and non-reference distances from the test target, and the corresponding test target size, are obtained. Here, the obtained test visual acuity and corresponding test target size at both the reference and non-reference distances are the same as the test visual acuity and corresponding test target size obtained by the user at both the reference and non-reference distances.

[0096] There is only one reference distance, but there can be multiple non-reference distances.

[0097] Specifically, a test target display interface corresponding to the user is displayed on a human-computer interaction display device; for the test target display interface, the direction of the target input by the user at different distances from the test target is received through an input device; based on the target direction input by the user and the actual target direction of the test target, the test visual acuity corresponding to the user at different distances from the test target and the test target size corresponding to the test visual acuity are determined.

[0098] Input devices can include remote controls, mobile apps, wireless keyboards, etc.

[0099] Here, the human-computer interaction display device simultaneously displays multiple test target display interfaces, each for a single user's vision test. In other words, this application can perform vision tests for multiple users simultaneously. When testing a user's vision, the user stands at a designated distance from their corresponding test target display interface. The interface sequentially displays test targets of various sizes. The user inputs the direction of each test target size displayed. Based on the user's input direction and the actual direction of the test target, the user's visual acuity at that designated distance and the corresponding test target size are obtained. The user then moves to the next distance and performs the test again.

[0100] Furthermore, the number of steps a user needs to move to the next distance can be determined based on the user's historical step count data. For example, if historical data shows that the user moves 3 steps to 1 meter, and the user needs to move 1.5 meters to the next distance, then the user needs to take 1.5 ÷ (1 ÷ 3) steps.

[0101] Furthermore, the distance from the user to the test target in the test target display interface can also be calculated based on the size of the input device in the user's hand.

[0102] For example, the reference distance is 5 meters, and non-reference distances include 1 meter and 3 meters. The user's visual acuity is obtained at 1 meter, 3 meters, and 5 meters from the test target. If the user's visual acuity at 1 meter, 3 meters, and 5 meters from the test target is 4.1, 4.0, and 4.0, then the size of the test target corresponding to the visual acuity is the size of the target at the position of 4.1, 4.0, and 4.0 in the visual acuity chart.

[0103] S102. Based on the test target size corresponding to the reference distance, determine the health target size for the user at non-reference distances.

[0104] Specifically, the size of the health target is calculated using the following formula.

[0105]

[0106] Where y is the size of the health target, d1 is the reference distance, d2 is the non-reference distance, and s is the size of the test target.

[0107] Here, the theoretically healthy target size for the user at other non-reference distances is determined by using the test target size at the reference distance.

[0108] For example, if the baseline distance is 5 meters and the non-baseline distances include 1 meter and 3 meters, then the health target size for the user at 1 meter and 3 meters is determined based on the test target size corresponding to 5 meters. y is the health target size corresponding to 1 meter or 3 meters, d1 is 5 meters, d2 is 1 meter or 3 meters, and s is the test target size corresponding to 5 meters.

[0109] S103. Determine the target distance from the non-reference distance by comparing the test target size and the health target size corresponding to the non-reference distance.

[0110] In this embodiment of the application, by comparing the test target size obtained by the user at a non-reference distance with the theoretical healthy target size of the user at a non-reference distance, the target distance at which the user's eye accommodation begins to change can be determined.

[0111] Specifically, it is determined whether the test target size and the healthy target size corresponding to the non-reference distance are the same; if the test target size and the healthy target size corresponding to all non-reference distances are the same, the longest distance among all non-reference distances is determined as the target distance; if the test target size and the healthy target size corresponding to all non-reference distances are different, the shortest distance among all non-reference distances is determined as the target distance; otherwise, the target distance is determined from the non-reference distances by comparing the test target size and the healthy target size corresponding to the shortest distance among the non-reference distances.

[0112] Furthermore, determine whether the test target size and the healthy target size are the same for the smallest non-reference distance. If the test target size and the healthy target size are the same for the smallest non-reference distance, determine the longest distance among all non-reference distances with the same test target size and healthy target size as the target distance. If the test target size and the healthy target size are not the same for the smallest non-reference distance, determine the shortest distance among all non-reference distances with the same test target size and healthy target size as the target distance.

[0113] In this embodiment, if the test target size and the healthy target size are the same for the shortest non-reference distance, it can be determined that the user has no vision problems at near distances but has vision problems at far distances, therefore the user is myopic. The user's target distance should be the longest distance among all non-reference distances where the test target size and the healthy target size are the same. Conversely, if the test target size and the healthy target size are not the same for the shortest non-reference distance, it can be determined that the user has vision problems at near distances but no vision problems at far distances, therefore the user is hyperopic. The user's target distance should be the shortest distance among all non-reference distances where the test target size and the healthy target size are the same.

[0114] S104. Determine the user's axial length deformation and / or degree of hyperopia based on the target distance and the preset standard axial length.

[0115] Optionally, the axial length deformation can be calculated using the following formula.

[0116]

[0117] Where α is the axial length deformation, ν is the preset standard axial length, and u is the target distance.

[0118] Here, the preset standard axial length should be the axial length of most people with normal vision. The greater the axial deformation, the higher the degree of myopia.

[0119] Optionally, the degree of farsightedness can be calculated using the following formula.

[0120] b = (u / w)(w+v) / (u+v).

[0121] Where b is the degree of farsightedness, ν is the preset standard axial length, u is the target distance, and w is the preset farsighted distance.

[0122] Here, the preset farsightedness distance is generally set to 20cm. The larger the farsightedness parameter, the higher the degree of farsightedness.

[0123] This application provides a vision testing method, which includes: acquiring the user's test visual acuity at different distances from a test target, and the corresponding test target size; the distances include a reference distance and non-reference distances; determining the user's healthy target size at non-reference distances based on the test target size at the reference distance; determining a target distance from the non-reference distances by comparing the test target size at the non-reference distances with the healthy target size; and determining the user's axial length deformation based on the target distance and a preset standard axial length. This application determines the target distance using the test target size at non-reference distances and the corresponding healthy target size at non-reference distances determined based on the test target size at the reference distance. Then, based on the target distance and a preset standard axial length, it determines the user's axial length deformation and / or hyperopia degree. This method provides accurate and efficient vision testing and can accurately determine the user's axial length deformation and / or hyperopia degree.

[0124] Reference Figure 2 The diagram shown is a flowchart of another vision testing method provided in this application embodiment. Steps S202 and S203 are as follows: Figure 1 S102 and S103 in the above steps will not be described in detail here. The following describes the exemplary steps of the embodiments of this application:

[0125] S201. Obtain the test visual acuity of the user at different distances from the test target under different eye use durations, and the size of the first target corresponding to the test visual acuity.

[0126] The distance includes the baseline distance and the non-baseline distance.

[0127] Specifically, the historical target distance for each user is determined, and the test visual acuity is obtained at different distances from the test target within the historical target distance under different eye use durations.

[0128] In this application embodiment, the historical target distance obtained by the user in the previous vision test is determined, and the test vision corresponding to the user at different distances from the test target within the historical target distance under different eye use durations is obtained.

[0129] Here, the user's historical target distance is the distance at which the user's eye accommodation begins to change. Therefore, the factor affecting the user's vision within the historical target distance must be the duration of eye use.

[0130] For example, if the historical target distance is 4 meters, then all non-baseline distances are less than 4 meters.

[0131] S202. For each duration of eye use, determine the second visual target size corresponding to the user at a non-reference distance based on the first visual target size corresponding to the reference distance.

[0132] S203. By comparing the first and second target sizes corresponding to the non-reference distance, determine the target distance corresponding to the viewing time.

[0133] S204. Determine the user's optimal screen time based on the target distance corresponding to all screen time durations.

[0134] Specifically, all screen time durations are arranged from smallest to largest, and the screen time duration for which the target distance changes first is determined as the user's optimal screen time duration.

[0135] For example, if the screen time is 5 minutes, 10 minutes, 20 minutes, and 30 minutes, and the target distances corresponding to the screen time are 4 meters, 4 meters, 3 meters, and 2 meters, and the screen time for which the target distance first changes is 20 minutes, then the optimal screen time for the user is determined to be 20 minutes.

[0136] This application provides another vision testing method, which includes acquiring the test visual acuity of a user at different distances from the test target under different viewing durations, and the first optotype size corresponding to the test visual acuity; for each viewing duration, determining the second optotype size corresponding to the user at a non-reference distance based on the first optotype size corresponding to the reference distance; determining the target distance corresponding to the viewing duration by comparing the first and second optotype sizes corresponding to the non-reference distance; and determining the user's optimal viewing duration based on the target distances corresponding to all viewing durations. This method enables the determination of a user's optimal viewing duration.

[0137] Reference Figure 3 The diagram shown is a flowchart of another vision testing method provided in an embodiment of this application. Steps S302 and S303 are as follows: Figure 1 S102 and S103 are described below as exemplary steps in the embodiments of this application:

[0138] S301. Obtain the test visual acuity of the user at different distances from the test target under different ambient brightness conditions, and the size of the first target corresponding to the visual acuity.

[0139] The distance includes the baseline distance and the non-baseline distance.

[0140] Specifically, the historical target distance for the user is determined, and the test visual acuity of the user at different distances from the test target within the historical target distance is obtained under different ambient brightness conditions.

[0141] In this application embodiment, the historical target distance obtained by the user in previous vision tests is determined, and the test vision corresponding to the user at different distances from the test target within the historical target distance under different ambient brightness conditions is obtained.

[0142] Here, the user's historical target distance is the distance at which the user's eye accommodation begins to change. Therefore, the factor affecting the user's vision within the historical target distance must be ambient brightness.

[0143] S302. For each ambient brightness, based on the first target size corresponding to the reference distance, determine the second target size corresponding to the user at a non-reference distance under the ambient brightness.

[0144] S303. By comparing the first and second target sizes corresponding to the non-reference distance, determine the target distance corresponding to the ambient brightness.

[0145] S304. Determine the optimal ambient brightness for the user based on the target distance corresponding to all ambient brightness levels.

[0146] Specifically, all ambient brightness levels are arranged from smallest to largest, and the ambient brightness level at which the target distance changes first is determined as the user's optimal ambient brightness.

[0147] For example, the ambient brightness is arranged from smallest to largest as a, b, c, d, and the target distances corresponding to the ambient brightness are 4 meters, 4 meters, 3 meters, and 2 meters, respectively. The ambient brightness whose target distance changes first is c, and the optimal ambient brightness for the user is determined to be c.

[0148] This application provides another vision testing method, which includes acquiring the test visual acuity of a user at different distances from a test target under different ambient brightness levels, and the corresponding first optotype size; for each ambient brightness level, determining the second optotype size corresponding to the user at a non-reference distance based on the first optotype size corresponding to a reference distance; determining the target distance corresponding to the ambient brightness level by comparing the first and second optotype sizes corresponding to the non-reference distances; and determining the user's optimal ambient brightness based on the target distances corresponding to all ambient brightness levels. This method enables the determination of the user's optimal ambient brightness.

[0149] Reference Figure 4 The diagram shown is a schematic representation of a vision testing device provided in an embodiment of this application. The vision testing device includes:

[0150] The acquisition module 401 is used to acquire the user's visual acuity at different distances from the test target, and the size of the test target corresponding to the visual acuity; the distance includes the reference distance and non-reference distance;

[0151] The determination module 402 is used to determine the health target size for the user at a non-reference distance based on the test target size corresponding to the reference distance;

[0152] The determination module 402 is also used to determine the target distance from the non-reference distance by comparing the test target size and the health target size corresponding to the non-reference distance;

[0153] The determination module 402 is also used to determine the user's axial length deformation and / or degree of hyperopia based on the target distance and the preset standard axial length.

[0154] In one possible implementation, the determining module 402 is specifically used to calculate the health target size using the following formula;

[0155]

[0156] Where y is the size of the health target, d1 is the reference distance, d2 is the non-reference distance, and s is the size of the test target.

[0157] In one possible implementation, the determining module 402 is specifically used to determine whether the test target size and the health target size corresponding to the non-reference distance are the same; if the test target size and the health target size corresponding to all non-reference distances are the same, then the longest distance among all non-reference distances is determined as the target distance; otherwise, the shortest distance among all non-reference distances where the test target size and the health target size are different is determined as the target distance.

[0158] In one possible implementation, the determining module 402 is specifically used to calculate the axial length deformation using the following formula;

[0159]

[0160] Where α is the axial length deformation, ν is the preset standard axial length, and u is the target distance.

[0161] In one possible implementation, the determining module 402 is specifically used to calculate the degree of farsightedness using the following formula;

[0162] b = (u / w)(w+v) / (u+v);

[0163] Where b is the degree of farsightedness, ν is the preset standard axial length, u is the target distance, and w is the preset farsighted distance.

[0164] In one possible implementation, the acquisition module 401 is further configured to acquire the test visual acuity of the user at different distances from the test target under different eye use durations, and the size of the first target corresponding to the test visual acuity; the distance includes a reference distance and a non-reference distance;

[0165] The determining module 402 is also used to determine, for each viewing duration, the second visual target size corresponding to the user at a non-reference distance based on the first visual target size corresponding to the reference distance;

[0166] The determining module 402 is also used to determine the target distance corresponding to the viewing time by comparing the first visual target size and the second visual target size corresponding to the non-reference distance;

[0167] The determination module 402 is also used to determine the user's optimal screen time based on the target distance corresponding to all screen time durations.

[0168] In one possible implementation, the acquisition module 401 is further configured to acquire the test visual acuity of the user at different distances from the test target under different ambient brightness conditions, and the size of the first target corresponding to the visual acuity; the distance includes a reference distance and a non-reference distance;

[0169] The determining module 402 is also used to determine, for each ambient brightness, the second target size corresponding to the user at a non-reference distance based on the first target size corresponding to the reference distance;

[0170] The determining module 402 is also used to determine the target distance corresponding to the ambient brightness by comparing the first target size and the second target size corresponding to the non-reference distance;

[0171] The determination module 402 is also used to determine the optimal ambient brightness for the user based on the target distance corresponding to all ambient brightness levels.

[0172] In one possible implementation, the determining module 402 is further configured to determine the historical target distance corresponding to the user;

[0173] The acquisition module 401 is also used to acquire the test visual acuity of the user at different distances from the test target within the historical target distance under different eye use durations.

[0174] In one possible implementation, the determining module 402 is specifically used to arrange all the screen time durations from smallest to largest, and determine the screen time duration for which the target distance changes first as the user's optimal screen time duration.

[0175] In one possible implementation, the acquisition module 401 is specifically used to display a test target display interface corresponding to the user in a human-computer interaction display device; for the test target display interface, it receives the target direction input by the user through an input device at different distances from the test target; based on the target direction input by the user and the actual target direction of the test target, it determines the test visual acuity corresponding to the user at different distances from the test target, and the test target size corresponding to the test visual acuity.

[0176] like Figure 5 As shown in the embodiment of this application, an electronic device 500 includes a processor 501, a memory 502, and a bus. The memory 502 stores machine-readable instructions that can be executed by the processor 501. When the electronic device is running, the processor 501 communicates with the memory 502 through the bus, and the processor 501 executes the machine-readable instructions to perform the steps of the vision detection method described above.

[0177] Specifically, the memory 502 and processor 501 mentioned above can be general-purpose memory and processor, without any specific limitations. When the processor 501 runs the computer program stored in the memory 502, it can execute the vision detection method mentioned above.

[0178] Corresponding to the above vision testing method, this application embodiment also provides a computer-readable storage medium storing a computer program, which is executed by a processor to perform the steps of the above vision testing method.

[0179] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.

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

[0181] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0182] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the information processing methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0183] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A vision testing method executed by a computer program, characterized in that, The vision testing method includes: The system obtains the user's visual acuity at different distances from the test target, and the corresponding test target size; the distances include reference distances and non-reference distances. Based on the test target size corresponding to the reference distance, determine the health target size for the user at the non-reference distance; The target distance is determined from the non-reference distance by comparing the test target size and the healthy target size corresponding to the non-reference distance; Based on the target distance and the preset standard axial length, the user's axial deformation and / or degree of hyperopia are determined; The step of determining the user's axial length deformation based on the target distance and the preset standard axial length includes: calculating the axial length deformation using the following formula; ;in, α For the deformation of the eye axis, ν To preset the standard axial length, u The target distance.

2. The vision detection method executed by a computer program according to claim 1, characterized in that, Determining the health target size for the user at the non-reference distance based on the test target size corresponding to the reference distance includes: The health target size is calculated using the following formula; ; in, y For health target size, d 1 is the baseline distance. d 2 represents a non-baseline distance. s To test the size of the target.

3. The vision testing method executed by a computer program according to claim 2, characterized in that, The step of determining the target distance from the non-reference distance by comparing the test target size and the healthy target size corresponding to the non-reference distance includes: Determine whether the test target size and the health target size corresponding to the non-reference distance are the same; If the test target size and health target size are the same for all non-reference distances, then the longest distance among all non-reference distances is determined as the target distance. If the test target size and health target size are different for all non-reference distances, then the shortest distance among all non-reference distances is determined as the target distance. Otherwise, the target distance is determined from the non-reference distances by comparing the test target size and the healthy target size corresponding to the smallest distance among the non-reference distances.

4. The vision testing method executed by a computer program according to claim 3, characterized in that, The step of determining the target distance from the non-reference distances by comparing the test target size and the healthy target size corresponding to the minimum distance among the non-reference distances includes: Determine whether the test target size and the health target size are the same for the smallest distance among the non-reference distances; If the test target size and the health target size are the same for the smallest distance among the non-reference distances, the longest distance among all non-reference distances with the same test target size and health target size is determined as the target distance; If the test target size and the health target size are different among the minimum distances in the non-reference distances, the shortest distance among all non-reference distances with the same test target size and health target size is determined as the target distance.

5. The vision testing method executed by a computer program according to claim 3, characterized in that, The step of determining the user's degree of farsightedness based on the target distance and a preset standard axial length includes: The degree of farsightedness is calculated using the following formula; ; in, For the degree of farsightedness, ν To preset the standard axial length, u is the target distance, and w is the preset far-viewing distance.

6. The vision testing method executed by a computer program according to any one of claims 1 to 4, characterized in that, The vision testing method also includes: The system obtains the test visual acuity of a user at different distances from the test target under different screen time durations, and the size of the first target corresponding to the test visual acuity; the distance includes a reference distance and a non-reference distance. For each duration of eye use, a second visual target size corresponding to the user at the non-reference distance is determined based on the first visual target size corresponding to the reference distance. The target distance corresponding to the viewing duration is determined by comparing the first and second target sizes at the non-reference distance. The optimal screen time for the user is determined based on the target distance corresponding to all screen time durations.

7. The vision testing method executed by a computer program according to any one of claims 1 to 4, characterized in that, The vision testing method also includes: The system acquires the user's visual acuity at different distances from the test target under varying ambient brightness, and the corresponding first target size; the distances include a reference distance and non-reference distances. For each ambient brightness, based on the first target size corresponding to the reference distance, determine the second target size corresponding to the user at the non-reference distance under the ambient brightness; By comparing the first and second target sizes corresponding to the non-reference distance, the target distance corresponding to the ambient brightness is determined. The optimal ambient brightness for the user is determined based on the target distance corresponding to all ambient brightness levels.

8. The vision testing method executed by a computer program according to claim 5, characterized in that, The vision testing method also includes: Determine the historical target distance corresponding to the user; The acquisition of the test visual acuity of the user at different distances from the test target under different viewing durations, and the size of the first optotype corresponding to the test visual acuity, includes: Obtain the test visual acuity of the user at different distances from the test target within the historical target distance under different screen time durations.

9. The vision testing method executed by a computer program according to claim 5, characterized in that, The step of determining the user's optimal screen time based on the target distance corresponding to all screen time durations includes: Arrange all screen time durations from smallest to largest, and determine the screen time duration for which the target distance changes first as the user's optimal screen time duration.

10. The vision testing method executed by a computer program according to claim 1, characterized in that, The step of obtaining the user's visual acuity at different distances from the test target, and the test target size corresponding to the visual acuity, includes: The test target display interface corresponding to the user is displayed on the human-computer interaction display device; The test target display interface receives the target direction input by the user through an input device at different distances from the test target; Based on the user-input target direction and the actual target direction of the test target, determine the user's test visual acuity at different distances from the test target, and the test target size corresponding to the test visual acuity.

11. A vision testing device, characterized in that, The vision testing device includes: The acquisition module is used to acquire the user's test visual acuity at different distances from the test target, and the test target size corresponding to the test visual acuity; the distance includes a reference distance and a non-reference distance; The determination module is used to determine the health target size corresponding to the user at the non-reference distance based on the test target size corresponding to the reference distance; The determining module is further configured to determine the target distance from the non-reference distance by comparing the test target size and the health target size corresponding to the non-reference distance; The determining module is further configured to determine the user's axial length deformation based on the target distance and the preset standard axial length. The determining module is specifically used to calculate the axial length deformation using the following formula; ;in, α For the deformation of the eye axis, ν To preset the standard axial length, u The target distance.

12. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the vision detection method as described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the vision detection method as described in any one of claims 1 to 10.