Request response method, apparatus, device, and storage medium

By acquiring and identifying image and duration information of target objects, the regional status of security posts can be determined, solving the problem of the inability to detect security risks in a timely manner in existing technologies and improving the safety of security posts.

CN116434365BActive Publication Date: 2026-08-04CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA CONSTRUCTION BANK
Filing Date
2022-12-23
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In existing technologies, for positions involving area security, it is impossible to promptly detect potential safety hazards in the area during job handover, leading to safety risks.

Method used

By acquiring the target object's identification information, image information, and task execution duration information, the system identifies the collected and required image information, determines the status information of the target area, and performs a check-out operation when preset conditions are met.

Benefits of technology

This enabled timely determination of the status of the target area, avoiding potential safety hazards and improving the area's security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116434365B_ABST
    Figure CN116434365B_ABST
Patent Text Reader

Abstract

The present disclosure provides a request response method, device, equipment and storage medium, which can be applied to the field of computer technology and the field of financial technology. The method comprises: in response to a sign-off request initiated for a target object, obtaining identification information of the target object, first image information and time length information of performing a task, the first image information representing image information collected by the target object during the performance of the task; obtaining second image information from an attendance management platform according to the identification information of the target object; the second image information represents image information to be collected by the target object; obtaining state information of a target region by recognizing the first image information and the second image information; and performing a sign-off operation in the case that the state information of the target region and the time length information of performing the task satisfy a first preset condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the fields of computer science and financial technology, and in particular to a request-response method, apparatus, device, medium, and program product. Background Technology

[0002] Currently, with the development of internet technology, in addition to traditional offline attendance methods, users can also clock in and out via mobile clients. In related technologies, attendance tracking typically records the time of clocking in and out, and then determines the valid working hours based on these times.

[0003] However, in the process of realizing the inventive concept disclosed herein, the inventors discovered that in related technologies, for positions involving regional security issues such as security guards, if the prescribed working hours are completed and a sign-out operation is performed, it is impossible to detect in a timely manner whether there are any security risks in the area during the handover of positions, which can easily lead to security risks. Summary of the Invention

[0004] In view of the above issues, this disclosure provides request response methods, apparatus, devices, media, and program products.

[0005] According to a first aspect of this disclosure, a request-response method is provided, comprising: responding to a check-out request initiated against a target object, obtaining identification information, first image information, and task execution duration information of the target object, wherein the first image information represents image information collected by the target object during task execution; querying a second image information from an attendance management platform based on the identification information of the target object; wherein the second image information represents image information to be collected by the target object; obtaining status information of a target area by identifying the first image information and the second image information; and performing a check-out operation when the status information of the target area and the task execution duration information satisfy a first preset condition.

[0006] According to embodiments of this disclosure, the first image information includes image acquisition time information and image acquisition content information. Obtaining the current state information of the target area by identifying the first image information and the second image information includes: obtaining information of a first target area by identifying the first image information; obtaining information of a second target area by identifying the second image information; and, if it is determined that the first target area and the second target area are the same, obtaining the state information of the target area based on the first image information and the target time period information.

[0007] According to an embodiment of this disclosure, the first image information includes image acquisition time information and image acquisition content information. Obtaining the state information of the target area based on the first image information and the target time period information includes: obtaining image acquisition time verification result information based on the image acquisition time information and the target time period information; and obtaining the state information of the target area by recognizing the image acquisition content information when the verification result information meets a second preset condition.

[0008] According to an embodiment of this disclosure, when the status information of the target area and the duration information of the task execution meet the first preset condition, the check-out operation is performed, including: when the status information of the target area and the duration information of the task execution meet the first preset condition, starting the execution interface of the check-out operation; and in response to a click operation on the first target icon on the visual interface, performing the check-out operation by calling the execution interface.

[0009] According to embodiments of this disclosure, the above request-response method further includes: obtaining job information of the target object; querying a database for a threshold of on-duty hours based on the job information; and performing a check-out operation if the duration of the task performed is greater than the threshold of on-duty hours.

[0010] According to an embodiment of this disclosure, the above request-response method further includes: in response to a sign-out operation performed on a target object, retrieving the first on-duty personnel record information within the current time period from the cache; and modifying the first on-duty personnel record information according to the identification information of the target object.

[0011] According to an embodiment of this disclosure, the above request-response method further includes: obtaining second on-duty personnel record information within a target time period from a cache by executing a scheduled task; obtaining the number of on-duty personnel for a target position within the target time period based on the second on-duty personnel record information; and generating position abnormality result information if the number of on-duty personnel is less than a preset threshold.

[0012] A second aspect of this disclosure provides a request response apparatus, comprising: a first acquisition module, configured to, in response to a check-out request initiated against a target object, acquire identification information, first image information, and task duration information of the target object, wherein the first image information represents image information collected by the target object during task execution; a first query module, configured to, based on the identification information of the target object, query a second image information from an attendance management platform, wherein the second image information represents image information to be collected by the target object; an identification module, configured to, by identifying the first image information and the second image information, obtain status information of a target area; and a first execution module, configured to, when the status information of the target area and the task duration information satisfy a first preset condition, execute a check-out operation.

[0013] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the methods described above.

[0014] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the methods described above.

[0015] The fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0016] According to the request-response method, apparatus, device, medium, and program products provided in this disclosure, by identifying the first image information already collected and the second image information to be collected from the target object when the target object initiates a check-out request, the status of the target area can be determined in a timely manner, avoiding potential security risks in the target area. Furthermore, since the check-out operation is only performed when there are no security risks in the status information of the target area and the duration of the target object's task execution meets preset conditions, the security of the target area is improved. Attached Figure Description

[0017] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0018] Figure 1 This diagram illustrates an application scenario of the request-response method according to an embodiment of the present disclosure.

[0019] Figure 2 A flowchart illustrating a request-response method according to an embodiment of the present disclosure is shown schematically.

[0020] Figure 3a This illustration schematically depicts the selection of a check-in position according to an embodiment of the present disclosure;

[0021] Figure 3b This illustration shows a typical work position sign-in diagram according to an embodiment of the present disclosure;

[0022] Figure 3c This illustration shows a diagram illustrating the sign-in process for key positions according to an embodiment of the present disclosure;

[0023] Figure 4 A schematic diagram illustrating the upload workflow according to an embodiment of this disclosure is provided.

[0024] Figure 5 This illustration schematically depicts a query of first on-duty personnel record information according to an embodiment of the present disclosure;

[0025] Figure 6 This illustration schematically shows a diagram of querying second on-duty personnel record information according to an embodiment of the present disclosure;

[0026] Figure 7 This illustration schematically shows a diagram of querying historical on-duty personnel records according to an embodiment of the present disclosure;

[0027] Figure 8 A schematic diagram illustrating the configuration of a timed task according to an embodiment of the present disclosure is shown.

[0028] Figure 9 This diagram illustrates the resetting of the number of employees on duty according to an embodiment of the present disclosure.

[0029] Figure 10 A schematic block diagram of a request response apparatus according to an embodiment of the present disclosure is shown; and

[0030] Figure 11 A block diagram schematically illustrates an electronic device suitable for implementing a request-response method according to an embodiment of the present disclosure. Detailed Implementation

[0031] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0032] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0033] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0034] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).

[0035] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of data (including but not limited to user personal information) comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals.

[0036] In the process of realizing the inventive concept disclosed herein, the inventors discovered that in related technologies, for positions with special work characteristics, such as security positions, attendance is usually required to be recorded across days due to the nature of the work. In related technologies, attendance can be recorded through sign-in and sign-out, but there is a security risk if sign-out is performed without timely knowledge of the security patrol results.

[0037] In view of this, embodiments of the present disclosure provide a request-response method, including:

[0038] In response to a sign-out request initiated against a target object, the system obtains the target object's identification information, first image information, and task execution duration information. The first image information represents the image information collected by the target object during the task execution.

[0039] Based on the identification information of the target object, the second image information is obtained from the attendance management platform; the second image information represents the image information that needs to be collected from the target object.

[0040] By recognizing the first image information and the second image information, the state information of the target area is obtained;

[0041] If the status information of the target area and the duration of the task execution meet the first preset condition, the check-out operation is performed.

[0042] Figure 1 The illustration shows an application scenario diagram of the request-response method according to an embodiment of the present disclosure.

[0043] like Figure 1 As shown, application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 serves as a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0044] Users can interact with server 105 via network 104 using at least one of the first terminal device 101, second terminal device 102, and third terminal device 103 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, second terminal device 102, and third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0045] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0046] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (this is just an example). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.

[0047] It should be noted that the request-response method provided in this embodiment can generally be executed by server 105. Accordingly, the request-response device provided in this embodiment can generally be located in server 105. The request-response method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105. Accordingly, the request-response device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105.

[0048] According to embodiments of this disclosure, the attendance management platform can be located on server 105, or it can be located on the first terminal device 101, the second terminal device 102, and the third terminal device 103. Users can perform sign-in and sign-out operations through the attendance management platform, manage the users' attendance, and store user information and user attendance information.

[0049] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0050] The following will be based on Figure 1 The described scene, through Figures 2-9 The request-response method of the disclosed embodiments will be described in detail.

[0051] Figure 2 A flowchart illustrating a request-response method according to an embodiment of the present disclosure is shown schematically.

[0052] like Figure 2 As shown, the request-response method of this embodiment includes operations S210 to S240.

[0053] In operation S210, in response to the sign-out request initiated for the target object, the identification information, first image information, and duration information of the task execution of the target object are obtained. The first image information represents the image information collected by the target object during the task execution.

[0054] According to embodiments of this disclosure, the identification information of the target object may include the target object's number, etc.

[0055] According to embodiments of this disclosure, the first image information may include images of the task area collected by the target object during the execution of a task. For example, if the task area of ​​the target object may be an office park, then the first image information collected by the target object may include images of the office park.

[0056] According to embodiments of this disclosure, the task execution duration information may be the actual duration of the target object's task execution, which may be determined based on the time when the target object performs the check-in operation and the time when it initiates the check-out request.

[0057] According to embodiments of this disclosure, for example, when a target object signs in, the target object's identification information, the collected first image information, and the sign-in time information can be stored in the attendance management platform. When the target object initiates a sign-out request, the target object's number, the image of the task area collected by the target object, and the duration of the target object's task execution can be obtained from the attendance management platform storing the above information to determine the target object's task completion status. And when it is determined that the target object has completed the task, a sign-out operation can be performed according to the target object's number.

[0058] In operation S220, the second image information is obtained from the attendance management platform based on the identification information of the target object; the second image information represents the image information that needs to be collected from the target object.

[0059] According to embodiments of this disclosure, the second image information may include the task area image that the target object needs to collect. For example, if the second image information is the entrance to the park, the first image information collected by the target object also corresponds to the entrance to the park.

[0060] According to embodiments of this disclosure, the attendance management platform can store the first target image and the second target image to be collected for the target object, and can compare the first target image and the second target image to determine the similarity between the first target image and the second target image, so as to determine whether the region represented by the first target image is the region represented by the second target image.

[0061] According to embodiments of this disclosure, for example, job information can be configured through an attendance management platform, which can set the name of the target job, the importance level of the target job, and the location corresponding to the target job. For example, the target job can be set as a security job, and the security job can be set as a key job, with the location set to an office park. For key jobs, an interface for uploading work content can be called to allow the uploading of work content.

[0062] Figure 3a The diagram illustrates the selection of a check-in position according to an embodiment of the present disclosure.

[0063] Figure 3b The illustration shows a typical sign-in diagram of a regular job according to an embodiment of the present disclosure.

[0064] Figure 3cThe illustration shows a diagram of key positions having been checked in according to an embodiment of the present disclosure.

[0065] like Figure 3a , 3b As shown in 3c, attendance and check-out information can be displayed on the attendance management platform. If no check-in is recorded, the user can select the position to check in, and the corresponding position for both check-in and check-out times will display "No Check-in" and "No Check-out." If a check-in has been recorded, the check-in button will display "Check-in Completed" and the check-in time. For regular positions, the check-out interface can be called to display the check-out button, which will show "Enabled." For key positions, the work content upload interface can be called to display the work content upload button, which will show "Not Uploaded" and "Check-out Not Enabled." Once the work content upload is complete, the check-out interface can be called to execute the check-out operation.

[0066] In operation S230, the status information of the target area is obtained by recognizing the first image information and the second image information.

[0067] According to embodiments of this disclosure, for example, if the task performed by the target object is a security task, the status information of the target area may include whether the target area has an abnormal state or not. Whether the task area has an abnormal state can be determined by identifying the first image information and the second image information. If the first target image indicates that the task area has an abnormal state, the target object can handle the abnormal state; if the first target image indicates that the task area does not have an abnormal state, the target object can perform a check-out operation.

[0068] In operation S240, if the status information of the target area and the duration information of the task execution meet the first preset conditions, the check-out operation is performed.

[0069] According to embodiments of this disclosure, for example, the first preset condition may be the state information of the target area indicating that the target area is free of abnormalities and the duration information of the task execution meeting the preset duration.

[0070] According to embodiments of this disclosure, for example, the duration of task execution can be preset through an attendance management platform. For example, the preset duration can be set to 8 hours. If the status information of the target area indicates that there is no abnormality in the target area and the duration of task execution by the target object meets the requirement of 8 hours, the check-out operation of the target object can be performed.

[0071] According to embodiments of this disclosure, by identifying the first image information already collected and the second image information to be collected from the target object when the target object initiates a check-out request, the status of the target area can be determined in a timely manner, avoiding potential security risks in the target area. Furthermore, since the check-out operation is only performed when there are no security risks in the status information of the target area and the duration of the target object's task execution meets preset conditions, the security of the target area is improved.

[0072] According to embodiments of this disclosure, the first image information includes image acquisition time information and image acquisition content information. By identifying the first image information and the second image information, the current state information of the target area is obtained, including:

[0073] Information about the first target region is obtained by recognizing the first image information;

[0074] Information about the second target region is obtained by recognizing the information in the second image;

[0075] If the first target area and the second target area are determined to be the same, the state information of the target area is obtained based on the first image information and the target time period information.

[0076] According to embodiments of this disclosure, image acquisition time information may include the time information of image acquisition of the target object, and image acquisition content information may include information representing the first target region in the image acquired by the target object.

[0077] According to embodiments of this disclosure, the information of the second target region may include image information of the target region that the target object needs to collect.

[0078] According to embodiments of this disclosure, information about a first target region is obtained by recognizing first image information. For example, image acquisition content information can be obtained by recognizing the first image information. The obtained image acquisition content information can be an image of the task area of ​​the target object that has been acquired.

[0079] According to embodiments of this disclosure, information about a second target region is obtained by recognizing the second image information. For example, image content information corresponding to the second image information can be obtained by recognizing the second image information. The image content information can be an image of the task area that the target object needs to collect during the execution of the task.

[0080] According to embodiments of this disclosure, for example, the image of the target area collected by the target object can be compared with the image of the target area that the target object needs to collect. If the comparison result indicates that the first target area and the second target area are the same, it can be determined that the target object has completed the task.

[0081] According to embodiments of this disclosure, for example, the target time period can be a time period used to verify the actual acquisition time of the first image information, or the time period during which the target object performs the task can be used as the target time period. For example, the image acquisition time information can be verified using the target time period to determine that the acquisition time of the first image information is within the target time period. If it is determined that the acquisition time of the first image is within the target time period, it can be determined that the target object has completed the task it performed.

[0082] According to embodiments of this disclosure, when it is determined that the first target area and the second target area are the same, the state information of the target area is obtained based on the first image information and the target time period information. For example, when it is determined that the first target area and the second target area are the same, the image acquisition time information in the first image information can be verified based on the target time period, and if the verification is successful, the state of the target area is determined based on the information of the first target area.

[0083] According to embodiments of this disclosure, by comparing the information of the first target area and the information of the second target area, if the comparison result indicates that the first target area and the second target area are the same, the status of the target area can be determined in a timely manner based on the image of the target area and the time period of image acquisition, thus avoiding potential security risks in the target area. Furthermore, by determining the image of the target area acquired from the target object and the time of image acquisition, the execution status of the target object's task can be determined, improving the accuracy of determining the task execution progress.

[0084] According to embodiments of this disclosure, the first image information includes image acquisition time information and image acquisition content information. Based on the first image information and the target time period information, the state information of the target area is obtained, including:

[0085] Based on the image acquisition time information and the target time period information, the verification result information of the image acquisition time is obtained;

[0086] If the verification result information meets the second preset condition, the status information of the target area is obtained by recognizing the image acquisition content information.

[0087] According to embodiments of this disclosure, the verification result information can be used to verify image acquisition time information. The image acquisition time information can be verified through a target time period. The verification information can include verification passed and verification failed.

[0088] According to embodiments of this disclosure, image acquisition time verification result information is obtained based on image acquisition time information and target time period information. For example, it can be determined whether the image acquisition time information is within the target time period. If the acquisition time is within the target time period, the verification result information can be "verification passed"; if the acquisition time is outside the target time period, the verification information can be "verification failed".

[0089] According to embodiments of this disclosure, for example, the second preset condition can be that the image acquisition time verification is passed. If the verification is passed, the target area represented by the first image information can be obtained by recognizing the image acquisition content, and the state information of the target area can be obtained based on the target area information.

[0090] According to embodiments of this disclosure, by verifying the image acquisition time information based on the target time period, and determining that the image acquisition time falls within the target time period, the information of the acquired target area can be obtained by identifying the image acquisition content information, and thus the status information of the target area can be obtained. Since the image acquisition time is verified by the target time period, the accuracy of the acquired image information is improved, thereby improving the accuracy of determining the status of the target area and increasing the possibility of avoiding security risks.

[0091] According to embodiments of this disclosure, when the status information of the target area and the duration information of the task execution meet a first preset condition, a check-out operation is performed, including:

[0092] If the status information of the target area and the duration information of the task execution meet the first preset condition, the check-out operation execution interface is activated.

[0093] In response to a click on the first target icon in the visual interface, a logout operation is performed by calling the execution interface.

[0094] According to embodiments of this disclosure, for example, the check-out operation execution interface can be used by a target object to perform a check-out operation. If the status information of the target area and the duration information of the task execution do not meet a first preset condition, the target object cannot perform the check-out operation.

[0095] According to embodiments of this disclosure, for example, the first preset condition may be the status information of the target area indicating that the target area is not abnormal, and the duration information of the task execution meeting the preset duration.

[0096] According to embodiments of this disclosure, when the status information of the target area and the duration information of the task execution meet the first preset conditions, the execution interface for the check-out operation is activated. For example, when the status information of the target area indicates that there is no abnormality in the target area and the duration information of the task execution meets the preset duration, the execution interface for the check-out operation can be activated so that the target object can perform the check-out operation.

[0097] According to embodiments of this disclosure, a sign-out operation is performed by calling an execution interface. For example, a sign-out operation can be performed by calling an execution interface for performing a sign-out operation.

[0098] According to embodiments of this disclosure, by initiating the check-out operation execution interface when the state of the target area and the duration of the target object's task execution meet the first preset conditions, the target object that has completed the task can perform a check-out operation, thereby realizing control over the task process through check-out.

[0099] According to embodiments of this disclosure, the attendance management platform can be used for target objects to edit work content, and upon approval of the work content, to initiate the check-out operation execution interface to check out.

[0100] Figure 4 A schematic diagram illustrating the upload workflow according to an embodiment of this disclosure is shown.

[0101] like Figure 4 As shown, the job description upload page displays the job duties for security positions. Job descriptions can include the status information of the target area and the date of the workday.

[0102] According to embodiments of this disclosure, the above request-response method further includes:

[0103] Obtain job information for the target group;

[0104] Based on the job information, retrieve the threshold information for on-duty hours from the database;

[0105] If the duration of the task performed exceeds the threshold for the duration of on-duty hours, a check-out operation will be performed.

[0106] According to embodiments of this disclosure, for example, the target position may include a security position or a maintenance position.

[0107] According to embodiments of this disclosure, for example, the on-duty time threshold information may include the on-duty time threshold corresponding to the aforementioned positions. For example, the on-duty time threshold for security positions may be 8 hours, and the on-duty time threshold for maintenance positions may be 6 hours.

[0108] According to embodiments of this disclosure, based on job information, the threshold information of on-duty hours is obtained from the database. For example, if the job information is a security job, the threshold information of on-duty hours corresponding to the security job can be obtained from the database, and the threshold of on-duty hours for the security job is 8 hours.

[0109] According to embodiments of this disclosure, if the duration of a task is greater than the threshold for on-duty time, a check-out operation is performed. For example, if the duration of a task performed by a target object is 8.5 hours, and the threshold for on-duty time for the target object is 8 hours, a check-out operation can be performed on the target object based on the target object's identification information.

[0110] According to embodiments of this disclosure, by determining a time threshold for the target object to perform a task based on the target object's job position, and then comparing the actual time the target object performs the task with the time threshold, the task completion status of the target object can be determined. If the target object completes the task, an exit operation is performed, thereby realizing control over the task process through exit.

[0111] According to embodiments of this disclosure, the above request-response method further includes:

[0112] In response to the sign-out operation performed on the target object, retrieve the record information of the first on-duty personnel within the current time period from the cache;

[0113] Based on the identification information of the target object, change the record information of the first on-duty personnel.

[0114] According to embodiments of this disclosure, for example, when a target person signs in, the sign-in information can be recorded from the cache into the first on-duty personnel record information within the current time period to record the on-duty status of the target person.

[0115] According to embodiments of this disclosure, for example, when a target object performs a sign-out operation, the first on-duty personnel record information can be retrieved from the cache, and the status of the target object being on duty in the first on-duty personnel record information can be changed to being off duty, and the sign-out information of the target object can be recorded.

[0116] According to the embodiments of this disclosure, when the target object signs out, the first on-duty personnel record information within the current time period is retrieved from the cache, and then the first on-duty personnel record information is changed according to the target object's identification information, thereby realizing an accurate representation of the target object's attendance status, and thus enabling an accurate representation of the target object's task progress.

[0117] Figure 5 The illustration shows a schematic diagram of querying the record information of a first on-duty personnel according to an embodiment of the present disclosure.

[0118] like Figure 5 As shown, the attendance management platform allows users to query the records of the first person on duty. Searches can be made by the target person's name, organization, department, time range, attendance location, and attendance type. The queried information can also be exported. Attendance types include general and priority types; general types correspond to general positions, and priority types correspond to priority positions. A reset button can be displayed to reset entered information.

[0119] According to embodiments of this disclosure, upon completion of check-out, the execution interface for the check-in operation can be activated so that the target object can check in again.

[0120] According to embodiments of this disclosure, the above request-response method further includes:

[0121] By executing a scheduled task, the second on-duty personnel record information within the target time period is retrieved from the cache;

[0122] Based on the second on-duty personnel record information, the number of on-duty personnel for the target position during the target time period is obtained;

[0123] If the number of on-duty personnel is less than a preset threshold, generate abnormal result information for the position.

[0124] According to embodiments of this disclosure, for example, a scheduled task may include periodically checking the number of personnel on duty to determine whether the number of personnel on duty during a target time period meets a preset threshold. The preset threshold may be a threshold for the number of personnel that should be on duty for a target position.

[0125] According to embodiments of this disclosure, for example, the second on-duty personnel record information may include on-duty record information of personnel on duty during a target time period. This on-duty record information may be determined based on the on-duty personnel's sign-in and sign-out times.

[0126] According to embodiments of this disclosure, the number of employees on duty at a target position within a target time period is obtained based on the second employee attendance record information. For example, within the target time period, the number of employees on duty can be determined by representing the number of people who have signed in but not out based on the employee attendance record information.

[0127] According to embodiments of this disclosure, when the number of on-duty personnel is less than a preset threshold, abnormal result information for the position is generated. For example, if the number of on-duty personnel is 70 and the preset threshold is 80, an abnormal situation in the number of on-duty personnel can be recorded for the position. This record may also include the identification information of the personnel who have been found to have left their posts.

[0128] According to embodiments of this disclosure, the generated job-related abnormality results information can be stored in a database for querying.

[0129] Figure 6 The illustration shows a schematic diagram of querying second on-duty personnel record information according to an embodiment of the present disclosure.

[0130] like Figure 6 As shown, the attendance management platform allows users to query the second on-duty personnel record information by date and position. The positions that can be queried can include position 1, position 2, and position 3, and the management department can include the security department. When the number of on-duty personnel is 41, the abnormal result can correspond to less than 42 on-duty personnel; when the number of on-duty personnel is 42, the abnormal result can correspond to no abnormality.

[0131] Figure 7 The illustration shows a schematic diagram of querying historical on-duty personnel records according to an embodiment of the present disclosure.

[0132] like Figure 7 As shown, the attendance management platform allows users to query historical attendance records by date and position. The positions that can be queried include Position 1, Position 2, and Position 3, and the management department can include the security department. For Position 1, the number of employees on duty in the morning, afternoon, and early morning can be 42, and the abnormal result can be "no abnormality". For Position 2, the number of employees on duty in the morning and early morning can be 42, and the number of employees on duty in the afternoon can be 41, and the abnormal result can be "abnormal". For Position 3, the number of employees on duty in the morning, afternoon, and early morning can be 10, and the abnormal result can be "no abnormality".

[0133] According to embodiments of this disclosure, for example, preset thresholds can be configured through an attendance management platform.

[0134] According to embodiments of this disclosure, by periodically retrieving the second on-duty personnel record from the cache within a target time period, the on-duty status of the on-duty personnel within the target time period can be obtained, and thus the number of on-duty personnel for the target position within the target time period can be obtained. If the number of on-duty personnel is less than a preset threshold, position abnormality result information can be generated, thereby achieving accurate representation of the number of on-duty personnel for the position, and accurately representing the task status of the personnel in the position based on the generated position abnormality result information.

[0135] According to embodiments of this disclosure, for example, in some embodiments, the timed task may also retrieve the second on-duty personnel record information from the cache at the target time, and obtain the on-duty personnel number information of the target position at the target time based on the second on-duty personnel record information. If the on-duty personnel number information is less than a preset threshold, abnormal result information of the position can be generated.

[0136] Figure 8 A schematic diagram illustrating the configuration of a timed task according to an embodiment of the present disclosure is shown.

[0137] like Figure 8 As shown, the check interval can be set to check the on-duty status every 20 minutes to determine the number of on-duty personnel, or it can be set to check at specific times, such as 9:00 AM, 3:00 PM, and 3:00 AM. The check time of the scheduled task can be updated by updating the settings key, or the set time can be reset by resetting the settings key.

[0138] According to embodiments of this disclosure, for example, the number of on-duty personnel within a target time period can be re-determined through an attendance management platform to avoid errors in the recorded number of on-duty personnel.

[0139] Figure 9 A schematic diagram illustrating the resetting of the number of employees on duty according to an embodiment of the present disclosure is shown.

[0140] like Figure 9 As shown, the number of employees on duty for a specific job within a target time period can be determined by resetting the number of employees based on the job title, thus avoiding errors in the recorded number of employees on duty.

[0141] Based on the above request-response method, this disclosure also provides a request-response apparatus. The following will be combined with... Figure 10 The device is described in detail.

[0142] Figure 10 A schematic block diagram of a request response apparatus according to an embodiment of the present disclosure is shown.

[0143] like Figure 10 As shown, the request response device 1000 of this embodiment includes a first acquisition module 1010, a first query module 1020, an identification module 1030, and a first execution module 1040.

[0144] The first acquisition module 1010 is used to acquire the target object's identification information, first image information, and task execution duration information in response to a sign-out request initiated for the target object. The first image information represents image information collected by the target object during task execution. In one embodiment, the first acquisition module 1010 can be used to perform the operation S210 described above, which will not be repeated here.

[0145] The first query module 1020 is used to query the second image information from the attendance management platform based on the identification information of the target object; the second image information represents the image information that needs to be collected from the target object. In one embodiment, the first query module 1020 can be used to perform the operation S220 described above, which will not be repeated here.

[0146] The recognition module 1030 is used to obtain the state information of the target area by recognizing the first image information and the second image information. In one embodiment, the recognition module 1030 can be used to perform the operation S230 described above, which will not be repeated here.

[0147] The first execution module 1040 is used to perform a check-out operation when the status information of the target area and the duration information of the task execution meet a first preset condition. In one embodiment, the first execution module 1040 can be used to perform the operation S240 described above, which will not be repeated here.

[0148] According to embodiments of this disclosure, the identification module includes a first identification submodule, a second identification submodule, and an acquisition submodule. The first identification submodule is used to obtain information about a first target region by identifying first image information; the second identification submodule is used to obtain information about a second target region by identifying second image information; and the acquisition submodule is used to obtain state information of the target region based on the first image information and information about a target time period, provided that the first target region and the second target region are the same.

[0149] According to embodiments of this disclosure, the acquisition submodule includes an acquisition unit and an identification unit. The acquisition unit is used to obtain verification result information of the image acquisition time based on image acquisition time information and target time period information; the identification unit is used to obtain the state information of the target area by identifying image acquisition content information when the verification result information meets a second preset condition.

[0150] According to embodiments of this disclosure, the first execution module includes a startup submodule and an execution submodule. The startup submodule is used to initiate the check-out operation execution interface when the status information of the target area and the duration information of the task execution meet a first preset condition. The execution submodule is used to execute the check-out operation by calling the execution interface in response to a click operation on the first target icon on the visual interface.

[0151] According to embodiments of this disclosure, the request response device further includes a second acquisition module, a second query module, and a second execution module. The second acquisition module acquires job information of the target object; the second query module queries a database for a threshold of on-duty time based on the job information; and the second execution module performs a sign-out operation if the duration of task execution exceeds the threshold of on-duty time.

[0152] According to embodiments of this disclosure, the request response device further includes a third query module and a modification module. The third query module is used to query the first on-duty personnel record information within the current time period from the cache in response to a sign-out operation performed on the target object; the modification module is used to modify the first on-duty personnel record information according to the target object's identification information.

[0153] According to embodiments of this disclosure, the request response device further includes a third acquisition module, a fourth acquisition module, and a generation module. The third acquisition module is used to acquire second on-duty personnel record information within a target time period from a cache by executing a timed task; the fourth acquisition module is used to obtain the number of on-duty personnel for a target position within the target time period based on the second on-duty personnel record information; and the generation module is used to generate position anomaly result information if the number of on-duty personnel is less than a preset threshold.

[0154] According to embodiments of this disclosure, any plurality of modules among the first acquisition module 1010, the first query module 1020, the identification module 1030, and the first execution module 1040 can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the first acquisition module 1010, the first query module 1020, the identification module 1030, and the first execution module 1040 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuitry, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in a suitable combination of any of these. Alternatively, at least one of the first acquisition module 1010, the first query module 1020, the identification module 1030, and the first execution module 1040 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.

[0155] Figure 11 A block diagram schematically illustrates an electronic device suitable for implementing a request-response method according to an embodiment of the present disclosure.

[0156] like Figure 11As shown, an electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage portion 1108 into a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0157] RAM 1103 stores various programs and data required for the operation of electronic device 1100. Processor 1101, ROM 1102, and RAM 1103 are interconnected via bus 1104. Processor 1101 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 1102 and / or RAM 1103. It should be noted that the programs may also be stored in one or more memories other than ROM 1102 and RAM 1103. Processor 1101 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.

[0158] According to embodiments of this disclosure, the electronic device 1100 may further include an input / output (I / O) interface 1105, which is also connected to a bus 1104. The electronic device 1100 may also include one or more of the following components connected to the I / O interface 1105: an input section 1106 including a keyboard, mouse, etc.; an output section 1107 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1110 as needed so that computer programs read from it can be installed into the storage section 1108 as needed.

[0159] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0160] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 1102 and / or RAM 1103 and / or one or more memories other than ROM 1102 and RAM 1103 described above.

[0161] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the item recommendation method provided in the embodiments of this disclosure.

[0162] When the computer program is executed by the processor 1101, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0163] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 1109, and / or installed from the removable medium 1111. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0164] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 1109, and / or installed from removable medium 1111. When the computer program is executed by processor 1101, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0165] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0166] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0167] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0168] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A request-response method, comprising: In response to a sign-out request initiated against a target object, the system obtains the target object's identification information, first image information, and task execution duration information, wherein the first image information represents image information collected by the target object during task execution. Based on the identification information of the target object, the second image information is obtained from the attendance management platform; the second image information represents the image information that needs to be collected from the target object. By recognizing the first image information and the second image information, the state information of the target area is obtained; If there are no security risks in the status information of the target area and the duration information of the task execution meets the first preset condition, the check-out operation is performed.

2. The method according to claim 1, wherein, The first image information includes image acquisition time information and image acquisition content information. The step of obtaining the current state information of the target area by identifying the first image information and the second image information includes: Information about the first target region is obtained by recognizing the first image information; By recognizing the second image information, information about the second target region is obtained; If the first target region is determined to be the same as the second target region, the state information of the target region is obtained based on the first image information and the target time period information.

3. The method according to claim 2, wherein, The first image information includes image acquisition time information and image acquisition content information. The step of obtaining the state information of the target area based on the first image information and the target time period information includes: Based on the image acquisition time information and the target time period information, the verification result information of the image acquisition time is obtained; If the verification result information meets the second preset condition, the state information of the target area is obtained by recognizing the image acquisition content information.

4. The method according to claim 1, wherein, When the status information in the target area does not pose a security risk and the duration information of the task execution meets a first preset condition, a check-out operation is performed, including: If there are no security risks in the status information of the target area and the duration information of the task execution meets the first preset condition, the execution interface of the check-out operation is activated. In response to a click operation on the first target icon on the visual interface, a logout operation is performed by calling the execution interface.

5. The method according to claim 1, further comprising: Obtain job information for the target group; Based on the job information, the threshold information for on-duty hours is obtained from the database; If the duration of the task performed exceeds the threshold of the on-duty duration, a check-out operation is performed.

6. The method according to claim 1, further comprising: In response to the sign-out operation performed on the target object, retrieve the record information of the first on-duty personnel within the current time period from the cache; Based on the identification information of the target object, the record information of the first on-duty personnel is changed.

7. The method according to claim 1, further comprising: By executing a scheduled task, the second on-duty personnel record information within the target time period is retrieved from the cache; Based on the second on-duty personnel record information, the number of on-duty personnel for the target position during the target time period is obtained; If the number of on-duty personnel is less than a preset threshold, abnormal job result information is generated.

8. A request-response device, comprising: The first acquisition module is used to acquire the identification information, first image information and task execution duration information of the target object in response to the sign-out request initiated for the target object. The first image information represents the image information collected by the target object during the task execution. The first query module is used to query the second image information from the attendance management platform based on the identification information of the target object; the second image information represents the image information that needs to be collected from the target object. The recognition module is used to obtain the state information of the target area by recognizing the first image information and the second image information; The first execution module is used to perform a check-out operation when the status information of the target area does not pose a security risk and the duration information of the execution task meets a first preset condition.

9. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.

11. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 7.