Processing method and device based on near field communication
By reading and processing near field communication tag data in the near field communication system, combining the server's core interface call and subroutine processing, the security and convenience of attendance and traffic processing in the prior art is solved, and efficient and secure user identity management is achieved.
Patent Information
- Application Number
- CN202510127142.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-27
- Publication Date
- 2025-05-09
AI Technical Summary
The prior art is difficult to achieve safe and convenient attendance processing and traffic processing in near-field communication, especially to meet the needs of users and institutions while ensuring user privacy and improving system efficiency.
The near-field communication component reads the tag data stored in the near-field communication tag of the mechanism or the target site, starts the application and passes in the tag data, cooperates with the server to call the kernel interface to collect user identity data, and enters the corresponding subroutine according to the subroutine identification queryed by the tag data for processing, displaying attendance or pass results.
It realizes safe and convenient attendance and traffic processing in a near-field communication environment, improves user experience and system efficiency, and reduces the attendance cost of institutions.
Smart Images

Figure CN119967390A_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of near field communication technology, and in particular to a processing method and device based on near field communication. Background Art
[0002] Near Field Communication (NFC) is a short-range, high-frequency radio technology that uses NFC antennas to transmit or receive electromagnetic wave signals to achieve contactless identification and interconnection. With the continuous development of the Internet and near-field communication technology, various online services provided by the Internet can be initiated or processed through near-field communication, which not only brings convenience to users, but also increases the user participation rate of online services, achieving a win-win situation for users and online services. In this case, how to participate in or process services more safely and conveniently is a focus of increasing attention for users and institutions. Summary of the invention
[0003] One or more embodiments of the present specification provide a first processing method based on near field communication, comprising: reading the tag data stored in the near field communication tag of the organization through a near field communication component. Starting an application based on the tag data, and passing the tag data to the application. Collecting and uploading the identity data of the attendance user through the authentication interface call performed by the application in cooperation with the server. Entering the organization subroutine corresponding to the subroutine identifier returned by the server based on the tag data. The attendance result obtained by attendance processing based on the attendance configuration data and the authentication result returned by the interface call is displayed through the organization subroutine.
[0004] One or more embodiments of this specification provide a second processing method based on near-field communication, including: calling a verification interface to verify the login user data of the application and the identity data of the collected attendance user to obtain a verification result. The application is started based on the tag data read from the near-field communication tag of the organization. A subroutine query is performed based on the tag data, and the obtained subroutine identifier is returned to the user terminal to enter the organization subroutine corresponding to the subroutine identifier. The verification result is sent to the organization server to perform attendance processing based on the verification result and attendance configuration data.
[0005] One or more embodiments of the present specification provide a third processing method based on near field communication, including: reading the tag data of the near field communication tag deployed at the target location through the near field communication component. Starting an application based on the tag data, and passing the tag data to the application. Collecting and uploading the identity data of the passing user through the authentication interface call performed by the application in cooperation with the server. Entering the mechanism subroutine corresponding to the subroutine identifier returned by the server based on the query based on the tag data. The mechanism subroutine displays the pass result obtained by performing pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call.
[0006] One or more embodiments of the present specification provide a fourth processing method based on near-field communication, including: calling a verification interface to verify the login user data of the application and the identity data of the collected passing users to obtain a verification result. The application is started based on the tag data read from the near-field communication tag of the target location. A subprogram query is performed based on the tag data, and the obtained subprogram identifier is returned to the user terminal to enter the agency subprogram corresponding to the subprogram identifier. The verification result is sent to the agency server to perform pass processing based on the verification interface and the pass processing data corresponding to the pass type.
[0007] One or more embodiments of the present specification provide a first near field communication-based processing device, comprising: a data reading module, configured to read the tag data stored in the near field communication tag of the organization through the near field communication component. A program startup module, configured to start the application based on the tag data, and pass the tag data to the application. A data acquisition module, configured to collect and upload the identity data of the attendance user through the authentication interface call performed by the application in cooperation with the server. A subroutine entry module, configured to enter the organization subroutine corresponding to the subroutine identifier based on the subroutine identifier queried based on the tag data returned by the server. A result display module, configured to display the attendance result obtained by attendance processing based on the attendance configuration data and the authentication result returned by the interface call through the organization subroutine.
[0008] One or more embodiments of the present specification provide a second processing device based on near-field communication, including: an authentication processing module, configured to call an authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain an authentication result. The application is started based on the tag data read from the near-field communication tag of the organization. A subroutine query module, configured to perform a subroutine query based on the tag data, and return the obtained subroutine identifier to the user terminal to enter the organization subroutine corresponding to the subroutine identifier. A result sending module, configured to send the authentication result to the organization server to perform attendance processing based on the authentication result and attendance configuration data.
[0009] One or more embodiments of the present specification provide a third processing device based on near field communication, including: a data reading module, configured to read the tag data of the near field communication tag deployed at the target location through the near field communication component. A program startup module, configured to start the application based on the tag data, and pass the tag data to the application. A data collection module, configured to collect and upload the identity data of the passing user through the authentication interface call performed by the application in cooperation with the server. A subprogram entry module, configured to enter the mechanism subprogram corresponding to the subprogram identifier queried based on the tag data and returned by the server. A result display module, configured to display the passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call through the mechanism subprogram.
[0010] One or more embodiments of the present specification provide a fourth processing device based on near-field communication, including: an authentication processing module, configured to call an authentication interface to perform authentication processing on the login user data of the application and the identity data of the collected passing users to obtain an authentication result; the application is started based on the tag data read from the near-field communication tag of the target place. A subprogram query module, configured to perform a subprogram query based on the tag data, and return the obtained subprogram identifier to the user terminal to enter the institution subprogram corresponding to the subprogram identifier. A result sending module, configured to send the authentication result to the institution server to perform pass processing based on the authentication interface and the pass processing data corresponding to the pass type.
[0011] One or more embodiments of the present specification provide a first near field communication-based processing device, comprising: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: reads the tag data stored in the near field communication tag of the organization through the near field communication component. Starts an application based on the tag data, and transmits the tag data to the application. The identity data of the attendance user is collected and uploaded by the authentication interface call performed by the application in cooperation with the server. According to the subroutine identifier queried based on the tag data returned by the server, enters the organization subroutine corresponding to the subroutine identifier. The attendance result obtained by attendance processing based on the attendance configuration data and the authentication result returned by the interface call is displayed through the organization subroutine.
[0012] One or more embodiments of the present specification provide a second near-field communication-based processing device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor: calls an authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user, and obtains an authentication result. The application is started based on the tag data read from the near-field communication tag of the organization. A subroutine query is performed based on the tag data, and the obtained subroutine identifier is returned to the user terminal to enter the organization subroutine corresponding to the subroutine identifier. The authentication result is sent to the organization server to perform attendance processing based on the authentication result and the attendance configuration data.
[0013] One or more embodiments of the present specification provide a third near-field communication-based processing device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor: reads the tag data of the near-field communication tag deployed at the target location through the near-field communication component. Starts an application based on the tag data, and transmits the tag data to the application. The identity data of the passing user is collected and uploaded by the authentication interface call performed by the application in cooperation with the server. According to the subroutine identifier queried based on the tag data returned by the server, enters the mechanism subroutine corresponding to the subroutine identifier. The mechanism subroutine displays the pass result obtained by performing pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call.
[0014] One or more embodiments of the present specification provide a fourth near-field communication-based processing device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor: calls an authentication interface to authenticate the login user data of the application and the identity data of the collected passing users, and obtains an authentication result. The application is started based on the tag data read from the near-field communication tag of the target location. A subroutine query is performed based on the tag data, and the obtained subroutine identifier is returned to the user terminal to enter the agency subroutine corresponding to the subroutine identifier. The authentication result is sent to the agency server to perform pass processing based on the authentication interface and the pass processing data corresponding to the pass type.
[0015] One or more embodiments of the present specification provide a first computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: reading tag data stored in a near field communication tag of an organization through a near field communication component. Starting an application based on the tag data, and passing the tag data to the application. Collecting and uploading the identity data of the attendance user through the authentication interface call performed by the application in cooperation with the server. Entering the organization subroutine corresponding to the subroutine identifier returned by the server based on the tag data query. The attendance result obtained by attendance processing based on the attendance configuration data and the authentication result returned by the interface call is displayed through the organization subroutine.
[0016] One or more embodiments of the present specification provide a second computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: calling the authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain an authentication result. The application is started based on the tag data read from the near-field communication tag of the organization. A subroutine query is performed based on the tag data, and the obtained subroutine identifier is returned to the user terminal to enter the organization subroutine corresponding to the subroutine identifier. The authentication result is sent to the organization server to perform attendance processing based on the authentication result and the attendance configuration data.
[0017] One or more embodiments of the present specification provide a third computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: reading the tag data of the near-field communication tag deployed at the target location through the near-field communication component. Starting an application based on the tag data, and passing the tag data to the application. Collecting and uploading the identity data of the passing user through the authentication interface call performed by the application in cooperation with the server. Entering the mechanism subroutine corresponding to the subroutine identifier returned by the server based on the query based on the tag data. The mechanism subroutine displays the pass result obtained by performing pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call.
[0018] One or more embodiments of the present specification provide a fourth computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: calling the authentication interface to authenticate the login user data of the application and the identity data of the collected passing users to obtain an authentication result. The application is started based on the tag data read from the near-field communication tag of the target location. A subroutine query is performed based on the tag data, and the obtained subroutine identifier is returned to the user terminal to enter the agency subroutine corresponding to the subroutine identifier. The authentication result is sent to the agency server to perform pass processing based on the authentication interface and the pass processing data corresponding to the pass type. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor. Figure 1 A schematic diagram of an implementation environment of a processing method based on near field communication provided for one or more embodiments of this specification; Figure 2 A processing flow chart of a first processing method based on near field communication provided for one or more embodiments of this specification; Figure 3 A processing sequence diagram of a first processing method based on near field communication applied to attendance scenarios provided in one or more embodiments of this specification; Figure 4 A processing sequence diagram of a second processing method based on near field communication applied to attendance scenarios provided in one or more embodiments of this specification; Figure 5A processing flow chart of a processing method based on near field communication applied to attendance scenarios provided in one or more embodiments of this specification; Figure 6 A processing flow chart of a second processing method based on near field communication provided for one or more embodiments of this specification; Figure 7 A processing flow chart of a third processing method based on near field communication provided for one or more embodiments of this specification; Figure 8 A fourth processing method based on near field communication provided in one or more embodiments of this specification is a processing flow chart; Fig. 9 A schematic diagram of a first near field communication-based processing device embodiment provided for one or more embodiments of this specification; Fig.10 A schematic diagram of a second near field communication-based processing device embodiment provided for one or more embodiments of this specification; Fig.11 A schematic diagram of a third near field communication-based processing device embodiment provided for one or more embodiments of this specification; Fig.12 A schematic diagram of a fourth near field communication-based processing device embodiment provided for one or more embodiments of this specification; Fig.13 A schematic diagram of the structure of a first user terminal provided for one or more embodiments of this specification; Fig.14 A schematic diagram of the structure of a first server provided for one or more embodiments of this specification; Fig.15 A schematic diagram of the structure of a second user terminal provided for one or more embodiments of this specification; Fig.16 A schematic diagram of the structure of a second server provided for one or more embodiments of this specification. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0021] The processing method based on near field communication provided in one or more embodiments of this specification can be applied to the implementation environment of the processing method system based on near field communication, referring to Figure 1 , the implementation environment at least includes: An organization's NFC tag 101, a user terminal 102 and a server 103 equipped with NFC components; Among them, the near field communication tag 101 can be posted or deployed in the offline stores of the organization; The user terminal 102 performs near field communication with the near field communication tag 101 through a near field communication component. The user terminal 102 is also used to cooperate with the server to perform a nucleation interface call and display data through an application program and / or a mechanism subroutine. The user terminal 102 can specifically be a mobile phone, a personal computer, a tablet computer, an e-book reader, a device for information interaction based on VR (Virtual Reality, virtual reality technology), a vehicle terminal, an IoT device, a wearable smart device, a laptop portable computer, a desktop computer, etc.; The server 103 is used to call the authentication interface and cooperate with the user terminal 102 to perform attendance processing; the server 103 can be a single server, or a server cluster consisting of several servers, or one or more cloud servers in a cloud computing platform; the server 103 can be an application server corresponding to the application program running on the user terminal 102; In addition, the implementation environment may also include an institutional server 104, which is used to cooperate with the server 103 and / or the user terminal 102 to perform attendance processing; the institutional server 104 may be a server, or a server cluster consisting of several servers, or one or more cloud servers in a cloud computing platform; In this implementation environment, in the process of attendance processing based on near field communication, the user terminal 102 reads the tag data stored in the organization's near field communication tag 101 through the near field communication component, starts the application based on the tag data, and transmits the tag data to the application. The identity data of the attendance user is collected and uploaded through the authentication interface call performed by the application in cooperation with the server 103. According to the subroutine identifier queried based on the tag data returned by the server 103, the organization subroutine corresponding to the subroutine identifier is entered, and the attendance result obtained by cooperating with the organization server 104 to perform attendance processing based on the attendance configuration data and the authentication result is displayed through the organization subroutine, thereby realizing attendance processing of attendance users based on near field communication.
[0022] It should be noted that, considering that the identity data, verification results, login user data and other related data of the attendance user involved in this specification may belong to the user's privacy to a certain extent, therefore, if you want to collect or transmit identity data, verification results, login user data and other related data, you can obtain the authorization of the attendance user before collecting or transmitting the data, so that the operation of collecting or transmitting data complies with relevant data management regulations. For example, the attendance user can perform data authorization when starting the application; the specific method of data authorization can be to send a data authorization reminder to the attendance user, and the attendance user can obtain data authorization after confirming the reminder through an instruction, or the method of data authorization can also be to obtain data collection or data transmission authorization by signing a data authorization agreement, which is not limited in this embodiment.
[0023] One or more embodiments of a processing method based on near field communication provided in this specification are as follows: Reference Figure 2 , the processing method based on near field communication provided in this embodiment specifically includes steps S202 to S210.
[0024] Step S202, reading tag data stored in a near field communication tag of the mechanism through a near field communication component.
[0025] In this embodiment, the user terminal obtains the tag data stored in the near field communication tag of the organization through the near field communication component. Specifically, the user terminal can establish a near field communication connection with the near field communication tag of the organization through the near field communication component, and then read the tag data stored in the near field communication tag of the organization based on the established near field communication connection. Specifically, the tag data stored in the near field communication tag of the organization can be read through the near field communication component, and the tag data stored in the near field communication tag of the organization can also be received through the near field communication component, that is, the tag data stored in the near field communication tag of the organization is read through the near field communication component, and it can also be replaced by the tag data sent by the near field communication tag of the organization received through the near field communication component.
[0026] The near-field communication component includes a component configured on the user terminal that can establish a near-field communication connection with other devices; for example, an NFC component; specifically, the user terminal can establish a near-field communication connection with a near-field communication tag (for example, an NFC tag) of an organization through the configured near-field communication component to transmit data through the near-field communication connection; in addition to the NFC connection, it can also be a Bluetooth connection, a wireless network connection, an infrared connection and / or a radio frequency connection, and correspondingly, the near-field communication component can be a Bluetooth component, a wireless component, an infrared component or a radio frequency communication component that provides Bluetooth capability, wireless network capability, infrared communication capability or radio frequency communication capability.
[0027] The tag data includes the tag identifier of the near field communication tag. In this case, the communication tag can be a tag identifier, that is, the tag data can be replaced by the tag identifier. In addition, if an application is to be started based on the tag data, the tag data can also include the program identifier and / or program address of the application to be started; wherein the program address can be a program URL (Uniform Resource Locator); or, if a subprogram in the application is to be entered after starting the application based on the tag data, the tag data can also include a subprogram identifier and / or a subprogram address. It should be noted that the tag data can also include any one or more of the tag identifier, program identifier, program address, subprogram identifier, and subprogram address, or the tag data can also be replaced by any one or more of the tag identifier, program identifier, program address, subprogram identifier, and subprogram address.
[0028] In a specific implementation, in the process of a user terminal reading the tag data stored in a near-field communication tag of an organization through a near-field communication component, the user terminal may call the near-field communication component for detection, and after detecting the near-field communication tag, establish a near-field communication connection with the near-field communication tag, and then read the stored tag data from the near-field communication tag; or the near-field communication tag may perform detection, and after detecting the near-field communication component, establish a near-field communication connection with the near-field communication component, and then send the stored tag data to the near-field communication component.
[0029] Step S204: starting an application based on the tag data and transmitting the tag data to the application.
[0030] In specific implementation, based on the tag data stored in the near field communication tag of the organization read by the near field communication component, the application is started based on the tag data, so that the attendance user can perceive the attendance processing process through the application. Specifically, in the process of starting the application based on the tag data, the tag data can be parsed, and according to the results obtained by the parsing (tag identification, program identification and / or program address), the corresponding application in the installed application list of the user terminal is started. Furthermore, after starting the application, the tag data can also be passed to the application.
[0031] It should be noted that the label data passed to the application may be all the label data, such as passing the label identifier, program identifier and / or program address as label data to the application. In addition, the label data passed to the application may also be part of the content contained in the label data. For example, when the label data contains the label identifier and the program identifier, the label identifier is passed to the application. For another example, when the label data contains the program address and the subroutine address or subroutine identifier, the subroutine address or subroutine identifier is passed to the application.
[0032] In actual applications, the application may be an application that includes at least one organization subroutine, and in actual scenarios, an attendance user generally belongs to only one organization. In order to improve the effectiveness of the organization's attendance management of attendance users, attendance processing is performed on attendance users based on the organization subroutine in the application. In the specific execution process, the organization subroutine may be entered after entering the application. In an optional implementation method provided in this embodiment, after the label data is passed to the application, it is detected whether the label data contains a subroutine identifier; If so, then based on the subroutine identifier contained in the tag data, the organization subroutine is entered, and the identity data of the attendance user is collected and uploaded in cooperation with the authentication interface call performed by the organization server, and the attendance result is displayed through the organization subroutine; specifically, after the application receives the incoming tag data, if it is detected that the tag data contains a subroutine identifier, the organization subroutine is entered based on the subroutine identifier, and the identity data of the attendance user is collected and uploaded through the organization subroutine in cooperation with the authentication interface call performed by the organization server, and the attendance result is displayed through the organization subroutine; that is, the detection provided here as to whether the tag data contains the subroutine identifier, if so, the organization subroutine is entered based on the subroutine identifier contained in the tag data, and the identity data of the attendance user is collected and uploaded in cooperation with the authentication interface call performed by the organization server, and the attendance result is displayed through the organization subroutine. This implementation method can form a new implementation scheme with the above-mentioned steps S202 and S204 to perform corresponding attendance processing.
[0033] In addition, if it is detected that the tag data does not contain a subroutine identifier, corresponding attendance processing can be performed by executing subsequent steps S206 to S210.
[0034] In actual applications, after reading the tag data of the organization's near-field communication tag through the near-field component, before starting the application based on the tag data, the application can also be started based on the reminder interaction with the attendance user, so as to enhance the attendance user's perception and trust in the started application. Specifically, a reminder message for starting the application can be generated and displayed, and the application can be started after the reminder message is triggered.
[0035] Specifically, in an optional implementation provided by this embodiment, after the tag data is stored in the near field communication tag of the near field communication component reading mechanism, the following operations are further performed: determining the application based on the tag field carried by the tag data; Call the system interface to generate a reminder message for starting the application and display the message on the system page.
[0036] Optionally, the application is started after the entry control configured in the reminder message is triggered. The application includes an application integrating an institution subprogram of at least one institution; for example, a third-party application; wherein the third-party application may be a payment application or an instant messaging application.
[0037] During the specific execution process, the tag data stored in the near field communication tag of the mechanism is read through the near field communication component, the application identifier is determined based on the tag field carried by the tag data, and the system interface is called to generate a reminder message for starting the application and the message is displayed through the system page; further, if it is detected that the entry control configured for the reminder message is triggered, or if a confirmation instruction for the reminder message is detected, the application is started based on the tag data, and the tag data is passed to the application.
[0038] Step S206, collecting the attendance user's identity data and uploading it through the authentication interface call performed by the application in cooperation with the server.
[0039] In this embodiment, after the application is started and the tag data is passed to the application, the attendance user is authenticated through the interaction between the application and the server (application server, application server). Specifically, the identity data of the attendance user is collected by calling the authentication interface performed by the application in cooperation with the server, and the collected identity data is uploaded to the server.
[0040] Specifically, during the process of authentication of attendance users through the interaction between the application and the server, the application can upload tag data to the server, and the server can call the authentication interface to perform authentication in response to the tag data. Specifically, during the authentication process, the application cooperates with the server to call the authentication interface to collect the identity data of the attendance user, and upload the collected identity data to the server; or, during the process of authentication of attendance users through the interaction between the application and the server, the application can also upload an authentication request carrying tag data to the server, and the server calls the authentication interface to perform authentication on the attendance user in response to the authentication request; or, the application can also upload tag data and authentication requests to the server.
[0041] During the specific implementation, the user terminal uploads the label data and / or the verification request to the server through the application. The server receives the label data and / or the verification request uploaded by the application, calls the verification interface to verify the login user data of the application and the identity data of the collected attendance user, and obtains the verification result. In this process, in order to obtain the real and valid identity data of the attendance user, the application cooperates with the server to call the verification interface to collect the identity data of the attendance user and upload it.
[0042] In a first optional implementation manner provided in this embodiment, the authentication processing performed during the authentication interface being called includes: Send authentication data collection instructions to the application; Receive identity data collected in response to an authentication data collection instruction and submitted by the application, and verify the identity data with the login user data of the application to obtain an authentication result.
[0043] Specifically, the server responds to the tag data and / or authentication request uploaded by the application, and calls the authentication interface based on the login user data of the application. The authentication interface sends an authentication data collection instruction to the application in response to the login user data, receives the identity data collected in response to the authentication data instruction and submitted by the application, and detects whether the identity data is consistent with the login user data. If they are consistent, an authentication result including the authentication of the login user data is generated. If they are inconsistent, an authentication result including the authentication of the login user data is generated. Further, after obtaining the authentication result, the authentication interface returns the authentication result to the server. In addition, the data interaction of the above-mentioned authentication processing can be realized with the help of the server as an intermediary; the server calls the authentication interface based on the login user data of the application, and the authentication interface returns the authentication data collection instruction to the server in response to the login user data. The server receives and returns the authentication data collection instruction to the application. The application collects the identity data of the attendance user in response to the authentication data collection instruction and uploads it to the server. The server receives the identity data and passes it into the authentication interface. The authentication interface verifies the identity data with the login user data of the application to obtain the authentication result.
[0044] In a second optional implementation manner provided by the present embodiment, the organization server may call the authentication interface to perform attendance processing on the attendance user; in the specific execution process, the organization server responds to the tag data and / or authentication request uploaded by the organization subroutine, calls the authentication interface to perform authentication processing on the application's login user data and the collected identity data of the attendance user to obtain the authentication result; specifically, the tag data stored in the organization's near-field communication tag is read through the near-field communication component, and after the application is started based on the tag data and the tag data is passed in, if the tag data contains a subroutine identifier, the organization subroutine is entered based on the subroutine identifier and the tag data is passed in, and the tag data is uploaded to the organization server through the organization subroutine and / or verification request, the organization server responds to the tag data and / or verification request uploaded by the organization subroutine, and calls the verification interface to verify the login user data of the application and the identity data of the collected attendance user; in this process, the user terminal collects the identity information of the attendance user and uploads it through the verification interface call performed by the organization subroutine in cooperation with the organization server, and displays the attendance result through the organization subroutine; or, after receiving the tag data and / or verification request uploaded by the application, the organization server calls the verification interface according to the tag data / or verification request sent by the subroutine identifier queried by the tag data, and obtains the verification result based on the tag data; It should be noted that in order to ensure the security of identity verification data collection, when the institution server calls the identity verification interface for identity verification processing, the identity verification data collection instruction sent to the institution subroutine may include a collection page address, and the collection page address is the address of the collection page corresponding to the identity verification interface; when the user terminal calls the identity interface to collect the identity data of the attendance user through the institution subroutine in cooperation with the institution server, the collection page is first loaded based on the collection page address carried by the identity verification data collection instruction, and then the identity data of the attendance user is collected through the collection page.
[0045] In the third optional implementation manner provided by the present embodiment, the authentication interface may not be called to authenticate the attendance user, and the server or the institutional server may authenticate the login user data of the application and the identity data of the attendance user collected by the user terminal; correspondingly, step S206 may also be replaced by collecting and uploading the identity data of the attendance user through the authentication processing of the application in cooperation with the server, and forming a new implementation method together with one or more other processing steps provided in the present embodiment.
[0046] In addition, the cooperation of the user terminal with the server is the cooperation with the authentication interface. Therefore, step S206 can also be replaced by the interface execution performed by the application program in cooperation with the authentication interface in response to the call of the server, collecting the identity data of the attendance user and uploading it, or collecting the identity data of the attendance user and uploading it for authentication processing through the execution of the authentication interface in cooperation with the application program, and forming a new implementation method with one or more other processing steps provided in this embodiment. Optionally, the authentication interface is called by the server.
[0047] In this embodiment, in order to ensure that the attendance user who uses the user terminal to perform attendance processing is the logged-in user of the application, the authentication processing in this embodiment includes verifying whether the attendance user is the logged-in user of the application; if so, determining that the authentication is passed; if not, determining that the authentication is not passed; In the process of specifically verifying whether the attendance user is the logged-in user of the application, the identity data of the attendance user can be identified to obtain the identity identifier of the attendance user, and the identity identifier of the attendance user is compared with the identity identifier of the logged-in user carried in the logged-in user data. If the comparison results are consistent, it is determined that the authentication has passed; if the comparison results are inconsistent, it is determined that the authentication has failed; for example, the identity data of the attendance user is a biometric image, and the biometric image is identified to obtain the attendance user name of the attendance user, and the attendance user name is compared with the login user name carried in the login user data, and the authentication result is determined according to the comparison result; In addition, the identity data of the attendance user may be compared with the corresponding reference data in the login user data. If the comparison results are consistent, it is determined that the authentication has passed; if the comparison results are inconsistent, it is determined that the authentication has failed; for example, the biometric image of the attendance user is compared with the reference biometric image carried by the login user data, and the authentication result is determined according to the comparison result; optionally, the identity data includes the biometric data of the attendance user, such as face image data, fingerprint data, etc.; correspondingly, in the process of authentication of the identity data and the login user data of the application, the login user data includes the user identification and / or biometric data associated with the login account of the application stored in advance; the user identification includes data representing the uniqueness of the user; for example, the user name; In addition to the two implementations of performing identity identification on identity data, comparing the identity identifier obtained by identification with the identity identifier of the logged-in user carried in the logged-in user data to obtain the authentication result, and comparing the identity data with the logged-in user data to obtain the authentication result, the identity identifier comparison and the identity data comparison can also be combined to obtain the authentication result based on the comparison results of the two, for example, comparing the identity identifier obtained by identification with the identity identifier of the logged-in user carried in the logged-in user data to obtain a first comparison result, comparing the identity data with the logged-in user data to obtain a second comparison result, and determining the authentication result based on the first comparison result and the second comparison result. Optionally, if the first comparison result and the second comparison result are consistent, it is determined that the authentication is passed, otherwise it is determined that the authentication is not passed.
[0048] During specific implementation, the server makes an authentication interface call and, after obtaining the authentication result returned by the interface call, can return the authentication result to the application. After receiving the authentication result, the application can display the authentication result and execute step S208 after the authentication result is displayed. It can also execute step S208 without displaying the authentication result.
[0049] In addition, after receiving the verification result, the application can also perform corresponding processing according to the type of verification result. For example, the following step S208 can be executed if the verification result is a passed verification, and step S208 and step S210 are not executed if the verification result fails. Specifically, if the verification result obtained is a failed verification, the attendance result generated by the verification result based on the attendance configuration data and the interface call returned by the receiving server is displayed; optionally, the attendance result is generated by the institution server; here, the attendance result can be an attendance failure interface or an attendance failure reminder, which will not be described in detail in this embodiment; Specifically, if the authentication fails, the server sends an authentication result of failed authentication to the institutional server corresponding to the subroutine identifier queried based on the tag data. After obtaining the authentication result of failed authentication, the institutional server generates an attendance failure reminder for the logged-in user based on the authentication result of failed authentication and the attendance time and returns it to the server. The server returns the attendance failure reminder to the application, and the user terminal receives and displays the attendance failure reminder returned by the server through the application, thereby improving the viewing efficiency of attendance users for attendance failure reminders.
[0050] It should be noted that after obtaining the verification result of failed verification, step S208 can also be executed, that is, if the verification result obtained is failed verification, enter the mechanism subroutine, and display the attendance interface generated based on the attendance configuration data and the verification result through the mechanism subroutine; optionally, the attendance configuration data includes attendance time; that is, if the verification result obtained is failed verification, enter the mechanism subroutine according to the subroutine identifier carried in the tag data, or enter the mechanism subroutine according to the subroutine identifier queried according to the tag information returned by the server, and then display the attendance failure interface generated based on the attendance time, the verification result of failed verification and the user identifier through the mechanism subroutine; the attendance time in this embodiment can be the time of reading the tag data or the time of generating the attendance interface, which is not limited in this embodiment; wherein, if it is the time of reading the tag data, the attendance time is also transmitted during the transmission process of the tag data and the transmission process of the verification result; if it is the current time for generating the attendance interface, the current time can be read during the process of generating the attendance interface.
[0051] During the specific execution process, if the authentication fails, the server sends the authentication result of failed authentication to the institutional server corresponding to the subroutine identifier queried based on the tag data. The institutional server obtains the authentication result of failed authentication, generates an attendance failure interface for the attendance user based on the authentication result of failed authentication and the attendance time, and returns it to the institutional subroutine. The user terminal displays the attendance failure interface through the institutional subroutine.
[0052] In addition, if the authentication result obtained is that the authentication fails, the authentication result can also be passed to the organization subroutine through the application. Optionally, if the authentication result obtained is that the authentication fails, enter the organization subroutine and pass the authentication result to the organization subroutine, and upload the authentication result to the organization server through the organization subroutine. The organization server generates an attendance failure interface for the logged-in user based on the authentication result of the failed authentication and the attendance time and returns it to the organization subroutine. The user terminal displays the attendance failure interface through the organization subroutine.
[0053] Step S208, according to the subroutine identifier queried based on the tag data and returned by the server, entering the mechanism subroutine corresponding to the subroutine identifier.
[0054] Based on the above, the application can submit the label data to the server. After receiving the label data submitted by the application, the server can query the subroutine identifier based on the label data and return it to the application, thereby entering the mechanism subroutine corresponding to the subroutine identifier in the application.
[0055] During the specific execution process, after the above-mentioned authentication interface call performed by the application in cooperation with the server to collect the identity data of the attendance user and upload it, the server may also simultaneously return the subroutine identifier and the authentication result returned by the interface call to the application, or may first return the authentication result to the application and then return the subroutine identifier, or, if the authentication result is that the authentication is passed, the authentication result and the subroutine identifier of the authentication passed may be returned to the application, or only the subroutine identifier may be returned; on the other hand, if the authentication result is not passed, the authentication result and the subroutine identifier of the authentication not passed may be returned to the application, or only the subroutine identifier may be returned, or the subroutine identifier may not be returned and only the authentication result of the authentication not passed may be returned, so that the authentication result of the authentication not passed may be displayed through the application.
[0056] In specific implementation, after the user terminal enters the organization subroutine corresponding to the subroutine identifier according to the subroutine identifier queried based on the tag data returned by the server, the verification result and attendance time can be passed to the organization subroutine, and the verification result and attendance time can be uploaded to the organization server through the organization subroutine, so that the organization server can perform attendance processing based on the verification result and attendance time; in order to enable the organization server to perform attendance processing, an optional implementation provided by this embodiment is that after entering the organization subroutine corresponding to the subroutine identifier, the attendance user data is passed to the organization subroutine, and the attendance user data is uploaded to the organization server through the organization subroutine; optionally, the organization server can detect whether the attendance user data meets the organization's attendance verification rules and obtain the attendance detection result; the attendance user data includes the verification result and / or the attendance time; the verification result can also include the user identifier of the logged-in user. In addition, after entering the organization subroutine corresponding to the subroutine identifier, the verification result of the verification can also be passed to the organization subroutine, and the organization program obtains the attendance user data of the attendance user based on the verification result and uploads it to the organization server.
[0057] In addition to the user terminal entering the organization subroutine and passing the attendance user data to the organization subroutine to upload the attendance user data to the organization server through the organization subroutine, in this embodiment, the server can return the subroutine identifier to the application, so that the user terminal enters the corresponding organization subroutine through the application according to the subroutine identifier returned by the server, so as to display the attendance result through the organization subroutine; on the other hand, the server sends the verification result or attendance user data to the organization server corresponding to the subroutine identifier, so that the organization server performs attendance processing according to the verification result and attendance configuration data and returns the attendance result to the organization subroutine.
[0058] Among them, the attendance time can be generated by the user terminal, and specifically, the attendance time can be determined or generated according to the time when the tag data stored in the near-field communication tag is read by the near-field communication component, such as using the time when the tag data stored in the near-field communication tag is read by the near-field communication component as the attendance time, or, the attendance time can be determined or generated according to the time when the near-field communication component establishes near-field communication with the near-field communication tag, such as using the time when the near-field communication component establishes near-field communication with the near-field communication tag as the attendance time; in addition, the attendance time can also be generated by an application, and specifically, the attendance time can be determined or generated according to the startup time of the application or the time when the tag data is passed in, such as using the startup time of the application or the time when the tag data is passed in as the attendance time.
[0059] Step S210, the mechanism subroutine displays the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call.
[0060] In this embodiment, the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call is displayed through the organization subroutine. Optionally, the attendance processing based on the attendance configuration data and the verification result returned by the interface call is performed by the organization server.
[0061] During specific implementation, after the organization server obtains the attendance user data uploaded by the organization subroutine, it can perform attendance processing based on the attendance user data; here, the attendance configuration data includes the attendance time; in addition, the organization server can also perform attendance processing based on the attendance configuration data and the authentication result sent by the server.
[0062] In the specific implementation process, in order to ensure that the attendance user is the attendance user of the organization and to avoid the attendance processing by non-organization users affecting the organization's management of attendance records, in an optional implementation mode provided by the present embodiment, during the process of attendance processing based on the attendance configuration data and the authentication result returned by the interface call, if the authentication result is that the authentication is passed, it is detected whether the attendance user data carried in the attendance configuration data meets the attendance verification rules of the organization, and if so, an attendance result of successful attendance is generated, and if not, an attendance result of failed attendance is generated; that is, the attendance is determined to be successful if the authentication is passed and the attendance test is passed, and the attendance is determined to be failed if the authentication is not passed or the attendance test is not passed; Specifically, if the verification result is that the verification is passed, it is detected whether the user identification carried in the attendance configuration data is in the attendance user list of the organization; if so, it is determined that the attendance is successful, if not, it is determined that the attendance fails; in addition to user detection, attendance detection can also include location detection; for example, if the verification result is that the verification is passed, it is detected whether the user location data carried in the attendance configuration data is in the electronic fence area of the attendance location; if so, it is determined that the attendance is successful, if not, it is determined that the attendance fails; here, the attendance user data can also include user location data and tag location data, which are sent to the organization server through the organization subroutine or server to perform attendance detection as attendance configuration data; optionally, the electronic fence area of the attendance location includes an electronic fence area determined with the location of the near field communication tag as the center and a preset location threshold as the radius; it should be noted that attendance detection can also include user detection and location detection at the same time. In addition to determining the electronic fence area according to the attendance location, it can also be the electronic fence area of the organization.
[0063] In specific implementation, after determining that the attendance is successful or failed, an attendance success page or an attendance failure page can be generated, that is, an attendance result page as the attendance result and returned to the user terminal, and the user terminal displays the attendance page through the institution subroutine; optionally, the attendance page includes attendance time, attendance type, user ID and / or institution ID.
[0064] In order to improve the attendance users' perception of attendance and improve their awareness of the organization, on the basis of attendance verification, service processing can also be performed on the attendance users. In an optional implementation mode provided in this embodiment, the attendance processing based on the attendance configuration data and the authentication data returned by the interface call is implemented in the following manner: If the verification result is passed, check whether the attendance user data carried in the attendance configuration data meets the institution's attendance verification rules; If yes, determine the attendance type of the attendance user, perform service processing based on the attendance type and the corresponding service data to obtain a service processing result, and generate an attendance interface including the attendance detection result and the service processing result as the attendance result; If not, a detection failure keyword is generated, and an attendance failure page containing the detection failure keyword is generated as the attendance result; In the specific execution process, if the identity verification and attendance check are passed, the attendance type of the attendance user is determined, and service processing is performed based on the attendance type and the corresponding service data to obtain the service processing result; In order to perform different service processing under different attendance types and improve the perception of attendance users, in an optional implementation mode provided in this embodiment, in the process of determining the attendance type of the attendance user and performing service processing based on the attendance type and corresponding service data to obtain the service processing result, the following operations are performed: Determine the attendance type according to the attendance user data and attendance records of the attendance user carried in the attendance configuration data; Performing guarantee participation processing on the attendance user according to the guarantee item data of the guarantee service corresponding to the first attendance type to obtain a guarantee participation result; Perform resource settlement on the attendance user according to the resource settlement rule corresponding to the second attendance type to obtain a resource settlement result.
[0065] Optionally, if the attendance type is the first attendance type (such as the on-duty type), the corresponding service data is the guarantee item data of the guarantee service; for example, the guarantee item data of employment guarantee according to the preset period. The preset period may be a time period from on-duty to off-duty; if the attendance type is the second attendance type (such as the off-duty type), the corresponding service data is the resource settlement rule; for example, the resource settlement rule for allocating resources to the attendance user within the preset period.
[0066] Specifically, the attendance type of the attendance can be determined according to the attendance time carried in the attendance configuration data and the historical attendance type corresponding to the historical attendance time associated with the attendance time in the attendance record of the attendance user; if the attendance type is the first attendance type, the attendance user is subjected to security participation processing according to the preset security project data, and the security participation result is obtained as the service processing result; if the attendance type is the second attendance type, resource settlement is performed on the attendance user according to the resource settlement rules to obtain the resource settlement result as the service processing result.
[0067] In the process of performing resource settlement on the attendance user according to the resource settlement rules to obtain the resource settlement result, the associated attendance time of the associated first attendance type can be read according to the second attendance type, and the attendance duration can be calculated according to the associated attendance time and the attendance time; the attendance resource amount of the attendance user is calculated according to the resource settlement rules and attendance duration corresponding to the attendance user, and the attendance duration and attendance resource amount are used as the service processing result. In addition to calculating the attendance resource amount, resource settlement processing is also performed on the attendance user according to the attendance resource amount; After obtaining the attendance detection result and the service processing result, an attendance interface including the attendance detection result and the service processing result is generated as the attendance result; for example, an attendance success interface including the attendance detection passed, the second attendance type, the attendance duration and the attendance resource amount is generated as the attendance result; for another example, an attendance success interface including the attendance detection passed, the first attendance type and / or the guarantee participation result is generated as the attendance result.
[0068] It should be noted that in addition to generating an attendance interface, an attendance page including the attendance type and attendance time can also be generated, and the attendance page and attendance interface can be used as the attendance result. Furthermore, in the process of displaying the attendance result through the organization subroutine, if the attendance result only includes the attendance interface, the attendance interface can be displayed through the organization subroutine. If the attendance result includes the attendance interface and the attendance page, the attendance page is displayed through the organization subroutine, and the attendance interface is displayed on the upper layer of the attendance page. It should also be noted that the above-mentioned attendance interface can also be in the form of a page or reminder. In addition to displaying the attendance result through the organization subroutine, it can also be reached to the user through pop-up windows, in-station messages, etc.
[0069] It should also be noted that in order to enhance the perception of near-field communication-based processing, an attendance interface template based on near-field communication may be pre-stored, and the corresponding data (such as attendance detection results of passed attendance detection and successful attendance data of service processing data, or attendance failure data of failed authentication, or attendance failure data of failed attendance detection) may be filled into the attendance interface template to obtain the attendance interface.
[0070] In addition to performing security participation processing under the first attendance type and performing resource settlement under the second attendance type, after determining the attendance type, the security project data can also be determined according to the attendance type, and security participation processing can be performed on the attendance user according to the security project data to obtain the security participation result. For example, under the first attendance type, the security project data is determined to be the security project data of the first security project, and under the second attendance type, the security project data is determined to be the security project data of the second security project; optionally, the first security project is a security project for employment security according to the first preset period; the second security project is a security project for travel security according to the second preset period; for example, a security project for travel security on the way home from get off work.
[0071] Similarly, after determining the attendance type, the resource settlement rule can also be determined according to the attendance type, and the resource settlement is performed on the attendance user according to the resource settlement rule to obtain the resource settlement result. For example, a first resource settlement rule is determined under the first attendance type, and a second resource settlement rule is determined under the second attendance type. Optionally, the first settlement rule includes a resource settlement rule with a pre-configured preset resource amount, and the second settlement rule includes the above-mentioned resource settlement rule for calculating the resource amount according to the attendance duration.
[0072] In the specific execution process, in the process of performing attendance processing based on the attendance configuration data and the verification result returned by the interface call, an attendance check may also be performed first. If the attendance check passes, the attendance processing strategy is determined based on the verification result, and the attendance service processing is performed according to the attendance configuration data corresponding to the attendance processing strategy to obtain service processing data, and an attendance interface corresponding to the service processing result is generated as the attendance result; in this way, the attendance processing strategy is determined by the verification result, and the accuracy of the determined attendance processing strategy is improved; in an optional implementation manner provided by this embodiment, it is detected whether the user location data carried by the attendance configuration data is in the electronic fence area of the attendance location; If yes, determine the attendance processing strategy based on the verification result, and perform attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain a service processing result; generate an attendance interface corresponding to the service processing result as the attendance result; If not, an attendance failure interface is generated as the attendance result.
[0073] Specifically, if the user location data carried by the attendance configuration data is in the electronic fence area of the attendance location, the attendance processing strategy is determined based on the verification result, and the attendance service processing is performed according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result, and the attendance interface corresponding to the service processing result is generated as the attendance result.
[0074] In the process of determining the attendance processing strategy based on the verification result, and performing attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result; generating the attendance interface corresponding to the service processing result as the attendance result, if the verification result is that the verification is passed, then performing attendance processing according to the attendance configuration data corresponding to the first attendance processing strategy to obtain the service processing result; optionally, the attendance configuration data corresponding to the first attendance processing strategy includes attendance user data, attendance records, attendance time and / or user identification; or, the attendance configuration data corresponding to the first attendance processing strategy may also include guarantee project data and / or resource settlement rules corresponding to each attendance type; If the verification result is that the verification fails, the attendance processing is performed according to the attendance configuration data corresponding to the second attendance processing strategy to obtain the service processing result. Optionally, the attendance configuration data corresponding to the second attendance processing strategy includes the attendance time and / or user ID, and the service processing result includes the attendance time, user ID and / or the attendance failure interface of the attendance failure reminder.
[0075] In order to improve the attendance user's perception of attendance resources, this embodiment provides an optional implementation method, in the process of performing attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result, the attendance user is subjected to resource settlement according to the resource settlement rules configured by the organization to obtain the resource settlement result, and a service processing result including the resource settlement result and the resource access control is generated. Optionally, the resource access control is triggered to view the attendance user's resource details and / or historical resource settlement records; Specifically, the target resource settlement rule is determined in the resource settlement rule configured by the organization according to the attendance type, and resource settlement is performed on the attendance user according to the target resource settlement rule to obtain the resource settlement result, and a service processing result including the resource settlement result and the resource access control is generated.
[0076] In order to enhance the degree of perception of attendance security by attendance users, in an optional implementation mode provided in this embodiment, in the process of performing attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result, the attendance user is subjected to security participation processing according to the security project data of the security service configured by the organization to obtain the security participation result. Specifically, according to the attendance type, the target security project data is determined in the security project data configured by the organization, and the attendance user is subjected to security participation processing according to the target security project data to obtain the security participation result.
[0077] In addition, in the process of performing attendance processing according to the attendance configuration data corresponding to the first attendance processing strategy to obtain service processing results, the attendance type of the attendance user can also be determined, and service processing is performed based on the attendance type and the corresponding service data to obtain service processing results, thereby generating an attendance interface including the attendance detection results and the service processing results as the attendance interface corresponding to the service processing results.
[0078] It should be noted that, in the process of attendance processing, when the authentication result is authentication passed and the attendance check result is attendance check passed, resource settlement can be performed on the attendance user according to the resource settlement rules configured by the organization to obtain the resource settlement result, and an attendance success interface including the resource settlement result and resource access control can be generated as the attendance result; or, security participation processing can be performed on the attendance user according to the security project data of the security service configured by the organization to obtain the security participation result, and an attendance success interface including the security participation result can be generated as the attendance result.
[0079] It should also be noted that the above provides four attendance processing methods, namely, attendance detection based on attendance verification rules, attendance location detection, service processing based on attendance type and corresponding service data, and attendance service processing according to attendance configuration data corresponding to the attendance processing strategy determined by the verification result. These four attendance processing methods can be combined in any way according to actual needs, such as a combination of any one, any two, any three or any four. In actual application scenarios, the implementation method of combining any one, any two, any three or any four can also be adaptively adjusted, and this embodiment is not limited here.
[0080] After the above-mentioned organization server performs attendance processing and obtains attendance processing, the user terminal receives the attendance result returned by the organization server through the organization subroutine, and displays the attendance result through the organization subroutine. That is, the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call is displayed through the organization subroutine.
[0081] In addition to displaying the attendance results through the organization subroutine, the attendance results can also be displayed through the application program; specifically, steps S208 to S210 can also be replaced by: displaying the attendance results obtained by the attendance processing based on the attendance configuration data and the verification results returned by the interface call through the application program, and forming a new implementation method with one or more other processing steps provided in this embodiment. Optionally, the attendance results are generated by the organization server.
[0082] The above describes the processing process based on near field communication in the case of near field communication tags. In addition, the organization can also be configured with near field communication devices, that is, the near field communication tag can be replaced with a near field communication device. The user terminal reads the device data stored in the near field communication device of the organization through the near field communication component, and the near field communication tag in the above implementation scheme can be replaced with a near field communication device, and the tag data is replaced with the device data to form a new implementation scheme. This implementation method is similar to the above implementation method, and the specific description of the implementation method provided above can be referred to, and this embodiment will not be repeated here; Furthermore, the technical solution after being replaced with the near-field communication device and the device data can be improved to suit the actual scenario or the implementation process according to the needs in the actual scenario or the implementation process, so as to further obtain a new technical solution based on the technical solution after being replaced with the near-field communication device and the device data. For example, the device data can be uploaded to the server by the near-field communication device, and then forwarded to the server by the organization server, so that the server queries the subroutine identifier according to the device data. The organization server can also query the subroutine identifier according to the device data, and forward the queried subroutine identifier to the server and finally return it to the application program, so as to enter the organization subroutine corresponding to the subroutine identifier in the application program; For another example, the attendance configuration data may also be uploaded by the near field communication device to the organization server, and the organization server performs attendance processing according to the authentication result and the attendance configuration data, or performs attendance processing only according to the attendance configuration data to obtain the attendance result and returns it to the near field communication device for display through the near field communication device; For another example, the near-field communication device can also be connected to the server. Specifically, the near-field communication device establishes a near-field communication connection with the near-field communication component of the user terminal to read the login user data of the application of the user terminal, uploads the login user data to the server, cooperates with the authentication interface call performed by the server to collect the identity data of the attendance user and uploads it, and enters the organization subroutine corresponding to the subroutine identifier according to the subroutine identifier queried based on the tag data returned by the server, and displays the attendance result obtained by attendance processing based on the attendance configuration data and the authentication result returned by the interface call through the organization subroutine; in addition, after the server queries the subroutine identifier, it can also return the subroutine identifier to the user terminal according to the login user data, so as to perform the organization subroutine corresponding to the subroutine identifier on the user terminal, and display the attendance result obtained by attendance processing based on the attendance configuration data and the authentication result returned by the interface call through the organization subroutine; the relevant process can refer to the above-mentioned relevant content, and this embodiment will not be repeated here.
[0083] To summarize, the processing method based on near field communication provided in this embodiment obtains the tag data stored in the near field communication tag of the organization through the near field communication component, starts the application based on the tag data and passes in the tag data, interacts with the server through the application, and cooperates with the server's authentication processing to collect the identity data of the attendance user and upload it. If a subroutine identifier queried based on the tag data is received from the server, the organization subroutine corresponding to the subroutine identifier is entered, and the organization subroutine is used to display the attendance interface obtained by the organization server through the attendance configuration data and the authentication result obtained by the authentication processing. In this way, the organization uses the near field communication tag to enable the attendance user to perform attendance processing by contacting the user terminal with the near field communication tag, thereby improving the convenience of attendance and reducing the attendance cost of the organization. In the attendance process, the authentication processing capability provided by the application is introduced to improve the effectiveness and authenticity of the attendance on the basis of improving the convenience of attendance.
[0084] The above steps S202 to S210 provided in this embodiment can be executed by the user terminal. It should be noted that the above steps S202 to S210 executed by the user terminal and the steps S602 to S606 executed by the server in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S602 to S606 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S202 to S210 provided in this embodiment.
[0085] The following takes the application of a processing method based on near field communication provided in this embodiment in the attendance scene as an example, combined with Figure 3 , the processing method based on near field communication provided in this embodiment is further described, see Figure 3 , a processing method based on near field communication applied to attendance scenarios specifically includes the following steps.
[0086] Step S302: reading a tag identifier stored in a near field communication tag of the mechanism through a near field communication component.
[0087] Step S304: after the reminder message for starting the application corresponding to the tag identifier is confirmed, start the application and pass in the tag identifier.
[0088] Step S306, upload the tag identification to the server through the application, and cooperate with the server's authentication interface to collect and upload the identity data of the attendance user.
[0089] Step S314, the application enters the organization subroutine corresponding to the subroutine identifier according to the subroutine identifier returned by the server and passes in the verification result and attendance time.
[0090] Step S316, upload the identity verification result and attendance time to the organization server through the organization subroutine to perform attendance processing based on the identity verification result and attendance time.
[0091] Step S318, receiving and displaying the attendance results obtained through attendance processing through the organization subroutine.
[0092] The above-mentioned steps S302 to S306 and steps S314 to S318 provided in this embodiment are executed by the user terminal. It should be noted that the above-mentioned steps S302 to S306 and steps S314 to S318 executed by the user terminal and steps S308 to S312 executed by the server in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S308 to S312 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S302 to S306 and steps S314 to S318 provided in this embodiment.
[0093] It should be noted that any one of steps S302 to S318 or any combination of multiple steps can be combined with any one of steps S202 to S210 to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S302 to S318 and combined with any one or multiple technical features provided by steps S202 to S210 to form a new implementation method; or, any one or multiple technical features in steps S302 to S318 can be replaced with any one or multiple technical features provided by steps S202 to S210 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.
[0094] The following takes the application of the second processing method based on near field communication provided in this embodiment in the attendance scene as an example, combined with Figure 4 , the processing method based on near field communication provided in this embodiment is further described, see Figure 4 , a processing method based on near field communication applied to attendance scenarios specifically includes the following steps.
[0095] Step S402: reading a tag identifier stored in a near field communication tag of the mechanism through a near field communication component.
[0096] Step S404, start the application corresponding to the tag identifier and input the tag identifier.
[0097] Step S406: upload the tag identification to the application server through the application program, and collect the identity data of the attendance user and upload it in conjunction with the authentication interface of the server.
[0098] Step S414, receiving the subroutine identifier through the application program, and entering the mechanism subroutine corresponding to the subroutine identifier.
[0099] Optionally, the attendance user data is returned by the server to the application or determined by the application based on relevant data.
[0100] Step S416, receiving and displaying the attendance results obtained through the attendance processing through the organization subroutine.
[0101] The above steps S402 to S406 and S414 to S416 provided in this embodiment are executed by the user terminal. It should be noted that the above steps S402 to S406 and S414 to S416 executed by the user terminal and steps S408 to S412 executed by the server in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S408 to S412 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S402 to S406 and S414 to S416 provided in this embodiment.
[0102] It should be noted that any one of steps S402 to S416 or any combination of multiple steps can be combined with any one of steps S202 to S210 to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S402 to S416 and combined with any one or multiple technical features provided by steps S202 to S210 to form a new implementation method; or, any one or multiple technical features in steps S402 to S416 can be replaced with any one or multiple technical features provided by steps S202 to S210 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.
[0103] The following takes the application of the third processing method based on near field communication provided in this embodiment in the attendance scene as an example, combined with Figure 5 , the processing method based on near field communication provided in this embodiment is further described, see Figure 5 , a processing method based on near field communication applied to attendance scenarios specifically includes the following steps.
[0104] Step S502: reading tag data stored in a near field communication tag of the mechanism through a near field communication component.
[0105] Step S504, starting the application corresponding to the tag data and transferring the tag data.
[0106] Step S506: If the application detects that the label data contains a subroutine identifier, the mechanism subroutine is entered based on the subroutine identifier.
[0107] Step S508, upload the login user data to the organization server through the organization subroutine, and cooperate with the organization server to call the authentication interface to collect the identity data of the attendance user and upload it to authenticate the login user data and identity data.
[0108] Step S510, the attendance result obtained by performing attendance processing based on the identity verification result and the attendance configuration data is displayed through the organization subroutine.
[0109] In addition, if it is detected through the application that the tag data does not contain the subroutine identifier, the tag identifier in the tag data is uploaded to the server through the application, so that the server calls the authentication interface to authenticate the attendance user and queries the subroutine identifier corresponding to the tag identifier and returns it to the user terminal; the user terminal enters the organization subroutine according to the subroutine identifier queried by the server based on the tag identifier and passes in the attendance user data including the authentication result, user identifier and / or attendance time, uploads the attendance user data to the organization server through the organization subroutine, the organization server performs attendance processing based on the attendance user data to obtain the attendance result and returns it to the user terminal, and the user terminal displays the attendance result obtained by performing attendance processing based on the attendance user data through the organization subroutine.
[0110] It should be noted that any one of steps S502 to S510 or any combination of multiple steps can be combined with any one of steps S202 to S210 to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S502 to S510 and combined with any one or multiple technical features provided by steps S202 to S210 to form a new implementation method; or, any one or multiple technical features in steps S502 to S510 can be replaced with any one or multiple technical features provided by steps S202 to S210 to form a new implementation method according to the needs of actual deployment, which will not be elaborated here.
[0111] One or more embodiments of the second processing method based on near field communication provided in this specification are as follows: Reference Figure 6 , the processing method based on near field communication provided in this embodiment specifically includes steps S602 to S606.
[0112] Step S602, calling the authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain the authentication result.
[0113] Optionally, the application is launched based on tag data read from a near field communication tag of the institution.
[0114] In specific implementation, the user terminal reads the tag data stored in the near field communication tag of the organization through the near field communication component, starts the application based on the tag data, transmits the tag data to the application, and uploads the tag data to the server through the application.
[0115] In this embodiment, the user terminal obtains the tag data stored in the near field communication tag of the organization through the near field communication component. Specifically, the user terminal can establish a near field communication connection with the near field communication tag of the organization through the near field communication component, and then read the tag data stored in the near field communication tag of the organization based on the established near field communication connection. Specifically, the tag data stored in the near field communication tag of the organization can be read through the near field communication component, and the tag data stored in the near field communication tag of the organization can also be received through the near field communication component, that is, the tag data stored in the near field communication tag of the organization is read through the near field communication component, and it can also be replaced by the tag data sent by the near field communication tag of the organization received through the near field communication component.
[0116] The near-field communication component includes a component configured on the user terminal that can establish a near-field communication connection with other devices; for example, an NFC component; specifically, the user terminal can establish a near-field communication connection with a near-field communication tag (for example, an NFC tag) of an organization through the configured near-field communication component to transmit data through the near-field communication connection; in addition to the NFC connection, it can also be a Bluetooth connection, a wireless network connection, an infrared connection and / or a radio frequency connection, and correspondingly, the near-field communication component can be a Bluetooth component, a wireless component, an infrared component or a radio frequency communication component that provides Bluetooth capability, wireless network capability, infrared communication capability or radio frequency communication capability.
[0117] The tag data includes the tag identifier of the near field communication tag. In this case, the communication tag can be a tag identifier, that is, the tag data can be replaced by the tag identifier. In addition, if an application is to be started based on the tag data, the tag data can also include the program identifier and / or program address of the application to be started; wherein the program address can be a program URL (Uniform Resource Locator); or, if a subprogram in the application is to be entered after starting the application based on the tag data, the tag data can also include a subprogram identifier and / or a subprogram address. It should be noted that the tag data can also include any one or more of the tag identifier, program identifier, program address, subprogram identifier, and subprogram address, or the tag data can also be replaced by any one or more of the tag identifier, program identifier, program address, subprogram identifier, and subprogram address.
[0118] In a specific implementation, in the process of a user terminal reading the tag data stored in a near-field communication tag of an organization through a near-field communication component, the user terminal may call the near-field communication component for detection, and after detecting the near-field communication tag, establish a near-field communication connection with the near-field communication tag, and then read the stored tag data from the near-field communication tag; or the near-field communication tag may perform detection, and after detecting the near-field communication component, establish a near-field communication connection with the near-field communication component, and then send the stored tag data to the near-field communication component.
[0119] It should be noted that the attendance user can establish a near field communication connection with the near field communication tag and obtain tag data when the user terminal is locked, and can also obtain tag data when the screen is unlocked, which is not limited in this embodiment.
[0120] It should also be noted that if the attendance user obtains the tag data stored in the near field communication tag through the near field communication component when the user terminal is locked, then in the subsequent process of starting the application corresponding to the tag data, the attendance user can be subjected to system authentication processing, and the application can be started if the authentication passes; if the authentication fails, no processing is required. Among them, the system authentication processing can be the authentication processing of the operating system, such as collecting the user's biometric data and comparing it with the biometric data stored in the operating system, and determining that the authentication passes if the comparison passes, and determining that the authentication fails if the comparison fails. Alternatively, if the attendance user reads the tag data stored in the near field communication tag through the near field communication component when the user terminal is locked, then in the subsequent process of starting the application corresponding to the tag data, the system unlocking processing is performed, and the application is started after the unlocking is successful; if the system unlocking fails, no processing is required.
[0121] In specific implementation, the user terminal starts the application based on the tag data of the near field communication tag of the organization read by the near field component, so that the attendance user can perceive the attendance processing process through the application. Specifically, in the process of starting the application based on the tag data, the tag data can be parsed, and the corresponding application in the installed application list of the user terminal can be started according to the result obtained by the parsing (tag identification, program identification and / or program address). Furthermore, after starting the application, the tag data can also be passed to the application.
[0122] It should be noted that the label data passed to the application may be all the label data, such as passing the label identifier, program identifier and / or program address as label data to the application. In addition, the label data passed to the application may also be part of the content contained in the label data. For example, when the label data contains the label identifier and the program identifier, the label identifier is passed to the application. For another example, when the label data contains the program address and the subroutine address or subroutine identifier, the subroutine address or subroutine identifier is passed to the application.
[0123] In actual applications, applications often store and maintain relevant data of logged-in users. In order to enhance the perception and trust of attendance users in the started applications, in the process of starting the application corresponding to the tag data, the user terminal can start the application corresponding to the tag data after obtaining the confirmation instruction of the attendance user (the user using the user terminal) for the reminder message of starting the application corresponding to the tag data; in an optional implementation manner provided by this embodiment, after the user terminal stores the tag data of the near field communication tag of the reading mechanism through the near field communication component, the user terminal also performs the following operations: Determine the application based on the tag field carried by the tag data; Call the system interface to generate a reminder message for starting the application and display the message on the system page; Optionally, the application is started after the entry control configured in the reminder message is triggered. The application includes an application integrating an institution subprogram of at least one institution; for example, a third-party application; wherein the third-party application may be a payment application or an instant messaging application.
[0124] In the specific execution process, the user terminal reads the tag data stored in the near field communication tag of the organization through the near field communication component, determines the application identifier based on the tag field carried by the tag data, calls the system interface to generate a reminder message for starting the application, and displays the message through the system page; Further, if the user terminal detects that the entry control configured for the reminder message is triggered, or if the user terminal detects a confirmation instruction for the reminder message, the application is started based on the tag data, and the tag data is transmitted to the application; Specifically, the user terminal calls the system interface to generate a reminder message for the application corresponding to the program identifier carried by the startup tag data, and displays the message on the system page; an entry control can be configured in the reminder message. If it is detected that the entry control configured in the reminder message is triggered, the application is started based on the tag data, and the tag data is passed to the application.
[0125] After the user terminal reads the tag data stored in the near field communication tag of the organization through the near field communication component, it starts the application based on the tag data and transmits the tag data.
[0126] The above-mentioned process of determining and starting an application based on tag data and the process of determining an application based on tag data and starting an application according to the confirmation instruction of the attendance user to the reminder message of starting the application are described. In addition, the strategy of automatically starting the application is different for different operating systems of user terminals. Therefore, in this embodiment, in the process of starting an application based on tag data, the program startup strategy can also be determined based on the system type of the operating system, and the application is started according to the program startup strategy. For example, in the process of starting an application based on tag data, if the operating system is the first operating system, the application is started based on the tag data; if the operating system is the second operating system, the system interface is called to generate a reminder message for starting the application determined based on the tag data and the message is displayed on the system page, and the application is started according to the confirmation instruction of the attendance user to the reminder message.
[0127] In specific implementation, the user terminal starts the application corresponding to the tag data, so that the attendance user perceives the attendance processing process based on the application. In an optional implementation provided by this embodiment, when the user terminal starts the application based on the tag data, the tag data is first parsed to obtain the parsed tag data (program identifier and / or program address); the application is matched in the installed application list of the user terminal according to the parsed tag data, and the application is started. The tag data is passed in after the application corresponding to the tag data is started.
[0128] It should be noted that the tag data transmitted by the user terminal to the application can be all the tag data or partial tag data. For example, the tag data includes a tag identifier and a program identifier. After the application is started based on the program identifier in the tag data, the tag identifier is transmitted to the application.
[0129] In actual applications, the application may be an application that includes at least one organization subroutine, and in actual scenarios, an attendance user generally belongs to only one organization. In order to improve the effectiveness of the organization's attendance management of attendance users, attendance processing is performed on attendance users based on the organization subroutine in the application. In the specific execution process, the organization subroutine may be entered after entering the application. In an optional implementation method provided in this embodiment, after the label data is passed to the application, it is detected whether the label data contains a subroutine identifier; If so, then based on the subroutine identifier contained in the tag data, the organization subroutine is entered, and the identity data of the attendance user is collected and uploaded in cooperation with the authentication interface call performed by the organization server, and the attendance result is displayed through the organization subroutine; specifically, after the application receives the incoming tag data, if it is detected that the tag data contains a subroutine identifier, the organization subroutine is entered based on the subroutine identifier, and the identity data of the attendance user is collected and uploaded in cooperation with the authentication interface call performed by the organization server through the organization subroutine, and the attendance result is displayed through the organization subroutine; that is, the detection provided here as to whether the tag data contains the subroutine identifier, if so, the organization subroutine is entered based on the subroutine identifier contained in the tag data, and the identity data of the attendance user is collected and uploaded in cooperation with the authentication interface call performed by the organization server, and the attendance result is displayed through the organization subroutine; Specifically, after the application receives the tag data, if the user terminal detects that the tag data contains a subroutine identifier, it enters the organization subroutine based on the subroutine identifier, collects the identity data of the attendance user through the organization subroutine in cooperation with the organization server through the authentication interface call, and uploads it, and displays the attendance result through the organization subroutine; If the application detects that the tag data does not contain the subroutine identifier, the user terminal collects the identity data of the attendance user through the authentication interface call performed by the application in cooperation with the server and uploads it. According to the subroutine identifier queried based on the tag data returned by the server, the organization subroutine corresponding to the subroutine identifier is entered, and the attendance result obtained by attendance processing based on the attendance configuration data and the authentication result returned by the interface call is displayed through the organization subroutine; That is, the user terminal reads the tag data stored in the organization's near-field communication tag through the near-field communication component, starts the application based on the tag data and passes in the tag data. If the application detects that the tag data contains a subroutine identifier, the organization subroutine is entered based on the subroutine identifier, and the identity information of the attendance user is collected and uploaded through the authentication interface call performed by the organization subroutine in cooperation with the organization server, and the attendance results are displayed through the organization subroutine.
[0130] In specific implementation, after the user terminal passes the tag data to the application, the tag data is uploaded to the server through the application. The server interacts with the application to receive the tag data and / or the authentication request, so as to call the authentication interface to authenticate the attendance user; in the process of interacting with the application, the user terminal can upload the tag data to the server through the application. After the server obtains the tag data uploaded by the application, it responds to the tag data and calls the authentication interface to authenticate the attendance user. In the authentication process, the user terminal can upload the tag data to the server through the application, and the server can call the authentication interface in response to the tag data to authenticate the attendance user. Specifically, in the authentication process, the application cooperates with the server to call the authentication interface to collect the identity data of the attendance user, and uploads the collected identity data to the server; or, in the process of authenticating the attendance user through the interaction between the application and the server, the application can also upload the authentication request carrying the tag data to the server, and the server calls the authentication interface to authenticate the attendance user in response to the authentication request; or, the tag data and the authentication request can also be uploaded to the server through the application.
[0131] During the specific implementation, the user terminal uploads the label data and / or the verification request to the server through the application. The server receives the label data and / or the verification request uploaded by the application, calls the verification interface to verify the login user data of the application and the identity data of the collected attendance user, and obtains the verification result. In this process, in order to obtain the real and valid identity data of the attendance user, the application cooperates with the server to call the verification interface to collect the identity data of the attendance user and upload it.
[0132] In a first optional implementation manner provided in this embodiment, the authentication processing performed during the authentication interface being called includes: Send authentication data collection instructions to the application; Receive identity data collected in response to an authentication data collection instruction and submitted by the application, and verify the identity data with the login user data of the application to obtain an authentication result.
[0133] Specifically, the server responds to the tag data and / or authentication request uploaded by the application, and calls the authentication interface based on the login user data of the application. The authentication interface sends an authentication data collection instruction to the application in response to the login user data, receives the identity data collected in response to the authentication data instruction and submitted by the application, and detects whether the identity data is consistent with the login user data. If they are consistent, an authentication result including the authentication of the login user data is generated. If they are inconsistent, an authentication result including the authentication of the login user data is generated. Further, after obtaining the authentication result, the authentication interface returns the authentication result to the server. In addition, the data interaction of the above-mentioned authentication processing can be realized with the help of the server as an intermediary; the server calls the authentication interface based on the login user data of the application, and the authentication interface returns the authentication data collection instruction to the server in response to the login user data. The server receives and returns the authentication data collection instruction to the application. The application collects the identity data of the attendance user in response to the authentication data collection instruction and uploads it to the server. The server receives the identity data and passes it into the authentication interface. The authentication interface verifies the identity data with the login user data of the application to obtain the authentication result.
[0134] In a second optional implementation manner provided by the present embodiment, the organization server may call the authentication interface to perform attendance processing on the attendance user; in the specific execution process, the organization server responds to the tag data and / or authentication request uploaded by the organization subroutine, calls the authentication interface to perform authentication processing on the application's login user data and the collected identity data of the attendance user to obtain the authentication result; specifically, the tag data stored in the organization's near-field communication tag is read through the near-field communication component, and after the application is started based on the tag data and the tag data is passed in, if the tag data contains a subroutine identifier, the organization subroutine is entered based on the subroutine identifier and the tag data is passed in, and the tag data is uploaded to the organization server through the organization subroutine and / or verification request, the organization server responds to the tag data and / or verification request uploaded by the organization subroutine, and calls the verification interface to verify the login user data of the application and the identity data of the collected attendance user; in this process, the user terminal collects the identity information of the attendance user and uploads it through the verification interface call performed by the organization subroutine in cooperation with the organization server, and displays the attendance result through the organization subroutine; or, after receiving the tag data and / or verification request uploaded by the application, the organization server calls the verification interface according to the tag data / or verification request sent by the subroutine identifier queried by the tag data, and obtains the verification result based on the tag data; It should be noted that in order to ensure the security of identity verification data collection, when the institution server calls the identity verification interface for identity verification processing, the identity verification data collection instruction sent to the institution subroutine may include a collection page address, and the collection page address is the address of the collection page corresponding to the identity verification interface; when the user terminal calls the identity interface to collect the identity data of the attendance user through the institution subroutine in cooperation with the institution server, the collection page is first loaded based on the collection page address carried by the identity verification data collection instruction, and then the identity data of the attendance user is collected through the collection page.
[0135] In the third authentication processing method provided in this embodiment, the authentication interface may not be called to authenticate the attendance user, and the server or the organization server may authenticate the login user data of the application and the identity data of the attendance user collected by the user terminal; In specific implementation, in order to ensure that the attendance user who uses the user terminal to perform attendance processing is the logged-in user of the application, the authentication processing in this embodiment includes verifying whether the attendance user is the logged-in user of the application; if so, determining that the authentication is passed; if not, determining that the authentication is not passed; In the process of specifically verifying whether the attendance user is the logged-in user of the application, the identity data of the attendance user can be identified to obtain the identity identifier of the attendance user, and the identity identifier of the attendance user is compared with the identity identifier of the logged-in user carried in the logged-in user data. If the comparison results are consistent, it is determined that the authentication has passed; if the comparison results are inconsistent, it is determined that the authentication has failed; for example, the identity data of the attendance user is a biometric image, and the biometric image is identified to obtain the attendance user name of the attendance user, and the attendance user name is compared with the login user name carried in the login user data, and the authentication result is determined according to the comparison result; In addition, the identity data of the attendance user may be compared with the corresponding reference data in the login user data. If the comparison results are consistent, it is determined that the authentication has passed; if the comparison results are inconsistent, it is determined that the authentication has failed; for example, the biometric image of the attendance user is compared with the reference biometric image carried by the login user data, and the authentication result is determined according to the comparison result; optionally, the identity data includes the biometric data of the attendance user, such as face image data, fingerprint data, etc.; correspondingly, in the process of authentication of the identity data and the login user data of the application, the login user data includes the user identification and / or biometric data associated with the login account of the application stored in advance; the user identification includes data representing the uniqueness of the user; for example, the user name; In addition to the two implementations of performing identity identification on identity data, comparing the identity identifier obtained by identification with the identity identifier of the logged-in user carried in the logged-in user data to obtain the authentication result, and comparing the identity data with the logged-in user data to obtain the authentication result, the identity identifier comparison and the identity data comparison can also be combined to obtain the authentication result based on the comparison results of the two, for example, comparing the identity identifier obtained by identification with the identity identifier of the logged-in user carried in the logged-in user data to obtain a first comparison result, comparing the identity data with the logged-in user data to obtain a second comparison result, and determining the authentication result based on the first comparison result and the second comparison result. Optionally, if the first comparison result and the second comparison result are consistent, it is determined that the authentication is passed, otherwise it is determined that the authentication is not passed.
[0136] Step S604, performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier.
[0137] During specific implementation, after receiving the tag data uploaded by the user terminal through the application, the server performs a subprogram query based on the tag data to obtain the subprogram identifier and returns it to the user terminal to enter the organization subprogram corresponding to the subprogram identifier. That is, the subprogram identifier associated with the tag identifier in the tag data is queried and returned to the user terminal to enter the organization subprogram corresponding to the subprogram identifier. In this process, the server returns the subprogram identifier and / or the verification result to the application. Specifically, the server may first return the subprogram identifier to the application, and then return the verification result to the application, or may first return the verification result to the application, and then return the subprogram identifier to the application, or may simultaneously return the subprogram identifier and the verification result to the application. The specific return order may be determined according to the time when the subprogram identifier and the verification result are obtained, which is not limited in this embodiment.
[0138] It should be noted that the execution order of step S602 and step S604 can be swapped, and this embodiment does not limit the execution order of step S602 and step S604.
[0139] Step S606, sending the verification result to the institution server to perform attendance processing based on the verification result and attendance configuration data.
[0140] During specific implementation, after the user terminal enters the organization subroutine corresponding to the subroutine identifier according to the subroutine identifier queried based on the tag data returned by the server, the authentication result and attendance time can be passed to the organization subroutine, and the authentication result and attendance time can be uploaded to the organization server through the organization subroutine, so that the organization server can perform attendance processing based on the authentication result and attendance time; in order to enable the organization server to perform attendance processing, an optional implementation method provided in this embodiment is that after entering the organization subroutine corresponding to the subroutine identifier, at least attendance user data is passed to the organization subroutine, and the attendance user data is uploaded to the organization server through the organization subroutine; optionally, the organization server can detect whether the attendance user data meets the organization's attendance verification rules and obtain the attendance detection result; the attendance user data includes the authentication result and / or attendance time; the authentication result can also include the user identifier of the logged-in user.
[0141] In addition to the user terminal entering the organization subroutine and passing the attendance user data to the organization subroutine to upload the attendance user data to the organization server through the organization subroutine, in this embodiment, the server can return the subroutine identifier to the application, so that the user terminal enters the corresponding organization subroutine through the application according to the subroutine identifier returned by the server, so as to display the attendance result through the organization subroutine; on the other hand, the server sends the verification result or attendance user data to the organization server corresponding to the subroutine identifier, so that the organization server performs attendance processing according to the verification result and attendance configuration data and returns the attendance result to the organization subroutine.
[0142] The user terminal displays the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call through the organization subroutine. Optionally, the attendance processing based on the attendance configuration data and the verification result returned by the interface call is performed by the organization server.
[0143] During specific implementation, after the organization server obtains the attendance user data uploaded by the organization subroutine, it can perform attendance processing based on the attendance user data; here, the attendance configuration data includes the attendance time; in addition, the organization server can also perform attendance processing based on the attendance configuration data and the authentication result sent by the server.
[0144] In the specific implementation process, in order to ensure that the attendance user is the attendance user of the organization and to avoid the attendance processing by non-organization users affecting the organization's management of attendance records, in an optional implementation mode provided by the present embodiment, during the process of attendance processing based on the attendance configuration data and the authentication result returned by the interface call, if the authentication result is that the authentication is passed, it is detected whether the attendance user data carried in the attendance configuration data meets the attendance verification rules of the organization, and if so, an attendance result of successful attendance is generated, and if not, an attendance result of failed attendance is generated; that is, the attendance is determined to be successful if the authentication is passed and the attendance test is passed, and the attendance is determined to be failed if the authentication is not passed or the attendance test is not passed; Specifically, if the verification result is that the verification is passed, it is detected whether the user identifier carried in the attendance configuration data is in the attendance user list of the organization; if so, it is determined that the attendance is successful, if not, it is determined that the attendance has failed; in addition to user detection, attendance detection may also include location detection; for example, if the verification result is that the verification is passed, it is detected whether the user location data carried in the attendance configuration data is in the electronic fence area of the attendance location; if so, it is determined that the attendance is successful, if not, it is determined that the attendance has failed; here, the attendance user data may also include user location data and tag location data, which are sent to the organization server through the organization subroutine or server as attendance configuration data for attendance detection; optionally, the electronic fence area of the attendance location includes an electronic fence area determined with the location of the near-field communication tag as the center and a preset location threshold as the radius; it should be noted that attendance detection may also include user detection and location detection at the same time.
[0145] In specific implementation, after determining that the attendance is successful or failed, an attendance success page or an attendance failure page can be generated, that is, an attendance result page as the attendance result and returned to the user terminal, and the user terminal displays the attendance page through the institution subroutine; optionally, the attendance page includes attendance time, attendance type, user ID and / or institution ID.
[0146] In order to improve the attendance users' perception of attendance and improve their awareness of the organization, on the basis of attendance verification, service processing can also be performed on the attendance users. In an optional implementation mode provided in this embodiment, the attendance processing based on the attendance configuration data and the authentication data returned by the interface call is implemented in the following manner: If the verification result is passed, check whether the attendance user data carried in the attendance configuration data meets the institution's attendance verification rules; If yes, determine the attendance type of the attendance user, perform service processing based on the attendance type and the corresponding service data to obtain a service processing result, and generate an attendance interface including the attendance detection result and the service processing result as the attendance result; If not, a detection failure keyword is generated, and an attendance failure page containing the detection failure keyword is generated as the attendance result; In the specific execution process, if the identity verification and attendance check are passed, the attendance type of the attendance user is determined, and service processing is performed based on the attendance type and the corresponding service data to obtain the service processing result; In order to perform different service processing under different attendance types and improve the perception of attendance users, in an optional implementation mode provided in this embodiment, in the process of determining the attendance type of the attendance user and performing service processing based on the attendance type and corresponding service data to obtain the service processing result, the following operations are performed: Determine the attendance type according to the attendance user data and attendance records of the attendance user carried in the attendance configuration data; Performing guarantee participation processing on the attendance user according to the guarantee item data of the guarantee service corresponding to the first attendance type to obtain a guarantee participation result; Perform resource settlement on the attendance user according to the resource settlement rule corresponding to the second attendance type to obtain a resource settlement result.
[0147] Optionally, if the attendance type is the first attendance type (such as the on-duty type), the corresponding service data is the guarantee item data of the guarantee service; for example, the guarantee item data of employment guarantee according to the preset period. The preset period may be a time period from on-duty to off-duty; if the attendance type is the second attendance type (such as the off-duty type), the corresponding service data is the resource settlement rule; for example, the resource settlement rule for allocating resources to the attendance user within the preset period.
[0148] Specifically, the attendance type of the attendance can be determined according to the attendance time carried in the attendance configuration data and the historical attendance type corresponding to the historical attendance time associated with the attendance time in the attendance record of the attendance user; if the attendance type is the first attendance type, the attendance user is subjected to security participation processing according to the preset security project data, and the security participation result is obtained as the service processing result; if the attendance type is the second attendance type, resource settlement is performed on the attendance user according to the resource settlement rules to obtain the resource settlement result as the service processing result.
[0149] In the process of performing resource settlement on the attendance user according to the resource settlement rules to obtain the resource settlement result, the associated attendance time of the associated first attendance type can be read according to the second attendance type, and the attendance duration can be calculated according to the associated attendance time and the attendance time; the attendance resource amount of the attendance user is calculated according to the resource settlement rules and attendance duration corresponding to the attendance user, and the attendance duration and attendance resource amount are used as the service processing result. In addition to calculating the attendance resource amount, resource settlement processing is also performed on the attendance user according to the attendance resource amount; After obtaining the attendance detection result and the service processing result, an attendance interface including the attendance detection result and the service processing result is generated as the attendance result; for example, an attendance success interface including the attendance detection passed, the second attendance type, the attendance duration and the attendance resource amount is generated as the attendance result; for another example, an attendance success interface including the attendance detection passed, the first attendance type and / or the guarantee participation result is generated as the attendance result.
[0150] It should be noted that, in addition to generating the attendance interface, an attendance page including the attendance type and attendance time can also be generated, and the attendance page and the attendance interface are used as the attendance result. Further, in the process of displaying the attendance result through the mechanism subroutine, if the attendance result only includes the attendance interface, the attendance interface can be displayed through the mechanism subroutine; if the attendance result includes the attendance interface and the attendance page, the attendance page is displayed through the mechanism subroutine, and the attendance interface is displayed on the upper layer of the attendance page.
[0151] It should also be noted that in order to enhance the perception of near-field communication-based processing, an attendance interface template based on near-field communication may be pre-stored, and the corresponding data (such as attendance detection results of passed attendance detection and successful attendance data of service processing data, or attendance failure data of failed authentication, or attendance failure data of failed attendance detection) may be filled into the attendance interface template to obtain the attendance interface.
[0152] In addition to performing security participation processing under the first attendance type and performing resource settlement under the second attendance type, after determining the attendance type, the security project data can also be determined according to the attendance type, and security participation processing can be performed on the attendance user according to the security project data to obtain the security participation result. For example, under the first attendance type, the security project data is determined to be the security project data of the first security project, and under the second attendance type, the security project data is determined to be the security project data of the second security project; optionally, the first security project is a security project for employment security according to the first preset period; the second security project is a security project for travel security according to the second preset period; for example, a security project for travel security on the way home from get off work.
[0153] Similarly, after determining the attendance type, the resource settlement rule can also be determined according to the attendance type, and the resource settlement is performed on the attendance user according to the resource settlement rule to obtain the resource settlement result. For example, a first resource settlement rule is determined under the first attendance type, and a second resource settlement rule is determined under the second attendance type. Optionally, the first settlement rule includes a resource settlement rule with a pre-configured preset resource amount, and the second settlement rule includes the above-mentioned resource settlement rule for calculating the resource amount according to the attendance duration.
[0154] In the specific execution process, in the process of performing attendance processing based on the attendance configuration data and the verification result returned by the interface call, an attendance check may also be performed first. If the attendance check passes, the attendance processing strategy is determined based on the verification result, and the attendance service processing is performed according to the attendance configuration data corresponding to the attendance processing strategy to obtain service processing data, and an attendance interface corresponding to the service processing result is generated as the attendance result; in this way, the attendance processing strategy is determined by the verification result, and the accuracy of the determined attendance processing strategy is improved; in an optional implementation manner provided by this embodiment, it is detected whether the user location data carried by the attendance configuration data is in the electronic fence area of the attendance location; If yes, determine the attendance processing strategy based on the verification result, and perform attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain a service processing result; generate an attendance interface corresponding to the service processing result as the attendance result; If not, an attendance failure interface is generated as the attendance result.
[0155] Specifically, if the user location data carried by the attendance configuration data is in the electronic fence area of the attendance location, the attendance processing strategy is determined based on the verification result, and the attendance service processing is performed according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result, and the attendance interface corresponding to the service processing result is generated as the attendance result.
[0156] In the process of determining the attendance processing strategy based on the verification result, and performing attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result; generating the attendance interface corresponding to the service processing result as the attendance result, if the verification result is that the verification is passed, then performing attendance processing according to the attendance configuration data corresponding to the first attendance processing strategy to obtain the service processing result; optionally, the attendance configuration data corresponding to the first attendance processing strategy includes attendance user data, attendance records, attendance time and / or user identification; or, the attendance configuration data corresponding to the first attendance processing strategy may also include guarantee project data and / or resource settlement rules corresponding to each attendance type; If the verification result is that the verification fails, the attendance processing is performed according to the attendance configuration data corresponding to the second attendance processing strategy to obtain the service processing result. Optionally, the attendance configuration data corresponding to the second attendance processing strategy includes the attendance time and / or user ID, and the service processing result includes the attendance time, user ID and / or the attendance failure interface of the attendance failure reminder.
[0157] In order to improve the attendance user's perception of attendance resources, this embodiment provides an optional implementation method, in the process of performing attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result, the attendance user is subjected to resource settlement according to the resource settlement rules configured by the organization to obtain the resource settlement result, and a service processing result including the resource settlement result and the resource access control is generated. Optionally, the resource access control is triggered to view the attendance user's resource details and / or historical resource settlement records; Specifically, the target resource settlement rule is determined in the resource settlement rule configured by the organization according to the attendance type, and resource settlement is performed on the attendance user according to the target resource settlement rule to obtain the resource settlement result, and a service processing result including the resource settlement result and the resource access control is generated.
[0158] In order to enhance the degree of perception of attendance security by attendance users, in an optional implementation mode provided in this embodiment, in the process of performing attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain the service processing result, the attendance user is subjected to security participation processing according to the security project data of the security service configured by the organization to obtain the security participation result. Specifically, according to the attendance type, the target security project data is determined in the security project data configured by the organization, and the attendance user is subjected to security participation processing according to the target security project data to obtain the security participation result.
[0159] In addition, in the process of performing attendance processing according to the attendance configuration data corresponding to the first attendance processing strategy to obtain service processing results, the attendance type of the attendance user can also be determined, and service processing is performed based on the attendance type and the corresponding service data to obtain service processing results, thereby generating an attendance interface including the attendance detection results and the service processing results as the attendance interface corresponding to the service processing results.
[0160] It should be noted that, in the process of attendance processing, when the authentication result is authentication passed and the attendance check result is attendance check passed, resource settlement can be performed on the attendance user according to the resource settlement rules configured by the organization to obtain the resource settlement result, and an attendance success interface including the resource settlement result and resource access control can be generated as the attendance result; or, security participation processing can be performed on the attendance user according to the security project data of the security service configured by the organization to obtain the security participation result, and an attendance success interface including the security participation result can be generated as the attendance result.
[0161] It should also be noted that the above provides four attendance processing methods, namely, attendance detection based on attendance verification rules, attendance location detection, service processing based on attendance type and corresponding service data, and attendance service processing according to attendance configuration data corresponding to the attendance processing strategy determined by the verification result. These four attendance processing methods can be combined in any way according to actual needs, such as a combination of any one, any two, any three or any four. In actual application scenarios, the implementation method of combining any one, any two, any three or any four can also be adaptively adjusted, and this embodiment is not limited here.
[0162] After the organization server performs attendance processing and obtains the attendance processing, the user terminal receives the attendance result returned by the organization server through the organization subroutine, and displays the attendance result through the organization subroutine.
[0163] It should be noted that attendance user data can also be passed to the organization subroutine through the application, and the attendance user data and / or verification results can be uploaded to the organization server through the organization subroutine without being sent from the server to the organization server. Therefore, step S606 may not be executed.
[0164] To summarize, the processing method based on near-field communication provided in this embodiment is based on the authentication request uploaded by the application program initiated by the tag data read from the near-field communication tag of the organization, and the authentication interface is called to perform authentication processing on the login user data of the application program and the identity data of the collected attendance user to obtain the authentication result, and a subroutine query is performed according to the tag identifier contained in the tag data uploaded by the application program, and the subroutine identifier is obtained and returned to the application program, so as to enter the organization subroutine corresponding to the subroutine identifier at the user terminal, and the organization server corresponding to the organization subroutine sends the authentication result, so as to perform attendance processing based on the authentication result and the attendance configuration data. In this way, the organization uses the near-field communication tag to enable the attendance user to perform attendance processing by contacting the user terminal with the near-field communication tag, thereby improving the convenience of attendance and reducing the attendance cost of the organization. In the attendance process, the authentication processing capability provided by the application program is introduced to improve the effectiveness and authenticity of the attendance on the basis of improving the convenience of attendance.
[0165] The following takes the application of a processing method based on near field communication provided in this embodiment in the attendance scene as an example, combined with Figure 3 , the processing method based on near field communication provided in this embodiment is further described, see Figure 3 , a processing method based on near field communication applied to attendance scenarios specifically includes the following steps.
[0166] Step S308, calling the authentication interface to authenticate the login user data of the application and the identity data of the attendance user collected by the user terminal to obtain the authentication result.
[0167] Step S310, perform subroutine query according to the tag data, obtain the subroutine identifier and return it to the user terminal.
[0168] Step S312, return the subroutine identifier and verification result to the application, and send the verification result and attendance user data to the institution server.
[0169] The following takes the application of the second processing method based on near field communication provided in this embodiment in the attendance scene as an example, combined with Figure 4 , the processing method based on near field communication provided in this embodiment is further described, see Figure 4 , a processing method based on near field communication applied to attendance scenarios specifically includes the following steps.
[0170] Step S408, calling the authentication interface to authenticate the login user data of the application and the identity data of the attendance user collected by the user terminal to obtain the authentication result.
[0171] Step S410, perform subroutine search according to the tag identifier, obtain the subroutine identifier and return it to the application.
[0172] Step S412, sending the verification result and attendance user data to the institution server.
[0173] Optionally, the authentication result includes whether the authentication is passed; the attendance user data includes user identification, attendance time, user location data and / or tag location data.
[0174] The organization server performs attendance processing according to the verification result and the attendance configuration data including the attendance user data to obtain the attendance result and returns it to the organization subroutine. Specifically, the attendance result can also be obtained by performing attendance processing according to the verification result and the attendance configuration data corresponding to the attendance type.
[0175] One or more embodiments of the third processing method based on near field communication provided in this specification are as follows: It should be noted that the third processing method based on near field communication provided in this specification is similar to the relevant content of the first processing method based on near field communication provided above in the execution process, except that the mechanism is replaced with the target place. The relevant implementation method can refer to the relevant content of the above embodiment, and this embodiment will not be repeated here.
[0176] Reference Figure 7 , the processing method based on near field communication provided in this embodiment specifically includes steps S702 to S710.
[0177] Step S702: read tag data of a near field communication tag deployed at a target location through a near field communication component.
[0178] The target place in this embodiment includes a gated place, an attendance place and / or an activity place where access verification or access record is required.
[0179] It should be noted that the process of reading the tag data of the near-field communication tag deployed at the target place through the near-field communication component is similar to the process of reading the tag data stored in the near-field communication tag of the mechanism through the near-field communication component in the above step S202. The mechanism in the above step S202 can be replaced with the target place. Other contents can be referred to accordingly, and this embodiment will not be repeated here.
[0180] Step S704: start an application based on the tag data, and pass the tag data to the application.
[0181] It should be noted that the process of starting the application based on the tag data and transferring the tag data to the application is similar to the process of starting the application based on the tag data and transferring the tag data to the application in the above step S204.
[0182] Step S706, the identity data of the passing user is collected and uploaded by calling the authentication interface performed by the application in cooperation with the server.
[0183] It should be noted that the process of collecting and uploading the identity data of the passing user by calling the authentication interface performed by the application in cooperation with the server is similar to the above step S206, in which the identity data of the attendance user is collected and uploaded by calling the authentication interface performed by the application in cooperation with the server.
[0184] Step S708, according to the subroutine identifier queried based on the tag data and returned by the server, enter the mechanism subroutine corresponding to the subroutine identifier.
[0185] It should be noted that the process of entering the organization subprogram corresponding to the subprogram identifier returned by the server based on the tag data is similar to the above-mentioned step S208, which is to enter the organization subprogram corresponding to the subprogram identifier returned by the server based on the tag data.
[0186] Step S710, the mechanism subroutine displays the passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call.
[0187] The access type in this embodiment includes the first access type and / or the second access type; the first access type may be a door access type, and the second access type may be an activity access type; in addition, the access type may also include a third access type; the third access type may be a commuting access type. The following describes the process of obtaining access results by performing communication processing based on the access processing data corresponding to the access type and the authentication result returned by the interface call under the first access type and the second access type, respectively. The process of obtaining access results by performing communication processing based on the access processing data corresponding to the access type and the authentication result returned by the interface call under the third access type can refer to the relevant content in the above-mentioned processing method embodiment based on near field communication, and this embodiment does not limit it here.
[0188] In the first optional implementation manner provided by the present embodiment, in the process of performing pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call, a pass device with a near-field communication tag deployed is determined according to the first pass type, and a pass detection process is performed according to the service data and the authentication result corresponding to the pass device to obtain a pass detection result, and a pass instruction corresponding to the pass detection result is sent to the pass device; in addition to sending the pass instruction to the pass device, the agency server also sends the pass instruction to the agency subroutine, and the user terminal displays the pass result obtained by performing the pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call through the agency subroutine.
[0189] Optionally, in the process of performing access detection processing according to the service data and authentication result corresponding to the access device to obtain the access detection result, if the authentication result is authentication failure, the access detection result is determined to be detection failure; if the authentication result is authentication pass, check whether the user identifier of the access user carried in the access processing data is in the access user list corresponding to the access device; if not, determine that the access detection result is detection failure; if so, determine that the access detection result is detection pass; in the case of detection pass, send a access permission instruction to the access device so that the access device performs access permission processing, that is, opens the access control; in the case of detection failure, send a access prohibition instruction to the access device so that the access device performs access prohibition processing, that is, does not open the access control.
[0190] In addition to detecting whether the user identification of the passing user is in the passing user list corresponding to the passing device to obtain the passing detection result, it is also possible to detect whether the user location data of the passing user is in the electronic fence area corresponding to the passing device. The specific detection process can refer to the relevant content in the above embodiment, and this embodiment will not be repeated here.
[0191] In a second optional implementation manner provided by this embodiment, in the process of performing pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call, it is detected according to the second pass type whether the user location data carried by the pass processing data is in the electronic fence area of the target place. If not, a pass location abnormality reminder is generated as the pass result; if so, the user pass data contained in the authentication data and the pass processing data is verified according to the pass rules of the target place, and a pass reminder page of the pass processing result is generated; Optionally, in the process of verifying the user access data contained in the authentication data and the access processing data according to the access rules of the target place, and generating a access reminder page for the access processing result, if the authentication result is that the authentication fails, the access detection result is determined to be a detection failure; if the authentication result is that the authentication passes, it is detected according to the second access type whether the user location data carried by the access processing data is in the electronic fence area of the target place; if not, it is determined that the detection fails, and if so, it is detected whether the user access time in the user access data is within the specified access time of the target place, if not, it is determined that the access processing has failed, and if so, it is determined that the access processing has succeeded; in the case of access failure or detection failure, the access result is a access failure result; in the case of detection passing and access processing success, the access result is a access success result.
[0192] It should be noted that in addition to detecting the user's passage time, it is also possible to detect whether the user identifier in the user's passage data is in the list of passing users in the target place, and it is also possible to detect whether the user position in the user's passage data conforms to the user position rules of the target place. Specifically, user location detection, passage time detection, user identifier detection and user position detection can be combined in any way according to actual needs, such as a combination of any two, any three, or any four; or, in actual application scenarios, the implementation method of combining any two, any three, or any four can also be adaptively adjusted.
[0193] In the third optional implementation provided by this embodiment, in the process of performing pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call, if the authentication result is authentication failure, an attendance failure interface generated based on the attendance time, the authentication result of authentication failure and the user identification is used as the pass result; if the authentication result is authentication success, the attendance user data carried in the attendance configuration data is detected according to the attendance pass type to see whether it meets the attendance verification rules of the institution; if so, the attendance type of the attendance user is determined, and service processing is performed based on the attendance type and the corresponding service data to obtain the service processing result, and an attendance interface including the attendance detection result and the service processing result is generated; if not, the reason for the detection failure is determined, and an attendance failure interface including the reason for the detection failure is generated as the attendance result. Specifically, the generation process of the attendance result under the attendance pass type can refer to the relevant content of the above embodiment, and this embodiment will not be repeated here.
[0194] It should be noted that the process of displaying the pass result obtained by performing pass processing based on the pass processing data corresponding to the pass type and the authentication result returned by the interface call through the mechanism subroutine is similar to the above-mentioned step S210, and the process of displaying the attendance result obtained by performing attendance processing based on the attendance configuration data and the authentication result returned by the interface call through the mechanism subroutine is similar. The relevant contents can be referenced to each other, and this embodiment will not be repeated here.
[0195] To summarize, the processing method based on near-field communication provided in this embodiment obtains the tag data of the near-field communication tag deployed at the target place through the near-field communication component, starts the application based on the tag data and passes in the tag data, interacts with the server through the application to cooperate with the server's authentication processing to collect the identity data of the passing user and upload it, and if a subroutine identifier based on the tag data query returned by the server is received, enter the agency subroutine corresponding to the subroutine identifier, and display the pass processing data corresponding to the pass type and the authentication result obtained by the authentication processing through the agency subroutine. In this way, by deploying near-field communication tags at the target place, the passing user can use the user terminal to contact the near-field communication tag to perform attendance processing, thereby improving the convenience of passage and reducing the passage maintenance cost of the organization. During the passage process, the authentication processing capability provided by the application is introduced to improve the effectiveness and authenticity of the passage on the basis of improving the convenience of passage.
[0196] The above steps S702 to S710 provided in this embodiment can be executed by the user terminal. It should be noted that the above steps S702 to S710 executed by the user terminal and the steps S802 to S806 executed by the server in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S802 to S806 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S702 to S710 provided in this embodiment.
[0197] One or more embodiments of the fourth processing method based on near field communication provided in this specification are as follows: Reference Figure 8 , the processing method based on near field communication provided in this embodiment specifically includes steps S802 to S806.
[0198] Step S802, calling the authentication interface to authenticate the login user data of the application and the collected identity data of the passing user to obtain the authentication result.
[0199] Optionally, the application is launched based on tag data read from a near field communication tag at the target location.
[0200] Step S804, performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier.
[0201] It should be noted that the execution order of step S802 and step S804 can be swapped, and this embodiment does not limit the execution order of step S802 and step S804.
[0202] Step S806, sending the verification result to the agency server to perform passage processing based on the passage processing data corresponding to the verification interface and the passage type.
[0203] It should be noted that the pass user data can also be transmitted to the organization subroutine through the application, and the attendance user data and / or verification results can be uploaded to the organization server through the organization subroutine without being sent from the server to the organization server. Optionally, the pass user data at least includes the verification results; therefore, step S806 may not be executed.
[0204] The first embodiment of a processing device based on near field communication provided in this specification is as follows: In the above-mentioned embodiment, a first processing method based on near field communication is provided, and correspondingly, a processing device based on near field communication is also provided, which will be described below with reference to the accompanying drawings.
[0205] Reference Fig. 9, which shows a schematic diagram of an embodiment of a processing device based on near field communication provided by this embodiment.
[0206] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.
[0207] This embodiment provides a processing device based on near field communication, the device comprising: The data reading module 902 is configured to read the tag data stored in the near field communication tag of the mechanism through the near field communication component; A program starting module 904 is configured to start an application based on the tag data and transfer the tag data to the application; The data collection module 906 is configured to collect the identity data of the attendance user and upload it through the identity interface call performed by the application in cooperation with the server; The subprogram entry module 908 is configured to enter the mechanism subprogram corresponding to the subprogram identifier according to the subprogram identifier queried based on the tag data and returned by the server; The result display module 910 is configured to display the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call through the mechanism subroutine.
[0208] The second embodiment of the processing device based on near field communication provided in this specification is as follows: In the above-mentioned embodiment, a second processing method based on near field communication is provided, and correspondingly, a processing device based on near field communication is also provided, which will be described below with reference to the accompanying drawings.
[0209] Reference Fig.10 , which shows a schematic diagram of an embodiment of a processing device based on near field communication provided by this embodiment.
[0210] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.
[0211] This embodiment provides a processing device based on near field communication, the device comprising: The authentication processing module 1002 is configured to call the authentication interface to perform authentication processing on the login user data of the application and the identity data of the collected attendance user to obtain the authentication result; the application is started based on the tag data read from the near field communication tag of the organization; The subprogram query module 1004 is configured to perform a subprogram query according to the tag data, and return the obtained subprogram identifier to the user terminal to enter the organization subprogram corresponding to the subprogram identifier; The result sending module 1006 is configured to send the verification result to the institution server so as to perform attendance processing based on the verification result and the attendance configuration data.
[0212] The third embodiment of the processing device based on near field communication provided in this specification is as follows: In the above-mentioned embodiment, a third processing method based on near field communication is provided, and correspondingly, a processing device based on near field communication is also provided, which will be described below with reference to the accompanying drawings.
[0213] Reference Fig.11 , which shows a schematic diagram of an embodiment of a processing device based on near field communication provided by this embodiment.
[0214] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.
[0215] This embodiment provides a processing device based on near field communication, the device comprising: The data reading module 1102 is configured to read tag data of a near field communication tag deployed at a target location through a near field communication component; A program starting module 1104 is configured to start an application based on the tag data and transfer the tag data to the application; The data collection module 1106 is configured to collect and upload the identity data of the passing user through the authentication interface call performed by the application program in cooperation with the server; The subprogram entry module 1108 is configured to enter the mechanism subprogram corresponding to the subprogram identifier according to the subprogram identifier queried based on the tag data and returned by the server; The result display module 1110 is configured to display, through the mechanism subroutine, the passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call.
[0216] The fourth embodiment of the processing device based on near field communication provided in this specification is as follows: In the above-mentioned embodiment, a fourth processing method based on near field communication is provided, and correspondingly, a processing device based on near field communication is also provided, which will be described below with reference to the accompanying drawings.
[0217] Reference Fig.12, which shows a schematic diagram of an embodiment of a processing device based on near field communication provided by this embodiment.
[0218] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.
[0219] This embodiment provides a processing device based on near field communication, the device comprising: The authentication processing module 1202 is configured to call the authentication interface to perform authentication processing on the login user data of the application and the identity data of the collected passing user to obtain an authentication result; the application is started based on the tag data read from the near field communication tag of the target place; The subprogram query module 1204 is configured to perform a subprogram query according to the tag data, and return the obtained subprogram identifier to the user terminal to enter the organization subprogram corresponding to the subprogram identifier; The result sending module 1206 is configured to send the authentication result to the agency server so as to perform passage processing based on the passage processing data corresponding to the authentication interface and the passage type.
[0220] The first user terminal embodiment provided in this specification is as follows: Corresponding to the first processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a first user terminal, which is used to execute the first processing method based on near field communication provided above. Fig.13 A schematic diagram of the structure of a user terminal provided in one or more embodiments of this specification.
[0221] This embodiment provides a user terminal, including: like Fig.13As shown, the user terminal may have relatively large differences due to different configurations or performances, and may include one or more processors 1301 and memory 1302, and the memory 1302 may store one or more storage applications or data. Among them, the memory 1302 may be a short-term storage or a permanent storage. The application stored in the memory 1302 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the user terminal. Furthermore, the processor 1301 may be configured to communicate with the memory 1302 and execute a series of computer executable instructions in the memory 1302 on the user terminal. The user terminal may also include one or more power supplies 1303, one or more wired or wireless network interfaces 1304, one or more input / output interfaces 1305, one or more keyboards 1306, etc.
[0222] In a specific embodiment, the user terminal includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the user terminal, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: Reading tag data stored in a near field communication tag of the mechanism through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the attendance user is collected and uploaded by the authentication interface call performed by the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The mechanism subroutine displays the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call.
[0223] The first server embodiment provided in this specification is as follows: Corresponding to the second processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a first server, which is used to execute the second processing method based on near field communication provided above, Fig.14 A schematic diagram of the structure of a server provided for one or more embodiments of this specification.
[0224] This embodiment provides a server, including: like Fig.14As shown, the server may have relatively large differences due to different configurations or performances, and may include one or more processors 1401 and memory 1402, and the memory 1402 may store one or more storage applications or data. Among them, the memory 1402 may be a short-term storage or a persistent storage. The application stored in the memory 1402 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the server. Furthermore, the processor 1401 may be configured to communicate with the memory 1402 and execute a series of computer executable instructions in the memory 1402 on the server. The server may also include one or more power supplies 1403, one or more wired or wireless network interfaces 1404, one or more input / output interfaces 1405, etc.
[0225] In a specific embodiment, the server includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the server, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: Calling the authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain an authentication result; the application is started based on the tag data read from the near field communication tag of the institution; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The verification result is sent to the institution server so as to perform attendance processing based on the verification result and attendance configuration data.
[0226] The second user terminal embodiment provided in this specification is as follows: Corresponding to the third processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a second user terminal, which is used to execute the third processing method based on near field communication provided above. Fig.15 A schematic diagram of the structure of a user terminal provided in one or more embodiments of this specification.
[0227] This embodiment provides a user terminal, including: like Fig.15As shown, the user terminal may have relatively large differences due to different configurations or performances, and may include one or more processors 1501 and memory 1502, and the memory 1502 may store one or more storage applications or data. Among them, the memory 1502 may be a short-term storage or a persistent storage. The application stored in the memory 1502 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the user terminal. Furthermore, the processor 1501 may be configured to communicate with the memory 1502 and execute a series of computer executable instructions in the memory 1502 on the user terminal. The user terminal may also include one or more power supplies 1503, one or more wired or wireless network interfaces 1504, one or more input / output interfaces 1505, one or more keyboards 1506, etc.
[0228] In a specific embodiment, the user terminal includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the user terminal, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: Reading tag data of a near field communication tag deployed at a target location through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the passing user is collected and uploaded by calling the authentication interface through the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call is displayed through the mechanism subroutine.
[0229] The second server embodiment provided in this specification is as follows: Corresponding to the fourth processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a second server, which is used to execute the fourth processing method based on near field communication provided above. Fig.16 A schematic diagram of the structure of a server provided for one or more embodiments of this specification.
[0230] This embodiment provides a server, including: like Fig.16As shown, the server may have relatively large differences due to different configurations or performances, and may include one or more processors 1601 and memory 1602, and the memory 1602 may store one or more storage applications or data. Among them, the memory 1602 may be a short-term storage or a persistent storage. The application stored in the memory 1602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the server. Furthermore, the processor 1601 may be configured to communicate with the memory 1602 and execute a series of computer executable instructions in the memory 1602 on the server. The server may also include one or more power supplies 1603, one or more wired or wireless network interfaces 1604, one or more input / output interfaces 1605, etc.
[0231] In a specific embodiment, the server includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the server, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: Calling the authentication interface to authenticate the login user data of the application and the collected identity data of the passing user to obtain an authentication result; the application is started based on the tag data read from the near field communication tag of the target place; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The authentication result is sent to the agency server to perform pass processing based on the authentication interface and the pass processing data corresponding to the pass type.
[0232] The first computer-readable storage medium embodiment provided in this specification is as follows: Corresponding to the first processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.
[0233] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions implement the following process when executed: Reading tag data stored in a near field communication tag of the mechanism through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the attendance user is collected and uploaded by the authentication interface call performed by the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The mechanism subroutine displays the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call.
[0234] It should be noted that the embodiment of the first computer-readable storage medium in this specification and the embodiment of the first near-field communication-based processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0235] The second computer-readable storage medium embodiment provided in this specification is as follows: Corresponding to the second processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.
[0236] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions implement the following process when executed: Calling the authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain an authentication result; the application is started based on the tag data read from the near field communication tag of the institution; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The verification result is sent to the institution server so as to perform attendance processing based on the verification result and attendance configuration data.
[0237] It should be noted that the embodiment of the second computer-readable storage medium in this specification and the embodiment of the second near-field communication-based processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0238] The third computer-readable storage medium embodiment provided in this specification is as follows: Corresponding to the third processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.
[0239] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions implement the following process when executed: Reading tag data of a near field communication tag deployed at a target location through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the passing user is collected and uploaded by calling the authentication interface through the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call is displayed through the mechanism subroutine.
[0240] It should be noted that the embodiment of the third computer-readable storage medium in this specification and the embodiment of the third near-field communication-based processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0241] The fourth computer-readable storage medium embodiment provided in this specification is as follows: Corresponding to the fourth processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.
[0242] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions implement the following process when executed: Calling the authentication interface to authenticate the login user data of the application and the collected identity data of the passing user to obtain an authentication result; the application is started based on the tag data read from the near field communication tag of the target place; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The authentication result is sent to the agency server to perform pass processing based on the authentication interface and the pass processing data corresponding to the pass type.
[0243] It should be noted that the embodiment of the fourth computer-readable storage medium in this specification and the embodiment of the fourth near-field communication-based processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0244] The first computer program product embodiment provided in this specification is as follows: Corresponding to the first processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.
[0245] A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the following steps: Reading tag data stored in a near field communication tag of the mechanism through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the attendance user is collected and uploaded by the authentication interface call performed by the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The mechanism subroutine displays the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call.
[0246] It should be noted that the embodiment of the first computer program product in this specification and the embodiment of the first near-field communication-based processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0247] The second computer program product embodiment provided in this specification is as follows: Corresponding to the second processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.
[0248] A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the following steps: Calling the authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain an authentication result; the application is started based on the tag data read from the near field communication tag of the institution; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The verification result is sent to the institution server so as to perform attendance processing based on the verification result and attendance configuration data.
[0249] It should be noted that the embodiment of the second computer program product in this specification and the embodiment of the second near-field communication-based processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0250] The third computer program product embodiment provided in this specification is as follows: Corresponding to the third processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.
[0251] A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the following steps: Reading tag data of a near field communication tag deployed at a target location through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the passing user is collected and uploaded by calling the authentication interface through the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call is displayed through the mechanism subroutine.
[0252] It should be noted that the embodiment of the third computer program product in this specification and the embodiment of the third near-field communication-based processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0253] The fourth computer program product embodiment provided in this specification is as follows: Corresponding to the fourth processing method based on near field communication described above, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.
[0254] A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the following steps: Calling the authentication interface to authenticate the login user data of the application and the collected identity data of the passing user to obtain an authentication result; the application is started based on the tag data read from the near field communication tag of the target place; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The authentication result is sent to the agency server to perform pass processing based on the authentication interface and the pass processing data corresponding to the pass type.
[0255] It should be noted that the embodiment of the fourth computer program product in this specification and the embodiment of the fourth processing method based on near field communication in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0256] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiment, equipment embodiment, computer-readable storage medium embodiment, and computer program product embodiment are similar to the method embodiment, so the description is relatively simple. To read the relevant contents of the device embodiment, equipment embodiment, computer-readable storage medium embodiment, and computer program product embodiment, please refer to the partial description of the method embodiment.
[0257] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0258] In the 1930s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements to method flows). However, with the development of technology, many of today's method flow improvements can be regarded as direct improvements to hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using hardware entity modules. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask chip manufacturers to design and produce dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0259] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.
[0260] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0261] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0262] It should be understood by those skilled in the art that one or more embodiments of the present specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present specification may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0263] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable near-field communication-based processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable near-field communication-based processing device generate instructions for implementing the processes in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0264] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable near field communication-based processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0265] These computer program instructions can also be loaded onto a computer or other programmable near field communication-based processing device, so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0266] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0267] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0268] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0269] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "includes at least one ..." do not exclude the presence of other identical elements in the process, method, commodity or device including the elements.
[0270] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0271] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.
Claims
1. A processing method based on near field communication, comprising: Reading tag data stored in a near field communication tag of the mechanism through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the attendance user is collected and uploaded by the authentication interface call performed by the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The mechanism subroutine displays the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call.
2. According to the processing method based on near field communication in claim 1, the attendance processing is performed based on the attendance configuration data and the verification result returned by the interface call, comprising: If the verification result is that the verification is passed, checking whether the attendance user data carried in the attendance configuration data meets the attendance verification rules of the institution; If so, determine the attendance type of the attendance user, perform service processing based on the attendance type and the corresponding service data to obtain a service processing result, and generate an attendance interface including the attendance detection result and the service processing result as the attendance result.
3. According to the processing method based on near field communication in claim 1, the attendance processing based on the attendance configuration data and the verification result returned by the interface call comprises: Detecting whether the user location data carried by the attendance configuration data is in the electronic fence area of the attendance location; If yes, determine the attendance processing strategy based on the verification result, and perform attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain a service processing result; An attendance interface corresponding to the service processing result is generated as the attendance result.
4. The processing method based on near field communication according to claim 1, after the execution of the subroutine identifier returned by the server based on the tag data query, the step of entering the mechanism subroutine corresponding to the subroutine identifier, and before the step of displaying the attendance result obtained by the mechanism subroutine based on the attendance configuration data and the verification result returned by the interface call for attendance processing, further comprises: The attendance user data of the attendance user is transmitted to the organization subprogram, and the organization subprogram uploads the attendance user data to the organization server; The institution server detects whether the attendance user data meets the institution's attendance verification rules and obtains the attendance detection result.
5. According to the processing method based on near field communication in claim 1, after the step of collecting the identity data of the attendance user through the identity interface call performed by the application in cooperation with the server and uploading the data is executed, it also includes: If the obtained verification result is that the verification fails, the mechanism subroutine is entered, and the attendance interface generated based on the attendance configuration data and the verification result is displayed through the mechanism subroutine; or, If the obtained verification result is that the verification fails, the attendance result generated based on the attendance configuration data and the verification result returned by the interface call returned by the server is received and displayed; The attendance result is generated by the institution server.
6. The processing method based on near field communication according to claim 1, after the step of starting the application based on the tag data and transferring the tag data to the application is executed, it further comprises: Detecting whether the label data includes the subroutine identifier; If so, based on the subroutine identifier contained in the tag data, enter the organization subroutine, cooperate with the organization server to call the authentication interface to collect the identity data of the attendance user and upload it, and display the attendance results through the organization subroutine.
7. According to the processing method based on near field communication in claim 1, the authentication interface performs authentication processing in the following manner: Sending an authentication data collection instruction to the application; The identity data collected in response to the authentication data collection instruction and submitted by the application is received, and the identity data is verified with the login user data of the application to obtain the authentication result.
8. According to the processing method based on near field communication in claim 1, after the step of reading the tag data stored in the near field communication tag of the mechanism by the near field communication component is executed, and before the step of starting the application based on the tag data and transferring the tag data to the application is executed, it also includes: Determining the application based on the tag field carried by the tag data; Calling the system interface to generate a reminder message for starting the application and displaying the message on the system page; The application is started after the entry control configured in the reminder message is triggered.
9. According to the processing method based on near field communication in claim 3, the step of performing attendance service processing according to the attendance configuration data corresponding to the attendance processing strategy to obtain a service processing result comprises: Perform resource settlement on the attendance user according to the resource settlement rules configured by the organization to obtain a resource settlement result; Generate a service processing result including the resource settlement result and resource access control.
10. The processing method based on near field communication according to claim 2, wherein determining the attendance type of the attendance user and performing service processing based on the attendance type and corresponding service data to obtain a service processing result comprises: Determine the attendance type according to the attendance user data carried in the attendance configuration data and the attendance record of the attendance user; A guarantee participation process is performed on the attendance user according to the guarantee item data of the guarantee service corresponding to the first attendance type to obtain a guarantee participation result.
11. A processing method based on near field communication, comprising: Call the authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain the authentication result; The application is launched based on tag data read from a near field communication tag of the institution; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The verification result is sent to the institution server so as to perform attendance processing based on the verification result and attendance configuration data.
12. The near field communication-based processing method according to claim 11, wherein the attendance processing based on the authentication result and the attendance configuration data comprises: If the verification result is that the verification is passed, checking whether the attendance user data carried in the attendance configuration data meets the attendance verification rules of the institution; If so, determine the attendance type of the attendance user, perform service processing based on the attendance type and the corresponding service data to obtain a service processing result, and generate an attendance interface including the attendance detection result and the service processing result as the attendance result.
13. The processing method based on near field communication according to claim 11, wherein the attendance processing based on the verification result and the attendance configuration data comprises: Detecting whether the user location data carried by the attendance configuration data is in the electronic fence area of the attendance location; If yes, determine the attendance processing strategy based on the verification result, and perform attendance processing according to the attendance configuration data corresponding to the attendance processing strategy; Generate an attendance interface corresponding to the attendance processing result as the attendance result.
14. A processing method based on near field communication, comprising: Reading tag data of a near field communication tag deployed at a target location through a near field communication component; Starting an application based on the tag data, and transferring the tag data to the application; The identity data of the passing user is collected and uploaded by calling the authentication interface through the application in cooperation with the server; According to the subprogram identifier queried based on the tag data and returned by the server, enter the mechanism subprogram corresponding to the subprogram identifier; The passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call is displayed through the mechanism subroutine.
15. The processing method based on near field communication according to claim 14, wherein the process of performing the process based on the process data corresponding to the process type and the authentication result returned by the interface call comprises: Determine a pass device on which the near field communication tag is deployed according to the first pass type, and perform a pass detection process according to the service data corresponding to the pass device and the authentication result to obtain a pass detection result; A passage instruction corresponding to the passage detection result is sent to the passage device.
16. The processing method based on near field communication according to claim 14, wherein the processing based on the processing data corresponding to the processing type and the authentication result returned by the interface call comprises: Detecting whether the user location data carried by the processed access data is in an electronic fence area of the target location according to the second access type; If so, the user access data and the authentication data contained in the access processing data are verified according to the access rules of the target place, and a access reminder page of the access processing result is generated.
17. The processing method based on near field communication according to claim 14, wherein the processing based on the processing data corresponding to the processing type and the authentication result returned by the interface call comprises: If the verification result is passed, check whether the attendance user data carried in the attendance configuration data meets the institution's attendance verification rules based on the attendance access type; If so, determine the attendance type of the attendance user, perform service processing based on the attendance type and the corresponding service data to obtain a service processing result, and generate an attendance interface including the attendance detection result and the service processing result.
18. A processing method based on near field communication, comprising: Call the authentication interface to authenticate the login user data of the application and the collected identity data of the passing user to obtain the authentication result; The application is launched based on tag data read from a near field communication tag at the target location; Performing a subprogram query according to the tag data, and returning the obtained subprogram identifier to the user terminal to enter the mechanism subprogram corresponding to the subprogram identifier; The authentication result is sent to the agency server to perform pass processing based on the authentication interface and the pass processing data corresponding to the pass type.
19. A processing device based on near field communication, comprising: A data reading module, configured to read tag data stored in a near field communication tag of the mechanism through a near field communication component; A program starting module, configured to start an application based on the tag data and transfer the tag data to the application; A data collection module is configured to collect and upload the identity data of the attendance user through the authentication interface call performed by the application in cooperation with the server; A subprogram entry module is configured to enter the mechanism subprogram corresponding to the subprogram identifier according to the subprogram identifier queried based on the tag data and returned by the server; The result display module is configured to display the attendance result obtained by performing attendance processing based on the attendance configuration data and the verification result returned by the interface call through the mechanism subroutine.
20. A processing device based on near field communication, comprising: The authentication processing module is configured to call the authentication interface to authenticate the login user data of the application and the identity data of the collected attendance user to obtain the authentication result; The application is launched based on tag data read from a near field communication tag of the institution; A subprogram query module is configured to perform a subprogram query according to the tag data, and return the obtained subprogram identifier to the user terminal to enter the organization subprogram corresponding to the subprogram identifier; The result sending module is configured to send the verification result to the institution server so as to perform attendance processing based on the verification result and attendance configuration data.
21. A processing device based on near field communication, comprising: A data reading module is configured to read tag data of a near field communication tag deployed at a target location through a near field communication component; A program starting module, configured to start an application based on the tag data and transfer the tag data to the application; A data collection module is configured to collect and upload the identity data of the passing user through the authentication interface call performed by the application program in cooperation with the server; A subprogram entry module is configured to enter the mechanism subprogram corresponding to the subprogram identifier according to the subprogram identifier queried based on the tag data and returned by the server; The result display module is configured to display, through the mechanism subroutine, the passage result obtained by performing passage processing based on the passage processing data corresponding to the passage type and the authentication result returned by the interface call.
22. A processing device based on near field communication, comprising: The authentication processing module is configured to call the authentication interface to authenticate the login user data of the application and the collected identity data of the passing user to obtain the authentication result; The application is launched based on tag data read from a near field communication tag at the target location; A subprogram query module is configured to perform a subprogram query according to the tag data, and return the obtained subprogram identifier to the user terminal to enter the organization subprogram corresponding to the subprogram identifier; The result sending module is configured to send the verification result to the agency server so as to perform passage processing based on the passage processing data corresponding to the verification interface and the passage type.
23. A user terminal, comprising: processor; And, a memory configured to store computer executable instructions, which, when executed, cause the processor to implement the steps of the method of claim 1 or claim 14.
24. A server, comprising: processor; And, a memory configured to store computer executable instructions, which, when executed, cause the processor to implement the steps of the method of claim 11 or claim 17.
25. A computer-readable storage medium for storing computer-executable instructions, which, when executed, implement the steps of the method of claim 1, claim 11, claim 14 or claim 17.
Citation Information
Cited By
Ticket business body checking processing method and device
CN122220635A