Device usage control method and apparatus, computer storage medium, and electronic device

CN117218990BActive Publication Date: 2026-10-16GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311092788.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2026-10-16
Estimated Expiration
2043-08-28

AI Technical Summary

Benefits of technology

[0014] Fourthly, embodiments of this application provide an electronic device, characterized in that it includes: a processor and a memory; wherein the memory stores a computer program, the computer program being adapted to be loaded by the processor and to execute the method steps provided in the first aspect of embodiments of this application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117218990B_ABST
    Figure CN117218990B_ABST
Patent Text Reader

Abstract

The application discloses a device use control method, device, computer storage medium and electronic device. The method comprises the following steps: determining the age of a user and the current ambient brightness; determining the total viewing time corresponding to the user according to the age of the user, and determining the single viewing time according to the current ambient brightness; counting the actual viewing time of the user, and performing a target operation according to the actual viewing time, the single viewing time and the total viewing time. The method can protect the vision of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a device control method, apparatus, computer storage medium, and electronic device. Background Technology

[0002] In the automotive industry, as cars develop rapidly, display technology is also rapidly evolving. Currently, technological advancements in displays are so pervasive that we can see numerous applications of LCD screens in cars.

[0003] However, while LCD screens bring us convenience and entertainment in cars, the damage they cause to our eyes should not be ignored. Summary of the Invention

[0004] This application provides a device control method, apparatus, computer storage medium, and electronic device that can protect the user's eyesight.

[0005] In a first aspect, embodiments of this application provide a device usage control method, the method comprising:

[0006] Determine the user's age and the current ambient light level;

[0007] The total viewing time for the user is determined based on the user's age, and the viewing time for a single session is determined based on the current ambient brightness.

[0008] The actual viewing time of the user is calculated, and the target operation is performed based on the actual viewing time, the single viewing time, and the total viewing time.

[0009] Secondly, embodiments of this application provide a device for controlling the use of an equipment, the device comprising:

[0010] The first determining module is used to determine the user's age and the current ambient brightness;

[0011] The second determining module is used to determine the total viewing time corresponding to the user based on the user's age, and to determine the single viewing time based on the current ambient brightness.

[0012] The execution module is used to calculate the user's actual viewing time and perform the target operation based on the actual viewing time, the single viewing time, and the total viewing time.

[0013] Thirdly, embodiments of this application provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the method steps provided in the first aspect of embodiments of this application.

[0014] Fourthly, embodiments of this application provide an electronic device, characterized in that it includes: a processor and a memory; wherein the memory stores a computer program, the computer program being adapted to be loaded by the processor and to execute the method steps provided in the first aspect of embodiments of this application.

[0015] The beneficial effects of the technical solutions provided in some embodiments of this application include at least the following:

[0016] This application embodiment determines the user's age and current ambient brightness, then determines the user's total viewing time based on age, the single viewing time based on ambient brightness, and calculates the user's actual viewing time. Based on the actual viewing time, single viewing time, and total viewing time, the target operation is executed. Determining the total viewing time based on age helps users rationally allocate their entertainment time and avoid excessive viewing. Determining the single viewing time based on ambient brightness automatically adjusts the viewing time according to environmental conditions, adapting to visual needs under different brightness levels. This not only prevents users from staring at the screen for extended periods, thus protecting their eyesight, but also prevents users from becoming addicted to audiovisual entertainment, missing out on surrounding scenery, and reducing interaction with others. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 An exemplary system architecture diagram of a device usage control method provided in this application embodiment;

[0019] Figure 2 A schematic flowchart illustrating a device usage control method provided in an embodiment of this application;

[0020] Figure 3 A schematic diagram of an age selection interface provided in an embodiment of this application;

[0021] Figure 4 This is a schematic diagram of a child mode settings interface provided in an embodiment of this application;

[0022] Figure 5 A schematic diagram of a pop-up interface provided in an embodiment of this application;

[0023] Figure 6A flowchart illustrating a specific device usage control method provided in this application embodiment;

[0024] Figure 7 This is a schematic diagram of the structure of a device control apparatus provided in an embodiment of this application;

[0025] Figure 8 This application provides a schematic diagram of the structure of an electronic device. Detailed Implementation

[0026] To make the features and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0027] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0028] In the automotive industry, as cars develop rapidly, display technology is also rapidly evolving. Currently, technological advancements in displays are so pervasive that we can see numerous applications of LCD screens in cars.

[0029] However, while LCD screens bring us convenience and entertainment in cars, the harm they can cause to our eyes cannot be ignored. For example, children often sit in the back seat watching entertainment screens while driving, and prolonged or improper viewing can easily lead to significant damage to their eyesight.

[0030] Therefore, this application provides a device usage control method that determines the user's total viewing time based on the user's age and the single viewing time based on the current ambient brightness; it counts the user's actual viewing time and performs target operations based on the actual viewing time, single viewing time, and total viewing time, such as outputting pop-up notification messages, turning off the display screen, or shutting down the device; thereby protecting the user's eyesight.

[0031] Please see Figure 1 , Figure 1 This is an exemplary system architecture diagram of a device usage control method provided in an embodiment of this application.

[0032] like Figure 1 As shown, the system architecture may include a vehicle 101, a network 102, an in-vehicle display 104, and a server 103. The vehicle 101 may include one or more in-vehicle displays 104. The in-vehicle displays 104 may be located in the driver's seat, passenger seat, or rear seat. This embodiment does not limit the location of the in-vehicle displays 104 within the vehicle 101. The in-vehicle displays 104 provide vehicle information and entertainment functions. The network 102 serves as the medium for providing a communication link between the vehicle 101 and the server 103. The network 102 may include various types of wired or wireless communication links, such as wired communication links including fiber optic cables, twisted-pair cables, or coaxial cables, and wireless communication links including Bluetooth, Wireless-Fidelity (Wi-Fi), or microwave communication links.

[0033] Vehicle 101 can interact with server 103 via network 102 to receive or send messages to server 103. For example, vehicle 101 can receive video data sent by server 103 via network 102. After receiving the video data from server 103, vehicle 101 can play it on in-vehicle display screen 104 for user viewing. Vehicle 101 can be any type of car. Server 103 can be a business server providing various services. It should be noted that server 103 can be hardware or software. When server 103 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When server 103 is software, it can be implemented as multiple software programs or software modules (e.g., used to provide distributed services), or as a single software program or software module; no specific limitations are made here.

[0034] It should be understood that Figure 1 The number of vehicles, networks, displays, and servers shown is merely illustrative; any number of vehicles, networks, displays, and servers can be used depending on implementation needs. Furthermore, the system architecture provided in this application embodiment may only include vehicle 101 and an in-vehicle display 104 located inside vehicle 101. That is, the vehicle may not interact with the server. In this case, vehicle 101 can store video data locally and then play it through the in-vehicle display 104 for user viewing.

[0035] Furthermore, the device used for viewing by the user is not limited to vehicles. In some other usage scenarios, the device used for viewing by the user can also be other electronic devices with displays. Electronic devices can be, but are not limited to, mobile phones, tablets, desktop computers, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), etc. The following embodiments of this application will be described using a vehicle 101 as an example of the device used for viewing by the user.

[0036] Figure 2 An exemplary flowchart of a device usage control method provided in an embodiment of this application is shown. Figure 2 As shown, the device control method may include the following steps:

[0037] S201: Determine the user's age and the current ambient light level.

[0038] Specifically, vehicle 101 may also include a light sensor. This light sensor can be located inside the vehicle to collect the current ambient brightness inside the vehicle. For example, the light sensor can be located near the vehicle display screen 104, thereby enabling more accurate collection of the current ambient brightness near the vehicle display screen 104.

[0039] Because the ambient brightness measured while the vehicle 101 is traveling may fluctuate when driving through forests, or may be very low for a period of time when passing through tunnels, in order to improve the accuracy of the ambient brightness measurement, in this embodiment of the application, if the ambient brightness measured by the light sensor changes too much over a period of time, the maximum brightness value among all ambient brightness values ​​collected within that period of time can be used as the current ambient brightness. This period of time is, for example, but not limited to, 5 minutes. If the ambient brightness measured by the light sensor does not change much over a period of time, then the currently collected ambient brightness is used as the current ambient brightness. For example, when the ambient brightness changes more than 300 lux over a period of time, it can be considered that the change in ambient brightness over that period of time is too large. Conversely, when the ambient brightness changes less than 300 lux over a period of time, it can be considered that the change in ambient brightness over that period of time is small.

[0040] Optionally, the user's age can be obtained through user input. Specifically, the vehicle 101 can receive user input for setting the user's age, and in response to the user input, the user's age can be determined. This user input may include, but is not limited to, a click or swipe operation input via the vehicle display screen 104, a click operation input via a physical button on the vehicle 101, or a swipe operation input via a scroll wheel on the vehicle 101. The user's input age can be a specific age or an age range.

[0041] For example, such as Figure 3 The illustrated age selection interface 30 can include multiple age ranges, such as "under 3 years old," "3 to 5 years old," "5 to 6 years old," and "6 years and older." Users can input clicks on this age selection interface 30 to select the corresponding age range. If a user clicks the icon corresponding to "3 to 5 years old," it can be determined that the user's age falls within the 3-5 year old range. It should be noted that the specific age range setting can be a factory setting or a personalized setting by the user according to their own needs; this embodiment does not limit this.

[0042] Optionally, the user's age can be obtained from captured image information containing the user. Specifically, vehicle 101 may include a camera. The camera may be located inside vehicle 101. For example, the camera may be located above the in-vehicle display screen 104. The camera of vehicle 101 can capture image information containing the user. Vehicle 101 can process the captured image information to obtain the user's age.

[0043] Specifically, vehicle 101 can input image information containing the user into a pre-stored age recognition model. This age recognition model can identify the user's age from the image information. The pre-stored age recognition model can be trained using a large amount of sample data containing facial image information of known ages.

[0044] After acquiring image information containing the user, the user's age can be obtained not only by using the pre-stored age recognition model mentioned above, but also by matching the user's image information with pre-stored facial images.

[0045] Specifically, the pre-stored facial images can be pre-recorded by the user and stored in the local memory of vehicle 101. Simultaneously, when recording a facial image, the user can also input the age corresponding to the user in that facial image. In some specific implementations, the user can pre-record multiple facial images, and the user can input the corresponding age for each recorded facial image. It is not limited to the user directly inputting the user's age; in specific implementations, the user can also input the user's date of birth, but this application embodiment does not limit this.

[0046] Specifically, if the user's image information matches a pre-stored facial image with a match rate exceeding a preset threshold (e.g., but not limited to 90%), then the user is identified as the user of the facial image with a match rate exceeding the preset threshold. The user's age is then the age corresponding to the user in the facial image.

[0047] It should be noted that as time goes by, the age of the user corresponding to the pre-recorded facial image will also increase. Therefore, Vehicle 101 can update the user's age by combining the current time and the user's date of birth.

[0048] S202: Determine the total viewing time for the user based on the user's age, and determine the single viewing time based on the current ambient brightness.

[0049] Specifically, after determining the user's age, the age range to which the user's age belongs can be further determined. A first preset mapping relationship is then searched to determine the total viewing time corresponding to that age range. The first preset mapping relationship includes multiple different age ranges and the total viewing time corresponding to each age range. It should be understood that in this embodiment, the total viewing time is for a statistical period. A statistical period is, for example, but not limited to, half a day, a day, or a week. The following embodiment uses a statistical period of one day as an example for illustration.

[0050] Specifically, the total daily viewing time of the in-vehicle display screen 104 varies for users of different age ranges (one statistical period). For example, as shown in Table 1, the first mapping relationship can be: for users "under 3 years old", the total daily viewing time does not exceed 30 minutes; for users "3 to 5 years old", the total daily viewing time does not exceed 1 hour; for users "5 to 6 years old", the total daily viewing time does not exceed 1 hour and 30 minutes; and for users "6 years and older", the total daily viewing time does not exceed 2 hours. Therefore, after determining the user's age, the corresponding total viewing time is determined based on the age range they fall into. The age range and total viewing time mentioned above can be factory settings or set by the user.

[0051] Table 1 First Mapping Relationship

[0052] children under 3 years old 30 minutes 3 to 5 years old 1 hour 5 to 6 years old 1 hour 30 minutes 6 years and older 2 hours

[0053] It is known that ambient brightness affects a user's eyesight. To better protect a user's vision, in addition to limiting the total daily viewing time, it is also necessary to set the duration of each viewing session. Generally, the lower the ambient brightness, the easier it is for the eyes to tire; conversely, the higher the ambient brightness, the less likely the eyes are to tire. Therefore, by determining the brightness range to which the current ambient brightness belongs, a second preset mapping relationship can be found to determine the duration of each viewing session corresponding to that brightness range. The second preset mapping relationship includes multiple different brightness ranges and the duration of each viewing session corresponding to each brightness range. The larger the brightness value corresponding to a brightness range, the longer the duration of the viewing session; the smaller the brightness value corresponding to a brightness range, the shorter the duration of the viewing session. The duration of each viewing session is not limited to setting brightness ranges; in specific implementations, the relationship between ambient brightness and duration of each viewing session can also be set as a linear relationship, specifically a direct proportional relationship. This application embodiment does not limit this. The brightness range and duration of each viewing session can be factory settings or user-defined settings.

[0054] For example, as shown in Table 2, the second mapping relationship is as follows: when the brightness range is greater than 100 lux, the single viewing time is 20 minutes; when the brightness range is 5-100 lux, the single viewing time is 15 minutes; when the brightness range is less than 5 lux, the single viewing time is 10 minutes.

[0055] Table 2 Second Mapping Relationship

[0056] greater than 100 lux 20 minutes 5-100 lux 15 minutes Less than 5 lux 10 minutes

[0057] To further protect the user's eyesight, in addition to determining the duration of each viewing session based on the current ambient brightness, it is also necessary to ensure that the user's eyes can get adequate rest. Therefore, the second preset mapping relationship may also include multiple different brightness ranges and the interval between two viewing sessions corresponding to each brightness range.

[0058] For example, as described in Table 3, when the brightness is greater than 100 lux, the vehicle display screen 104 displays content for 20 minutes and then pauses for 5 minutes, that is, the interval between two viewings is 5 minutes; when the brightness is between 5 and 100 lux, the vehicle display screen 104 displays content for 15 minutes and then pauses for 10 minutes, that is, the interval between two viewings is 15 minutes; when the brightness is less than 5 lux, the vehicle display screen 104 displays content for 10 minutes and then pauses for 20 minutes, that is, the interval between two viewings is 20 minutes.

[0059] The correspondence between brightness range, single viewing duration, and interval duration is shown in Table 3 below.

[0060] Table 3 Second Mapping Relationship

[0061] greater than 100 lux 20 minutes 5 minutes 5-100 lux 15 minutes 10 minutes Less than 5 lux 10 minutes 20 minutes

[0062] S203: Calculate the user's actual viewing time and perform the target operation based on the actual viewing time, single viewing time, and total viewing time.

[0063] Specifically, in order to focus on protecting children's eyesight, this application embodiment can be implemented for children. Therefore, this application embodiment can begin execution after the children's mode is activated. Children's mode is a viewing mode set for children. S201-S203 of this solution will only be executed after children's mode is activated.

[0064] Please see Figure 4 , Figure 4 This is a schematic diagram of a child mode settings interface provided in an embodiment of this application. For example, as shown... Figure 4 As shown, the child mode settings interface 40 may include controls for users to turn child mode on or off. Users can turn on child mode by clicking control 410.

[0065] Therefore, optionally, the user's actual viewing time can be started when the child mode is turned on.

[0066] Alternatively, the user's actual viewing time can also be determined by detecting when the user's gaze falls on the in-vehicle display screen 104.

[0067] Specifically, timing begins when the user's gaze is detected falling on the in-vehicle display screen 104. Timing pauses when the user's gaze moves away from the display screen 104. Timing resumes when the user's gaze falls back on the display screen 104. This allows for accurate calculation of the user's actual viewing time.

[0068] Specifically, to further improve the accuracy of the actual viewing time and avoid misjudgment caused by the user inadvertently falling on the vehicle display screen 104, the timer can be started only after the gaze point is detected falling on the vehicle display screen 104 for a certain period of time (e.g., but not limited to 3 seconds). Similarly, the timer can be paused only after the gaze point is detected moving away from the vehicle display screen 104 for a certain period of time (e.g., but not limited to 3 seconds).

[0069] The user's gaze point can be calculated using a preset gaze point estimation model. This gaze point estimation model can be trained using a large number of facial images with known gaze points. Therefore, in detecting the user's gaze point, this embodiment of the application can acquire the user's facial images at a certain frequency using a camera, and analyze the user's facial images using the aforementioned gaze point estimation model to obtain the user's gaze point.

[0070] Specifically, actual viewing time includes single-session actual viewing time and cumulative actual viewing time. Single-session actual viewing time refers to the duration of each viewing session. Cumulative actual viewing time is the total viewing time within a statistical period.

[0071] It can be seen that when a user watches for the first time within the current statistical period, the cumulative actual viewing time is the same as the single actual viewing time. When a user watches multiple times, the cumulative actual viewing time is the sum of the multiple single actual viewing times. Both the single actual viewing time and the cumulative actual viewing time can be recorded by a timer. When a single viewing ends, the single actual viewing time stops timing, and the cumulative actual viewing time also stops timing. When the next viewing begins, the single actual viewing time resets to zero and starts timing again, while the cumulative actual viewing time continues timing.

[0072] Specifically, the target operation is executed based on the actual viewing time, the duration of a single viewing session, and the total viewing time, including:

[0073] If the actual viewing time in a single session reaches the required viewing time, execute the first objective operation; if the cumulative actual viewing time reaches the required total viewing time, execute the second objective operation.

[0074] In this context, both the first target operation and the second target operation are target operations. A target operation is at least one of the following: outputting a pop-up notification message, turning off the display screen, or shutting down the device. The first target operation and the second target operation may be the same or different. This application's embodiments do not limit this.

[0075] For example, if the actual viewing time in a single session reaches the specified duration, the following can be displayed: Figure 5 The pop-up message 510 shown in (A) indicates that the first target operation is to display... Figure 5 The pop-up message 510 is shown in (A) in the image.

[0076] Furthermore, as shown in Table 3, if the second preset mapping relationship also includes multiple different brightness ranges and the interval between two viewings corresponding to each brightness range, then when the actual viewing time of a single session reaches the single viewing time, it can also display as follows: Figure 5The countdown timer is shown in (A). The next viewing session can only begin after the countdown has ended.

[0077] For example, when the cumulative actual viewing time reaches the total viewing time, the following can be displayed: Figure 5 The pop-up message 530 shown in (B) indicates that the second target operation is to display... Figure 5 The pop-up message 530 is shown in (B) in the image.

[0078] Furthermore, for example, if the cumulative actual viewing time reaches the total viewing time, it indicates that the child's cumulative viewing time for today has exceeded the limit, and the parents will no longer allow the child to watch today. This can be achieved through... Figure 5 The release control 540 shown in (B) in the diagram releases the child mode.

[0079] As can be seen, after disabling the child mode, the in-vehicle display 104 can enter normal working mode. The vehicle will no longer determine the user's age or collect data on the current ambient brightness.

[0080] It can be known that, in addition to through Figure 5 In addition to disabling child mode via the control shown in (B) 540, you can also click... Figure 4 The control 420 in the middle is removed.

[0081] In some possible embodiments, to prevent children from deactivating the child mode themselves and thus failing to protect their eyesight, vehicle 101 needs to perform identity authentication upon receiving a command to deactivate child mode. This authentication may include, but is not limited to, a password set for the user, facial recognition, and fingerprint verification. The aforementioned password, facial recognition, and fingerprint verification are typically set by parents.

[0082] This application embodiment determines the user's age and current ambient brightness, then determines the user's total viewing time based on age, the single viewing time based on ambient brightness, and calculates the user's actual viewing time. Based on the actual viewing time, single viewing time, and total viewing time, the target operation is executed. Determining the total viewing time based on age helps users rationally allocate their entertainment time and avoid excessive viewing. Determining the single viewing time based on ambient brightness automatically adjusts the viewing time according to environmental conditions, adapting to visual needs under different brightness levels. This not only prevents users from staring at the screen for extended periods, thus protecting their eyesight, but also prevents users from becoming addicted to audiovisual entertainment, missing out on surrounding scenery, and reducing interaction with others.

[0083] For example, if the user's age is determined to be 4 years old based on the collected image information including the user, Table 1 can be consulted to determine that the user's age range is 3 to 5 years old, and the total viewing time corresponding to this age range is determined to be 1 hour. Simultaneously, if the ambient brightness is determined to be 200 lux by the light sensor, Table 3 can be consulted to determine that the current ambient brightness falls within the brightness range of greater than 100 lux, and the single viewing time is determined to be 20 minutes, with intervals of 5 minutes. Therefore, after 20 minutes of video playback, the following can be displayed: Figure 5 The pop-up message 510 shown in (A) indicates that the video can be played again after a 5-minute interval. At this time, the ambient brightness can be collected again via the light sensor. If the ambient brightness changes to 50 lux, Table 3 can be consulted to determine the current ambient brightness range as 5-100 lux, and the single viewing duration can be set to 15 minutes with a 10-minute interval. Then, after 15 minutes of video playback, the following message will be displayed: Figure 5 The pop-up message 510 shown in (A) indicates that the video can be played again after a 10-minute interval. This continues until the total playback time reaches 1 hour, at which point the message will be displayed. Figure 5 The pop-up message 530 is shown in (B) in the image.

[0084] Please see Figure 6 , Figure 6 This is a flowchart illustrating a specific device usage control method provided in an embodiment of this application.

[0085] like Figure 6 As shown, the control method used by the device may include at least:

[0086] S601: Receives the first user operation to enable child mode.

[0087] Specifically, considering that adults, in addition to children, also view the display screen, the eye strain from prolonged screen viewing is less than that from prolonged screen viewing by children. Therefore, if an adult is viewing the screen, the child mode does not need to be activated. Thus, the vehicle 101 can only receive a first user operation to activate the child mode when the user is a child. This first user operation can be performed by the user on specific actions related to activating the child mode. Figure 4 The user operation is input through control 410 in the middle.

[0088] S602: In response to the first user operation, display the age selection interface and detect the current ambient brightness.

[0089] Specifically, when the vehicle receives a first user operation to activate the child mode, it responds to the user operation by displaying an age selection interface on the in-vehicle display screen. On this interface, the user can enter their age or date of birth, allowing the vehicle 101 to determine the user's age based on the date of birth; this embodiment does not limit the scope of this application. Simultaneously with the age selection interface displayed, a light sensor continuously monitors the ambient brightness to better protect the user's eyes.

[0090] S603: Based on the age selection interface, receive a second user operation for selecting the user's age.

[0091] For example, the age selection interface is as follows: Figure 3 As shown, users can select an age range by entering a click action on the interface based on this age. If a user clicks the icon corresponding to "3 to 5 years old," it can be determined that the user's age falls within the 3-5 year old range. The user's click on the icon corresponding to "3 to 5 years old" can be considered a second user action.

[0092] S604: In response to a second user action, determine the age range to which the user's age belongs.

[0093] For example, see [link to relevant documentation] Figure 3 If a user clicks the icon corresponding to "3 to 5 years old", it can be determined that the user's age falls within the 3-5 year old range.

[0094] S605: Locate the first preset mapping relationship and determine the total viewing time corresponding to the age range.

[0095] For example, the first preset mapping relationship is shown in Table 1, and will not be described again here.

[0096] S606: Determine the brightness range to which the current ambient brightness belongs.

[0097] Specifically, the current ambient brightness can be obtained by a light sensor. The brightness range can be set by the factory or by the user; this embodiment does not limit this.

[0098] S607: Locate the second preset mapping relationship, determine the single viewing duration corresponding to the brightness range, and the interval duration between two viewings corresponding to the two brightness ranges.

[0099] For example, the second preset mapping relationship is shown in Table 3, and will not be described again here.

[0100] S608: Start playback and record the actual viewing time for a single session and the cumulative actual viewing time.

[0101] Specifically, when the in-vehicle display screen 104 starts playing, the vehicle 101 uses a timer to record the actual viewing time of a single session and the cumulative actual viewing time in real time. When the in-vehicle display screen 104 stops playing, the timer stops recording the actual viewing time of a single session and the cumulative real-time viewing time.

[0102] S609: Determine whether the actual viewing time in a single session is equal to the total viewing time in a single session; if yes, proceed to S610; if no, continue to S609.

[0103] Specifically, if the actual viewing time in a single session is not equal to the total viewing time in a single session, that is, the actual viewing time in a single session is less than the total viewing time in a single session, then continue to execute S609 until the actual viewing time in a single session is equal to the total viewing time in a single session, then execute S610.

[0104] S610: Pause playback and output the first pop-up notification message.

[0105] Specifically, if the actual viewing time in a single session equals the total viewing duration, the in-vehicle display screen 104 pauses playback and outputs a first pop-up notification message. For example, the first pop-up notification message is... Figure 5 The pop-up message shown in (A) is not described in detail here.

[0106] S611: After the display duration of the first pop-up notification message reaches the above-mentioned interval duration, execute S608 again.

[0107] Specifically, different brightness ranges correspond to different single viewing durations and different intervals between viewings. After the display duration of the first pop-up notification message reaches the aforementioned interval, S608 is executed again. The correspondence between brightness range, single viewing duration, and interval is shown in Table 3, and will not be elaborated here.

[0108] S612: Determine whether the cumulative actual viewing time equals the total viewing time; if yes, proceed to S613; if no, continue to S612.

[0109] Specifically, if the cumulative actual viewing time is not equal to the total viewing time, that is, the cumulative actual viewing time is less than the total viewing time, then continue to execute S612 until the cumulative actual viewing time equals the total viewing time, then execute S613.

[0110] S613: End playback and output the second pop-up notification message.

[0111] Specifically, when the cumulative actual viewing time equals the total viewing time, the in-vehicle display screen 104 stops playing and outputs a second pop-up notification message. For example, the second pop-up notification message is... Figure 5 The pop-up message shown in (B) is not described in detail here.

[0112] This application embodiment determines the user's age and current ambient brightness, then determines the user's total viewing time based on age, the single viewing time based on ambient brightness, and calculates the user's actual viewing time. Based on the actual viewing time, single viewing time, and total viewing time, the target operation is executed. Determining the total viewing time based on age helps users rationally allocate their entertainment time and avoid excessive viewing. Determining the single viewing time based on ambient brightness automatically adjusts the viewing time according to environmental conditions, adapting to visual needs under different brightness levels. This not only prevents users from staring at the screen for extended periods, thus protecting their eyesight, but also prevents users from becoming addicted to audiovisual entertainment, missing out on surrounding scenery, and reducing interaction with others.

[0113] Figure 7 An exemplary schematic diagram of a device usage control apparatus provided in an embodiment of this application is shown. Figure 7 As shown, the equipment uses a control device 70, which includes: a first determining module 710, a second determining module 720, and an execution module 730. Wherein:

[0114] The first determining module 710 is used to determine the user's age and the current ambient brightness.

[0115] The second determining module 720 is used to determine the total viewing time corresponding to the user based on the user's age, and to determine the single viewing time based on the current ambient brightness.

[0116] The execution module 730 is used to count the actual viewing time of the user and perform the target operation based on the actual viewing time, the single viewing time and the total viewing time.

[0117] In some possible embodiments, the first determining module 710 includes:

[0118] The receiving unit is used to receive user operations for setting the user's age.

[0119] The first determining unit is configured to determine the user's age in response to the user's operation.

[0120] In some possible embodiments, the first determining module 710 includes:

[0121] The acquisition unit is used to acquire image information containing the user.

[0122] The second determining unit is used to process the image information to obtain the user's age.

[0123] In some possible embodiments, the second determining module 720 includes:

[0124] The third determining unit is used to determine the age range to which the user's age belongs.

[0125] The fourth determining unit is used to search for a first preset mapping relationship and determine the total viewing time corresponding to the age range; the first preset mapping relationship includes multiple different age ranges and the total viewing time corresponding to each age range.

[0126] In some possible embodiments, the second determining module 720 includes:

[0127] The fifth determining unit is used to determine the brightness range to which the current ambient brightness belongs.

[0128] The sixth determining unit is used to find the second preset mapping relationship and determine the single viewing duration corresponding to the brightness range; the second preset mapping relationship includes multiple different brightness ranges and the single viewing duration corresponding to each brightness range.

[0129] In some possible embodiments, the second preset mapping relationship may also include multiple different brightness ranges and the interval between two viewings corresponding to each brightness range.

[0130] In some possible embodiments, the target operation is at least one of the following: outputting a pop-up notification message, turning off the display screen, or shutting down the device.

[0131] In some possible embodiments, the actual viewing time includes both single actual viewing time and cumulative actual viewing time.

[0132] Execution module 730 includes:

[0133] The first execution unit is configured to perform a first target operation when the actual viewing time of a single session reaches the single viewing time.

[0134] The second execution unit is used to perform a second target operation when the cumulative actual viewing time reaches the total viewing time.

[0135] This application embodiment determines the user's age and current ambient brightness, then determines the user's total viewing time based on age, the single viewing time based on ambient brightness, and calculates the user's actual viewing time. Based on the actual viewing time, single viewing time, and total viewing time, the target operation is executed. Determining the total viewing time based on age helps users rationally allocate their entertainment time and avoid excessive viewing. Determining the single viewing time based on ambient brightness automatically adjusts the viewing time according to environmental conditions, adapting to visual needs under different brightness levels. This not only prevents users from staring at the screen for extended periods, thus protecting their eyesight, but also prevents users from becoming addicted to audiovisual entertainment, missing out on surrounding scenery, and reducing interaction with others.

[0136] It should be noted that the device usage control device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the device usage control method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device usage control device and the device usage control method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0137] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0138] Please see Figure 8 This application provides a schematic diagram of the structure of an electronic device. For example... Figure 8 As shown, the electronic device 80 may include: at least one processor 801, at least one network interface 805, user interface 803, memory 804, and at least one communication bus 802.

[0139] The communication bus 802 is used to enable communication between these components.

[0140] The user interface 803 may include a display screen and a camera. The camera can capture real-time images of the user's face; the display screen can show content that the user prefers. Optionally, the user interface 803 may also include a standard wired interface or a wireless interface.

[0141] The network interface 805 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0142] The processor 801 may include one or more processing cores. The processor 801 connects to various parts of the electronic device 80 using various interfaces and lines, and performs various functions and processes data of the electronic device 80 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 804, and by calling data stored in the memory 804. Optionally, the processor 801 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 801 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 801 and may be implemented as a separate chip.

[0143] The memory 804 may include random access memory (RAM) or read-only memory. Optionally, the memory 804 may include a non-transitory computer-readable storage medium. The memory 804 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 804 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 at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 804 may also be at least one storage device located remotely from the aforementioned processor 801. Figure 8 As shown, the memory 804, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a device usage control application.

[0144] exist Figure 8In the illustrated electronic device 80, the user interface 803 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 801 can be used to call the device use control application stored in the memory 804 and specifically perform the following operations:

[0145] Determine the user's age and the current ambient light level;

[0146] The total viewing time for the user is determined based on the user's age, and the viewing time for a single session is determined based on the current ambient brightness.

[0147] The actual viewing time of the user is calculated, and the target operation is performed based on the actual viewing time, the single viewing time, and the total viewing time.

[0148] In some possible embodiments, the processor 801 performs the function of determining the user's age, specifically by performing:

[0149] Receive user input to set the user's age;

[0150] In response to the user's action, the user's age is determined.

[0151] In some possible embodiments, the processor 801 performs the function of determining the user's age, specifically by performing:

[0152] Collect image information containing the user;

[0153] The image information is processed to obtain the user's age.

[0154] In some possible embodiments, the processor 801 performs the function of determining the total viewing time corresponding to the user based on the age, specifically by executing:

[0155] Determine the age range to which the user belongs;

[0156] Find the first preset mapping relationship to determine the total viewing time corresponding to the age range; the first preset mapping relationship includes multiple different age ranges and the total viewing time corresponding to each age range.

[0157] In some possible embodiments, the processor 801 performs the function of determining the duration of a single viewing session based on the current ambient brightness, specifically by executing:

[0158] Determine the brightness range to which the current ambient brightness belongs;

[0159] Find the second preset mapping relationship to determine the single viewing duration corresponding to the brightness range; the second preset mapping relationship includes multiple different brightness ranges and the single viewing duration corresponding to each brightness range.

[0160] In some possible embodiments, the second preset mapping relationship may also include multiple different brightness ranges and the interval between two viewings corresponding to each brightness range.

[0161] In some possible embodiments, the target operation is at least one of the following: outputting a pop-up notification message, turning off the display screen, or shutting down the device.

[0162] In some possible embodiments, the actual viewing time is specifically used to execute a single actual viewing time and a cumulative actual viewing time;

[0163] The processor 801 executes a target operation based on the actual viewing duration, the single viewing duration, and the total viewing duration, specifically for executing:

[0164] If the actual viewing time in a single session reaches the specified single viewing time, then the first target operation is executed.

[0165] If the cumulative actual viewing time reaches the total viewing time, the second target operation is executed.

[0166] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the above-described instructions. Figure 2 or Figure 6 One or more steps in the illustrated embodiment. If the various components of the control device described above are implemented as software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.

[0167] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital versatile discs (DVDs)), or semiconductor media (e.g., solid-state drives (SSDs)).

[0168] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The aforementioned storage medium includes various media capable of storing program code, such as Read Only Memory (ROM), Random Access Memory (RAM), magnetic disks, or optical disks. Unless otherwise specified, the technical features of this embodiment and its implementation schemes can be combined arbitrarily.

[0169] The embodiments described above are merely preferred embodiments of this application and are not intended to limit the scope of this application. Any modifications and improvements made by those skilled in the art to the technical solutions of this application without departing from the spirit of this application should fall within the protection scope defined by the claims of this application.

Claims

1. A method for controlling the use of equipment, characterized in that, The method includes: Determine the user's age and the current ambient light level; The total viewing time for the user is determined based on the user's age, and the viewing time for a single session is determined based on the current ambient brightness. The actual viewing time of the user is calculated, which is determined by detecting that the user's gaze point falls on the in-vehicle display screen; the actual viewing time includes the actual viewing time of a single session and the cumulative actual viewing time. If the actual viewing time in a single session reaches the specified single viewing time, then the first target operation is executed. If the cumulative actual viewing time reaches the total viewing time, the second target operation is executed.

2. The method according to claim 1, characterized in that, Determining the user's age includes: Receive user input to set the user's age; In response to the user's action, the user's age is determined.

3. The method according to claim 1, characterized in that, Determining the user's age includes: Collect image information containing the user; The image information is processed to obtain the user's age.

4. The method according to claim 1, characterized in that, The step of determining the total viewing time corresponding to the user based on the age includes: Determine the age range to which the user belongs; Find the first preset mapping relationship to determine the total viewing time corresponding to the age range; the first preset mapping relationship includes multiple different age ranges and the total viewing time corresponding to each age range.

5. The method according to any one of claims 1-4, characterized in that, The step of determining the duration of a single viewing session based on the current ambient brightness includes: Determine the brightness range to which the current ambient brightness belongs; Find the second preset mapping relationship to determine the single viewing duration corresponding to the brightness range; the second preset mapping relationship includes multiple different brightness ranges and the single viewing duration corresponding to each brightness range.

6. The method according to claim 5, characterized in that, The second preset mapping relationship also includes multiple different brightness ranges and the interval between two viewings corresponding to each brightness range.

7. The method according to any one of claims 1-4, characterized in that, The target operation is at least one of the following: outputting a pop-up notification message, turning off the display screen, or shutting down the device.

8. A device for controlling the use of equipment, characterized in that, The device includes: The first determining module is used to determine the user's age and the current ambient brightness; The second determining module is used to determine the total viewing time corresponding to the user based on the user's age, and to determine the single viewing time based on the current ambient brightness. The execution module is used to count the user's actual viewing time, which is determined by detecting that the user's gaze point falls on the vehicle display screen; the actual viewing time includes single actual viewing time and cumulative actual viewing time; if the single actual viewing time reaches the single viewing time, a first target operation is executed; if the cumulative actual viewing time reaches the total viewing time, a second target operation is executed.

9. A computer storage medium, characterized in that, The computer storage medium stores a plurality of instructions adapted for loading by a processor and executing the steps of the method as claimed in any one of claims 1-7.

10. An electronic device, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed the method steps as claimed in any one of claims 1-7.

Citation Information

Patent Citations

  • Eye protection mode prompting method and device, electronic equipment and storage medium

    CN111966224A

  • Play control method, television and storage medium

    CN113766320A