Vehicle sunshade method, device, equipment and system
By covering the inner surface of the vehicle sunroof with an electrochromic film and capacitive layer, and using capacitive sensors to detect touch operations to adjust transparency, the problem of inflexible sunshade mode of the vehicle is solved, and a flexible sunshade effect is achieved without additional controls.
Patent Information
- Application Number
- CN202510805874.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2025-08-19
AI Technical Summary
The existing vehicle shading methods require the installation of sunshade and sunshade control controls, resulting in more internal controls of the vehicle and less flexibility and efficiency.
The inner surface of the vehicle's sunroof is covered with an electrochromic film and a capacitive layer is covered with an inner surface. The touch operation is detected by a capacitive sensor to adjust the transparency of the electrochromic film to achieve sun shading.
No additional controls are required, and the electrochromic film transparency is adjusted by touching the capacitance layer to achieve flexible vehicle shading, reduce sunlight and improve driving comfort.
Smart Images

Figure CN120503574A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of vehicle technology, and in particular to a vehicle sunshade method, device, equipment and system. Background Art
[0002] Vehicles have become an essential means of transportation for daily commutes. As people's expectations for vehicles increase, problems are gradually emerging. For example, when a vehicle is exposed to strong sunlight, sunlight can penetrate through the sunroof and into the vehicle, impacting the safety and comfort of the driver and passengers.
[0003] In the related art, a sunshade is installed on the inner side of the vehicle's sunroof, and a sunshade control control is installed in the vehicle. The sunshade control control is used to control the opening and closing of the sunshade. In response to the triggering operation of the sunshade control control, the sunshade is controlled to open to achieve the purpose of shading the vehicle.
[0004] However, the above method requires the installation of sunshades and sunshade control controls in the vehicle, resulting in a large number of controls installed inside the vehicle, making it easy to press the wrong control, resulting in poor flexibility and low efficiency of vehicle sunshade. Summary of the Invention
[0005] The embodiments of the present application provide a vehicle sunshade method, device, equipment, and system that can be used to solve problems in related technologies. The technical solution is as follows:
[0006] In one aspect, an embodiment of the present application provides a vehicle sunshade method, the method being applied to an electronic device, the electronic device being connected to a capacitive sensor, the capacitive sensor being connected to a capacitive layer, the inner surface of the vehicle sunroof being covered with an electrochromic film, the electrochromic film having a first transparency, the first transparency being used to indicate that the electrochromic film is transparent, the inner surface of the electrochromic film being covered with the capacitive layer, the method comprising:
[0007] receiving a first touch time and a first touch position sent by the capacitive sensor, where the first touch time is a time corresponding to a first touch operation on the capacitive layer, and the first touch position is a position corresponding to the first touch operation on the capacitive layer;
[0008] receiving a second touch time and a second touch position sent by the capacitive sensor, where the second touch time is a time corresponding to a second touch operation on the capacitive layer, and the second touch position is a position corresponding to the second touch operation on the capacitive layer;
[0009] When the time interval between the second touch time and the first touch time is less than a first time threshold and the second touch position and the first touch position meet a position requirement, the transparency of the electrochromic film is adjusted to a second transparency, which is lower than the first transparency.
[0010] In a possible implementation, before adjusting the transparency of the electrochromic film to the second transparency, the method further includes:
[0011] Get the current ambient temperature;
[0012] The second transparency is determined according to the current ambient temperature.
[0013] In a possible implementation, determining the second transparency according to the current ambient temperature includes:
[0014] Using the transparency corresponding to the current ambient temperature as the second transparency; or
[0015] The light intensity corresponding to the current ambient temperature is determined, and the transparency corresponding to the light intensity is used as the second transparency.
[0016] In a possible implementation, after receiving the second touch time and the second touch position sent by the capacitive sensor, the method further includes:
[0017] determining a first area based on the first touch position; determining that the second touch position and the first touch position meet a position requirement when the second touch position is within the first area; and determining that the second touch position and the first touch position do not meet the position requirement when the second touch position is outside the first area; or
[0018] Determine a distance between the second touch position and the first touch position; if the distance is less than a distance threshold, determine that the second touch position and the first touch position meet a position requirement; if the distance is not less than the distance threshold, determine that the second touch position and the first touch position do not meet the position requirement.
[0019] In a possible implementation, after adjusting the transparency of the electrochromic film to the second transparency, the method further includes:
[0020] receiving a third touch time sent by the capacitive sensor, where the third touch time is a time corresponding to a third touch operation on the capacitive layer;
[0021] When the time interval between the third touch time and the second touch time is less than a second time threshold, determining a third transparency according to the second transparency, where the third transparency is different from the second transparency;
[0022] controlling the transparency of the electrochromic film to change from the second transparency to the third transparency according to a reference step;
[0023] During the process of the transparency of the electrochromic film changing, in response to receiving touch information sent by the capacitive sensor, determining a fourth transparency, the fourth transparency being the transparency of the electrochromic film when the touch information is received;
[0024] The transparency of the electrochromic film is adjusted to the fourth transparency.
[0025] In a possible implementation, determining the third transparency according to the second transparency includes:
[0026] When the second transparency is a first value, determining the third transparency to be a second value, the second value being greater than the first value;
[0027] When the second transparency is not the first value, the third transparency is determined to be the first value.
[0028] In a possible implementation, controlling the transparency of the electrochromic film to change from the second transparency to the third transparency according to a reference step size includes:
[0029] When the second transparency is a first value, controlling the transparency of the electrochromic film to increase from the second transparency to the third transparency according to a reference step length;
[0030] When the second transparency is not the first value, the transparency of the electrochromic film is controlled to decrease from the second transparency to the third transparency according to a reference step.
[0031] On the other hand, an embodiment of the present application provides a vehicle sunshade device, the device comprising:
[0032] A receiving module, configured to receive a first touch time and a first touch position sent by the capacitive sensor, where the first touch time is a time corresponding to a first touch operation on the capacitive layer, and the first touch position is a position corresponding to the first touch operation on the capacitive layer;
[0033] The receiving module is further configured to receive a second touch time and a second touch position sent by the capacitive sensor, where the second touch time is a time corresponding to a second touch operation on the capacitive layer, and the second touch position is a position corresponding to the second touch operation on the capacitive layer;
[0034] an adjustment module, configured to adjust the transparency of the electrochromic film to a second transparency lower than the first transparency when the time interval between the second touch time and the first touch time is less than a first time threshold and the second touch position and the first touch position meet a position requirement.
[0035] In a possible implementation, the apparatus further includes:
[0036] Determine module, used to obtain current ambient temperature;
[0037] The second transparency is determined according to the current ambient temperature.
[0038] In a possible implementation, the determining module is configured to use the transparency corresponding to the current ambient temperature as the second transparency; or
[0039] The light intensity corresponding to the current ambient temperature is determined, and the transparency corresponding to the light intensity is used as the second transparency.
[0040] In a possible implementation, the apparatus further includes:
[0041] a determination module, configured to determine a first area based on the first touch position; if the second touch position is within the first area, determine that the second touch position and the first touch position meet a position requirement; if the second touch position is outside the first area, determine that the second touch position and the first touch position do not meet the position requirement; or
[0042] Determine a distance between the second touch position and the first touch position; if the distance is less than a distance threshold, determine that the second touch position and the first touch position meet a position requirement; if the distance is not less than the distance threshold, determine that the second touch position and the first touch position do not meet the position requirement.
[0043] In a possible implementation, the receiving module is further configured to receive a third touch time sent by the capacitive sensor, where the third touch time is a time corresponding to a third touch operation on the capacitive layer;
[0044] The device further comprises:
[0045] a determining module, configured to determine a third transparency according to the second transparency when a time interval between the third touch time and the second touch time is less than a second time threshold, the third transparency being different from the second transparency;
[0046] A control module, configured to control the transparency of the electrochromic film to change from the second transparency to the third transparency according to a reference step size;
[0047] The determining module is further configured to determine a fourth transparency in response to receiving touch information sent by the capacitive sensor during a process in which the transparency of the electrochromic film changes, wherein the fourth transparency is the transparency of the electrochromic film when the touch information is received;
[0048] The adjustment module is further configured to adjust the transparency of the electrochromic film to the fourth transparency.
[0049] In a possible implementation, the determining module is configured to, when the second transparency is a first value, determine that the third transparency is a second value, the second value being greater than the first value;
[0050] When the second transparency is not the first value, the third transparency is determined to be the first value.
[0051] In a possible implementation, the control module is configured to control the transparency of the electrochromic film to increase from the second transparency to the third transparency according to a reference step when the second transparency is a first value;
[0052] When the second transparency is not the first value, the transparency of the electrochromic film is controlled to decrease from the second transparency to the third transparency according to a reference step.
[0053] On the other hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to enable the electronic device to implement any of the above-mentioned vehicle shading methods.
[0054] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned vehicle sunshade methods.
[0055] On the other hand, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable the electronic device to implement any of the above-mentioned vehicle sunshade methods.
[0056] On the other hand, a vehicle shading system is also provided, which includes an electronic device, a capacitive sensor, and an electrochromic film. The electrochromic film is covered on the inner surface of the vehicle's sunroof, and the inner surface of the electrochromic film is covered with a capacitive layer. The capacitive layer is connected to the capacitive sensor, and the capacitive sensor is connected to the electronic device. The electronic device is used to perform the above-mentioned vehicle shading method.
[0057] The technical solutions provided by the embodiments of the present application bring at least the following beneficial effects:
[0058] The technical solution provided in the embodiment of the present application covers the inner surface of the vehicle's sunroof with an electrochromic film, and covers the inner surface of the electrochromic film with a capacitor layer. In this way, the transparency of the electrochromic film can be adjusted by touching the capacitor layer. Since the transparency of the electrochromic film after adjustment is lower than the transparency before adjustment, the sunlight that passes through can be reduced, thereby achieving the purpose of sunshade for the vehicle.
[0059] Moreover, there is no need to install new controls inside the vehicle to achieve vehicle sunshade, so there are fewer controls inside the vehicle, which makes the vehicle sunshade method more flexible.
[0060] In addition, the transparency of the electrochromic film is adjusted only when the capacitive layer is touched twice, the time interval between the two touches is less than the first time threshold, and the positions of the two touches meet the position requirements. This can avoid the situation where the transparency of the electrochromic film is adjusted due to accidental touch. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0062] Figure 1 This is a schematic diagram of an implementation environment of a vehicle sunshade method provided in an embodiment of the present application;
[0063] Figure 2 This is a flow chart of a vehicle sunshade method provided by an embodiment of the present application;
[0064] Figure 3This is a flow chart of a vehicle sunshade method provided by an embodiment of the present application;
[0065] Figure 4 This is a schematic structural diagram of a vehicle sunshade device provided in an embodiment of the present application;
[0066] Figure 5 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0067] Figure 6 This is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0069] It should be noted that the terms "first," "second," and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0070] Figure 1 Schematic diagram of the implementation environment of a vehicle sunshade method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a vehicle 101, the vehicle 101 includes a sunroof 102, the inner surface of the sunroof 102 is covered with an electrochromic film 103, the transparency of the electrochromic film 103 is a first transparency, the first transparency is used to indicate that the electrochromic film 103 is transparent, the inner surface of the electrochromic film 103 is covered with a capacitor layer 104, and the capacitor layer 104 is in a grid shape. An electronic device 105 and a capacitive sensor 106 are installed in the vehicle 101, the electronic device 105 is connected to the capacitive sensor 106, and the capacitive sensor 106 is connected to the capacitive layer 104. The electronic device 105 can be a terminal device or a server, and this embodiment of the application does not limit this. The electronic device 105 is used to execute the vehicle shading method provided in the embodiment of the application.
[0071] Optionally, the electronic device 105 is a terminal device, which can be any electronic device that can interact with a user through one or more methods such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car computer, a smart TV, a smart speaker, a smart watch, etc.
[0072] A terminal device may generally refer to one of multiple terminal devices. This embodiment uses a terminal device as an example. Those skilled in the art will appreciate that the number of terminal devices may be greater or lesser. For example, there may be only one terminal device, or there may be dozens, hundreds, or even more terminal devices. This embodiment of the application does not limit the number or type of terminal devices.
[0073] When the electronic device 105 is a server, the server may be a single server, a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which are not limited in the embodiments of the present application. The server and the terminal device are connected to each other via a wired network or a wireless network. The server has data receiving functions, data processing functions, and data sending functions. Of course, the server may also have other functions, which are not limited in the embodiments of the present application.
[0074] Optionally, the inner surface of the capacitor layer 104 is covered with a protective layer 107 , and the protective layer 107 is used to protect the capacitor layer 104 .
[0075] Those skilled in the art should understand that the above-mentioned terminal devices and servers are only examples, and other existing or future terminal devices or servers, if applicable to this application, should also be included in the scope of protection of this application and are included here by reference.
[0076] The embodiment of the present application provides a vehicle sunshade method, which can be applied to the above Figure 1 The implementation environment shown is Figure 2 As an example, the flowchart of a vehicle sunshade method provided by the embodiment of the present application is shown in FIG. Figure 1 The electronic device 105 in the embodiment is executed. Figure 2 As shown, the method includes the following steps 201 to 203.
[0077] In step 201, a first touch time and a first touch position sent by a capacitive sensor are received, where the first touch time is the time corresponding to the first touch operation on the capacitive layer, and the first touch position is the position corresponding to the first touch operation on the capacitive layer.
[0078] In an exemplary embodiment of the present application, the inner surface of a vehicle's sunroof is covered with an electrochromic film, the inner surface of which is covered with a capacitive layer. A capacitive sensor and electronic equipment are installed in the vehicle. The capacitive layer is connected to the capacitive sensor, which is in turn connected to the electronic equipment, which controls the transparency of the electrochromic film.
[0079] The transparency of the electrochromic film is a first transparency, which indicates that the electrochromic film is transparent. The first transparency is set based on experience or can be flexibly adjusted according to the implementation environment, and is not limited in the embodiments of this application. For example, the first transparency is 100. This means that the electrochromic film is completely transparent, and sunlight outside the vehicle can penetrate through the vehicle's sunroof and into the vehicle interior.
[0080] When the driver and passengers of the vehicle feel that the sunlight shining into the interior of the vehicle is dazzling and want to block the sunlight from entering the interior of the vehicle, the driver and passengers of the vehicle can touch the capacitor layer. When the driver and passengers of the vehicle touch the capacitor layer, since the driver and passengers of the vehicle are grounded, the capacitance of the touched position in the capacitor layer will change. Since the capacitor layer and the capacitor sensor are connected, the capacitor sensor can detect the change in capacitance of the touched position. The capacitor sensor records the first touch time corresponding to the first touch operation on the capacitor layer and the first touch position corresponding to the first touch operation on the capacitor layer, and sends the first touch time and first touch position to the electronic device, so that the electronic device receives the first touch time and first touch position sent by the capacitor sensor.
[0081] Optionally, the inner surface of the capacitor layer may be covered with a protective layer to protect the capacitor layer from damage. If the inner surface of the capacitor layer is covered with the protective layer, the capacitance of the touched location in the capacitor layer will also change if the driver or passenger touches the protective layer.
[0082] In step 202, a second touch time and a second touch position sent by the capacitive sensor are received, where the second touch time is the time corresponding to the second touch operation on the capacitive layer, and the second touch position is the position corresponding to the second touch operation on the capacitive layer.
[0083] In one possible implementation, when the driver or passenger touches the capacitive layer again, the capacitive sensor records the second touch time corresponding to the second touch operation on the capacitive layer and the second touch position corresponding to the second touch operation on the capacitive layer, and sends the second touch time and the second touch position to the electronic device, so that the electronic device receives the second touch time and the second touch position sent by the capacitive sensor.
[0084] In step 203, when the time interval between the second touch time and the first touch time is less than the first time threshold and the second touch position and the first touch position meet the position requirement, the transparency of the electrochromic film is adjusted to a second transparency, which is lower than the first transparency.
[0085] The first time threshold is set based on experience or flexibly adjusted according to the implementation environment, which is not limited in the embodiment of the present application.
[0086] Optionally, it is possible to first determine whether the time interval between the second touch time and the first touch time is less than the first time threshold, and if the time interval between the second touch time and the first touch time is less than the first time threshold, then determine whether the second touch position and the first touch position meet the position requirement. Alternatively, it is possible to first determine whether the second touch position and the first touch position meet the position requirement, and if it is determined that the second touch position and the first touch position meet the position requirement, then determine whether the time interval between the second touch time and the first touch time is less than the first time threshold. The embodiment of the present application does not limit the time sequence of determining whether the time interval between the second touch time and the first touch time is less than the first time threshold and determining whether the second touch position and the first touch position meet the position requirement.
[0087] In a possible implementation, the process of determining the time interval between the second touch time and the first touch time includes: subtracting the second touch time from the first touch time to obtain the time interval between the second touch time and the first touch time.
[0088] Exemplarily, the second touch time is 14:15:20 on June 11, 2025, and the first touch time is 14:15:15 on June 11, 2025, and the time interval between the second touch time and the first touch time is 5 seconds.
[0089] In a possible implementation, the embodiment of the present application provides the following two implementations to determine whether the second touch position and the first touch position meet the position requirements.
[0090] Implementation method 1: determining a first area according to a first touch position; and determining whether the second touch position and the first touch position meet position requirements according to the first area and a second touch position.
[0091] Optionally, the process of determining the first area based on the first touch location includes: determining a circle with the location information of the first touch location as the center and the target length as the radius, and defining the area covered by the circle as the first area. The target length is set based on experience or flexibly adjusted according to the implementation environment, and is not limited in this embodiment of the present application. For example, the target length is 3 centimeters.
[0092] In one possible implementation, the process of determining whether the second touch position and the first touch position meet the position requirements based on the first area and the second touch position includes: when the second touch position is within the first area, determining that the second touch position and the first touch position meet the position requirements; when the second touch position is outside the first area, determining that the second touch position and the first touch position do not meet the position requirements.
[0093] In this implementation, by determining whether the second touch position is located in the first area determined based on the first touch position, it is determined whether the second touch position and the first touch position meet the position requirements, so that the method of determining whether the second touch position and the first touch position meet the position requirements is more flexible and the accuracy of the determination result is higher.
[0094] Implementation method 2: determining the distance between the second touch position and the first touch position; and determining whether the second touch position and the first touch position meet position requirements based on the distance between the second touch position and the first touch position.
[0095] In a possible implementation, the process of determining the distance between the second touch position and the first touch position includes: determining the distance between the second touch position and the first touch position according to position information of the second touch position and position information of the first touch position.
[0096] Optionally, the distance between the second touch position and the first touch position is determined according to the following formula (1) based on the position information of the second touch position and the position information of the first touch position.
[0097]
[0098] In the above formula (1), L is the distance between the second touch position and the first touch position, (X2, Y2) is the position information of the second touch position, and (X1, Y1) is the position information of the first touch position.
[0099] In one possible implementation, after determining the distance between the second touch position and the first touch position, the process of determining whether the second touch position and the first touch position meet the position requirement based on the distance between the second touch position and the first touch position includes: if the distance is less than a distance threshold, determining that the second touch position and the first touch position meet the position requirement; if the distance is not less than the distance threshold, determining that the second touch position and the first touch position do not meet the position requirement.
[0100] The distance threshold is set based on experience or flexibly adjusted according to the implementation environment, which is not limited in the present embodiment. For example, the distance threshold is 3 centimeters.
[0101] In this implementation, by determining the distance between the second touch position and the first touch position, it is determined whether the second touch position and the first touch position meet the position requirements, so that the method of determining whether the second touch position and the first touch position meet the position requirements is more flexible and the accuracy of the determination result is higher.
[0102] It should be noted that any of the above implementation methods can be selected to determine whether the second touch position and the first touch position meet the position requirements, and the embodiments of the present application are not limited to this.
[0103] In a possible implementation, if the time interval between the second touch time and the first touch time is not less than the first time threshold, and / or the second touch position and the first touch position do not meet the position requirement, then subsequent steps do not need to be performed.
[0104] In one possible implementation, if the time interval between the second touch time and the first touch time is less than a first time threshold, and the second touch position and the first touch position meet position requirements, the transparency of the electrochromic film is adjusted to a second transparency, which is lower than the first transparency. This can reduce the amount of sunlight entering the vehicle interior, thereby achieving the purpose of sunshade.
[0105] Optionally, before adjusting the transparency of the electrochromic film to the second transparency, it is necessary to first obtain the second transparency. The second transparency can be a pre-set transparency or a transparency determined based on the current ambient temperature, which is not limited in this embodiment of the present application. In the case where the second transparency is a pre-set transparency, the second transparency can be set based on experience or flexibly adjusted according to the implementation environment, which is not limited in this embodiment of the present application. For example, the second transparency is 0.
[0106] In this implementation, the transparency of the electrochromic film is adjusted to the second transparency only when the time interval between the second touch time and the first touch time is less than the first time threshold and the second touch position and the first touch position meet the position requirements. This can not only accurately filter out erroneous operations caused by driving bumps, unintentional touch by drivers and passengers, and avoid incorrect adjustment of the transparency of the electrochromic film, but also conform to the natural operating habits of drivers and passengers of quick and continuous clicking, reduce learning costs, and improve the fluency and intuitiveness of the interactive experience.
[0107] In another possible implementation, the process of obtaining the second transparency includes: obtaining the current ambient temperature; and determining the second transparency according to the current ambient temperature.
[0108] In this implementation, the transparency of the electrochromic film is dynamically adjusted based on the current ambient temperature, so that the adjusted transparency of the electrochromic film conforms to the current ambient temperature, thereby improving the driving comfort of the driver and passengers.
[0109] Optionally, the process of obtaining the current ambient temperature includes: the vehicle includes a temperature sensor, the temperature sensor is used to obtain the current ambient temperature, and the temperature sensor is communicatively connected to the electronic device via a wired network or a wireless network. After obtaining the current ambient temperature, the temperature sensor transmits the current ambient temperature to the electronic device, so that the electronic device obtains the current ambient temperature.
[0110] Optionally, the process of determining the second transparency according to the current ambient temperature includes: using the transparency corresponding to the current ambient temperature as the second transparency; or determining the light intensity corresponding to the current ambient temperature and using the transparency corresponding to the light intensity as the second transparency.
[0111] In a possible implementation, the electronic device stores correspondences between various temperatures and transparencies. The electronic device determines the transparency corresponding to the current ambient temperature and uses the transparency corresponding to the current ambient temperature as the second transparency.
[0112] In a possible implementation, the light intensity corresponding to the current ambient temperature is determined according to the following formula (2).
[0113]
[0114] In the above formula (2), E is the light intensity corresponding to the current ambient temperature, A is the surface albedo, σ is the Stefan constant, t is the current ambient temperature, and τ is the atmospheric transmittance.
[0115] Among them, the value of Stefan constant is 5.67*10 -8 W / (m 2 ·K 4) (Watts per square meter Kelvin (Kelvin 4). The surface albedo varies depending on the surface. For example, grass has an albedo of 0.2, while snow has an albedo of 0.8. Atmospheric transmittance depends on the weather: clear weather has an albedo of 0.7, while cloudy weather has an albedo of 0.3.
[0116] For example, the current ambient temperature is 25°C (degrees Celsius), the ground is asphalt, the surface albedo is 0.1, the weather is clear, and the atmospheric transmittance is 0.7. The above formula (2) can be used to determine the light intensity: (Watts / square meter). That is, the light intensity corresponding to the current ambient temperature is 713 watts / square meter.
[0117] Optionally, the electronic device stores a correspondence between various light intensities and transparencies, and uses the transparency corresponding to the light intensity corresponding to the current ambient temperature as the second transparency.
[0118] In this implementation, two processes for determining the second transparency according to the current ambient temperature are provided, so that the determination method of the second transparency is more flexible.
[0119] In one possible implementation, after the transparency of the electrochromic film is adjusted to the second transparency, the driver and passenger can also touch the capacitive layer. After the capacitive sensor receives the third touch operation on the capacitive layer, it records the third touch time corresponding to the third touch operation on the capacitive layer, and sends the third touch time to the electronic device, so that the electronic device receives the third touch time sent by the capacitive sensor; when the time interval between the third touch time and the second touch time is less than the second time threshold, the third transparency is determined based on the second transparency, and the third transparency is different from the second transparency; the transparency of the electrochromic film is controlled to change from the second transparency to the third transparency according to the reference step; in the process of the transparency change of the electrochromic film, in response to receiving the touch information sent by the capacitive sensor, the fourth transparency is determined, and the fourth transparency is the transparency of the electrochromic film when the touch information is received; the transparency of the electrochromic film is adjusted to the fourth transparency.
[0120] The second time threshold is set based on experience or flexibly adjusted according to the implementation environment, and is not limited in the embodiments of the present application. The second time threshold may be the same as or different from the first time threshold, and is not limited in the embodiments of the present application. The reference step size is set based on experience or flexibly adjusted according to the implementation environment, and is not limited in the embodiments of the present application. For example, the reference step size is 10.
[0121] In one possible implementation, the process of determining the third transparency based on the second transparency includes: when the second transparency is the first value, determining the third transparency to be the second value, and the second value is greater than the first value; when the second transparency is not the first value, determining the third transparency to be the first value.
[0122] The first value and the second value are set based on experience, or are flexibly adjusted according to the implementation environment, and are not limited in this embodiment of the present application. For example, the first value is 0 and the second value is 100.
[0123] In one possible implementation, the process of controlling the transparency of the electrochromic film to change from the second transparency to the third transparency according to a reference step includes: when the second transparency is a first value, controlling the transparency of the electrochromic film to increase from the second transparency to the third transparency according to the reference step; when the second transparency is not the first value, controlling the transparency of the electrochromic film to decrease from the second transparency to the third transparency according to the reference step.
[0124] For example, when the second transparency is 0, the transparency of the electrochromic film is controlled to increase from 0 to 100 according to the reference step size.
[0125] For another example, when the second transparency is 50, the transparency of the electrochromic film is controlled to decrease from 50 to 0 according to the reference step size.
[0126] In one possible implementation, while the electrochromic film's transparency changes, the driver or passenger can control the film's transparency by touching the capacitive layer. When the driver or passenger touches the capacitive layer again, the capacitive sensor sends touch information to the electronic device. Upon receiving the touch information, the electronic device determines a fourth transparency level, which is the film's transparency at the time of the touch information, and then adjusts the film's transparency to the fourth level.
[0127] For example, when the touch information is received, the transparency of the electrochromic film is 30, the fourth transparency is determined to be 30, and then the transparency of the electrochromic film is adjusted to 30.
[0128] In this implementation, the electrochromic film's transparency changes from a second transparency to a third transparency in reference steps, allowing drivers and passengers to dynamically perceive the light transmittance of the vehicle's sunroof. By fixing the transparency of the electrochromic film through touch, drivers and passengers have control over the film, allowing the transparency to be quickly locked to their desired setting. This not only meets the driver's and passengers' needs for flexible intelligent adjustment, but also improves interaction efficiency and user experience.
[0129] In one possible implementation, after adjusting the transparency of the electrochromic film to the fourth transparency, the driver or passenger may further adjust the transparency of the electrochromic film to the first transparency to allow sunlight to penetrate into the interior of the vehicle through the vehicle windows.
[0130] Optionally, the fifth touch time and the fifth touch position sent by the capacitive sensor are received, where the fifth touch time is the time corresponding to the receipt of the fifth touch operation on the capacitive layer, and the fifth touch position is the position corresponding to the receipt of the fifth touch operation on the capacitive layer; the sixth touch time and the sixth touch position sent by the capacitive sensor are received, where the sixth touch time is the time corresponding to the receipt of the sixth touch operation on the capacitive layer, and the sixth touch position is the position corresponding to the receipt of the sixth touch operation on the capacitive layer; when the time interval between the sixth touch time and the fifth touch time is less than the first time threshold, and the sixth touch position and the fifth touch position meet the position requirements, the transparency of the electrochromic film is adjusted to the first transparency.
[0131] The process of determining the time interval between the sixth touch time and the fifth touch time is similar to the process of determining the time interval between the second touch time and the first touch time, and is not further described in detail in this embodiment of the present application. The process of determining whether the sixth touch position and the fifth touch position meet the position requirements is similar to the process of determining whether the second touch position and the first touch position meet the position requirements, and is not further described in detail in this embodiment of the present application.
[0132] The above method covers the inner surface of the vehicle's sunroof with an electrochromic film and covers the inner surface of the electrochromic film with a capacitor layer. In this way, the transparency of the electrochromic film can be adjusted by touching the capacitor layer. Since the transparency of the electrochromic film after adjustment is lower than the transparency before adjustment, the sunlight that passes through can be reduced, thereby achieving the purpose of sunshade for the vehicle.
[0133] Moreover, there is no need to install new controls inside the vehicle to achieve vehicle sunshade, so there are fewer controls inside the vehicle, which makes the vehicle sunshade method more flexible.
[0134] In addition, the transparency of the electrochromic film is adjusted only when the capacitive layer is touched twice, the time interval between the two touches is less than the first time threshold, and the positions of the two touches meet the position requirements. This can avoid the situation where the transparency of the electrochromic film is adjusted due to accidental touch.
[0135] Figure 3 This is a flow chart of a vehicle sunshade method provided by an embodiment of the present application. Figure 3 As shown, the method includes the following steps 301 to 315.
[0136] Step 301: Whether a first touch operation on the capacitive layer is received.
[0137] In the case where the first touch operation on the capacitive layer is received, step 302 is executed; in the case where the first touch operation on the capacitive layer is not received, the process ends.
[0138] Step 302: Acquire a first touch time and a first touch position of a first touch operation.
[0139] Step 303: Whether a second touch operation on the capacitive layer is received.
[0140] In the case where the second touch operation on the capacitive layer is received, step 304 is executed; in the case where the second touch operation on the capacitive layer is not received, the process ends.
[0141] Step 304: Acquire a second touch time and a second touch position of a second touch operation.
[0142] Step 305: Whether the time interval between the second touch time and the first touch time is less than a first time threshold.
[0143] If the time interval between the second touch time and the first touch time is less than the first time threshold, step 306 is executed; if the time interval between the second touch time and the first touch time is not less than the first time threshold, the process ends.
[0144] Step 306: Whether the second touch position and the first touch position meet the position requirement.
[0145] If the second touch position and the first touch position meet the position requirement, step 307 is executed; if the second touch position and the first touch position do not meet the position requirement, the process ends.
[0146] Step 307: Adjust the transparency of the electrochromic film to a second transparency.
[0147] Step 308: Whether a third touch operation on the capacitive layer is received.
[0148] If the third touch operation on the capacitive layer is received, step 309 is executed; if the third touch operation on the capacitive layer is not received, the process ends.
[0149] Step 309: Acquire the third touch time of the third touch operation.
[0150] Step 310: Whether the time interval between the third touch time and the second touch time is less than a second time threshold.
[0151] If the time interval between the third touch time and the second touch time is less than the second time threshold, step 311 is executed; if the time interval between the third touch time and the second touch time is not less than the second time threshold, the process ends.
[0152] Step 311: Determine a third transparency according to the second transparency.
[0153] Step 312: Control the transparency of the electrochromic film to change from the second transparency to the third transparency according to the reference step size.
[0154] Step 313: Whether a fourth touch operation on the capacitive layer is received.
[0155] If the fourth touch operation on the capacitive layer is received, step 314 is executed; if the fourth touch operation on the capacitive layer is not received, the process ends.
[0156] Step 314 : Determine a fourth transparency, where the fourth transparency is the transparency of the electrochromic film when a fourth touch operation on the capacitive layer is received.
[0157] Step 315: Adjust the transparency of the electrochromic film to a fourth transparency.
[0158] Figure 4 FIG. 1 is a schematic structural diagram of a vehicle sunshade device provided in an embodiment of the present application. Figure 4 As shown, the device includes:
[0159] A receiving module 401 is configured to receive a first touch time and a first touch position sent by the capacitive sensor, where the first touch time is the time corresponding to the first touch operation on the capacitive layer, and the first touch position is the position corresponding to the first touch operation on the capacitive layer;
[0160] The receiving module 401 is further configured to receive a second touch time and a second touch position sent by the capacitive sensor, where the second touch time is the time corresponding to the second touch operation on the capacitive layer, and the second touch position is the position corresponding to the second touch operation on the capacitive layer;
[0161] The adjustment module 402 is configured to adjust the transparency of the electrochromic film to a second transparency lower than the first transparency when the time interval between the second touch time and the first touch time is less than the first time threshold and the second touch position and the first touch position meet the position requirement.
[0162] In a possible implementation, the apparatus further includes:
[0163] Determine module, used to obtain current ambient temperature;
[0164] The second transparency is determined according to the current ambient temperature.
[0165] In a possible implementation, the determining module is configured to use the transparency corresponding to the current ambient temperature as the second transparency; or,
[0166] The light intensity corresponding to the current ambient temperature is determined, and the transparency corresponding to the light intensity is used as the second transparency.
[0167] In a possible implementation, the apparatus further includes:
[0168] a determination module, configured to determine the first area according to the first touch position; if the second touch position is within the first area, determine that the second touch position and the first touch position meet the position requirement; if the second touch position is outside the first area, determine that the second touch position and the first touch position do not meet the position requirement; or,
[0169] Determine a distance between the second touch position and the first touch position; if the distance is less than a distance threshold, determine that the second touch position and the first touch position meet the position requirement; if the distance is not less than the distance threshold, determine that the second touch position and the first touch position do not meet the position requirement.
[0170] In a possible implementation, the receiving module 401 is further configured to receive a third touch time sent by the capacitive sensor, where the third touch time is a time corresponding to a third touch operation on the capacitive layer;
[0171] The device also includes:
[0172] a determining module, configured to determine a third transparency according to the second transparency when a time interval between the third touch time and the second touch time is less than a second time threshold, the third transparency being different from the second transparency;
[0173] a control module, configured to control the transparency of the electrochromic film to change from a second transparency to a third transparency according to a reference step;
[0174] The determination module is further configured to determine a fourth transparency in response to receiving touch information sent by the capacitive sensor during a process in which the transparency of the electrochromic film changes, where the fourth transparency is the transparency of the electrochromic film when the touch information is received;
[0175] The adjustment module 402 is further configured to adjust the transparency of the electrochromic film to a fourth transparency.
[0176] In a possible implementation, the determining module is configured to, when the second transparency is a first value, determine that the third transparency is a second value, the second value being greater than the first value;
[0177] When the second transparency is not the first value, the third transparency is determined to be the first value.
[0178] In a possible implementation, the control module is configured to control the transparency of the electrochromic film to increase from the second transparency to a third transparency according to a reference step when the second transparency is the first value;
[0179] When the second transparency is not the first value, the transparency of the electrochromic film is controlled to decrease from the second transparency to the third transparency according to the reference step size.
[0180] The above-mentioned device covers the inner surface of the vehicle's sunroof with an electrochromic film, and covers the inner surface of the electrochromic film with a capacitor layer. In this way, the transparency of the electrochromic film can be adjusted by touching the capacitor layer. Since the transparency of the electrochromic film after adjustment is lower than the transparency before adjustment, the sunlight that passes through can be reduced, thereby achieving the purpose of sunshade for the vehicle.
[0181] Moreover, there is no need to install new controls inside the vehicle to achieve vehicle sunshade, so there are fewer controls inside the vehicle, which makes the vehicle sunshade method more flexible.
[0182] In addition, the transparency of the electrochromic film is adjusted only when the capacitive layer is touched twice, the time interval between the two touches is less than the first time threshold, and the positions of the two touches meet the position requirements. This can avoid the situation where the transparency of the electrochromic film is adjusted due to accidental touch.
[0183] It should be understood that the above-mentioned device is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned 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 and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0184] Figure 5 The following is a block diagram of a terminal device 500 provided in accordance with an exemplary embodiment of the present application. The terminal device 500 may be any electronic device capable of human-computer interaction with a user through one or more methods, such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include a PC (Personal Computer), mobile phone, smartphone, PDA (Personal Digital Assistant), wearable device, Pocket PC (PPC), tablet computer, smart car computer, smart TV, smart speaker, smart watch, and the like.
[0185] Typically, the terminal device 500 includes a processor 501 and a memory 502 .
[0186] The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0187] Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 502 is used to store at least one instruction, which is executed by processor 501 to implement the vehicle sunshade method provided in the method embodiment of the present application.
[0188] In some embodiments, terminal device 500 may optionally include a peripheral device interface 503 and at least one peripheral device. Processor 501, memory 502, and peripheral device interface 503 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 503 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507, and a power supply 508.
[0189] The peripheral device interface 503 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0190] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 504 can communicate with other terminal devices via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 504 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0191] The display screen 505 is used to display a user interface (UI). This UI may include graphics, text, icons, videos, or any combination thereof. When the display screen 505 is a touch screen, it is also capable of collecting touch signals on or above the surface of the display screen 505. These touch signals can be input as control signals to the processor 501 for processing. In this case, the display screen 505 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there can be one display screen 505, located on the front panel of the terminal device 500. In other embodiments, there can be at least two display screens 505, located on different surfaces of the terminal device 500 or in a foldable design. In other embodiments, the display screen 505 can be a flexible display, located on a curved or foldable surface of the terminal device 500. Furthermore, the display screen 505 can be configured as a non-rectangular irregular shape, i.e., a special-shaped screen. The display screen 505 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0192] The camera assembly 506 is used to capture images or videos. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 500, and the rear camera is arranged on the back of the terminal device 500. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 506 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0193] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals to be input into the processor 501 for processing, or input into the radio frequency circuit 504 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there can be multiple microphones, which are respectively arranged in different parts of the terminal device 500. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker can be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signals into sound waves audible to humans, but also convert the electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 507 may also include a headphone jack.
[0194] Power supply 508 is used to power various components in terminal device 500. Power supply 508 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 508 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0195] In some embodiments, the terminal device 500 further includes one or more sensors 509 , including but not limited to: an acceleration sensor 510 , a gyroscope sensor 511 , a pressure sensor 512 , an optical sensor 513 , and a proximity sensor 514 .
[0196] The accelerometer 510 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal device 500. For example, the accelerometer 510 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 501 can control the display screen 505 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 510. The accelerometer 510 can also be used to collect game or user motion data.
[0197] The gyroscope sensor 511 can detect the body orientation and rotation angle of the terminal device 500. The gyroscope sensor 511 can work with the acceleration sensor 510 to collect the user's 3D movements of the terminal device 500. Based on the data collected by the gyroscope sensor 511, the processor 501 can implement the following functions: motion sensing (such as changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0198] The pressure sensor 512 can be set on the side frame of the terminal device 500 and / or the lower layer of the display screen 505. When the pressure sensor 512 is set on the side frame of the terminal device 500, it can detect the user's grip signal of the terminal device 500, and the processor 501 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 512. When the pressure sensor 512 is set on the lower layer of the display screen 505, the processor 501 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 505. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0199] The optical sensor 513 is used to detect ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 based on the ambient light intensity detected by the optical sensor 513. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is decreased. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera assembly 506 based on the ambient light intensity detected by the optical sensor 513.
[0200] The proximity sensor 514, also known as a distance sensor, is typically located on the front panel of the terminal device 500. The proximity sensor 514 is used to detect the distance between the user and the front of the terminal device 500. In one embodiment, when the proximity sensor 514 detects that the distance between the user and the front of the terminal device 500 is gradually decreasing, the processor 501 controls the display screen 505 to switch from the screen-on state to the screen-off state. When the proximity sensor 514 detects that the distance between the user and the front of the terminal device 500 is gradually increasing, the processor 501 controls the display screen 505 to switch from the screen-off state to the screen-on state.
[0201] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the terminal device 500, and the terminal device 500 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0202] Figure 6This is a schematic diagram of the structure of the server provided in the embodiment of the present application. The server 600 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 601 and one or more memories 602, wherein the one or more memories 602 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 601 to implement the vehicle sunshade method provided by each of the above method embodiments. Of course, the server 600 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 600 may also include other components for implementing device functions, which will not be described in detail here.
[0203] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned vehicle sunshade methods.
[0204] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0205] In an exemplary embodiment, a computer program or a computer program product is also provided. The computer program or the computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable an electronic device to implement any of the above-mentioned vehicle sunshade methods.
[0206] In an exemplary embodiment, a vehicle shading system is also provided, which includes an electronic device, a capacitive sensor, and an electrochromic film. The electrochromic film is covered on the inner surface of the vehicle's sunroof, and the inner surface of the electrochromic film is covered with a capacitive layer. The capacitive layer is connected to the capacitive sensor, and the capacitive sensor is connected to the electronic device. The electronic device is used to perform any of the above-mentioned vehicle shading methods.
[0207] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0208] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0209] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A vehicle sunshade method, characterized in that: The method is applied to an electronic device, the electronic device is connected to a capacitive sensor, the capacitive sensor is connected to a capacitive layer, the inner surface of a sunroof of the vehicle is covered with an electrochromic film, the transparency of the electrochromic film is a first transparency, the first transparency is used to indicate that the electrochromic film is transparent, and the inner surface of the electrochromic film is covered with the capacitive layer. The method includes: receiving a first touch time and a first touch position sent by the capacitive sensor, where the first touch time is a time corresponding to a first touch operation on the capacitive layer, and the first touch position is a position corresponding to the first touch operation on the capacitive layer; receiving a second touch time and a second touch position sent by the capacitive sensor, where the second touch time is a time corresponding to a second touch operation on the capacitive layer, and the second touch position is a position corresponding to the second touch operation on the capacitive layer; When the time interval between the second touch time and the first touch time is less than a first time threshold and the second touch position and the first touch position meet a position requirement, the transparency of the electrochromic film is adjusted to a second transparency, which is lower than the first transparency.
2. The method according to claim 1, characterized in that Before adjusting the transparency of the electrochromic film to the second transparency, the method further includes: Get the current ambient temperature; The second transparency is determined according to the current ambient temperature.
3. The method according to claim 2, characterized in that The determining the second transparency according to the current ambient temperature includes: Using the transparency corresponding to the current ambient temperature as the second transparency; or The light intensity corresponding to the current ambient temperature is determined, and the transparency corresponding to the light intensity is used as the second transparency.
4. The method according to any one of claims 1 to 3, characterized in that: After receiving the second touch time and the second touch position sent by the capacitive sensor, the method further includes: determining a first area based on the first touch position; determining that the second touch position and the first touch position meet a position requirement when the second touch position is within the first area; and determining that the second touch position and the first touch position do not meet the position requirement when the second touch position is outside the first area; or Determine a distance between the second touch position and the first touch position; if the distance is less than a distance threshold, determine that the second touch position and the first touch position meet a position requirement; if the distance is not less than the distance threshold, determine that the second touch position and the first touch position do not meet the position requirement.
5. The method according to any one of claims 1 to 3, characterized in that: After adjusting the transparency of the electrochromic film to the second transparency, the method further includes: receiving a third touch time sent by the capacitive sensor, where the third touch time is a time corresponding to a third touch operation on the capacitive layer; When the time interval between the third touch time and the second touch time is less than a second time threshold, determining a third transparency according to the second transparency, where the third transparency is different from the second transparency; controlling the transparency of the electrochromic film to change from the second transparency to the third transparency according to a reference step; During the process of the transparency of the electrochromic film changing, in response to receiving touch information sent by the capacitive sensor, determining a fourth transparency, the fourth transparency being the transparency of the electrochromic film when the touch information is received; The transparency of the electrochromic film is adjusted to the fourth transparency.
6. The method according to claim 5, characterized in that The determining of a third transparency according to the second transparency includes: When the second transparency is a first value, determining the third transparency to be a second value, the second value being greater than the first value; When the second transparency is not the first value, the third transparency is determined to be the first value.
7. The method according to claim 6, characterized in that The controlling the transparency of the electrochromic film to change from the second transparency to the third transparency according to a reference step size includes: When the second transparency is a first value, controlling the transparency of the electrochromic film to increase from the second transparency to the third transparency according to a reference step length; When the second transparency is not the first value, the transparency of the electrochromic film is controlled to decrease from the second transparency to the third transparency according to a reference step.
8. A vehicle sunshade device, characterized in that: The device comprises: A receiving module, configured to receive a first touch time and a first touch position sent by the capacitive sensor, where the first touch time is a time corresponding to a first touch operation on the capacitive layer, and the first touch position is a position corresponding to the first touch operation on the capacitive layer; The receiving module is further configured to receive a second touch time and a second touch position sent by the capacitive sensor, where the second touch time is a time corresponding to a second touch operation on the capacitive layer, and the second touch position is a position corresponding to the second touch operation on the capacitive layer; an adjustment module, configured to adjust the transparency of the electrochromic film to a second transparency lower than the first transparency when the time interval between the second touch time and the first touch time is less than a first time threshold and the second touch position and the first touch position meet a position requirement.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the electronic device implements the vehicle sunshade method according to any one of claims 1 to 7.
10. A vehicle sunshade system, characterized in that: The system includes an electronic device, a capacitive sensor, and an electrochromic film, wherein the electrochromic film is covered on the inner surface of the vehicle's sunroof, and the inner surface of the electrochromic film is covered with a capacitive layer, which is connected to the capacitive sensor, which is connected to the electronic device, and the electronic device is used to perform the vehicle shading method as described in any one of claims 1 to 7.