Electronic work card control method, regional card punching method and card punching system

By judging the location and environmental information of electronic working cards by punching in the server, sanitation workers are allowed to punch in at any location and change the punch in. This solves the problem of inflexible punch in the existing technology and improves the work efficiency and punch in accuracy of sanitation workers.

CN119314233APending Publication Date: 2025-01-14YAHANG SHARED FINANCE & TAXATION (ZHONGSHAN) CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411620200.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing electronic card check-in method requires sanitation workers to take the initiative to go to fixed points to check in, which increases the workload and reduces work efficiency, and is unable to flexibly respond to different environmental situations.

Method used

By receiving the location information and environmental information of the electronic work card by checking in the server, we will determine whether it is in the work area, and decide the check-in method based on the environmental information. We will allow sanitation workers to punch in at any location, and use voiceprint recognition or face recognition to punch in. If you fail to check in, change the check-in method.

Benefits of technology

It improves the work efficiency and flexibility of sanitation workers, can effectively chew in different environments, and improves the accuracy and flexibility of chewing in.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119314233A_ABST
    Figure CN119314233A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic work card control method, an area card punching method and a card punching system, and the method comprises the steps: S1, a card punching server side receives the position information sent by an electronic work card, then judges whether the electronic work card is in a working area according to the position information of the electronic work card, and carries out the work of the electronic work card as long as the card punching server side judges that the electronic work card is in the working area; according to the invention, the electronic work card is allowed to start to work and punch in if the electronic work card is detected, so that a sanitation worker wearing the electronic work card can punch in any place in a working area without going to a fixed place, the working efficiency of the sanitation worker is improved, the sanitation worker can determine the starting place of the punch in according to the actual situation, and the work efficiency of the sanitation worker is improved. And the card punching flexibility of environmental sanitation work is improved. The punch-in server side can determine the punch-in mode of the electronic work card according to the environment information, different environment conditions can be effectively coped with, and the punch-in flexibility of the electronic work card 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 attendance recognition, and in particular to a control method for an electronic work badge, a regional clocking-in method and a clocking-in system. Background Art

[0002] Currently, for sanitation workers, since they all work outdoors, the scheduling and management of employees is quite difficult. For example, in the sanitation industry, managers often cannot obtain employees' real-time location information and work completion status. In addition, managers cannot obtain employees' real-time safety dynamics in a timely manner. For this reason, today's general sanitation workers need to carry electronic work badges to realize positioning tracking, remote clocking in and other functions.

[0003] Currently, when sanitation workers clock in at work using electronic ID cards, they usually set a fixed point as the clock-in point, and then define a circular area with the point as the center as the effective range for clocking in. When the device carried by the employee enters this area, the system considers that the employee has completed the clock-in. However, this clock-in method requires sanitation workers to take the initiative to go to the clock-in point to clock in, which not only increases the workload of employees, but also reduces work efficiency. Summary of the invention

[0004] In order to solve the problem that the existing electronic work card punching method is not flexible enough, the present invention provides an electronic work card control method, a regional punching method and a punching system. The specific technical solution of the present invention is as follows: A method for punching in a certain area for sanitation workers, the method comprising the following steps: S1: a punching server receives location information sent by an electronic work card, and then determines whether the electronic work card is in a working area according to the location information of the electronic work card, and sends a punching signal to the electronic work card to indicate whether punching in is allowed according to the judgment result; S2: the punching server receives environmental information through the electronic work card, and then determines a punching mode according to the environmental information, so that the electronic work card is punched in according to the punching mode determined by the punching server; S3: the punching server receives the punching information sent by the electronic work card, and then determines whether the punching in is successful according to the punching information. If the punching in is unsuccessful, the punching server controls the electronic work card to punch in again or change the punching mode. If the punching in is successful, the process proceeds to step S4; S4: the punching server records the working time and receives the location information of the electronic work card. When the punching server determines that the electronic work card has left the working area or receives a work end signal, the punching server ends the work time recording and sends a work end punching signal to the electronic work card.

[0005] Further, in step S1, the clocking-in server sends a clocking-in signal to the electronic ID card according to the judgment result whether clocking-in is allowed, including the following steps: the clocking-in server obtains the latitude and longitude of the electronic ID card from the location information of the electronic ID card, and then judges whether the electronic ID card is in the working area according to the latitude and longitude of the electronic ID card; if the electronic ID card is in the working area, the clocking-in server sends a clocking-in permission signal to the electronic ID card, so that the electronic ID card starts clocking in for work; if the electronic ID card is not in the working area, the clocking-in server sends a clocking-in permission signal to the electronic ID card, and then receives the location information sent by the electronic ID card again after the first set time to judge whether the electronic ID card is in the working area.

[0006] Furthermore, the clock-in server determines whether the electronic ID card is in the working area based on the longitude and latitude of the electronic ID card, including the following steps: the clock-in server obtains the longitude and latitude of the corner points of the working area, and then selects the maximum longitude, minimum longitude, maximum latitude and minimum latitude from the longitude and latitude of the corner points; the clock-in server compares the longitude and longitude of the electronic ID card with the longitude and longitude of the working area. If the longitude of the electronic ID card is between the minimum longitude and the maximum longitude of the working area, and the latitude of the electronic ID card is between the minimum latitude and the maximum latitude of the working area, the clock-in server determines that the electronic ID card is located in the working area.

[0007] Further, in step S2, the clocking-in server receives environmental information through the electronic work badge, and then determines the clocking-in method according to the environmental information, including the following steps: the clocking-in server obtains the sound intensity and light intensity of the environment through the microphone and light intensity sensor of the electronic work badge, and then compares the sound information and light intensity of the environment; if the sound intensity of the environment is greater than or equal to the set sound intensity, the clocking-in server decides that the electronic work badge uses voiceprint recognition to clock in; if the sound intensity of the environment is less than the set sound intensity and the light intensity of the environment is greater than or equal to the set light intensity, the clocking-in server decides that the electronic work badge uses face recognition to clock in; if the sound intensity of the environment is less than the set sound intensity and the light intensity of the environment is less than the set light intensity, the clocking-in server decides that the electronic work badge uses voiceprint recognition to clock in; wherein the clocking-in methods include voiceprint recognition clocking in and face recognition clocking in.

[0008] Further, step S3, the clocking-in server determines whether the clocking-in is successful based on the clocking-in information, including the following steps: after the clocking-in server determines the clocking-in method of the electronic work badge, it receives the clocking-in information sent by the electronic work badge, wherein the clocking-in information includes voiceprint information and face information; if the electronic work badge uses voiceprint recognition to clock in, the clocking-in server receives the voiceprint information sent by the electronic work badge, and then compares the voiceprint information with the voiceprint recognition model corresponding to the ID number of the electronic work badge. If the comparison is successful, the clocking-in server sends a clocking-in success message to the electronic work badge. If the comparison fails, the clocking-in server receives the voiceprint information again for comparison; if the electronic work badge uses face recognition to clock in, the clocking-in server receives the face information sent by the electronic work badge, and then compares the face information with the face recognition model corresponding to the ID number of the electronic work badge. If the comparison is successful, the clocking-in server sends a clocking-in success message to the electronic work badge. If the comparison is recognized, the clocking-in server receives the face information again for comparison.

[0009] Furthermore, the clock-in server controls the electronic ID card to clock in again or change the clock-in method, including the following steps: during the clock-in server receiving the clock-in information for comparison, if the clock-in server fails to compare three times in a row, the clock-in server sends a signal to change the clock-in method to the electronic ID card, so that the electronic ID card changes the clock-in method from voiceprint recognition clock-in to face recognition clock-in, or changes the clock-in method from face recognition clock-in to voiceprint recognition clock-in.

[0010] Further, in step S4, the clock-in server records the working time and receives the location information of the electronic ID card, including the following steps: the clock-in server starts to record the working time of the electronic ID card after the electronic ID card is clocked in, and records the clock-in location of the electronic ID card; the clock-in server receives the location information sent by the electronic ID card once every second set time, and then determines whether the electronic ID card is in the work area based on the location information; if the electronic ID card is in the work area, the clock-in server records the location information; if the electronic ID card is not in the work area, the clock-in server records the location information and performs a departure timing; if the departure timing is greater than or equal to the third set time, the clock-in server does not determine that the electronic ID card is in the work area, the clock-in server determines that the electronic ID card has left the work area, and ends the recording of the working time of the electronic ID card; if the departure timing is greater than or equal to the third set time, the clock-in server determines that the electronic ID card is in the work area, the clock-in server stops the departure timing and resets the departure timing.

[0011] Furthermore, when the clock-in server determines that the electronic ID card has left the work area or receives the end-of-work signal sent by the electronic ID card, the clock-in server ends the recording of the electronic ID card's working time, and then counts the working time of the electronic ID card in the work area; the clock-in server obtains the working point of the electronic ID card in the work area based on the recorded location information, and then connects the working points of the electronic ID card in the work area in sequence according to the recorded time to obtain the working route of the electronic ID card.

[0012] A control method for an electronic work badge, the method comprising the following steps: the electronic work badge sends its own location information to a clock-in server, and after obtaining a clock-in permission signal, sends environmental information to the clock-in server; the electronic work badge obtains the clock-in method sent by the clock-in server, and then the electronic work badge collects corresponding clock-in information according to the clock-in method, and sends the clock-in information to the clock-in server; after the electronic work badge receives the clock-in success information sent by the clock-in server, the electronic work badge sends its own location information every second set time until the electronic work badge sends a work end signal to the clock-in server or the electronic work badge leaves the electronic work area.

[0013] A punching-in system for sanitation workers, comprising a punching-in server and an electronic work badge. The punching-in server executes the above-mentioned regional punching-in method for sanitation workers, and the electronic work badge is controlled by the above-mentioned electronic work badge control method.

[0014] Compared with the existing technology, the beneficial effect of the present invention is that as long as the punch-in server end described in the present application determines that the electronic work badge is in the work area, it allows the electronic work badge to start work punching, so that the sanitation workers wearing the electronic work badge can punch in at any location in the work area, and do not need to go to a fixed location to punch in, which improves the work efficiency of the sanitation workers. The sanitation workers can determine the starting location of the punch-in work according to the actual situation, and improve the flexibility of the sanitation work punching. The punch-in server end can determine the punch-in method of the electronic work badge according to the environmental information, which can effectively respond to different environmental conditions, not only improving the flexibility of the electronic work badge punching, but also improving the accuracy of the electronic work badge punching. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 The present invention is a flowchart of a method for punching in a certain area for sanitation workers in one embodiment of the present invention. DETAILED DESCRIPTION

[0016] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions.

[0017] In the description of the present invention, it should be noted that directional words, such as the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating directions and positional relationships are based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of narrating the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as limiting the specific scope of protection of the present invention.

[0018] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. Therefore, the definition of "first" and "second" features can explicitly or implicitly include one or more of the features. In the description of the present invention, "at least" means one or more, unless otherwise clearly and specifically defined.

[0019] In the present invention, unless otherwise specified and limited, the terms "assemble", "connect", and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can also be a mechanical connection; it can be directly connected, or it can be connected through an intermediate medium, or the two elements can be internally connected. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0020] In the invention, unless otherwise specified and limited, a first feature being “above” or “below” a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being “above”, “below”, and “above” a second feature includes that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “above”, “below”, and “below” a second feature includes that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0021] The following is a further description of the specific embodiments of the present invention in conjunction with the drawings of the specification, so that the technical solution and its beneficial effects of the present invention are clearer and more explicit. The following description of the embodiments with reference to the drawings is exemplary and intended to explain the present invention, but cannot be understood as limiting the present invention.

[0022] like Figure 1 As shown, a method for punching in a zone for sanitation workers comprises the following steps: S1: The punch-in server receives the location information sent by the electronic badge, and then determines whether the electronic badge is in the work area based on the location information of the electronic badge, and sends a punch-in signal to the electronic badge to indicate whether the punch-in is allowed based on the judgment result. The electronic badge can send its own location information to the punch-in server every first set time after it is turned on, so that the punch-in server can obtain the entire moving path of the electronic badge, which is convenient for the punch-in server to understand the moving route of the sanitation worker wearing the electronic badge. The electronic badge can also send its own location information to the punch-in server after the punch-in server sends a work task or a location request command, so that the electronic badge does not need to send its own location to the punch-in server every moment, and sends its own location to the punch-in server when working, so that the punch-in server can obtain the working route of the sanitation worker wearing the electronic badge, and also reduce the working energy consumption of the electronic badge, increase the working time of the electronic badge, and prevent the management personnel from invading the privacy of the sanitation worker. S2: The clock-in server receives environmental information through the electronic ID card, and then determines the clock-in method based on the environmental information, so that the electronic ID card can be clocked in according to the clock-in method determined by the clock-in server. After receiving the clock-in signal that allows clock-in, the electronic ID card collects environmental information again and sends the environmental information to the clock-in server. S3: The clock-in server receives the clock-in information sent by the electronic ID card, and then determines whether the clock-in is successful based on the clock-in information. If the clock-in is unsuccessful, the clock-in server controls the electronic ID card to clock in again or change the clock-in method. If the clock-in is successful, it goes to step S4. S4: The clock-in server records the working time and receives the location information of the electronic ID card. When the clock-in server determines that the electronic ID card has left the working area or receives the end-of-work signal, the clock-in server ends the working time recording and sends an end-of-work clock-in signal to the electronic ID card.

[0023] As one of the embodiments, in step S1, the punch-in server sends a punch-in signal to the electronic ID card according to the judgment result, including the following steps: the punch-in server obtains the latitude and longitude of the electronic ID card from the location information of the electronic ID card, and then judges whether the electronic ID card is in the working area according to the latitude and longitude of the electronic ID card. If the electronic ID card is in the working area, the punch-in server sends a punch-in permission signal to the electronic ID card, so that the electronic ID card starts to punch in for work. If the electronic ID card is not in the working area, the punch-in server sends a punch-in permission signal to the electronic ID card, and then receives the location information sent by the electronic ID card again after the first set time to judge whether the electronic ID card is in the working area. That is, after the electronic ID card receives the punch-in permission signal to the electronic ID card, the electronic ID card still sends its own location information to the punch-in server at every first set time, so that the punch-in server re-judges the location of the electronic ID card.

[0024] As one embodiment, the punch-in server determines whether the electronic work badge is in the work area according to the longitude and latitude of the electronic work badge, including the following steps: the punch-in server obtains the longitude and latitude of the corner point of the work area, and then selects the maximum longitude, minimum longitude, maximum latitude and minimum latitude from the longitude and latitude of the corner point. The punch-in server compares the longitude and latitude of the electronic work badge with the longitude and latitude of the work area. If the longitude of the electronic work badge is between the minimum longitude and the maximum longitude of the work area, and the latitude of the electronic work badge is between the minimum latitude and the maximum latitude of the work area, then the punch-in server determines that the electronic work badge is located in the work area. This method is suitable for a rectangular work area. If the work area is irregular, a point can be selected from the work area and connected to the position point of the electronic work badge. If the number of intersections between the line between the point and the position point of the electronic work badge and the boundary of the work area is an even number, the electronic work badge is in the work area. If the number of intersections between the line between the point and the position point of the electronic work badge and the boundary of the work area is an odd number, then the electronic work badge is not in the work area.

[0025] As one of the embodiments, in step S2, the clocking-in server receives environmental information through the electronic work badge, and then determines the clocking-in method according to the environmental information, including the following steps: the clocking-in server obtains the sound intensity and light intensity of the environment through the microphone and light intensity sensor of the electronic work badge, and then compares the sound information and light intensity of the environment. If the sound intensity of the environment is greater than or equal to the set sound intensity, the clocking-in server decides that the electronic work badge uses voiceprint recognition to clock in. If the sound intensity of the environment is less than the set sound intensity and the light intensity of the environment is greater than or equal to the set light intensity, the clocking-in server decides that the electronic work badge uses face recognition to clock in. If the sound intensity of the environment is less than the set sound intensity and the light intensity of the environment is less than the set light intensity, the clocking-in server decides that the electronic work badge uses voiceprint recognition to clock in. Among them, the clocking-in method includes voiceprint recognition clocking in and face recognition clocking in. A single clocking-in method is difficult to cope with different environments, which can easily lead to the failure of sanitation workers to clock in, and they cannot quickly start work, which reduces work efficiency. Therefore, the clocking-in system can be set up with multiple clocking-in methods, and the electronic work badge can choose the corresponding clocking-in method according to the environmental conditions, thereby improving the clocking-in efficiency of sanitation workers. The failure of voiceprint recognition clocking-in is mainly due to the working environment (such as traffic noise, machine operation sound), which causes the surrounding noise to be loud when the voiceprint clocking-in is recorded, and the recorded sound is not obvious and cannot clearly capture the user's voiceprint data. Users can improve the success rate of clocking-in by staying away from the noise source. Face recognition clocking-in is easily affected by factors such as light intensity, camera clarity and shooting angle. Compared with voiceprint recognition, there are more interference factors. Therefore, the clocking-in server prefers voiceprint recognition clocking-in as the clocking-in method for electronic work badges.

[0026] As one embodiment, step S3, the punch-in server determines whether the punch-in is successful based on the punch-in information, including the following steps: after the punch-in server determines the punch-in method of the electronic work card, it receives the punch-in information sent by the electronic work card, wherein the punch-in information includes voiceprint information and face information. If the electronic work card uses voiceprint recognition to punch in, the punch-in server receives the voiceprint information sent by the electronic work card, and then compares the voiceprint information with the voiceprint recognition model corresponding to the ID number of the electronic work card. If the comparison is successful, the punch-in server sends a punch-in success message to the electronic work card. If the comparison fails, the punch-in server receives the voiceprint information again for comparison. If the electronic work card uses face recognition to punch in, the punch-in server receives the face information sent by the electronic work card, and then compares the face information with the face recognition model corresponding to the ID number of the electronic work card. If the comparison is successful, the punch-in server sends a punch-in success message to the electronic work card. If the comparison is recognized, the punch-in server receives the face information again for comparison. The voiceprint recognition model and the face recognition model can be constructed by pre-collecting the voiceprint data and face images of the sanitation workers corresponding to the ID number of the electronic work badge.

[0027] As one embodiment, the punching server controls the electronic work card to punch in again or change the punching method, including the following steps: during the punching server receiving the punching information for comparison, if the punching server fails to compare three times in a row, the punching server sends a signal to change the punching method to the electronic work card, so that the electronic work card changes the punching method from voiceprint recognition punching to face recognition punching, or changes the punching method from face recognition punching to voiceprint recognition punching, that is, after the sanitation worker punches in and out by voiceprint recognition three times in a row, the punching server reminds the sanitation worker to change the punching method through the electronic work card, use face recognition punching, or change from face recognition punching to voiceprint recognition punching. After multiple failed punching ins in the same way, the punching success rate can be improved by changing the punching method.

[0028] As one embodiment, in step S4, the punch-in server records the working time and receives the location information of the electronic ID card, including the following steps: the punch-in server starts recording the working time of the electronic ID card after the electronic ID card is punched in, and records the punch-in location of the electronic ID card. The punch-in server receives the location information sent by the electronic ID card once every second set time, and then determines whether the electronic ID card is in the working area according to the location information of this time. If the electronic ID card is in the working area, the punch-in server records the location information of this time. If the electronic ID card is not in the working area, the punch-in server records the location information of this time and performs the leaving timer. If the leaving timer is greater than or equal to the third set time, the punch-in server does not determine that the electronic ID card is in the working area, then the punch-in server determines that the electronic ID card leaves the working area and ends the recording of the working time of the electronic ID card. If the leaving timer is greater than or equal to the third set time, the punch-in server determines that the electronic ID card is in the working area, then the punch-in server stops the leaving timer and resets the leaving timer. Among them, the third setting time is much greater than the second setting time. The clock-in server determines that the electronic badge has left the work area only after a period of time has passed, to prevent the sanitation worker from misjudging the electronic badge from leaving the work area when cleaning the boundary of the work area. The first set time may be equal to the second set time.

[0029] As one of the embodiments, when the clock-in server determines that the electronic badge has left the work area or receives the end-of-work signal sent by the electronic badge, the clock-in server ends the recording of the working time of the electronic badge, and then counts the working time of the electronic badge in the work area. The clock-in server obtains the working point of the electronic badge in the work area based on the recorded location information, and then connects the working points of the electronic badge in the work area in sequence according to the recorded time to obtain the working route of the electronic badge. The clock-in server obtains the attendance time of the sanitation workers in the work area by recording the working time of the electronic badge, which is convenient for recording the attendance of the sanitation workers. After the clock-in server determines that the electronic badge has left the work area, when the clock-in server receives that the electronic badge is in the work area again, the clock-in server can make the electronic badge clock in again and perform work timing. After receiving the end-of-work signal, all working times are counted.

[0030] A control method for an electronic work badge, the method comprising the following steps: the electronic work badge sends its own location information to a punch-in server, and after obtaining a punch-in permission signal, sends environmental information to the punch-in server. The electronic work badge obtains the punch-in method sent by the punch-in server, and then the electronic work badge collects corresponding punch-in information according to the punch-in method, and sends the punch-in information to the punch-in server. After the electronic work badge receives the punch-in success information sent by the punch-in server, the electronic work badge sends its own location information every second set time until the electronic work badge sends a work end signal to the punch-in server or the electronic work badge leaves the electronic work area.

[0031] A punching-in system for sanitation workers, comprising a punching-in server and an electronic work badge. The punching-in server executes the above-mentioned regional punching-in method for sanitation workers, and the electronic work badge is controlled by the above-mentioned electronic work badge control method.

[0032] As long as the punch-in server described in the present application determines that the electronic badge is in the work area, it allows the electronic badge to start punching in, so that the sanitation workers wearing the electronic badge can punch in at any location in the work area, without having to go to a fixed location to punch in, which improves the work efficiency of the sanitation workers. The sanitation workers can decide the starting location of the punch-in work according to the actual situation, which improves the flexibility of the sanitation work punch-in. The punch-in server can determine the punch-in method of the electronic badge according to the environmental information, which can effectively respond to different environmental conditions, not only improving the flexibility of the electronic badge punch-in, but also improving the accuracy of the electronic badge punch-in.

[0033] In the description of the specification, the description with reference to the terms "one embodiment", "preferably", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention, and the schematic expressions of the above terms in this specification do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. The connection method connected in the description of the specification has obvious effects and practical effectiveness.

[0034] Through the description of the above structure and principle, technicians in the relevant technical field should understand that the present invention is not limited to the above-mentioned specific implementation methods. Improvements and substitutions based on the present invention using the well-known technology in the field all fall within the protection scope of the present invention and should be defined by the claims.

Claims

1. A regional clocking-in method for sanitation workers, characterized in that: The method comprises the following steps: S1: The clock-in server receives the location information sent by the electronic ID card, and then determines whether the electronic ID card is in the work area based on the location information of the electronic ID card, and sends a clock-in signal to the electronic ID card to indicate whether the clock-in is allowed based on the judgment result; S2: The clock-in server receives the environment information through the electronic ID card, and then determines the clock-in method according to the environment information, so that the electronic ID card is used to clock in according to the clock-in method determined by the clock-in server; S3: The clock-in server receives the clock-in information sent by the electronic ID card, and then determines whether the clock-in is successful based on the clock-in information. If the clock-in is unsuccessful, the clock-in server controls the electronic ID card to clock in again or change the clock-in method. If the clock-in is successful, the process proceeds to step S4. S4: The clock-in server records the working time and receives the location information of the electronic ID card. When the clock-in server determines that the electronic ID card has left the working area or receives a work end signal, the clock-in server ends the working time recording and sends a work end clock-in signal to the electronic ID card.

2. The regional clocking-in method for sanitation workers according to claim 1, characterized in that: In step S1, the clock-in server sends a clock-in signal to the electronic work card to determine whether the clock-in is allowed according to the judgment result, including the following steps: The clock-in server obtains the latitude and longitude of the electronic badge from the location information of the electronic badge, and then determines whether the electronic badge is in the work area based on the latitude and longitude of the electronic badge; If the electronic ID card is in the work area, the clock-in server sends a clock-in permission signal to the electronic ID card, so that the electronic ID card can start clocking in; If the electronic ID card is not in the working area, the clock-in server sends a clock-in-not-permitted signal to the electronic ID card, and then receives the location information sent by the electronic ID card again after the first set time to determine whether the electronic ID card is in the working area.

3. The regional clocking-in method for sanitation workers according to claim 2, characterized in that: The clock-in server determines whether the electronic ID card is in the work area based on the latitude and longitude of the electronic ID card, including the following steps: The clock-in server obtains the longitude and latitude of the corner points of the work area, and then selects the maximum longitude, minimum longitude, maximum latitude and minimum latitude from the longitude and latitude of the corner points; The clock-in server compares the longitude and latitude of the electronic ID card with the longitude and latitude of the work area. If the longitude of the electronic ID card is between the minimum longitude and maximum longitude of the work area, and the latitude of the electronic ID card is between the minimum latitude and maximum latitude of the work area, the clock-in server determines that the electronic ID card is located in the work area.

4. The regional clocking-in method for sanitation workers according to claim 3, characterized in that: In step S2, the clock-in server receives the environment information through the electronic work badge, and then determines the clock-in method according to the environment information, including the following steps: The clock-in server obtains the sound intensity and light intensity of the environment through the microphone and light intensity sensor of the electronic work badge, and then compares the sound information and light intensity of the environment; If the sound intensity of the environment is greater than or equal to the set sound intensity, the clock-in server decides to use voiceprint recognition to clock in the electronic badge; If the sound intensity of the environment is less than the set sound intensity and the light intensity of the environment is greater than or equal to the set light intensity, the clock-in server decides to use face recognition for clocking in the electronic badge; If the sound intensity of the environment is less than the set sound intensity and the light intensity of the environment is less than the set light intensity, the clock-in server decides to use voiceprint recognition to clock in the electronic badge; Among them, the clocking-in methods include voiceprint recognition clocking-in and face recognition clocking-in.

5. The regional clocking-in method for sanitation workers according to claim 4, characterized in that: Step S3, the clock-in server determines whether the clock-in is successful based on the clock-in information, including the following steps: After the clock-in server determines the clock-in method of the electronic ID card, it receives the clock-in information sent by the electronic ID card, wherein the clock-in information includes voiceprint information and face information; If the electronic ID card uses voiceprint recognition to punch in, the punching server receives the voiceprint information sent by the electronic ID card, and then compares the voiceprint information with the voiceprint recognition model corresponding to the ID number of the electronic ID card. If the comparison is successful, the punching server sends a punching success message to the electronic ID card. If the comparison fails, the punching server receives the voiceprint information again for comparison; If the electronic ID card uses facial recognition to clock in, the clock-in server receives the facial information sent by the electronic ID card, and then compares the facial information with the facial recognition model corresponding to the ID number of the electronic ID card. If the comparison is successful, the clock-in server sends a clock-in success message to the electronic ID card. If the comparison is successful, the clock-in server receives the facial information again for comparison.

6. The regional clocking-in method for sanitation workers according to claim 5, characterized in that: The clock-in server controls the electronic work badge to clock in again or change the clock-in method, including the following steps: During the process of receiving the punch-in information for comparison, if the punch-in server fails to compare three times in a row, the punch-in server sends a signal to the electronic ID card to change the punch-in method, so that the electronic ID card changes the punch-in method from voiceprint recognition punch-in to face recognition punch-in, or changes the punch-in method from face recognition punch-in to voiceprint recognition punch-in.

7. The regional clocking-in method for sanitation workers according to claim 6, characterized in that: In step S4, the clock-in server records the working time and receives the location information of the electronic work badge, including the following steps: The clock-in server starts recording the working time of the electronic badge after the electronic badge is clocked in, and records the clock-in location of the electronic badge; The clock-in server receives the location information sent by the electronic badge every second set time, and then determines whether the electronic badge is in the work area based on the location information; If the electronic badge is in the work area, the clock-in server will record the location information. If the electronic badge is not in the work area, the clock-in server will record the location information and perform the departure timer. If the leaving time is greater than or equal to the third set time, and the punching server does not determine that the electronic ID card is in the working area, the punching server determines that the electronic ID card has left the working area and ends the recording of the working time of the electronic ID card; If the departure time is greater than or equal to the third set time, the clock-in server determines that the electronic work badge is located in the work area, then the clock-in server stops the departure time and resets the departure time to zero.

8. The regional clocking-in method for sanitation workers according to claim 6, characterized in that: In step S4, the clock-in server records the working time and receives the location information of the electronic work badge, including the following steps: The clock-in server starts recording the working time of the electronic badge after the electronic badge is clocked in, and records the clock-in location of the electronic badge; The clock-in server receives the location information sent by the electronic badge every second set time, and then determines whether the electronic badge is in the work area based on the location information; If the electronic badge is in the work area, the clock-in server will record the location information. If the electronic badge is not in the work area, the clock-in server will record the location information and perform the departure timer. If the leaving time is greater than or equal to the third set time, and the punching server does not determine that the electronic ID card is in the working area, the punching server determines that the electronic ID card has left the working area and ends the recording of the working time of the electronic ID card; If the departure time is greater than or equal to the third set time, the clock-in server determines that the electronic work badge is located in the work area, then the clock-in server stops the departure time and resets the departure time to zero.

9. A method for controlling an electronic work badge, characterized in that: The method comprises the following steps: The electronic work badge sends its own location information to the clock-in server, and after receiving the clock-in permission signal, it sends the environment information to the clock-in server; The electronic ID card obtains the punch-in method sent by the punch-in server, and then collects the corresponding punch-in information according to the punch-in method and sends the punch-in information to the punch-in server; After the electronic ID card receives the punch-in success information sent by the punch-in server, the electronic ID card sends its own location information every second set time until the electronic ID card sends a work end signal to the punch-in server or the electronic ID card leaves the electronic work area.

10. A sanitation worker clocking-in system, characterized in that: The clock-in system includes a clock-in server and an electronic work badge. The clock-in server executes the regional clock-in method for sanitation workers described in any one of claims 1 to 8, and the electronic work badge is controlled by the electronic work badge control method described in claim 9.