Light source control method, phototherapy mask and computer readable storage medium

By using a wear sensor on a phototherapy mask to control the light source, the rapid power consumption caused by the light irritation of the eyes and the missed opening of the light when worn or removed is solved, improving the user experience and extending the battery life.

CN119424937APending Publication Date: 2025-02-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411858884.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The strong light of the phototherapy mask when worn or removed irritates the eyes, causing discomfort. At the same time, the improper light will cause power consumption to affect the battery life.

Method used

Wearing sensors, including the transmitting end and the receiving end, control the light source of the phototherapy mask by judging the signal transmission situation, ensuring that the light source is closed in time when worn or removed, and avoiding mistaken opening.

Benefits of technology

It effectively avoids the problem of light irritating the eyes when worn or removed from the phototherapy mask, improves the user experience, and reduces fast power consumption and battery life damage caused by mistake.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119424937A_ABST
    Figure CN119424937A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of phototherapy masks, and discloses a light source control method, a phototherapy mask and a computer readable storage medium, and the light source control method is used for the phototherapy mask and comprises the steps: obtaining a receiving signal of a receiving end of a wearing sensor, judging the signal transmission condition between the transmitting end of the wearing sensor and the receiving end according to the receiving signal; if the receiving end receives the transmitting signal transmitted by the transmitting end, controlling the light source of the phototherapy mask to be turned off; and if the receiving end does not receive the transmitting signal transmitted by the transmitting end, controlling the light source of the phototherapy mask to be turned on. According to the light source control method provided by the invention, when the receiving end receives the transmitting signal transmitted by the transmitting end, the light source of the phototherapy mask is controlled to be turned off; only when the receiving end does not receive the emission signal emitted by the emission end, the light source of the phototherapy mask is controlled to be turned on, strong light stimulates eyes, great discomfort is avoided, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of phototherapy masks, and in particular to a light source control method, a phototherapy mask and a computer-readable storage medium. Background Art

[0002] A phototherapy mask is a beauty device that can emit light within a certain wavelength range. Using a phototherapy mask for phototherapy can effectively promote blood circulation, reduce wrinkles and spots, and thus improve skin quality.

[0003] When used, the light therapy mask emits relatively strong light. A silicone light shield is usually provided on the light therapy mask to block the strong light. However, due to the setting of the silicone light shield, users often forget whether the light is still on. At the same time, when using the remote control to control the light on and off, there is also the possibility of false triggering and causing the light to turn on.

[0004] If you wear a light therapy mask or take off a light therapy mask when the light is on, the strong light will irritate your eyes, causing great discomfort and a poor user experience. In addition, if the light is turned on when you are not wearing a light therapy mask, it will cause rapid power consumption and affect battery life. Summary of the invention

[0005] In view of this, the present invention provides a light source control method, a light therapy mask and a computer-readable storage medium to solve the problem that strong light may irritate the eyes when wearing or removing the light therapy mask, and the problem that the light of the light therapy mask is accidentally turned on, resulting in rapid power consumption and affecting the battery life.

[0006] In a first aspect, the present invention provides a light source control method for a light therapy mask, comprising:

[0007] Acquire a received signal from a receiving end of a wearable sensor, and determine a signal transmission condition between a transmitting end of the wearable sensor and the receiving end according to the received signal;

[0008] If the receiving end receives the transmission signal transmitted by the transmitting end, the light source of the phototherapy mask is controlled to be turned off;

[0009] If the receiving end does not receive the transmission signal transmitted by the transmitting end, the light source of the phototherapy mask is controlled to turn on.

[0010] Beneficial effects: The wearing sensor includes a transmitter and a receiver. When the user wears the phototherapy mask, the receiver and the transmitter are blocked by the user's face, and the receiver cannot receive the transmission signal emitted by the transmitter. At this time, the light source of the phototherapy mask is controlled to be turned on, which can avoid turning on the light source before and during wearing, prevent strong light from irritating the eyes, avoid causing greater discomfort, and improve the user's wearing experience; the phototherapy mask can also be used for phototherapy to effectively promote blood circulation and reduce wrinkles and spots. When the user takes off the phototherapy mask, the user's face no longer blocks the receiver and the transmitter, and the receiver can normally receive the transmission signal emitted by the transmitter. At this time, the light source of the phototherapy mask is controlled to be turned off, which can avoid keeping the light source on during the process of removing the phototherapy mask, prevent strong light from irritating the eyes during the process of removing the phototherapy mask, avoid causing greater discomfort, and improve the user experience.

[0011] Furthermore, when the receiving end receives the transmission signal emitted by the transmitting end, the light source of the phototherapy mask is controlled to be turned off; only when the receiving end does not receive the transmission signal emitted by the transmitting end, the light source of the phototherapy mask is controlled to be turned on; it can also prevent the user from forgetting that the light source is still on due to the setting of the silicone light shield, and avoid the light source being turned on due to false triggering when using the remote control to control the turning on and off of the light source, thereby avoiding the problem of rapid power consumption caused by the false turning on of the light source affecting the battery life.

[0012] In an optional implementation, the acquiring a received signal of a receiving end of the wearable sensor includes acquiring an output level of the receiving end.

[0013] Beneficial effect: By acquiring the output level of the receiving end, the receiving state of the receiving end for the transmission signal transmitted by the transmitting end can be displayed more quickly, more intuitively and more accurately.

[0014] In an optional embodiment, judging the signal transmission status between the transmitting end and the receiving end of the wearable sensor based on the received signal includes: if the output level changes from a low level to a high level and a rising edge interrupt is set, it is considered that the receiving end has received the transmission signal emitted by the transmitting end.

[0015] Beneficial effect: When the output level changes from low level to high level, by setting the rising edge interrupt, the light source can be quickly turned off when the user takes off the phototherapy mask, which can avoid the light source from being turned on during the process of removing the phototherapy mask, prevent the strong light from irritating the eyes during the process of removing the phototherapy mask, avoid causing greater discomfort, and improve the user experience. It can also avoid the problem of rapid power consumption caused by the light source being turned on by mistake, which affects the battery life.

[0016] At the same time, by using the conversion between low level and high level to judge whether the phototherapy mask is worn or not, compared with using infrared distance sensor to judge whether the phototherapy mask is worn or not through infrared distance data (when the infrared distance data is low to a certain distance, it is considered that the phototherapy mask is worn), the judgment of low level and high level will be more accurate and simple, and the use of rising edge interruption can also make the user have a faster reaction speed in the process of removing the phototherapy mask, improving the user experience. Moreover, the use of infrared distance sensor will cause data fluctuations when the user shakes, and there is a possibility of misjudgment, while when using the wearing sensor of the receiving end and the transmitting end, it is not easy to cause fluctuations and will be more stable.

[0017] In an optional embodiment, judging the signal transmission status between the transmitting end and the receiving end of the wearable sensor based on the received signal includes: if the output level changes from a high level to a low level, a falling edge interrupt is set, and it is considered that the receiving end has not received the transmission signal emitted by the transmitting end.

[0018] Beneficial effect: When the output level changes from high level to low level, by setting the falling edge interrupt, the light source can be quickly turned on after the user wears the phototherapy mask, which can avoid turning on the light source before and during wearing, prevent strong light from irritating the eyes, avoid causing greater discomfort, and improve the user's wearing experience; the phototherapy mask can also be used for phototherapy to effectively promote blood circulation, reduce wrinkles and spots. It can also avoid the problem of rapid power consumption caused by the light source being turned on by mistake, affecting the battery life.

[0019] At the same time, by using the conversion between high and low levels to judge whether the phototherapy mask is worn or not, compared with using infrared distance sensors to judge whether the phototherapy mask is worn or not through infrared distance data (the phototherapy mask is considered to be worn after the infrared distance data drops to a certain distance), the judgment of high and low levels will be more accurate and simple, and the use of falling edge interrupts can also enable users to have a faster reaction speed in the process of wearing the phototherapy mask, improving the user experience. Moreover, the use of infrared distance sensors will cause data fluctuations when the user shakes, and there is a possibility of misjudgment, while the use of wearing sensors at the receiving and transmitting ends is less likely to cause fluctuations and will be more stable.

[0020] In a second aspect, the present invention further provides a phototherapy mask, comprising:

[0021] The mask body is provided with a wearing surface, wherein the wearing surface is used to face the face of the user after the mask body is worn;

[0022] A light source is arranged on the wearing surface;

[0023] A wearing sensor, comprising a transmitting end and a receiving end, wherein the transmitting end and the receiving end are arranged on the wearing surface at intervals;

[0024] A controller is communicatively connected to the light source and the wearable sensor, and the controller is used to execute the above-mentioned light source control method.

[0025] Beneficial effects: The mask body is provided with a wearing surface, which faces the user's face after the mask body is worn. The wearing surface is provided with a light source and a wearing sensor, and the light source can emit light within a certain wavelength range. Phototherapy using light can effectively promote blood circulation, reduce wrinkles and spots, and thus improve skin quality. The wearing sensor includes a transmitting end and a receiving end. After the phototherapy mask is powered on, the wearing sensor is turned on, the transmitting end turns on the transmitting mode of transmitting signals to the receiving end, and the receiving end turns on the receiving mode of receiving signals. The signal transmission between the transmitting end of the wearing sensor and the receiving end is judged according to the received signal, and then the wearing condition of the phototherapy mask can be judged. The light source is turned on and off according to the wearing condition of the phototherapy mask. When the user wears the phototherapy mask, the receiving end and the transmitting end are blocked by the user's face, and the receiving end cannot receive the transmission signal emitted by the transmitting end. At this time, the light source of the phototherapy mask is controlled to be turned on, which can avoid turning on the light source before and during wearing, prevent strong light from irritating the eyes, avoid causing greater discomfort, and improve the user's wearing experience; the phototherapy mask can also be used for phototherapy to effectively promote blood circulation and reduce wrinkles and spots. When the user takes off the phototherapy mask, the user's face no longer blocks the receiving end and the transmitting end, and the receiving end can normally receive the transmission signal emitted by the transmitting end. At this time, the light source of the phototherapy mask is controlled to be turned off, which can avoid the light source from remaining on during the process of removing the phototherapy mask, prevent strong light from irritating the eyes during the process of removing the phototherapy mask, avoid causing greater discomfort, and improve the user experience.

[0026] In an optional implementation, the wearing sensor is an infrared tube sensor.

[0027] Beneficial effects: The infrared pair tube sensor includes two pairs of tubes, which are a transmitting end and a receiving end respectively. The transmitting end transmits infrared signals, and the receiving end receives infrared signals. If there is no obstruction between the two pairs of tubes, the receiving end can receive the infrared signal transmitted by the transmitting end. The receiving end can generate a high level when receiving infrared data, and a low level when not receiving infrared data. By obtaining the output level of the receiving end, the receiving status of the receiving end for the transmitting signal emitted by the transmitting end can be displayed more quickly, intuitively and accurately.

[0028] In an optional implementation, a nose wearing area is provided on the wearing surface, and the transmitting end and the receiving end are respectively arranged on both sides of the nose wearing area.

[0029] Beneficial effects: The transmitting end and the receiving end are respectively arranged on both sides of the nose wearing area. When the mask body is worn, the user's protruding nose can block the transmitting end and the receiving end, and the receiving end cannot receive the infrared signal emitted by the transmitting end. When the mask body is removed, there is no obstruction between the transmitting end and the receiving end, and the receiving end can receive the infrared signal emitted by the transmitting end.

[0030] Furthermore, since the nose wearing area is relatively small, the transmitting end and the receiving end are respectively arranged on both sides of the nose wearing area, so that the distance between the transmitting end and the receiving end is relatively small, and the receiving end can receive the infrared signal emitted by the transmitting end more quickly, making the judgment of whether the mask body is worn more sensitive and faster.

[0031] In an optional embodiment, the phototherapy mask further includes two nose bridges, the two nose bridges are spaced apart in the nose wearing area, and the transmitting end and the receiving end are respectively arranged on the two nose bridges.

[0032] Beneficial effect: After the mask body is worn, the nose frame can be placed on the bridge of the nose and keep contact with the bridge of the nose. Therefore, the transmitting end and the receiving end are respectively arranged on the two nose frames, which can ensure that the signal transmission between the transmitting end and the receiving end is completely blocked after wearing, thereby ensuring the accuracy of judging whether the mask body is worn or not.

[0033] By using the conversion between high level and low level to judge whether the phototherapy mask is worn or not, compared with using infrared distance sensor to judge whether the phototherapy mask is worn or not through infrared distance data (the phototherapy mask is considered to be worn after the infrared distance data drops to a certain distance), the judgment of high level and low level will be more accurate and simple, and the use of rising edge interrupt and falling edge interrupt can also make the user have a faster reaction speed in the process of wearing the phototherapy mask, improving the user experience. Moreover, the use of infrared distance sensor will cause data fluctuation when the user shakes, and there is a possibility of misjudgment. When using infrared dual-tube sensor, and the receiving end and transmitting end of the infrared dual-tube sensor are respectively set on two nose bridges, as long as the user's nose bridge position does not leave the nose bridge, there will be no fluctuation, and the result will be more stable.

[0034] In an optional embodiment, there are multiple light sources, and the multiple light sources are distributed at intervals on the wearing surface; the phototherapy mask also includes a light source control module, the light source control module is connected to the multiple light sources, and the light source control module is communicatively connected to the controller.

[0035] Beneficial effect: The light source control module can control the opening and closing of multiple light sources under the control of the controller.

[0036] In a third aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed, the above-mentioned light source control method is implemented.

[0037] Beneficial effects: The computer-readable storage medium provided by the present invention has all the technical effects of the above-mentioned light source control method by adopting the light source control method of the above-mentioned implementation method. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 A first flow chart of a light source control method according to an embodiment of the present invention;

[0040] Figure 2 A second flow chart of a light source control method according to an embodiment of the present invention;

[0041] Figure 3 A third flow chart of a light source control method according to an embodiment of the present invention;

[0042] Figure 4 A fourth flow chart of a light source control method according to an embodiment of the present invention;

[0043] Figure 5 A fifth flow chart of a light source control method according to an embodiment of the present invention;

[0044] Figure 6 Schematic diagram of a phototherapy mask according to an embodiment of the present invention.

[0045] Description of reference numerals:

[0046] 1. Mask body;

[0047] 2. Light source;

[0048] 3. Wear sensors;

[0049] 31. Receiving end;

[0050] 32. Transmitter;

[0051] 4. Controller;

[0052] 5. Nose bridge;

[0053] 6. Light source control module. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0055] Combine the following Figures 1 to 6 , describing an embodiment of the present invention.

[0056] According to an embodiment of the present invention, on the one hand, a method for controlling a light source 2 is provided, which is used for a phototherapy mask. The phototherapy mask is provided with a light source 2, and the light source 2 can emit light within a certain wavelength range. Phototherapy using light can effectively promote blood circulation, reduce wrinkles and spots, and thus improve skin quality. The method for controlling the light source 2 in this embodiment includes the following steps:

[0057] S1. Obtain a receiving signal of a receiving end 31 of a wearing sensor 3, and determine a signal transmission condition between a transmitting end 32 of the wearing sensor 3 and the receiving end 31 according to the receiving signal.

[0058] A wearing sensor 3 is provided on the phototherapy mask, and the wearing sensor 3 includes a transmitting end 32 and a receiving end 31. After the phototherapy mask is turned on and powered on, the wearing sensor 3 is turned on, the transmitting end 32 starts a transmitting mode for transmitting a signal to the receiving end 31, and the receiving end 31 starts a receiving mode for receiving a signal. The signal transmission situation between the transmitting end 32 of the wearing sensor 3 and the receiving end 31 is judged according to the received signal, and then the wearing situation of the phototherapy mask can be judged.

[0059] S2. If the receiving end 31 receives the transmission signal transmitted by the transmitting end 32, the light source 2 of the phototherapy mask is controlled to be turned off.

[0060] When the receiving end 31 receives the transmission signal emitted by the transmitting end 32, it means that the area between the transmitting end 32 and the receiving end 31 is not blocked by the user's face. At this time, the user is not wearing a phototherapy mask, or the user is wearing the mask or the user is taking off the phototherapy mask. At this time, the light source 2 of the phototherapy mask is controlled to be turned off to avoid strong light source 2 irritating the eyes, and to avoid the rapid power consumption caused by the light source 2 being turned on by mistake, which affects the battery life.

[0061] S3. If the receiving end 31 does not receive the transmission signal transmitted by the transmitting end 32, the light source 2 of the phototherapy mask is controlled to turn on.

[0062] The receiving end 31 does not receive the transmission signal emitted by the transmitting end 32, which means that the transmitting end 32 and the receiving end 31 are blocked by the user's face. At this time, the user has put on the phototherapy mask. At this time, the phototherapy mask is controlled to open and phototherapy can be performed using the phototherapy mask.

[0063] The wearing sensor 3 includes a transmitting end 32 and a receiving end 31. When the user wears the phototherapy mask, the receiving end 31 and the transmitting end 32 are blocked by the user's face, and the receiving end 31 cannot receive the transmission signal emitted by the transmitting end 32. At this time, the light source 2 of the phototherapy mask is controlled to be turned on, which can avoid turning on the light source 2 before and during wearing, prevent strong light from irritating the eyes, avoid causing greater discomfort, and improve the user's wearing experience; the phototherapy mask can also be used for phototherapy to effectively promote blood circulation and reduce wrinkles and spots. When the user takes off the phototherapy mask, the user's face no longer blocks the receiving end 31 and the transmitting end 32, and the receiving end 31 can normally receive the transmission signal emitted by the transmitting end 32. At this time, the light source 2 of the phototherapy mask is controlled to be turned off, which can avoid keeping the light source 2 on during the process of removing the phototherapy mask, prevent strong light from irritating the eyes during the process of removing the phototherapy mask, avoid causing greater discomfort, and improve the user's experience.

[0064] Furthermore, when the receiving end 31 receives the transmission signal emitted by the transmitting end 32, the light source 2 of the phototherapy mask is controlled to be turned off; only when the receiving end 31 does not receive the transmission signal emitted by the transmitting end 32, the light source 2 of the phototherapy mask is controlled to be turned on; it can also prevent the user from forgetting that the light source 2 is still on due to the setting of the silicone light shield, and avoid the light source 2 being turned on due to false triggering when using the remote control to control the opening and closing of the light source 2, thereby avoiding the problem of rapid power consumption caused by the false opening of the light source 2 affecting the battery life.

[0065] In one embodiment, the step of obtaining a received signal from a receiving end 31 of the wearing sensor 3 includes S11 , obtaining an output level of the receiving end 31 .

[0066] By acquiring the output level of the receiving end 31 , the receiving status of the receiving end 31 for the transmission signal transmitted by the transmitting end 32 can be displayed more quickly, more intuitively and more accurately.

[0067] As a convertible implementation, obtaining a receiving signal from the receiving end 31 of the wearing sensor 3 may also include obtaining a current signal from the receiving end 31 , or may include obtaining a voltage signal from the receiving end 31 .

[0068] In one embodiment, judging the signal transmission status between the transmitting end 32 and the receiving end 31 of the wearing sensor 3 according to the received signal includes: S12, if the output level changes from a low level to a high level, a rising edge interrupt is set, and it is considered that the receiving end 31 has received the transmission signal emitted by the transmitting end 32.

[0069] When the output level changes from low level to high level, by setting the rising edge interrupt, the light source 2 can be quickly turned off when the user takes off the phototherapy mask, which can avoid the light source 2 being kept on during the process of taking off the phototherapy mask, prevent the strong light from irritating the eyes during the process of taking off the phototherapy mask, avoid causing greater discomfort, and improve the user experience. It can also avoid the problem of rapid power consumption caused by the light source 2 being turned on by mistake, which affects the battery life.

[0070] At the same time, by using the conversion between low level and high level to judge whether the phototherapy mask is worn or not, compared with using the infrared distance sensor to judge whether the phototherapy mask is worn or not through infrared distance data (the phototherapy mask is considered to be worn after the infrared distance data drops to a certain distance), the judgment of low level and high level will be more accurate and simple, and the use of rising edge interruption can also enable users to have a faster reaction speed in the process of removing the phototherapy mask, thereby improving the user's experience. Moreover, when using an infrared distance sensor, data fluctuations will occur when the user shakes, and there is a possibility of misjudgment. When using the wearing sensor 3 of the receiving end 31 and the transmitting end 32, it is not easy to produce fluctuations and will be more stable.

[0071] In one embodiment, judging the signal transmission status between the transmitting end 32 and the receiving end 31 of the wearing sensor 3 according to the received signal includes: S13, if the output level changes from a high level to a low level, a falling edge interrupt is set, and it is considered that the receiving end 31 has not received the transmission signal emitted by the transmitting end 32.

[0072] When the output level changes from high level to low level, by setting the falling edge interrupt, the light source 2 can be quickly turned on after the user wears the light therapy mask, which can avoid turning on the light source 2 before and during wearing, prevent strong light from irritating the eyes, avoid causing greater discomfort, and improve the user's wearing experience; the light therapy mask can also be used for light therapy to effectively promote blood circulation, reduce wrinkles and spots. It can also avoid the problem of rapid power consumption caused by the light source 2 being turned on by mistake, which affects the battery life.

[0073] At the same time, by using the conversion between high level and low level to judge whether the phototherapy mask is worn or not, compared with using the infrared distance sensor to judge whether the phototherapy mask is worn or not through infrared distance data (the phototherapy mask is considered to be worn after the infrared distance data drops to a certain distance), the judgment of high level and low level will be more accurate and simple, and the use of falling edge interruption can also enable users to have a faster reaction speed in the process of wearing the phototherapy mask, improving the user experience. Moreover, the use of infrared distance sensors will cause data fluctuations when the user shakes, and there is a possibility of misjudgment, while when using the wearing sensor 3 of the receiving end 31 and the transmitting end 32, it is not easy to produce fluctuations and will be more stable.

[0074] According to an embodiment of the present invention, on the other hand, a phototherapy mask is provided, comprising a mask body 1, a light source 2, a wearing sensor 3 and a controller 4; the mask body 1 is provided with a wearing surface, the wearing surface is used to face the user's face after the mask body 1 is worn; the light source 2 is arranged on the wearing surface; the wearing sensor 3 includes a transmitting end 32 and a receiving end 31, and the transmitting end 32 and the receiving end 31 are arranged on the wearing surface at intervals; the controller 4 is connected to the light source 2 and the wearing sensor 3 in communication, and the controller 4 is used to execute the above-mentioned light source 2 control method: including:

[0075] S1. Obtain a receiving signal of a receiving end 31 of a wearing sensor 3, and determine a signal transmission condition between a transmitting end 32 of the wearing sensor 3 and the receiving end 31 according to the receiving signal.

[0076] S2. If the receiving end 31 receives the transmission signal transmitted by the transmitting end 32, the light source 2 of the phototherapy mask is controlled to be turned off.

[0077] S3. If the receiving end 31 does not receive the transmission signal transmitted by the transmitting end 32, the light source 2 of the phototherapy mask is controlled to turn on.

[0078] The mask body 1 is provided with a wearing surface, which faces the user's face after the mask body 1 is worn. The wearing surface is provided with a light source 2 and a wearing sensor 3. The light source 2 can emit light within a certain wavelength range. Phototherapy using light can effectively promote blood circulation, reduce wrinkles and spots, and thus improve skin quality. The wearing sensor 3 includes a transmitting end 32 and a receiving end 31. After the phototherapy mask is powered on, the wearing sensor 3 is turned on, and the transmitting end 32 turns on the transmitting mode of transmitting a signal to the receiving end 31, and the receiving end 31 turns on the receiving mode of receiving a signal. The signal transmission between the transmitting end 32 of the wearing sensor 3 and the receiving end 31 is judged according to the received signal, and then the wearing condition of the phototherapy mask can be judged. The light source 2 is turned on and off according to the wearing condition of the phototherapy mask. When the user wears the phototherapy mask, the receiving end 31 and the transmitting end 32 are blocked by the user's face, and the receiving end 31 cannot receive the transmission signal emitted by the transmitting end 32. At this time, the light source 2 of the phototherapy mask is controlled to be turned on, which can avoid the light source 2 from being turned on before and during wearing, prevent strong light from irritating the eyes, avoid causing greater discomfort, and improve the user's wearing experience; the phototherapy mask can also be used for phototherapy to effectively promote blood circulation and reduce wrinkles and spots. When the user takes off the phototherapy mask, the user's face no longer blocks the receiving end 31 and the transmitting end 32, and the receiving end 31 can normally receive the transmission signal emitted by the transmitting end 32. At this time, the light source 2 of the phototherapy mask is controlled to be turned off, which can avoid the light source 2 from being kept on during the process of removing the phototherapy mask, prevent strong light from irritating the eyes during the process of removing the phototherapy mask, avoid causing greater discomfort, and improve the user's experience.

[0079] In one embodiment, the wearing sensor 3 is an infrared tube sensor.

[0080] The infrared pair of tubes sensor includes two pairs of tubes, which are a transmitting end 32 and a receiving end 31. The transmitting end 32 transmits infrared signals, and the receiving end 31 receives infrared signals. If there is no obstruction between the two pairs of tubes, the receiving end 31 can receive the infrared signal emitted by the transmitting end 32. The receiving end 31 can generate a high level when receiving infrared data, and a low level when not receiving infrared data. By obtaining the output level of the receiving end 31, the receiving state of the receiving end 31 for the transmitting signal emitted by the transmitting end 32 can be displayed more quickly, more intuitively, and more accurately. When the output level changes from a low level to a high level, by setting a rising edge interrupt, the light source 2 can be quickly turned off when the user takes off the phototherapy mask, so as to avoid the light source 2 from being turned on during the process of taking off the phototherapy mask, and to prevent the strong light from irritating the eyes during the process of taking off the phototherapy mask, so as to avoid causing greater discomfort and improve the user experience. It can also avoid the problem of rapid power consumption caused by the light source 2 being turned on by mistake, which affects the battery life. When the output level changes from high level to low level, by setting the falling edge interrupt, the light source 2 can be quickly turned on after the user wears the light therapy mask, which can avoid turning on the light source 2 before and during wearing, prevent strong light from irritating the eyes, avoid causing greater discomfort, and improve the user's wearing experience; the light therapy mask can also be used for light therapy to effectively promote blood circulation, reduce wrinkles and spots. It can also avoid the problem of rapid power consumption caused by the light source 2 being turned on by mistake, which affects the battery life.

[0081] In one embodiment, a nose wearing area is provided on the wearing surface, and the transmitting end 32 and the receiving end 31 are respectively arranged on both sides of the nose wearing area.

[0082] The transmitting end 32 and the receiving end 31 are respectively arranged on both sides of the nose wearing area. When the mask body 1 is worn, the user's protruding nose can block the transmitting end 32 and the receiving end 31, and the receiving end 31 cannot receive the infrared signal emitted by the transmitting end 32. When the mask body 1 is removed, there is no obstruction between the transmitting end 32 and the receiving end 31, and the receiving end 31 can receive the infrared signal emitted by the transmitting end 32.

[0083] Furthermore, since the nose wearing area is relatively small, the transmitting end 32 and the receiving end 31 are respectively arranged on both sides of the nose wearing area, so that the distance between the transmitting end 32 and the receiving end 31 is relatively small, and the receiving end 31 can receive the infrared signal emitted by the transmitting end 32 more quickly, making the judgment of whether the mask body 1 is worn or not more sensitive and faster.

[0084] In a specific embodiment, an axis is provided on the mask body 1 , and the axis can divide the mask body 1 into two symmetrical parts, and the transmitting end 32 and the receiving end 31 can be respectively arranged on both sides of the axis.

[0085] Alternatively, an axis is provided on the mask body 1, and the axis can divide the mask body 1 into two symmetrical parts. The transmitting end 32 and the receiving end 31 are distributed along the axis at intervals and are located on the upper and lower sides of the user's nose after wearing.

[0086] In one embodiment, the phototherapy mask further includes two nose bridges 5 , the two nose bridges 5 are spaced apart in the nose wearing area, and the transmitting end 32 and the receiving end 31 are respectively disposed on the two nose bridges 5 .

[0087] After the mask body 1 is worn, the nose bridge 5 can be placed on the bridge of the nose and keep contact with the bridge of the nose. Therefore, the transmitting end 32 and the receiving end 31 are respectively arranged on the two nose bridges 5, which can ensure that the signal transmission between the transmitting end 32 and the receiving end 31 is completely blocked after wearing, thereby ensuring the accuracy of the judgment on whether the mask body 1 is worn or not.

[0088] By using the conversion between high level and low level to judge whether the phototherapy mask is worn or not, compared with using infrared distance sensor to judge whether the phototherapy mask is worn or not through infrared distance data (when the infrared distance data is low to a certain distance, it is considered that the phototherapy mask is worn), the judgment of high level and low level will be more accurate and simple, and the use of rising edge interrupt and falling edge interrupt can also make the user have a faster reaction speed in the process of wearing the phototherapy mask, improving the user's experience. Moreover, when using infrared distance sensor, data fluctuation will occur when the user shakes, and there is a possibility of misjudgment. When using infrared dual-tube sensor, and the receiving end 31 and the transmitting end 32 of the infrared dual-tube sensor are respectively set on two nose bridges 5, as long as the user's nose bridge position does not leave the nose bridge 5, there will be no fluctuation, and the result will be more stable.

[0089] In one embodiment, there are multiple light sources 2, and the multiple light sources 2 are distributed at intervals on the wearing surface; the phototherapy mask also includes a light source control module 6, the light source control module 6 is connected to the multiple light sources 2, and the light source control module 6 is communicatively connected to the controller 4.

[0090] The light source control module 6 can control the opening and closing of the plurality of light sources 2 under the control of the controller 4 .

[0091] In a specific embodiment, the wearing surface of the mask body 1 also includes an eye wearing area, a cheek wearing area and a forehead wearing area. A shading strip is provided on the periphery of the eye wearing area to prevent the light of the light source 2 from being transmitted to the eye wearing area and affecting the user's eyes. The cheek wearing area, the nose wearing area and the forehead wearing area are all provided with a light source 2. The light source 2 can be an LED lamp.

[0092] According to an embodiment of the present invention, in yet another aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed, the above-mentioned method for controlling the light source 2 is implemented.

[0093] The computer-readable storage medium provided by the present invention has all the technical effects of the light source 2 control method described above by adopting the light source 2 control method described above.

[0094] In the description of the present application, it should be understood that the orientations or positional relationships indicated by the terms "top", "bottom", etc. are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0095] In addition, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the present invention, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0096] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0097] The above is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily make changes or modifications within the technical scope disclosed in the present invention, and such changes or modifications should be included in the protection scope of the present invention. As long as there is no structural conflict, the various technical features mentioned in each embodiment can be combined in any way.

[0098] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the present application.

Claims

1. A light source control method for a phototherapy mask, characterized in that: include: Acquiring a received signal from a receiving end (31) of a wearable sensor (3), and determining, based on the received signal, a signal transmission condition between a transmitting end (32) of the wearable sensor (3) and the receiving end (31); If the receiving end (31) receives the transmission signal transmitted by the transmitting end (32), the light source (2) of the phototherapy mask is controlled to be turned off; If the receiving end (31) does not receive the transmission signal transmitted by the transmitting end (32), the light source (2) of the light therapy mask is controlled to turn on.

2. The light source control method according to claim 1, characterized in that: The step of obtaining a received signal from a receiving end (31) of the wearing sensor (3) comprises obtaining an output level of the receiving end (31).

3. The light source control method according to claim 2, characterized in that: The method of judging the signal transmission status between the transmitting end (32) of the wearable sensor (3) and the receiving end (31) based on the received signal comprises: if the output level changes from a low level to a high level, a rising edge interrupt is set, and it is considered that the receiving end (31) has received the transmission signal transmitted by the transmitting end (32).

4. The light source control method according to claim 2, characterized in that: The signal transmission condition between the transmitting end (32) and the receiving end (31) of the wearable sensor (3) is determined based on the received signal, comprising: if the output level changes from a high level to a low level, a falling edge interrupt is set, and it is considered that the receiving end (31) has not received the transmission signal transmitted by the transmitting end (32).

5. A phototherapy mask, characterized in that: include: The mask body (1) is provided with a wearing surface, wherein the wearing surface is used to face the face of the user after the mask body (1) is worn; A light source (2) is arranged on the wearing surface; A wearing sensor (3) comprises a transmitting end (32) and a receiving end (31), wherein the transmitting end (32) and the receiving end (31) are arranged at intervals on the wearing surface; A controller (4) is communicatively connected to the light source (2) and the wearing sensor (3), and the controller (4) is used to execute the light source (2) control method according to any one of claims 1 to 4.

6. The light therapy mask according to claim 5, characterized in that The wearing sensor (3) is an infrared tube sensor.

7. The light therapy mask according to claim 5 or 6, characterized in that: The wearing surface is provided with a nose wearing area, and the transmitting end (32) and the receiving end (31) are respectively arranged on both sides of the nose wearing area.

8. The light therapy mask according to claim 7, characterized in that The phototherapy mask further comprises two nose frames (5), the two nose frames (5) are arranged at intervals in the nose wearing area, and the transmitting end (32) and the receiving end (31) are respectively arranged on the two nose frames (5).

9. The light therapy mask according to claim 5 or 6, characterized in that: The light source (2) is provided with a plurality of light sources (2), and the plurality of light sources (2) are distributed at intervals on the wearing surface; the light therapy mask further comprises a light source control module (6), the light source control module (6) is connected to the plurality of light sources (2), and the light source control module (6) is communicatively connected to the controller (4).

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed, the light source (2) control method according to any one of claims 1 to 4 is implemented.