Disclosure of Invention
The embodiment of the application provides a device control method, a device and equipment based on full vision, and is used for solving the problem that in the prior art, electronic equipment has great harm to the health of eyes of a user.
In a first aspect, an embodiment of the present application provides a full-vision based device control method, where the method includes:
the method comprises the steps that terminal equipment obtains user side parameters, wherein the user side parameters comprise user state parameters;
the terminal equipment acquires N groups of full-vision parameters corresponding to the user side parameters according to the user side parameters, wherein each group of full-vision parameters comprises standard lighting parameters and standard screen parameters, the standard screen parameters comprise standard screen display parameters, standard background display parameters and standard content display parameters, and N is an integer greater than or equal to 1;
and the terminal equipment adjusts the illumination of an illumination device and/or the display of the terminal equipment according to the N groups of full-visual parameters, wherein the illumination device is used for providing ambient illumination for the terminal equipment.
In a possible embodiment, the terminal device adjusts the lighting of the lighting device and/or the display of the terminal device according to the N sets of full visual parameters, including:
the terminal equipment acquires the type of the lighting device, wherein the type is an adjustable type or a non-adjustable type;
the terminal equipment adjusts the lighting of the lighting device and/or the display of the terminal equipment according to the type of the lighting device and the N groups of full-vision parameters.
In a possible embodiment, the terminal device adjusts the lighting of the lighting apparatus and/or the display of the terminal device according to the type of the lighting apparatus and the N sets of full visual parameters, including:
if the type of the lighting device is an adjustable type, the terminal equipment adjusts the lighting of the lighting device and/or the display of the terminal equipment according to the N groups of full-visual parameters;
and if the type of the lighting device is an unadjustable type, the terminal equipment adjusts the display of the terminal equipment according to the N groups of full-visual parameters.
In a possible embodiment, the terminal device adjusts the lighting of the lighting apparatus and/or the display of the terminal device according to the N sets of full-view parameters, including:
if the N is 1, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the group of full-vision parameters;
and if the N is larger than 1, the terminal equipment determines target full-vision parameters in the N groups of full-vision parameters, and adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the target full-vision parameters.
In a possible implementation, the terminal device determines a target full-vision parameter in the N sets of full-vision parameters, including:
the terminal equipment acquires current visual parameters, wherein the current visual parameters comprise: the current lighting parameters of the lighting device and/or the current screen parameters of the terminal equipment;
and the terminal equipment determines target full-visual parameters in the N groups of full-visual parameters according to the current visual parameters.
In a possible implementation manner, the determining, by the terminal device, a target full visual parameter in the N sets of full visual parameters according to the current visual parameter includes:
the terminal equipment determines the target full-vision parameters in the N groups of full-vision parameters according to the current lighting parameters;
wherein, in the N sets of full vision parameters, a difference between a standard lighting parameter in the target full vision parameter and the current lighting parameter is smallest.
In a possible implementation manner, the determining, by the terminal device, a target full visual parameter in the N sets of full visual parameters according to the current visual parameter includes:
the terminal equipment determines the target full-vision parameters in the N groups of full-vision parameters according to the current screen parameters;
wherein, in the N groups of full visual parameters, a difference value between a standard screen parameter in the target full visual parameters and the current screen parameter is minimum.
In one possible embodiment, the target full-vision parameters comprise a target standard lighting parameter and a target standard screen parameter; the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the target full-vision parameters, and the method comprises the following steps:
the terminal equipment adjusts the illumination of the illumination device according to the target standard illumination parameter;
and the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters.
In a possible embodiment, the terminal device adjusts the illumination of the illumination apparatus according to the target standard illumination parameter, including:
the terminal equipment adjusts the brightness of the lighting device and/or the color temperature of the lighting device.
In a possible implementation, the adjusting, by the terminal device, the display of the terminal device according to the N sets of full-view parameters includes:
the terminal equipment determines target standard screen parameters in the N groups of full visual parameters;
and the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters.
In a possible embodiment, the terminal device determines a target standard screen parameter in the N sets of full visual parameters, including:
if the N is 1, the terminal equipment determines a standard screen parameter in the group of full-vision parameters as the target standard screen parameter; or,
and if the N is larger than 1, the terminal equipment determines target standard screen parameters in the N groups of full visual parameters according to the current lighting parameters of the lighting device.
In a possible embodiment, the terminal device determines a target standard screen parameter in the N sets of full visual parameters according to the current lighting parameter of the lighting apparatus, including:
the terminal equipment determines target standard lighting parameters in the N groups of full-vision parameters, wherein the difference between the current lighting parameters and the target standard lighting parameters is minimum in N standard lighting parameters in the N groups of full-vision parameters;
and the terminal equipment determines standard screen parameters corresponding to the target standard lighting parameters as the target standard screen parameters, wherein the target standard screen parameters and the target standard lighting parameters are positioned in the same group of full-vision parameters.
In a possible implementation manner, after the terminal device adjusts the display of the terminal device according to the target standard screen parameter, the method further includes:
the terminal equipment acquires a first difference value between the current lighting parameter of the lighting device and the standard lighting parameter;
generating recommendation information when the first difference is larger than or equal to a first threshold, wherein the recommendation information comprises device information of a preset lighting device;
and displaying the recommendation information.
In a possible implementation manner, the adjusting, by the terminal device, the display of the terminal device according to the target standard screen parameter includes:
the terminal equipment adjusts at least one of the following parameters according to the target standard screen parameters: the terminal equipment displays fonts, the brightness of a screen, the color of the back of the screen and the color temperature.
In a possible implementation manner, the adjusting, by the terminal device, the font displayed by the terminal device according to the target standard screen parameter includes:
the terminal equipment acquires the vision parameters of a user and the distance between the user and a screen of the terminal equipment;
the terminal equipment determines the font size according to the vision parameter and the distance;
and the terminal equipment adjusts the font displayed by the terminal equipment according to the font size and the target standard screen parameters.
In one possible embodiment, the method further comprises:
determining a period of time for which a user continuously views a screen of the terminal device;
acquiring historical screen display parameters of the terminal equipment and historical illumination parameters of the illumination device within the time period;
determining the maximum use duration according to the historical screen display parameters and the historical lighting parameters;
and when the duration of the time interval is greater than or equal to the maximum use duration, generating first prompt information, wherein the first prompt information is used for prompting a user to stop watching the screen.
In a possible implementation, before the terminal device adjusts the illumination of the illumination apparatus and/or the display of the terminal device according to the full-view parameter, the method further includes:
the terminal equipment determines the visual matching degree according to the current lighting parameter, the current screen parameter and the full visual parameter;
and the terminal equipment generates first indication information corresponding to the visual matching degree.
In a possible embodiment, if the visual matching degree is greater than or equal to a second threshold, the first indication information is used to indicate that there is no need to adjust the illumination of the illumination device and/or the display of the terminal device;
and if the visual matching degree is smaller than the second threshold, the first indication information is used for indicating to adjust the illumination of the illumination device and/or the display of the terminal equipment.
In a possible implementation manner, the acquiring, by the terminal device, the full visual parameter corresponding to the user-side parameter according to the user-side parameter includes:
the terminal equipment sends the user side parameters to a server;
and the terminal equipment receives the full visual parameters sent by the server.
In a possible implementation, the client side parameters further include: the current screen parameters of the terminal equipment and/or the current lighting parameters of the lighting device.
In a second aspect, an embodiment of the present application provides a device control apparatus based on full vision, the apparatus includes a first obtaining module, a second obtaining module, and an adjusting module, where:
the first obtaining module is used for obtaining user side parameters by the terminal equipment, wherein the user side parameters comprise user state parameters;
the second obtaining module is used for obtaining, by the terminal device, N groups of full-vision parameters corresponding to the user-side parameters according to the user-side parameters, each group of full-vision parameters including a standard lighting parameter and a standard screen parameter, the standard screen parameter including a standard screen display parameter, a standard background display parameter and a standard content display parameter, and N being an integer greater than or equal to 1;
the adjusting module is used for adjusting the illumination of an illuminating device and/or the display of the terminal equipment by the terminal equipment according to the N groups of full-visual parameters, and the illuminating device is used for providing ambient illumination for the terminal equipment.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment acquires the type of the lighting device, wherein the type is an adjustable type or a non-adjustable type;
the terminal equipment adjusts the lighting of the lighting device and/or the display of the terminal equipment according to the type of the lighting device and the N groups of full-vision parameters.
In a possible implementation, the adjusting module is specifically configured to:
if the type of the lighting device is an adjustable type, the terminal equipment adjusts the lighting of the lighting device and/or the display of the terminal equipment according to the N groups of full-visual parameters;
and if the type of the lighting device is an unadjustable type, the terminal equipment adjusts the display of the terminal equipment according to the N groups of full-visual parameters.
In a possible implementation, the adjusting module is specifically configured to:
if the N is 1, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the group of full-vision parameters;
and if the N is larger than 1, the terminal equipment determines target full-vision parameters in the N groups of full-vision parameters, and adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the target full-vision parameters.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment acquires current visual parameters, wherein the current visual parameters comprise: the current lighting parameters of the lighting device and/or the current screen parameters of the terminal equipment;
and the terminal equipment determines target full-visual parameters in the N groups of full-visual parameters according to the current visual parameters.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment determines the target full-vision parameters in the N groups of full-vision parameters according to the current lighting parameters;
wherein, in the N sets of full vision parameters, a difference between a standard lighting parameter in the target full vision parameter and the current lighting parameter is smallest.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment determines the target full-vision parameters in the N groups of full-vision parameters according to the current screen parameters;
wherein, in the N groups of full visual parameters, a difference value between a standard screen parameter in the target full visual parameters and the current screen parameter is minimum.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment adjusts the illumination of the illumination device according to the target standard illumination parameter;
and the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment adjusts the brightness of the lighting device and/or the color temperature of the lighting device.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment determines target standard screen parameters in the N groups of full visual parameters;
and the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters.
In a possible implementation, the adjusting module is specifically configured to:
if the N is 1, the terminal equipment determines a standard screen parameter in the group of full-vision parameters as the target standard screen parameter; or,
and if the N is larger than 1, the terminal equipment determines target standard screen parameters in the N groups of full visual parameters according to the current lighting parameters of the lighting device.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment determines target standard lighting parameters in the N groups of full-vision parameters, wherein the difference between the current lighting parameters and the target standard lighting parameters is minimum in N standard lighting parameters in the N groups of full-vision parameters;
and the terminal equipment determines standard screen parameters corresponding to the target standard lighting parameters as the target standard screen parameters, wherein the target standard screen parameters and the target standard lighting parameters are positioned in the same group of full-vision parameters.
In a possible implementation, the apparatus further includes a third obtaining module, configured to:
the terminal equipment acquires a first difference value between the current lighting parameter of the lighting device and the standard lighting parameter;
generating recommendation information when the first difference is larger than or equal to a first threshold, wherein the recommendation information comprises device information of a preset lighting device;
and displaying the recommendation information.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment adjusts at least one of the following parameters according to the target standard screen parameters: the terminal equipment displays fonts, the brightness of a screen, the color of the back of the screen and the color temperature.
In a possible implementation, the adjusting module is specifically configured to:
the terminal equipment acquires the vision parameters of a user and the distance between the user and a screen of the terminal equipment;
the terminal equipment determines the font size according to the vision parameter and the distance;
and the terminal equipment adjusts the font displayed by the terminal equipment according to the font size and the target standard screen parameters.
In another possible implementation, the apparatus further includes a first determining module, configured to:
determining a period of time for which a user continuously views a screen of the terminal device;
acquiring historical screen display parameters of the terminal equipment and historical illumination parameters of the illumination device within the time period;
determining the maximum use duration according to the historical screen display parameters and the historical lighting parameters;
and when the duration of the time interval is greater than or equal to the maximum use duration, generating first prompt information, wherein the first prompt information is used for prompting a user to stop watching the screen.
In another possible implementation, the apparatus further includes a second determining module, configured to:
the terminal equipment determines the visual matching degree according to the current lighting parameter, the current screen parameter and the full visual parameter;
and the terminal equipment generates first indication information corresponding to the visual matching degree.
In a possible implementation manner, the second determining module is specifically configured to:
if the visual matching degree is larger than or equal to a second threshold value, the first indication information is used for indicating that the illumination of the illumination device and/or the display of the terminal equipment do not need to be adjusted;
and if the visual matching degree is smaller than the second threshold, the first indication information is used for indicating to adjust the illumination of the illumination device and/or the display of the terminal equipment.
In a possible implementation manner, the second obtaining module is specifically configured to:
the terminal equipment sends the user side parameters to a server;
and the terminal equipment receives the full visual parameters sent by the server.
In a possible implementation, the client side parameters further include: the current screen parameters of the terminal equipment and/or the current lighting parameters of the lighting device.
In a third aspect, an embodiment of the present application provides a full vision-based device control device, including: a memory for storing program instructions, a processor for invoking the program instructions in the memory to perform the full vision based device control method of any one of the first aspects, and a communication interface.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored; the computer program is for implementing a full vision based device control method as defined in any one of the first aspects.
The embodiment of the application provides a device control method, a device and equipment based on full vision. The terminal equipment acquires N groups of full-vision parameters corresponding to the user side parameters according to the user side parameters, wherein each group of full-vision parameters comprises standard lighting parameters and standard screen parameters, the standard screen parameters comprise standard screen display parameters, standard background display parameters and standard content display parameters, and N is an integer greater than or equal to 1. And the terminal equipment adjusts the illumination of an illumination device and/or the display of the terminal equipment according to the N groups of full-visual parameters, wherein the illumination device is used for providing ambient illumination for the terminal equipment. In the method, the terminal equipment can acquire N groups of full-vision parameters matched with the user side parameters according to the user side parameters, and adjust the ambient lighting of the user and/or the display of the terminal equipment according to the N groups of full-vision parameters, so that the eye health of the user can be protected.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Next, an application scenario to which the embodiment of the present application is applied is described in detail with reference to fig. 1.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. Please refer to fig. 1, which includes a terminal device, a server and a lighting device.
Alternatively, the terminal device may be an electronic device having an on-screen display function. For example, the display device may be an electronic device that can display a graphical user interface, such as a mobile device, a computer, a vehicle-mounted device, or any combination thereof. The mobile device may be, for example, a smart mobile device (a smartphone, a tablet computer, or the like), a smart home device, a wearable device, a virtual implementation device, or any combination thereof, which may display a setting of an image user interface.
Alternatively, the lighting device may be any device having a function of intelligently adjusting the brightness. For example, the lighting device may be an intelligent desk lamp, an intelligent pendant lamp, or the like. The terminal equipment can control the illumination of the illumination device, and the terminal equipment can be connected with the illumination device through a wireless technology. For example, the terminal device may be connected to the lighting apparatus by bluetooth or WIFI (Wireless Fidelity).
The embodiment of the application provides an equipment control method based on full vision, and specifically, a terminal device acquires a user side parameter, acquires N groups of full vision parameters which are matched with the user side parameter and are beneficial to eye health of a user according to the user side parameter, and adjusts illumination of an illumination device and/or display of the terminal device according to the type of the illumination device and the N groups of full vision parameters. In the method, the terminal equipment can acquire N groups of full-vision parameters matched with the user side parameters according to the user side parameters, and adjust the ambient lighting of the user and/or the display of the terminal equipment according to the N groups of full-vision parameters, so that the eye health of the user can be protected.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 2 is a schematic flowchart of a device control method based on full vision according to an embodiment of the present disclosure. Referring to fig. 2, the method may include:
s201, the terminal equipment acquires user side parameters.
The execution main body of the embodiment of the application can be terminal equipment, and can also be a device control device based on full vision and arranged in the terminal equipment. Alternatively, the full-vision based device control apparatus may be implemented by software, or may be implemented by a combination of software and/or hardware.
The client side parameters include user state parameters. Wherein the user state parameter is used for indicating the physical state of the user. Optionally, the user status parameter includes at least one of the following: user age, user gender, user race, user eye health, user current eye state, and user distance from the screen. The physiological state of the user and the degree of fatigue of the eyes of the user can be determined according to the state parameters of the user. For example, the physiological state of the user may be determined according to the age of the user, the sex of the user, and the race of the user, and whether the eyes of the user are tired may be determined according to the condition of the eye health of the user, the current eye state of the user, and the distance of the user from the screen.
The eye health condition of the user is the vision condition of the user using the terminal device. For example, the eye health condition of the user may be normal vision of the user, myopia of the user, strabismus of the user, and the like.
The current eye state of the user is used for indicating the eye using strength of the user using the terminal equipment. For example, the user's current eye state may include the user's eye wear time, the user's current eye opening or closing degree or area, the frequency with which the user blinks, and the like. For example, the eye strength of the user may be determined according to the current eye opening and closing degree or area of the user, or the eye fatigue of the user may be determined according to the eye time of the user, the blinking frequency of the user, and the like, and further the eye strength of the user may be determined according to the eye fatigue of the user. The distance of the user from the screen may be a distance between the eyes of the user and the first terminal screen. For example, the user may be 15 centimeters, 30 centimeters, etc. from the screen.
Alternatively, the eye strength of the user may be determined based on facial expression recognition.
Optionally, the user-side parameters may further include: current screen parameters of the terminal device and/or current lighting parameters of the lighting means. For example, the user-side parameters may further include the display brightness of the current screen of the terminal device, the color of the back of the screen, the font of the text content, the brightness of the lighting device, and the color temperature of the lighting device.
Optionally, the terminal device may obtain the user state parameter in the server according to the identifier of the user. For example, the server may store the age, sex, race, and eye health condition of the user using the terminal device in advance, and the terminal device may determine the user state parameter corresponding to the ID information based on the ID information of the user.
Optionally, the user may set the user-side parameters in the terminal device. For example, the user may store the corresponding user-side parameters in the terminal device, and when the user uses the terminal device, the terminal device may obtain the user-side parameters corresponding to the user.
S202, the terminal equipment acquires N groups of full visual parameters corresponding to the user side parameters according to the user side parameters.
Each set of full-vision parameters includes a standard lighting parameter, which may be an absolute value of a brightness parameter of the ambient brightness, and a standard screen parameter. For example, the absolute value of the brightness parameter of the ambient brightness may include a brightness absolute value and a color absolute value, both of which are measured in standard units. For example, the luminance absolute value may be a luminance value in nits.
The standard screen parameter may be an absolute value of a screen display parameter of the terminal device. For example, the absolute values of the screen display parameters of the terminal device may include the absolute values of the brightness and the absolute values of the color of the screen display. The standard screen parameters include standard screen display parameters, standard background display parameters, and standard content display parameters. And the standard screen display parameters are used for controlling the screen display brightness of the terminal equipment. For example, the terminal device may adjust the brightness, color temperature, etc. of the screen according to the screen display parameters. And the standard background display parameters are used for controlling the background color of the screen of the terminal equipment. For example, the terminal device may adjust the background color of the screen to green, blue, etc., according to the background display parameters. The standard content display parameter is used for controlling the font displayed on the screen of the terminal equipment. For example, the terminal device may adjust the font size, font weight, font spacing, etc. of the text content displayed on the screen according to the content display parameters.
N is an integer greater than or equal to 1. For example, the terminal device may obtain one or more sets of full-vision parameters according to the user-side parameters, where each set of full-vision parameters includes a standard lighting parameter and a standard screen parameter.
The terminal device may obtain the full-view parameters corresponding to the user-side parameters according to the following feasible implementation manner: and the terminal equipment sends the user side parameters to the server, and receives the full visual parameters sent by the server. For example, the terminal device sends the user-side parameters to the server, and the server matches the N sets of full-visual parameters corresponding to the user-side parameters and beneficial to the eye health of the user in the database according to the received user-side parameters, and sends the N sets of full-visual parameters to the terminal device.
And S203, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the N groups of full-vision parameters.
The lighting device is used for providing ambient lighting for the terminal equipment. The terminal device may adjust the illumination of the illumination means and/or the display of the terminal device according to the following feasible implementations: the terminal equipment judges whether the lighting device exists or not, and if so, the terminal equipment adjusts the lighting of the lighting device and/or the display of the terminal equipment according to the N groups of full-vision parameters; if not, the terminal equipment adjusts the display of the terminal equipment according to the N groups of full-vision parameters.
Optionally, the process of the terminal device adjusting the illumination of the illumination means and/or the display of the terminal device is cyclically adjustable.
The embodiment of the application provides a device control method based on full vision, and a terminal device acquires user-side parameters, wherein the user-side parameters comprise user state parameters. The terminal equipment acquires N groups of full-vision parameters corresponding to the user side parameters according to the user side parameters, wherein each group of full-vision parameters comprises standard lighting parameters and standard screen parameters, the standard screen parameters comprise standard screen display parameters, standard background display parameters and standard content display parameters, and N is an integer greater than or equal to 1. The terminal equipment judges whether the lighting device exists or not, and adjusts lighting of the lighting device and/or display of the terminal equipment according to the N groups of full-vision parameters. In the method, the terminal equipment can acquire N groups of full-vision parameters which are corresponding to the user-side parameters and are beneficial to the eye health of the user according to the user-side parameters, and adjust the ambient lighting of the user and/or the display of the terminal equipment according to the type of the lighting device and the N groups of full-vision parameters, so that the eye health of the user can be protected.
On the basis of the embodiment shown in fig. 2, the following describes the process of adjusting two terminal devices according to N sets of full-view parameters, respectively, with reference to fig. 3 to 4.
Fig. 3 is a schematic diagram of a process of adjusting, by a terminal device, according to N sets of full-view parameters according to an embodiment of the present application. In the embodiment shown in fig. 3, the terminal device determines that the lighting apparatus is present, and the terminal device adjusts the ambient lighting of the user and/or the display of the terminal device according to the N sets of full-view parameters. Referring to fig. 3, the method may include:
s301, judging whether N is 1 or not.
If yes, go to step S302.
If not, go to S303.
And S302, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to a group of full visual parameters.
And when the N is equal to 1, the terminal equipment acquires a group of full visual parameters according to the user side parameters, and the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the group of full visual parameters. For example, the terminal device adjusts the illumination of the illumination apparatus according to a standard illumination parameter in a set of full-vision parameters, and the terminal device adjusts the display of the terminal device according to a standard screen parameter in a set of full-vision parameters.
S303, the terminal equipment determines target full-vision parameters in the N groups of full-vision parameters.
The terminal device may determine the target full-vision parameters among the N sets of full-vision parameters according to the following feasible implementation manners: and the terminal equipment acquires the current visual parameters. Wherein the current visual parameters include: the current lighting of the lighting means and/or the current screen parameters of the terminal device. For example, the current illumination of the illumination device may be a current brightness parameter of the illumination device, and the current screen parameter of the terminal device may be a current screen display parameter of the terminal device. Optionally, the terminal device may obtain the current illumination of the illumination device according to the light sensing device. And the terminal equipment determines target full-visual parameters in the N groups of full-visual parameters according to the current visual parameters.
Optionally, the terminal device may determine the target full visual parameter in the N groups of full visual parameters according to the current visual parameter through the following two possible implementation manners:
one possible implementation is:
and the terminal equipment determines target full-vision parameters in the N groups of full-vision parameters according to the current lighting parameters. And the difference value between the standard lighting parameter in the target full-vision parameters and the current lighting parameter is minimum in the N groups of full-vision parameters. For example, the terminal device obtains N standard lighting parameters in N groups of full-vision parameters, determines a difference value between each standard lighting parameter and the current lighting parameter, determines a first standard lighting parameter closest to the current lighting parameter according to the difference value, and determines the full-vision parameter corresponding to the first standard lighting parameter as the target full-vision parameter.
In the feasible implementation mode, the terminal equipment determines the target full-vision parameters according to the current illumination parameters, so that the adjustment range of the environmental illumination is ensured to be minimum, and the harm of sudden change of the environmental brightness to the eye health of a user is avoided.
Another possible implementation:
and the terminal equipment determines target full-vision parameters in the N groups of full-vision parameters according to the current screen parameters. And the difference value between the standard screen parameter in the target full-vision parameters and the current screen parameter is the smallest in the N groups of full-vision parameters. For example, the terminal device obtains N standard screen parameters in N sets of full-vision parameters, determines a difference between each standard screen parameter and the current screen parameter, determines a first standard screen parameter closest to the current screen parameter according to the difference, and determines the full-vision parameter corresponding to the first standard screen parameter as the target full-vision parameter.
In the feasible implementation mode, the terminal equipment determines the target full-vision parameters according to the current screen parameters, so that the adjustment range of the screen display of the terminal equipment can be ensured to be minimum, and the harm of the sudden change of the screen display to the eye health of the user is avoided.
And S304, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the target full-vision parameters.
The target full-vision parameters comprise target standard lighting parameters and target standard screen parameters. Optionally, the terminal device may adjust the illumination of the illumination apparatus and/or the display of the terminal device according to the following feasible implementation manners: and the terminal equipment adjusts the illumination of the illumination device according to the target standard illumination parameters. Optionally, the terminal device may adjust the brightness of the lighting device and/or the color temperature of the lighting device. For example, the terminal device may adjust the brightness and/or color temperature of the lighting device according to the target standard lighting parameters.
And the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters. The terminal equipment adjusts at least one of the following parameters according to the target standard screen parameters: the font displayed by the terminal equipment, the brightness of the screen, the color of the back of the screen and the color temperature. For example, the terminal device may adjust the font size displayed by the terminal device to be larger, the brightness of the screen to be lower, and the color tone of the back of the screen to be green according to the target standard screen parameters.
Optionally, the terminal device may adjust the font displayed by the terminal device according to the following feasible implementation manners: the terminal device obtains the vision parameters of the user and the distance between the user and the screen of the terminal device, determines the font size according to the vision parameters and the distance, and adjusts the font displayed by the terminal device according to the font size and the target standard screen parameters. Optionally, the terminal device may obtain a distance between the user and a screen of the terminal device according to the sensor. For example, the terminal device may acquire a distance between the user and a screen of the terminal device according to an infrared ranging sensor.
The vision parameter is used to indicate the vision condition of the user. For example, the user's vision condition may be 200 degrees of myopia. Optionally, when the user uses the terminal device, the terminal device may test the eyesight of the user according to the distance between the user and the screen of the terminal device, and further obtain the eyesight parameters of the user. For example, the terminal device adjusts the size of the vision test chart according to the distance between the user and the screen, and displays the adjusted vision test chart in the screen, so as to acquire the vision condition of the user.
Optionally, when the user uses the terminal device, the user may input the eyesight parameters of the user in the terminal device. For example, when the user uses the terminal device, the vision parameter of the user can be input into the terminal device, and the terminal device adjusts the font displayed by the terminal device according to the vision parameter input by the user and the distance between the user and the screen of the terminal device.
Optionally, the terminal device may determine the font size according to the corresponding relationship between the vision parameter, the distance, and the font size. For example, the correspondence between vision parameters, distances, and font sizes may be as shown in table 1:
TABLE 1
| Parameters of vision | Distance between two adjacent plates | Word size |
| Parameter 1 | Distance 1 | Character number 1 |
| Parameter 1 | Distance 2 | Word size 2 |
| Parameter 2 | Distance 2 | Font size 3 |
| …… | …… | …… |
It should be noted that table 1 illustrates the correspondence between the vision parameter, the distance, and the font size by way of example only, and does not limit the correspondence between the vision parameter, the distance, and the font size.
For example, when the vision parameter of the user is parameter 1 and the distance between the user and the screen of the terminal device is distance 1, the font size of the text content displayed by the terminal device is font size 1; when the vision parameter of the user is parameter 1 and the distance between the user and the screen of the terminal device is distance 2, the font size of the text content displayed by the terminal device is font size 2; when the vision parameter of the user is parameter 2 and the distance between the user and the screen of the terminal device is distance 2, the font size of the text content displayed by the terminal device is font size 3.
The embodiment of the application provides a device control method based on full vision, wherein when a terminal device determines that a lighting device exists, whether N is 1 is judged, if yes, the terminal device adjusts lighting of the lighting device and/or display of the terminal device according to a group of full vision parameters; if not, the terminal equipment determines the target full-vision parameters in the N groups of full-vision parameters, and adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the target full-vision parameters. In the method, when the type of the lighting device is adjustable and N is greater than 1, the terminal device may determine the target full-vision parameter according to the current lighting parameter or the current screen parameter, and adjust the lighting of the lighting device and/or the display of the terminal device according to the target full-vision parameter, so as to avoid the damage of the sudden change of the ambient brightness or the screen display to the eye health of the user, thereby protecting the eye health of the user.
Fig. 4 is a schematic diagram of another process of adjusting, by a terminal device, according to N sets of full-view parameters according to an embodiment of the present application. In the embodiment shown in fig. 4, the terminal device determines that there is no lighting apparatus, and the terminal device adjusts the display of the terminal device according to N sets of full-view parameters, please refer to fig. 4, the method may include:
s401, the terminal equipment determines target standard screen parameters in the N groups of full-vision parameters.
Optionally, the terminal device determines the target standard screen parameter in the N groups of full visual parameters, where the target standard screen parameter has two conditions:
case 1: n is equal to 1.
And when the N is equal to 1, the terminal equipment acquires a group of full-vision parameters according to the user side parameters, and the terminal equipment determines the standard screen parameters in the group of full-vision parameters as target standard screen parameters. For example, the terminal device adjusts the display of the terminal device according to standard screen parameters in a set of full-vision parameters.
Case 2: n is greater than 1.
And when N is larger than 1, the terminal equipment determines target standard screen parameters in the N groups of full visual parameters according to the current lighting parameters of the lighting device.
Optionally, the terminal device may determine the target standard screen parameter according to the current illumination of the illumination apparatus through the following feasible implementation manners: the terminal equipment determines target standard lighting parameters in the N groups of full-vision standard parameters, wherein the difference between the current lighting parameters and the target standard lighting parameters is minimum in N standard lighting parameters in the N groups of full-vision parameters. For example, the terminal device acquires N standard lighting parameters in the N sets of full-vision parameters, and determines a standard lighting parameter closest to the current lighting parameter as a target standard lighting parameter.
And the terminal equipment determines the standard screen parameters corresponding to the target standard lighting parameters as target standard screen parameters. Wherein the target standard screen parameters and the target standard lighting parameters are in the same set of full vision parameters. For example, the terminal device determines a target standard lighting parameter from the N standard lighting parameters, acquires a full-vision parameter corresponding to the target standard lighting parameter, and determines a standard screen parameter from the full-vision parameter corresponding to the target standard lighting parameter as the target standard screen parameter.
S402, the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters.
It should be noted that the execution process of S402 may refer to the execution process of S304, and is not described herein again.
Next, with reference to fig. 5, a detailed description is given of a process of the terminal device adjusting the display of the terminal device according to the target standard screen parameter.
Fig. 5 is a schematic view of a process of adjusting display of a terminal device according to an embodiment of the present application. In the embodiment shown in fig. 5, the terminal device adjusts the font displayed on the screen. Referring to fig. 5, including the terminal device and the face of the user, the text content "a" is displayed in the screen of the terminal device. When the distance between the face of the user and the screen of the terminal device increases, the font size of "a" displayed in the screen of the terminal device becomes large. Therefore, the terminal equipment can reasonably adjust the word size of the text content in the screen of the terminal equipment according to the distance between the user and the screen of the terminal equipment, and further protect the eyes of the user.
The embodiment of the application provides a device control method based on full vision, wherein the type of a lighting device is a non-adjustable type, and a terminal device determines a target standard screen parameter in N groups of full vision parameters and adjusts the display of the terminal device according to the target standard screen parameter. In the method, when the type of the lighting device is the non-adjustable type and N is greater than 1, the terminal equipment can determine the target standard lighting parameter according to the current lighting parameter and determine the target standard screen parameter according to the target standard lighting parameter, so that the display of the screen of the terminal equipment can be accurately adjusted, and the eye health of a user is protected.
On the basis of the embodiment shown in fig. 4, after the terminal device adjusts the display of the terminal device according to the target standard screen parameter, the method further includes displaying recommendation information, and the following describes in detail the process of displaying recommendation information by the terminal device with reference to fig. 6.
Fig. 6 is a schematic flow chart of displaying recommendation information by a terminal device according to an embodiment of the present application. Referring to fig. 6, the method includes:
s601, the terminal device obtains a first difference value between the current lighting parameter and the standard lighting parameter of the lighting device.
After the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameter, the terminal equipment obtains the current lighting parameter of the lighting device according to the photosensitive device, determines the standard lighting parameter according to the target standard screen parameter, and determines a first difference value between the standard lighting parameter and the current lighting parameter. For example, the terminal device may determine a target full-vision parameter corresponding to the target standard screen parameter according to the target standard screen parameter, acquire a standard lighting parameter in the target full-vision parameter, and determine the first difference value according to the standard lighting parameter and the current lighting parameter.
And S602, generating recommendation information when the first difference is larger than or equal to a first threshold.
And generating recommendation information when the first difference is larger than or equal to a first threshold value. For example, when the first difference is greater than or equal to the first threshold, it is indicated that the ambient lighting is not suitable for the user to watch the terminal device, and since the type of the lighting device is an unadjustable type, the terminal device may generate the recommendation information.
The recommended information includes device information of a preset lighting device. Wherein the preset lighting device may be an adjustable type of lighting device. Optionally, the preset lighting device may be connected to the terminal device through a wireless technology, and the terminal device may adjust the brightness of the preset lighting device. The device information may include purchase information of the preset lighting device. For example, the terminal device may generate purchase information of the preset lighting apparatus when the first difference is greater than or equal to the first threshold.
And S603, displaying the recommendation information.
When the first difference is greater than or equal to the first threshold, the terminal device may generate recommendation information, and display the recommendation information in a screen of the terminal device, and the user may purchase the preset lighting device according to the recommendation information displayed on the screen of the terminal device.
Next, a process of displaying recommendation information by the terminal device is described in detail with reference to fig. 7.
Fig. 7 is a process of displaying recommendation information by a terminal device according to an embodiment of the present application. Please refer to fig. 7, which includes a lighting device and a terminal device. And when the lighting parameters of the lighting device are greatly different from the standard lighting parameters, the terminal equipment generates recommendation information, wherein the recommendation information comprises a picture of a preset lighting device, the name of the lighting device, the brief introduction of the lighting device, purchase information and the like. And the terminal equipment displays the recommendation information of the preset lighting device in the screen. Therefore, the current lighting device can not adjust lighting parameters, a user can timely acquire the preset lighting device, and the accuracy and timeliness of information recommendation of the terminal equipment are improved.
The embodiment of the application provides a device control method based on full vision, wherein a lighting device is of an unadjustable type, after terminal equipment adjusts display of the terminal equipment according to target standard screen parameters, the terminal equipment obtains a first difference value between current lighting parameters and standard lighting parameters of the lighting device, generates recommendation information when the first difference value is larger than or equal to a first threshold value, and displays the recommendation information in a screen of the terminal equipment. In the method, because the lighting device is of an unadjustable type, if the terminal device adjusts the display of the terminal device, and the difference value between the current lighting parameter and the standard lighting parameter is greater than or equal to the first threshold value, it is indicated that the environmental lighting provided by the lighting device may cause damage to the health of the eyes of the user, at this time, the terminal device recommends the device information of the preset lighting device to the user, the user may obtain the preset lighting device according to the device information of the preset lighting device, and then may adjust the brightness of the preset lighting device according to the terminal device, so that the damage caused by the terminal device to the health of the eyes of the user may be reduced.
Based on any of the above embodiments, the following describes the device control method based on full vision in detail with reference to fig. 8.
Fig. 8 is a flowchart illustrating another full-vision-based device control method according to an embodiment of the present application. Referring to fig. 8, the method may include:
s801, the terminal equipment acquires the user side parameters.
The client side parameters include user state parameters.
It should be noted that the execution process of S801 may refer to the execution process of S201, and details are not described here.
S802, the terminal equipment acquires N groups of full visual parameters corresponding to the user side parameters according to the user side parameters.
Each set of full-vision parameters comprises standard lighting parameters and standard screen parameters, the standard screen parameters comprise standard screen display parameters, standard background display parameters and standard content display parameters, and N is an integer greater than or equal to 1.
It should be noted that the execution process of S802 may refer to the execution process of S202, and is not described herein again.
And S803, the terminal equipment determines the visual matching degree according to the current lighting parameters, the current screen parameters and the full-vision parameters.
The visual match is used to indicate the difference between the current lighting parameters and the current screen parameters and the full visual parameters. For example, the larger the difference between the current lighting parameter and the standard lighting parameter in the full-vision parameter is, the lower the visual matching degree is, and the smaller the difference between the current lighting parameter and the standard lighting parameter in the full-vision parameter is, the higher the visual matching degree is; the larger the difference between the current screen parameter and the standard screen parameter in the full visual parameter is, the lower the visual matching degree is, and the smaller the difference between the current screen parameter and the standard screen parameter in the full visual parameter is, the higher the visual matching degree is.
Optionally, the second difference may be determined according to a standard lighting parameter in the current lighting parameter and the full-vision parameter, the third difference may be determined according to a standard screen parameter in the current screen parameter and the full-vision parameter, and the visual matching degree may be determined according to the second difference and the third difference. For example, the visual matching degree may be determined based on an average value between the second difference value and the third difference value. For example, the visual matching degree may be determined according to a correspondence between an average value of the second difference value and the third difference value and the visual matching degree, where the correspondence between the average value of the second difference value and the third difference value and the visual matching degree may be as shown in table 2:
TABLE 2
| Mean value of | Degree of visual match |
| Average value of 1 | Degree of matching 1 |
| Average value of 2 | Degree of matching 2 |
| Average value 3 | Degree of matching 2 |
| …… | …… |
It should be noted that table 2 illustrates the correspondence between the average value of the second difference value and the third difference value and the visual matching degree by way of example only, and does not limit the correspondence between the average value of the second difference value and the third difference value and the visual matching degree.
For example, if the average value between the second difference and the third difference is an average value of 1, the visual matching degree is a matching degree of 1; if the average value between the second difference value and the third difference value is the average value 2, the visual matching degree is the matching degree 2; if the average value between the second difference and the third difference is the average value 3, the visual matching degree is the matching degree 3.
S804, the terminal equipment generates first indication information corresponding to the visual matching degree.
If the visual matching degree is larger than or equal to the second threshold value, the first indication information is used for indicating that the illumination of the illumination device and/or the display of the terminal equipment do not need to be adjusted. For example, if the visual matching degree is greater than or equal to the second threshold, it indicates that the current lighting parameters and the current screen parameters are similar to the full visual parameters, and at this time, there is no need to adjust the lighting of the lighting device and the display of the terminal device.
If the visual matching degree is smaller than the second threshold value, the first indication information is used for indicating to adjust the illumination of the illumination device and/or the display of the terminal equipment. For example, if the visual matching degree is smaller than the second threshold, it indicates that the difference between the current lighting parameter and the current screen parameter is larger than the full-view parameter, and at this time, the lighting of the lighting device and the display of the terminal device need to be adjusted according to the full-view parameter, and the first indication information is generated to prompt the user that adjustment is about to be performed. Before the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the full-vision parameters, the user can receive first indication information needing to be adjusted, so that when the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment, the user has a preliminary preparation, the harm to the health of the eyes of the user caused by the sudden change of the ambient brightness and the screen display is avoided, and the eyes of the user are protected.
Next, a process of generating the instruction information by the terminal device will be described in detail with reference to fig. 9.
Fig. 9 is a schematic diagram of a process of generating indication information by a terminal device according to an embodiment of the present application. Please refer to fig. 9, which includes a terminal device. When the visual matching degree is smaller than the second threshold, it is indicated that the difference between the current lighting parameter and the current screen parameter is larger than the full-view parameter, at this time, the lighting of the lighting device and the display of the terminal device need to be adjusted according to the full-view parameter, the terminal device generates first indication information, namely that the lighting parameter of the lighting device and/or the display of the terminal device are to be adjusted, and displays the first indication information in the screen of the terminal device.
And S805, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the N groups of full-visual parameters.
The lighting device is used for providing ambient lighting for the terminal equipment.
It should be noted that the execution process of S805 may refer to the execution process of S203, and is not described herein again.
The embodiment of the application provides a device control method based on full vision, and a terminal device acquires user side parameters and acquires N groups of full vision parameters corresponding to the user side parameters according to the user side parameters. The terminal equipment determines the visual matching degree according to the current lighting parameters, the current screen parameters and the full-vision parameters, generates first indicating information corresponding to the visual matching degree, and after the first indicating information is generated, the terminal equipment adjusts lighting of the lighting device and/or display of the terminal equipment according to the N groups of full-vision parameters. In the method, before the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the N groups of full-vision parameters, the terminal equipment can generate corresponding first indication information according to the vision matching degree, so that when the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment, a user has a preliminary preparation, the harm of the environmental brightness and the sudden change of screen display to the eye health of the user is avoided, and the eyes of the user are protected.
On the basis of any one of the above embodiments, the full-vision-based device control method further includes a process of generating first prompt information. Next, a process of generating the first prompt information by the terminal device will be described in detail with reference to fig. 10.
Fig. 10 is a schematic flowchart of a process of generating first prompt information by a terminal device according to an embodiment of the present application. Referring to fig. 10, the method may include:
s1001, determining a period of continuous watching of a screen of the terminal equipment by the user.
S1002, within the acquisition period, displaying parameters of a historical screen of the terminal equipment and historical illumination parameters of the illumination device.
The terminal device may acquire the screen display parameters and the illumination parameters of the illumination means in a period in which the user continuously views the screen of the terminal device. For example, the user continuously views the screen of the terminal device for the past one hour, and the terminal device acquires the historical screen display parameters and the historical illumination parameters of the illumination apparatus for the past one hour period.
S1003, determining the maximum using time according to the historical screen display parameters and the historical lighting parameters.
The maximum use duration is the maximum duration that the user can use the terminal device. Optionally, the maximum usage duration may be determined according to a corresponding relationship between the historical screen display parameter, the historical lighting parameter, and the maximum usage duration. For example, the correspondence between the historical screen display parameters, the historical lighting parameters, and the maximum usage time period may be as shown in table 3:
TABLE 3
| Historical screen display parameters | Historical lighting parameters | Maximum length of use |
| Screen display parameter 1 | Illumination parameter 1 | Duration 1 |
| Screen display parameter 1 | Illumination parameter 2 | Duration 2 |
| Screen display parameter 2 | Illumination parameter 2 | Duration 3 |
| …… | …… | …… |
It should be noted that table 3 illustrates the corresponding relationship among the historical screen display parameters, the historical lighting parameters, and the maximum usage time by way of example only, and does not limit the corresponding relationship among the historical screen display parameters, the historical lighting parameters, and the maximum usage time.
For example, in a period of time when a user continuously watches a screen of the terminal device, if the historical screen display parameter is screen display parameter 1 and the historical illumination parameter is illumination parameter 1, the maximum usage time is time length 1; if the historical screen display parameter is a screen display parameter 1 and the historical illumination parameter is an illumination parameter 2, the maximum use time length is a time length 2; if the historical screen display parameter is the screen display parameter 2, the historical lighting parameter is the lighting parameter 2, and the maximum use time length is the time length 3.
And S1004, generating first prompt information when the duration of the time interval is greater than or equal to the maximum use duration.
The first prompt message is used for prompting the user to stop watching the screen. For example, when the duration of a period in which the user continuously views the screen of the terminal device is greater than or equal to the maximum usage duration, the terminal device prompts the user to stop viewing the screen of the terminal device.
The embodiment of the application provides a device control method based on full vision, which comprises the steps of determining a time period of continuously watching a screen of a terminal device by a user, acquiring historical screen display parameters of the terminal device and historical illumination parameters of an illumination device in the time period, determining the maximum use time according to the historical screen display parameters and the historical illumination parameters, and generating first prompt information when the time period is longer than or equal to the maximum use time. In the method, when the duration of the period when the user continuously watches the screen of the terminal equipment is longer than the maximum use duration, the terminal equipment can generate first prompt information for prompting the user to stop watching the screen, so that the eye health of the user is protected.
On the basis of any of the above embodiments, the following describes in detail the full-vision based device control method by a specific example with reference to fig. 11.
Fig. 11 is a process diagram of a full vision-based device control method provided by an embodiment of your application. Please refer to fig. 11, which includes a terminal device, a server and a lighting device. The terminal equipment acquires the user side parameters and sends the user side parameters to the server, the server receives the user side parameters, determines the full visual parameters matched with the user side parameters in the database according to the user side parameters, and sends the full visual parameters to the terminal equipment. The terminal equipment receives the full visual parameters, generates first indication information when the lighting of the lighting device and/or the display of the terminal equipment are determined to be required to be adjusted, and displays the first indication information in a screen of the terminal equipment. After the first indication information is displayed on the screen of the terminal equipment, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the full-vision parameters.
The terminal equipment can acquire the full-vision parameters which are corresponding to the user-side parameters and are beneficial to the eye health of the user according to the user-side parameters, and before the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the full-vision parameters, the user can receive first indication information needing to be adjusted.
Fig. 12 is a schematic structural diagram of a full-visual device control apparatus according to an embodiment of the present application. The full-vision based device control apparatus may be provided in a terminal device. Referring to fig. 12, the full-vision-based device control apparatus 10 includes: a first obtainingmodule 11, a second obtainingmodule 12 and an adjustingmodule 13, wherein:
the first obtainingmodule 11 is configured to obtain, by a terminal device, a user-side parameter, where the user-side parameter includes a user state parameter;
the second obtainingmodule 12 is configured to, according to the user-side parameter, the terminal device obtains N sets of full-visual parameters corresponding to the user-side parameter, where each set of full-visual parameters includes a standard lighting parameter and a standard screen parameter, the standard screen parameter includes a standard screen display parameter, a standard background display parameter, and a standard content display parameter, and N is an integer greater than or equal to 1;
the adjustingmodule 13 is configured to, by the terminal device, adjust lighting of a lighting apparatus and/or display of the terminal device according to the N sets of full-visual parameters, where the lighting apparatus is configured to provide ambient lighting to the terminal device.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment acquires the type of the lighting device, wherein the type is an adjustable type or a non-adjustable type;
the terminal equipment adjusts the lighting of the lighting device and/or the display of the terminal equipment according to the type of the lighting device and the N groups of full-vision parameters.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
if the type of the lighting device is an adjustable type, the terminal equipment adjusts the lighting of the lighting device and/or the display of the terminal equipment according to the N groups of full-visual parameters;
and if the type of the lighting device is an unadjustable type, the terminal equipment adjusts the display of the terminal equipment according to the N groups of full-visual parameters.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
if the N is 1, the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the group of full-vision parameters;
and if the N is larger than 1, the terminal equipment determines target full-vision parameters in the N groups of full-vision parameters, and adjusts the illumination of the illumination device and/or the display of the terminal equipment according to the target full-vision parameters.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment acquires current visual parameters, wherein the current visual parameters comprise: the current lighting parameters of the lighting device and/or the current screen parameters of the terminal equipment;
and the terminal equipment determines target full-visual parameters in the N groups of full-visual parameters according to the current visual parameters.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment determines the target full-vision parameters in the N groups of full-vision parameters according to the current lighting parameters;
wherein, in the N sets of full vision parameters, a difference between a standard lighting parameter in the target full vision parameter and the current lighting parameter is smallest.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment determines the target full-vision parameters in the N groups of full-vision parameters according to the current screen parameters;
wherein, in the N groups of full visual parameters, a difference value between a standard screen parameter in the target full visual parameters and the current screen parameter is minimum.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment adjusts the illumination of the illumination device according to the target standard illumination parameter;
and the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment adjusts the brightness of the lighting device and/or the color temperature of the lighting device.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment determines target standard screen parameters in the N groups of full visual parameters;
and the terminal equipment adjusts the display of the terminal equipment according to the target standard screen parameters.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
if the N is 1, the terminal equipment determines a standard screen parameter in the group of full-vision parameters as the target standard screen parameter; or,
and if the N is larger than 1, the terminal equipment determines target standard screen parameters in the N groups of full visual parameters according to the current lighting parameters of the lighting device.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment determines target standard lighting parameters in the N groups of full-vision parameters, wherein the difference between the current lighting parameters and the target standard lighting parameters is minimum in N standard lighting parameters in the N groups of full-vision parameters;
and the terminal equipment determines standard screen parameters corresponding to the target standard lighting parameters as the target standard screen parameters, wherein the target standard screen parameters and the target standard lighting parameters are positioned in the same group of full-vision parameters.
The device control apparatus based on full vision provided in the embodiment of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
Fig. 13 is a schematic structural diagram of another full-vision device control apparatus according to an embodiment of the present application, and referring to fig. 13 on the basis of the embodiment shown in fig. 12, the full-vision device control apparatus 10 further includes a third obtainingmodule 14, where the third obtainingmodule 14 is configured to:
the terminal equipment acquires a first difference value between the current lighting parameter of the lighting device and the standard lighting parameter;
generating recommendation information when the first difference is larger than or equal to a first threshold, wherein the recommendation information comprises device information of a preset lighting device;
and displaying the recommendation information.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment adjusts at least one of the following parameters according to the target standard screen parameters: the terminal equipment displays fonts, the brightness of a screen, the color of the back of the screen and the color temperature.
In a possible implementation, the adjustingmodule 13 is specifically configured to:
the terminal equipment acquires the vision parameters of a user and the distance between the user and a screen of the terminal equipment;
the terminal equipment determines the font size according to the vision parameter and the distance;
and the terminal equipment adjusts the font displayed by the terminal equipment according to the font size and the target standard screen parameters.
In another possible embodiment, the full-vision based device control apparatus 10 further includes a first determiningmodule 15, the first determiningmodule 15 is configured to:
determining a period of time for which a user continuously views a screen of the terminal device;
acquiring historical screen display parameters of the terminal equipment and historical illumination parameters of the illumination device within the time period;
determining the maximum use duration according to the historical screen display parameters and the historical lighting parameters;
and when the duration of the time interval is greater than or equal to the maximum use duration, generating first prompt information, wherein the first prompt information is used for prompting a user to stop watching the screen.
In another possible embodiment, the full vision based device control apparatus 10 further includes asecond determination module 16, thesecond determination module 16 is configured to:
the terminal equipment determines the visual matching degree according to the current lighting parameter, the current screen parameter and the full visual parameter;
and the terminal equipment generates first indication information corresponding to the visual matching degree.
In a possible implementation, the second determiningmodule 16 is specifically configured to:
if the visual matching degree is larger than or equal to a second threshold value, the first indication information is used for indicating that the illumination of the illumination device and/or the display of the terminal equipment do not need to be adjusted;
and if the visual matching degree is smaller than the second threshold, the first indication information is used for indicating to adjust the illumination of the illumination device and/or the display of the terminal equipment.
In a possible implementation manner, the second obtainingmodule 12 is specifically configured to:
the terminal equipment sends the user side parameters to a server;
and the terminal equipment receives the full visual parameters sent by the server.
In a possible implementation, the client side parameters further include: the current screen parameters of the terminal equipment and/or the current lighting parameters of the lighting device.
The device control apparatus based on full vision provided in the embodiment of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
Fig. 14 is a schematic hardware structure diagram of the full-vision device control device provided in the present application. Referring to fig. 14, the full-vision based device control device 20 may include: aprocessor 21 and amemory 22, wherein theprocessor 21 and thememory 22 may communicate; illustratively, theprocessor 21 and thememory 22 communicate via acommunication bus 23, thememory 22 being configured to store program instructions, theprocessor 21 being configured to invoke the program instructions in the memory to perform the full vision based device control method as shown in any of the above-described method embodiments.
Optionally, the full vision based device control device 20 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing a full vision based device control method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the full vision based device control method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.