Manual operator working state detection method, photon mask equipment, equipment and medium

By detecting the port voltage of the hand mesh and communicating with the mask end, the problem that the photonic mask device cannot accurately identify the connection status of the hand mesh is solved, ensuring the normal operation of the mask and the improvement of user experience.

CN119224402APending Publication Date: 2024-12-31GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411335290.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Existing photonic mask devices cannot accurately identify whether the hand-computer is connected to the charger or the mask, and cannot determine whether the mask is online, resulting in the user experience being affected.

Method used

By detecting whether the port voltage of the hand mesh is a non-charge voltage, if it is a non-charge voltage, send identity verification information. After receiving the identity reply information at the mask end, confirm the connection status of the hand mesh and the mask, and then determine the working status. Adjust the port voltage if necessary to ensure the mask is running properly or shut down.

Benefits of technology

It realizes accurate identification of the working state of the hand-comb, avoids the interruption of the working state of the mask, improves the user experience, and ensures the safety and normal operation of the photonic mask equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119224402A_ABST
    Figure CN119224402A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of photon masks, and discloses a manual operator working state detection method, photon mask equipment, photon mask equipment and a medium. Whether a port voltage of the manual operator is a non-charging voltage is detected, and if the port voltage is the non-charging voltage, identity verification information is sent to a mask end in real time; the mask end receives the identity verification information and verifies the identity verification information, if verification succeeds, identity reply information is sent to the manual operator, the manual operator receives the identity reply information and verifies the identity reply information, and after verification succeeds, it is confirmed that the manual operator is in a discharging state connected with the mask; whether the manual operator is in the charging state or the non-charging state can be judged through the port voltage of the manual operator, after the non-charging state is determined, whether the manual operator is successfully connected with the mask or not is determined by recognizing whether communication between the manual operator and the mask end is successful or not, then subsequent operation is executed based on the working state, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of photon masks, and in particular to a method for detecting the working state of a hand operator, a photon mask device, a device and a medium. Background Art

[0002] Existing photon mask products include a handheld controller and a mask, wherein the handheld controller is a controller with a built-in battery and has only one type-C interface. When connected to a mask, the handheld controller discharges externally to provide power to the mask and communicates with the mask to control the mask. When connected to an adapter, the handheld controller is in a charging state, and the adapter charges the handheld controller. Because when the handheld controller is in a discharging state, there is also a level at the type-C interface end, so it is impossible to determine whether the type-C is an external mask or an adapter. The existing technology determines the charging and discharging state based on the output current. When the output current is less than a certain threshold, it is determined that it is not in a discharging state. However, when the mask is online and the load is not started, the power consumption is low, and it is impossible to determine whether the mask is online. If the discharge state is interrupted rashly, the working state of the mask will be interrupted, affecting the user experience. Summary of the invention

[0003] In view of this, the present invention provides a method for detecting the working status of a hand operator, a photon mask device, a device and a medium to solve the problem of being unable to accurately identify whether the hand operator is connected to a charger or a mask, and whether the mask is online.

[0004] In a first aspect, the present invention provides a method for detecting the working status of a hand-held operator, which is applied to a hand-held operator in a photonic mask device, and the method comprises: determining whether the port voltage of the hand-held operator is a non-charging voltage, wherein the non-charging voltage is a voltage that is preset after the hand-held operator is turned on, but is not connected to a mask and is not in a charging state, and outputs a voltage that has a preset voltage difference from the charging voltage; if the port voltage of the hand-held operator is a non-charging voltage, sending identity verification information to a mask end in real time; in response to receiving identity reply information sent by the mask end, verifying the identity reply information; if the identity reply information verification is successful, determining that the working status of the hand-held operator is a discharging state connected to the mask.

[0005] The method for detecting the working status of a hand operator provided by the present invention detects whether its own port voltage is a non-charging voltage. If the port voltage is a non-charging voltage, identity verification information is sent to the mask end in real time. The mask end receives the identity verification information and performs verification. If the verification is successful, identity reply information is sent to the hand operator. The hand operator performs verification after receiving the identity reply information, and confirms that the hand operator is in a discharging state connected to the mask after the verification is successful. It is possible to determine whether the hand operator is in a charging state or a non-charging state through the port voltage of the hand operator. After determining the non-charging state, it is determined whether the hand operator is successfully connected to the mask by identifying whether the communication between the hand operator and the mask end is successful, and then subsequent operations are performed based on the working status to improve user experience.

[0006] In an optional embodiment, the method also includes: if the identity reply information sent by the mask end is not received within a preset time, or the identity reply verification fails, determining that the working state of the handheld operator is that the mask is offline; controlling the port voltage of the handheld operator to output the non-charging voltage, and judging whether the abnormal output time of the port voltage of the handheld operator continuously outputting the non-charging voltage reaches a preset abnormal time threshold; if the abnormal output time reaches the preset abnormal time threshold, controlling the handheld operator to shut down.

[0007] If the present invention determines that the working state of the hand operator is that the mask is in an offline state, the port of the hand operator can be controlled to continuously output a non-charging voltage, and when the abnormal output duration of the port voltage continuously outputting the non-charging voltage reaches an abnormal duration threshold, the hand operator is controlled to shut down to ensure the safety of the photon mask device.

[0008] In an optional embodiment, after determining that the working state of the hand operator is a discharge state connected to the mask, the method further includes: adjusting the port voltage of the hand operator from the non-charging voltage to a power supply voltage that satisfies the operation of the mask, the non-charging voltage being less than the power supply voltage that satisfies the operation of the mask; judging whether the normal output time of the port voltage of the hand operator continuously outputting the power supply voltage reaches a preset normal working time of the mask; if the normal output time reaches the preset normal working time of the mask, controlling the hand operator to shut down.

[0009] After determining that the working state of the hand operator is a discharge state connected to the mask, the present invention can adjust the port voltage of the hand operator from a non-charging voltage to a power supply voltage that meets the operation of the mask to ensure the normal operation of the mask, and after the normal output time of the hand operator reaches the normal working time of the mask, the hand operator is controlled to shut down to ensure the normal operation of the photon mask device.

[0010] In an optional embodiment, the method further includes: in the process of the handheld operator providing a power supply voltage to the mask, in response to a connection interruption between the handheld operator and the mask end, the port voltage of the handheld operator is reduced from the power supply voltage that satisfies the operation of the mask to the non-charging voltage, and the step of determining whether the port voltage of the handheld operator is a non-charging voltage is returned to execute.

[0011] After the present invention responds to the interruption of the connection between the hand operator and the mask end, it reduces the port voltage of the hand operator to a non-charging voltage, re-judges whether the port voltage of the hand operator is a non-charging voltage, re-judges the working state of the hand operator, and then executes subsequent operations to improve the user experience.

[0012] In an optional implementation, the method further includes: if the port voltage of the handheld operator is a charging voltage, determining that the handheld operator is in a charging state; and switching the handheld operator to a charging mode.

[0013] When the present invention determines that the port voltage of the hand operator is the charging voltage, it can directly determine that the hand operator is in the charging state, thereby improving the recognition efficiency of the working state of the hand operator.

[0014] In a second aspect, the present invention provides a method for detecting the working status of a handheld operator, which is applied to a mask end in a photonic mask device, the method comprising: in response to receiving identity verification information sent by a handheld operator, verifying the identity verification information, the identity verification information being generated when the handheld operator determines that the port voltage of the handheld operator is a non-charging voltage, and the non-charging voltage is a voltage that is preset after the handheld operator is turned on, when no connection is established with the mask and when the handheld operator is not in a charging state, and the output voltage has a preset voltage difference from the charging voltage; if the identity verification information is successfully verified, sending identity reply information to the handheld operator so that the handheld operator verifies the identity reply information, and when the identity reply information is successfully verified, determining that the working status of the handheld operator is a discharging state connected to the mask.

[0015] In a third aspect, the present invention provides a photon mask device, comprising a handheld operator and a mask end, wherein: the handheld operator determines whether the port voltage of the handheld operator is a non-charging voltage, and the non-charging voltage is a voltage that is preset after the handheld operator is turned on, has not established a connection with the mask and is not in a charging state, and outputs a voltage with a preset voltage difference from the charging voltage; the handheld operator determines that the port voltage of the handheld operator is a non-charging voltage, and sends identity verification information to the mask end in real time; the mask end verifies the identity verification information in response to receiving the identity verification information sent by the handheld operator, and if the identity verification information is successfully verified, sends identity reply information to the handheld operator; the handheld operator verifies the identity reply information in response to receiving the identity reply information sent by the mask end, and if the identity reply information is successfully verified, determines that the working state of the handheld operator is a discharge state connected to the mask.

[0016] The hand-held operator working state detection system provided by the present invention is designed such that the hand-held operator detects whether its own port voltage is a non-charging voltage. If the port voltage is a non-charging voltage, identity verification information is sent to the mask end in real time. The mask end receives the identity verification information and performs verification. If the verification is successful, identity reply information is sent to the hand-held operator. The hand-held operator performs verification after receiving the identity reply information, and confirms that the hand-held operator is in a discharging state connected to the mask after the verification is successful. The working state of the hand-held operator is determined by detecting the port voltage of the hand-held operator and whether the communication with the mask end is successfully identified, thereby improving the accuracy of identifying the working state of the hand-held operator, and then executing subsequent operations based on the working state, thereby improving user experience.

[0017] In an optional implementation, the handheld operator further includes a port voltage detection module for detecting a port voltage of the handheld operator.

[0018] In a fourth aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the hand-operated device working status detection method of the first aspect or any corresponding embodiment thereof by executing the computer instructions, or executing the hand-operated device working status detection method of the second aspect.

[0019] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the hand-operated device working status detection method of the first aspect or any corresponding embodiment thereof, or to execute the hand-operated device working status detection method of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 is a structural example diagram of a photon mask device according to an embodiment of the present invention;

[0022] Figure 2 is a schematic diagram of a type-C interface of a handheld operator according to an embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of a photon mask device according to an embodiment of the present invention;

[0024] Figure 4 is a schematic diagram of interaction between a hand operator and a mask end according to an embodiment of the present invention;

[0025] Figure 5 is an example diagram of a method for detecting a working state of a handheld operator according to an embodiment of the present invention;

[0026] Figure 6 is a structural block diagram of a handheld operator working status detection device according to an embodiment of the present invention;

[0027] Figure 7 is a structural block diagram of another handheld operator working status detection device according to an embodiment of the present invention;

[0028] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] 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.

[0030] like Figure 1 As shown, the photon mask product includes a hand controller, a mask, and an adapter, i.e., a charger. The hand controller is a controller with a built-in battery and has only one type-C interface, such as Figure 2As shown, the handheld operator shares a common interface for charging and discharging, and it is necessary to determine whether the handheld operator should be in the charging state or the discharging state from the hardware circuit and software logic (the detailed description of each port will not be given). In the discharging state, MCU_AD has a level, and it is impossible to determine whether the type-C is an external mask or an adapter. If the discharging state is interrupted rashly, the mask operation will be interrupted. Therefore, it is necessary to improve the ability to timely identify the mask is not online from the discharging state and switch to the charging state. The common power management chip determines the charging and discharging state from the output current. When the output current is less than a certain threshold, it is determined that it is not in the discharging state and can be switched to the charging state. However, when the mask is online and the load is not started, the power consumption is low, and it is difficult for the power management chip to distinguish it from the mask being offline.

[0031] According to an embodiment of the present invention, a photon mask device is provided, such as Figure 3 As shown, the photon mask device includes a handheld operator 1 and a mask end 2, wherein the handheld operator 1 determines whether the port voltage of the handheld operator 1 is a non-charging voltage, and the non-charging voltage is a voltage that is preset after the handheld operator 1 is turned on, when no connection is established with the mask and is not in a charging state, and the output has a preset voltage difference with the charging voltage; the handheld operator 1 determines that the port voltage of the handheld operator 1 is a non-charging voltage, and sends identity verification information to the mask end 2 in real time; the mask end 2 verifies the identity verification information in response to receiving the identity verification information sent by the handheld operator 1, and if the identity verification information is successfully verified, sends identity reply information to the handheld operator 1; the handheld operator 1 verifies the identity reply information in response to receiving the identity reply information sent by the mask end 2, and if the identity reply information is successfully verified, determines that the working state of the handheld operator 1 is a discharge state connected to the mask.

[0032] In an optional implementation, the handheld operator 1 further includes a port voltage detection module for detecting the port voltage of the handheld operator 1 .

[0033] The handheld operator 1 of the embodiment of the present invention has a built-in battery charging and discharging power management chip and type-C as a bidirectional interface. There is no power supply at the mask end 2, and the handheld operator 1 provides power for the controller (Microcontroller Unit, MCU) of the mask. However, if the handheld operator 1 outputs a voltage, the power management chip cannot be used to determine whether there is charging information. It is necessary to add a port voltage detection module, namely an AD detection port, to the type-C end to detect the port voltage of the handheld operator 1.

[0034] The embodiment of the present invention can distinguish the charging voltage from the voltage when the handheld operator 1 is discharged, and the charging voltage is constant. That is, the handheld operator 1 can be pre-set to output a voltage with a preset voltage difference from the charging voltage when it is not connected to the mask and is not in a charging state after it is turned on. Generally, the voltage of the charger is 5V, and the power supply of the MCU on the mask end can be 3.3V-5V. In order to distinguish whether the port voltage output of the handheld operator 1 is the charging voltage or the voltage when the handheld operator 1 is discharged, the non-charging voltage of the handheld operator 1 can be set to output 3.3V, which supplies power to the MCU on the mask end but does not meet the voltage required for the operation of the LED lamp on the mask end. It can be determined whether the handheld operator 1 is in a charging state or a non-charging state through the port voltage of the handheld operator 1. After determining the non-charging state, whether the handheld operator 1 is successfully connected to the mask is determined by identifying whether the communication between the handheld operator 1 and the mask end 2 is successful. This is just an example.

[0035] In the embodiment of the present invention, when the user presses a button to turn on the handheld operator 1, if the handheld operator 1 is not in a charging state, a preset non-charging voltage is output. At this time, it can be determined whether the port voltage of the handheld operator 1 is a non-charging voltage. If the port voltage is determined to be a non-charging voltage, it can be determined that the handheld operator 1 is not in a charging voltage, and then communication can be performed with the mask end 2 through the serial port, and identity verification information is sent to the mask end 2 in real time, wherein the specific information contained in the identity verification information is not limited. For example, the address information of both parties can be added to the communication format for verification, and whether the mask is connected is determined by verifying whether the address information is correct. For example, after the mask end 2 receives the identity verification information sent by the handheld operator 1, the address information in the identity verification information can be verified. If the verification is successful, identity reply information can be sent to the handheld operator 1. After the handheld operator 1 receives the identity reply information sent by the mask end 2, the identity reply information can be address verified. If the verification is successful, it can be determined that the handheld operator 1 and the mask end 2 have successfully established a connection, and the working state of the handheld operator 1 can be determined to be a discharge state connected to the mask end 2, and then subsequent control operations are performed.

[0036] The hand-held operator working state detection system provided by the present invention is designed such that the hand-held operator detects whether its own port voltage is a non-charging voltage. If the port voltage is a non-charging voltage, identity verification information is sent to the mask end in real time. The mask end receives the identity verification information and performs verification. If the verification is successful, identity reply information is sent to the hand-held operator. The hand-held operator performs verification after receiving the identity reply information, and confirms that the hand-held operator is in a discharging state connected to the mask after the verification is successful. The working state of the hand-held operator is determined by detecting the port voltage of the hand-held operator and whether the communication with the mask end is successfully identified, thereby improving the accuracy of identifying the working state of the hand-held operator, and then executing subsequent operations based on the working state, thereby improving user experience.

[0037] In an optional embodiment, if the handheld operator 1 does not receive the identity reply information sent by the mask end 2 within a preset time, or the identity reply verification fails, it is determined that the working state of the handheld operator 1 is that the mask is offline; the handheld operator 1 controls the port voltage of the handheld operator 1 to output a non-charging voltage, and determines whether the abnormal output time of the port voltage of the handheld operator 1 continuously outputs the non-charging voltage reaches a preset abnormal time threshold; if the abnormal output time reaches the preset abnormal time threshold, the handheld operator 1 is controlled to shut down.

[0038] After the handheld operator 1 of the embodiment of the present invention sends identity verification information to the mask end 2, if the mask end 2 fails to verify the identity verification information, it will not send identity reply information to the handheld operator 1, and the handheld operator 1 will not receive the identity reply information sent by the mask end 2 within the preset time, or, after the mask end 2 successfully verifies the identity verification information, it sends identity reply information to the handheld operator 1, and the handheld operator 1 receives the identity reply information but fails to verify the identity reply information, such as an address recognition error, and the port voltage of the handheld operator 1 is a non-charging voltage at this time, it can be confirmed that the working state of the handheld operator 1 is that the mask is in an offline state, then the port of the handheld operator 1 can be controlled to continuously output 3.3V, and in order to ensure the safety of the output of the handheld operator 1, an abnormal time threshold can be pre-set, after the control port continuously outputs 3.3V, the abnormal output time of continuously outputting the non-charging voltage is timed, and when the abnormal output time reaches the abnormal time threshold, the handheld operator 1 is controlled to shut down.

[0039] If the present invention determines that the working state of the hand operator is that the mask is in an offline state, the port of the hand operator can be controlled to continuously output a non-charging voltage, and when the abnormal output duration of the port voltage continuously outputting the non-charging voltage reaches an abnormal duration threshold, the hand operator is controlled to shut down to ensure the safety of the photon mask device.

[0040] In an optional embodiment, after determining that the working state of the hand operator 1 is a discharge state connected to the mask, the port voltage of the hand operator 1 is adjusted from a non-charging voltage to a power supply voltage that satisfies the operation of the mask, and the non-charging voltage is less than the power supply voltage that satisfies the operation of the mask; determine whether the normal output time of the port voltage of the hand operator 1 continuously outputs the power supply voltage reaches a preset normal working time of the mask; if the normal output time reaches the preset normal working time of the mask, control the hand operator 1 to shut down.

[0041] In the embodiment of the present invention, the port output voltage of the hand operator 1 is set to 3.3V, which does not meet the voltage required for the operation of the LED lamp at the mask end. Therefore, after determining that the working state of the hand operator 1 is the discharge state connected to the mask, the port voltage of the hand operator 1 can be adjusted from the non-charging voltage to the supply voltage that meets the mask operation, wherein the supply voltage that meets the mask operation is not limited and can be set according to the model of the actual photon mask device. Generally, the supply voltage is set to 11V, which is only used as an example. And it is judged whether the normal output time of the port voltage of the hand operator 1 continuously outputs the supply voltage reaches the normal working time of the mask, wherein the normal working time of the mask can be related to the mask beauty mode selected by the user. After determining that the normal output time reaches the preset normal working time of the mask, it indicates that the mask beauty mode ends, and the hand operator 1 can be controlled to shut down.

[0042] After determining that the working state of the hand operator is a discharge state connected to the mask, the present invention can adjust the port voltage of the hand operator from a non-charging voltage to a power supply voltage that meets the operation of the mask to ensure the normal operation of the mask, and after the normal output time of the hand operator reaches the normal working time of the mask, the hand operator is controlled to shut down to ensure the normal operation of the photon mask device.

[0043] In an optional embodiment, during the process of the handheld operator 1 providing a power supply voltage to the mask, in response to the interruption of the connection between the handheld operator 1 and the mask end 2, the port voltage of the handheld operator 1 is reduced from a power supply voltage that satisfies the operation of the mask to a non-charging voltage, and the process returns to the step of determining whether the port voltage of the handheld operator 1 is a non-charging voltage.

[0044] The communication between the hand operator 1 and the mask end 2 of the embodiment of the present invention is real-time. In the process of the hand operator 1 providing the power supply voltage to the mask, the hand operator 1 responds to the interruption of the connection between itself and the mask end 2. The reason for the interruption of the connection between the hand operator 1 and the mask end 2 may be that the hand operator 1 is out of power, the distance between the wireless hand operator 1 and the mask end 2 is too far, etc., just as an example, the condition for responding to the interruption of the connection between itself and the mask end 2 may be that the identity reply information sent by the mask end 2 is not received within a preset time, or the identity reply information verification fails. Just as an example, after determining that the hand operator 1 After the connection between the handheld operator 1 and the mask end 2 is interrupted, the port voltage of the handheld operator 1 can be reduced from the power supply voltage to the non-charging voltage, and the port voltage of the handheld operator 1 can be re-judged whether it is a non-charging voltage. If the connection between the handheld operator 1 and the mask end 2 is interrupted because the handheld operator 1 is out of power, when the user connects the handheld operator 1 to the adapter, i.e., the charger, the port voltage of the handheld operator 1 becomes 5V. At this time, the voltage detection module detects that the port voltage is 5V, and it can be directly determined that the working state of the handheld operator 1 is the charging state. If it is still 3.3V, the communication connection with the mask end 2 will continue to be established. This is just an example.

[0045] After the present invention responds to the interruption of the connection between the hand operator and the mask end, it reduces the port voltage of the hand operator to a non-charging voltage, re-judges whether the port voltage of the hand operator is a non-charging voltage, re-judges the working state of the hand operator, and then executes subsequent operations to improve the user experience.

[0046] In an optional implementation, if the port voltage of the handheld operator 1 is a charging voltage, it is determined that the handheld operator 1 is in a charging state, and the handheld operator 1 is switched to a charging mode.

[0047] The handheld operator 1 in the embodiment of the present invention detects that the port voltage of the handheld operator 1 is a charging voltage through the voltage detection module, so it can be directly determined that the handheld operator 1 is at a charging voltage, and the mode of the handheld operator 1 can be switched to a charging mode. There is no need to establish a communication connection between the handheld operator 1 and the mask end 2 to specifically determine whether the mask is online, which is only taken as an example.

[0048] When the present invention determines that the port voltage of the hand operator is the charging voltage, it can directly determine that the hand operator is in the charging state, thereby improving the recognition efficiency of the working state of the hand operator.

[0049] The embodiment of the present invention also provides a method for detecting the working state of a hand operator, which is applied to Figure 2 The handheld device and mask end shown, where Figure 4 As shown, the hand operator 1 is used to execute steps S101 to S103, and the mask end 2 is used to execute steps S201 and S202.

[0050] Step S101, determining whether the port voltage of the handheld operator is a non-charging voltage. The non-charging voltage is a preset voltage outputted from the charging voltage when the handheld operator is powered on, not connected to the mask and not in a charging state, and has a preset voltage difference with the charging voltage.

[0051] Step S102: If the port voltage of the handheld operator is a non-charging voltage, identity verification information is sent to the mask end in real time.

[0052] Step S201, receiving identity verification information sent by the handheld operator, and verifying the identity verification information.

[0053] Step S202: If the identity verification information is successfully verified, identity reply information is sent to the handheld operator.

[0054] Step S103, in response to the identity reply information sent by the mask end, verify the identity reply information, if the identity reply information verification is successful, determine that the working state of the handheld operator is a discharge state connected to the mask.

[0055] In the embodiment of the present invention, when the user presses a button to turn on the handheld operator, if the handheld operator is not in a charging state, a preset non-charging voltage is output. At this time, it can be determined whether the port voltage of the handheld operator is a non-charging voltage. If the port voltage is determined to be a non-charging voltage, it can be determined that the handheld operator is not in a charging voltage, and communication with the mask end can be performed through the serial port, and identity verification information is sent to the mask end in real time, wherein the specific information contained in the identity verification information is not limited. For example, the address information of both parties can be added to the communication format for verification, and whether the mask is connected is determined by verifying whether the address information is correct. For example, after the mask end receives the identity verification information sent by the handheld operator, the address information in the identity verification information can be verified. Only after the verification is successful can the identity reply information be sent to the handheld operator. After the handheld operator receives the identity reply information sent by the mask end, the identity reply information can be address-verified. If the verification is successful, it can be determined that the handheld operator has successfully established a connection with the mask end, and the working state of the handheld operator can be determined to be a discharge state connected to the mask end, and then subsequent control operations are performed.

[0056] The present invention detects whether its own port voltage is a non-charging voltage. If the port voltage is a non-charging voltage, identity verification information is sent to the mask end in real time. The mask end receives the identity verification information and performs verification. If the verification is successful, identity reply information is sent to the handheld operator. The handheld operator performs verification after receiving the identity reply information, and confirms that the handheld operator is in a discharging state connected to the mask after the verification is successful. It is possible to judge whether the handheld operator is in a charging state or a non-charging state through the port voltage of the handheld operator. After determining the non-charging state, it is determined whether the handheld operator is successfully connected to the mask by identifying whether the communication between the handheld operator and the mask end is successful, and then subsequent operations are performed based on the working status to improve user experience.

[0057] The embodiment of the present invention does not limit the order of first determining whether the handheld operator and the mask end have successfully established communication or first determining whether the port voltage is a non-charging voltage. It only needs to be able to accurately determine the working state of the handheld operator based on whether the communication is successful and whether the port voltage is a non-charging voltage. In a specific embodiment, Figure 5 As shown, after the handheld operator is awakened and turned on, it can first default its own port voltage output to 3.3V, and first establish communication with the mask end. For detailed communication content, refer to the above embodiment to determine whether the communication is successfully established. If the communication is successfully established, it is determined that the working state of the handheld operator is a discharge state connected to the mask, and the port output voltage of the handheld operator is boosted to a power supply voltage for powering the LED at the mask end. If the communication fails to be established, it is detected whether the current port voltage of the handheld operator is a non-charging voltage. If the port voltage is a non-charging voltage, it is determined that the working state of the handheld operator is that the mask is not online, and the control port continues to output 3.3V until the handheld operator is turned off. If the port voltage is detected to be a charging voltage, it is determined that the working state of the handheld operator is a charging state.

[0058] In this embodiment, a handheld operator working state detection device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0059] This embodiment provides a hand-operated device working state detection device, which is applied to the hand-operated device in the photon mask device, such as Figure 6 As shown, the device includes: a port voltage judgment module 601, which is used to judge whether the port voltage of the handheld operator is a non-charging voltage. The non-charging voltage is a voltage that is preset after the handheld operator is turned on, when it is not connected to the mask and is not in a charging state, and the output has a preset voltage difference with the charging voltage; an information sending module 602, which is used to send identity verification information to the mask end in real time if the port voltage of the handheld operator is a non-charging voltage; an information verification module 603, which is used to verify the identity reply information in response to receiving the identity reply information sent by the mask end; a working state determination module 604, which is used to determine that the working state of the handheld operator is a discharging state connected to the mask if the identity reply information verification is successful.

[0060] In some optional embodiments, the handheld operator working status detection device also includes: a first status determination module, which is used to determine that the working status of the handheld operator is that the mask is offline if the identity reply information sent by the mask end is not received within a preset time, or the identity reply verification fails; a non-charging voltage output module, which is used to control the port voltage of the handheld operator to output a non-charging voltage, and determine whether the abnormal output time of the port voltage of the handheld operator continuously outputs the non-charging voltage reaches a preset abnormal time threshold; a handheld operator control module, which is used to control the handheld operator to shut down if the abnormal output time reaches a preset abnormal time threshold.

[0061] In some optional embodiments, after determining that the working state of the hand operator is a discharge state connected to the mask, the hand operator working state detection device also includes: a power supply voltage adjustment module, used to adjust the port voltage of the hand operator from a non-charging voltage to a power supply voltage that meets the mask operation, and the non-charging voltage is less than the power supply voltage that meets the mask operation; a duration timing module, used to determine whether the normal output time of the port voltage of the hand operator continuously outputs the power supply voltage reaches the preset normal working time of the mask; a hand operator control module, used to control the hand operator to shut down if the normal output time reaches the preset normal working time of the mask.

[0062] In some optional embodiments, the handheld operator working status detection device also includes: a port voltage control module, which is used to respond to the interruption of the connection between the handheld operator and the mask end during the process of the handheld operator providing a power supply voltage to the mask, thereby reducing the port voltage of the handheld operator from a power supply voltage that satisfies the operation of the mask to a non-charging voltage, and returning to execute the step of determining whether the port voltage of the handheld operator is a non-charging voltage.

[0063] In some optional embodiments, the handheld operator working status detection device also includes: a charging status judgment module, used to determine that the handheld operator is in a charging state if the port voltage of the handheld operator is a charging voltage; and a mode switching module, used to switch the handheld operator to a charging mode.

[0064] This embodiment provides a handheld operator working status detection device, which is applied to the mask end of a photon mask device, such as Figure 7 As shown, the device includes: an information verification module 701, which is used to verify the identity verification information in response to receiving the identity verification information sent by the handheld operator, the identity verification information is generated when the handheld operator determines that the port voltage of the handheld operator is a non-charging voltage, and the non-charging voltage is a preset voltage outputted from the charging voltage when the handheld operator is powered on, has not established a connection with the mask and is not in a charging state; an information reply module 702, which is used to send identity reply information to the handheld operator if the identity verification information is successfully verified, so that the handheld operator verifies the identity reply information, and when the identity reply information is successfully verified, determines that the working state of the handheld operator is a discharging state connected to the mask.

[0065] The handheld operator working status detection device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0066] The embodiment of the present invention also provides a computer device having the above Figure 6 or Figure 7 The handheld operator working status detection device shown.

[0067] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0068] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0069] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0070] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0071] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0072] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0073] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0074] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0075] 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 appended claims.

Claims

1. A method for detecting the working status of a handheld operator, characterized in that: A hand operator used in a photon mask device, the method comprising: Determine whether the port voltage of the handheld operator is a non-charging voltage, wherein the non-charging voltage is a voltage that has a preset voltage difference with the charging voltage when the handheld operator is turned on, is not connected to the mask and is not in a charging state; If the port voltage of the handheld operator is a non-charging voltage, identity verification information is sent to the mask end in real time; In response to receiving the identity reply information sent by the mask end, verifying the identity reply information; If the identity reply information verification is successful, it is determined that the working state of the hand operator is a discharge state connected to the mask.

2. The method according to claim 1, characterized in that The method further comprises: If the identity reply information sent by the mask end is not received within the preset time, or the identity reply verification fails, it is determined that the working state of the hand operator is that the mask is in an offline state; Controlling the port voltage of the handheld operator to output the non-charging voltage, and determining whether the abnormal output time length of the port voltage of the handheld operator continuously outputting the non-charging voltage reaches a preset abnormal time length threshold; If the abnormal output duration reaches a preset abnormal duration threshold, the handheld operator is controlled to shut down.

3. The method according to claim 1, characterized in that After determining that the working state of the hand operator is a discharge state connected to the mask, the method further includes: Adjusting the port voltage of the handheld operator from the non-charging voltage to a power supply voltage that satisfies the operation of the mask, wherein the non-charging voltage is less than the power supply voltage that satisfies the operation of the mask; Determine whether the normal output time of the port voltage of the handheld operator continuously outputting the power supply voltage reaches the preset normal working time of the mask; If the normal output duration reaches the preset normal working duration of the mask, the hand controller is controlled to shut down.

4. The method according to claim 3, characterized in that The method further comprises: During the process of the handheld operator providing a power supply voltage to the mask, in response to the interruption of the connection between the handheld operator and the mask end, the port voltage of the handheld operator is reduced from the power supply voltage that satisfies the operation of the mask to the non-charging voltage, and the process returns to the step of determining whether the port voltage of the handheld operator is a non-charging voltage.

5. The method according to claim 1, characterized in that The method further comprises: If the port voltage of the handheld operator is a charging voltage, it is determined that the handheld operator is in a charging state; Switch the handheld operator to charging mode.

6. A method for detecting the working status of a handheld operator, characterized in that: Applied to the mask end of a photon mask device, the method comprises: In response to receiving the identity verification information sent by the handheld operator, verifying the identity verification information, the identity verification information is generated when the handheld operator determines that the port voltage of the handheld operator is a non-charging voltage, and the non-charging voltage is a preset voltage outputted from the charging voltage when the handheld operator is powered on, is not connected to the mask and is not in a charging state, and has a preset voltage difference with the charging voltage; If the identity verification information is successfully verified, identity reply information is sent to the handheld operator so that the handheld operator verifies the identity reply information, and when the identity reply information is successfully verified, the working state of the handheld operator is determined to be a discharge state connected to the mask.

7. A photon mask device, characterized in that: The photon mask device comprises a hand controller and a mask end, wherein: The handheld operator determines whether the port voltage of the handheld operator is a non-charging voltage, wherein the non-charging voltage is a voltage that has a preset voltage difference with the charging voltage when the handheld operator is turned on, is not connected to the mask and is not in a charging state; The hand operator determines that the port voltage of the hand operator is a non-charging voltage, and sends identity verification information to the mask end in real time; The mask end verifies the identity verification information in response to receiving the identity verification information sent by the hand operator, and sends identity reply information to the hand operator if the identity verification information is successfully verified; The handheld operator verifies the identity reply information in response to receiving the identity reply information sent by the mask end. If the identity reply information verification is successful, it is determined that the working state of the handheld operator is a discharge state connected to the mask.

8. The photon mask device according to claim 7, characterized in that: The handheld operator also includes a port voltage detection module, which is used to detect the port voltage of the handheld operator.

9. A computer device, characterized in that: It includes a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the hand-operated device working status detection method described in any one of claims 1 to 5, or executes the hand-operated device working status detection method described in claim 6 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the hand-operated device working status detection method described in any one of claims 1 to 5, or to execute the hand-operated device working status detection method described in claim 6.