A gate terminal master-slave service interception method, system, device and medium

By dividing the access control terminal software into primary and secondary business functions, and setting interception rules and return specifications, the problems of inconvenient software management and high costs when customized secondary business functions change are solved, thereby improving management convenience and reducing development costs.

CN116400949BActive Publication Date: 2026-07-03FUJIAN NEW WORLD HUICHUANG TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
FUJIAN NEW WORLD HUICHUANG TECH CO LTD
Filing Date
2023-02-01
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In existing technologies, the customization of access control terminals requires the entire software to be redesigned when business changes occur, resulting in high software development costs, unclear functional branches, and inconvenient management.

Method used

The access control terminal software is divided into main business software and slave business software. The interception rules and return specifications of the slave business software are set, and the interception results are synchronized through the HTTP protocol. The main business software controls the operation of the access control terminal.

Benefits of technology

It has made access control terminal software management more convenient, reduced development costs, and avoided the problem of unclear functional branches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116400949B_ABST
    Figure CN116400949B_ABST
Patent Text Reader

Abstract

This invention provides a method, system, device, and medium for intercepting master and slave services in access control terminals. The method includes the following steps: Step S10: Based on the service type of the access control terminal, divide the access control terminal software into master service software and slave service software; Step S20: Set the interception rules for the slave service software and the return specifications for returning information to the master service software; Step S30: The slave service software intercepts the slave service based on the interception rules and generates a first interception result; Step S40: The master service software sends an interception result retrieval request to the slave service software via HTTP, and the slave service software synchronizes the first interception result to the master service software based on the return specifications; Step S50: The master service software controls the operation of the access control terminal based on the first interception result and the second interception result of the master service. The advantages of this invention are: greatly improving the convenience of access control terminal software management and reducing development costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of access control technology, and in particular to a method, system, device and medium for intercepting master and slave services of an access control terminal. Background Technology

[0002] In the application scenarios of access control terminals, in addition to the commonly used facial recognition, work badge swiping, and ID card swiping to determine access permissions, there are also some customized services to determine whether access is granted. These customized services are called access control services.

[0003] Common business logic, such as during special periods, requests for personal information and validity periods are used to synchronously determine access permissions. For example, requests to specific enterprise interfaces may be made to determine whether a person has the necessary permissions, whether they have passed the enterprise's required exam, whether a warning should be issued when passing through the gate if certain conditions are not met, and whether more complex protocols are needed to open the gate. These customized business logics, together with the main business logic of the access control terminal, determine whether the corresponding person can pass through the gate and the content of the prompts when passing through the gate.

[0004] To implement the functions of the main business and the secondary business, traditionally a custom software is created to integrate the functions of the main business and the secondary business. However, when the secondary business changes, the entire software needs to be customized again, which not only increases the software development cost, but also easily leads to unclear functional branches and confusion in software version iteration.

[0005] Therefore, how to provide a method, system, device, and medium for intercepting master and slave services in access control terminals to improve the convenience of access control terminal software management and reduce development costs has become an urgent technical problem to be solved. Summary of the Invention

[0006] The technical problem to be solved by the present invention is to provide a method, system, device and medium for intercepting master and slave services of access control terminals, so as to improve the convenience of access control terminal software management and reduce development costs.

[0007] In a first aspect, the present invention provides a method for intercepting master-slave services in an access control terminal, comprising the following steps:

[0008] Step S10: Based on the service type of the access control terminal, divide the access control terminal software into main service software and secondary service software;

[0009] Step S20: Set the interception rules from the business software and the return specifications for returning information to the main business software;

[0010] Step S30: The business software intercepts the business based on the interception rules and generates a first interception result;

[0011] Step S40: The main business software sends an interception result acquisition request to the slave business software via HTTP, and the slave business software synchronizes the first interception result to the main business software based on the returned specification.

[0012] Step S50: The main business software controls the operation of the access control terminal based on the first interception result and the second interception result of the main business.

[0013] Furthermore, in step S20, the return specification includes at least the gate opening identifier, the reason for interception, the custom display field, and the display identifier;

[0014] The gate opening indicator is used to indicate whether the access control terminal needs to perform a gate opening operation; the display indicator is used to indicate whether the reason for the block needs to be displayed.

[0015] Further, step S40 specifically includes:

[0016] On the access control terminal, an HTTP server process is created for the slave business software. The master business software sends a request to the slave business software to obtain the interception result carrying personnel information in the form of an HTTP client.

[0017] The system retrieves personnel information from the interception result received by the business software, matches the corresponding first interception result based on the personnel information, and synchronizes the first interception result to the main business software based on the return specification.

[0018] Further, step S50 specifically includes:

[0019] The main business software determines whether both the first interception result and the second interception result of the main business are allowed to pass. If so, it controls the access control terminal to open the gate and prompts the user with a custom display field. If not, it controls the access control terminal to keep the gate closed and prompts the user with a custom display field.

[0020] Secondly, the present invention provides a master-slave service interception system for access control terminals, comprising the following modules:

[0021] The software partitioning module is used to divide the access control terminal software into main business software and secondary business software based on the business type of the access control terminal.

[0022] The business software configuration module is used to configure the interception rules from the business software and the return specifications for information returned to the main business software.

[0023] The service interception module is used to intercept the service from the service software based on the interception rules and generate a first interception result;

[0024] The first interception result synchronization module is used for the main business software to send an interception result acquisition request to the slave business software via HTTP, and the slave business software to synchronize the first interception result to the main business software based on the return specification.

[0025] The access control terminal control module is used by the main business software to control the operation of the access control terminal based on the first interception result and the second interception result of the main business.

[0026] Furthermore, in the business software setting module, the return specifications at least include the gate opening identifier, the reason for interception, the custom display field, and the display identifier;

[0027] The gate opening indicator is used to indicate whether the access control terminal needs to perform a gate opening operation; the display indicator is used to indicate whether the reason for the block needs to be displayed.

[0028] Furthermore, the first interception result synchronization module is specifically used for:

[0029] On the access control terminal, an HTTP server process is created for the slave business software. The master business software sends a request to the slave business software to obtain the interception result carrying personnel information in the form of an HTTP client.

[0030] The system retrieves personnel information from the interception result received by the business software, matches the corresponding first interception result based on the personnel information, and synchronizes the first interception result to the main business software based on the return specification.

[0031] Furthermore, the access control terminal control module is specifically used for:

[0032] The main business software determines whether both the first interception result and the second interception result of the main business are allowed to pass. If so, it controls the access control terminal to open the gate and prompts the user with a custom display field. If not, it controls the access control terminal to keep the gate closed and prompts the user with a custom display field.

[0033] Thirdly, the present invention provides an access control terminal master-slave service interception device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect.

[0034] Fourthly, the present invention provides a master-slave service interception medium for an access control terminal, on which a computer program is stored, which, when executed by a processor, implements the method described in the first aspect.

[0035] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:

[0036] Based on the service types of the access control terminal, the access control terminal software is divided into main service software and slave service software. Interception rules and return specifications are set for the slave service software. The slave service software intercepts slave services based on the interception rules and generates a first interception result. The main service software synchronizes the first interception result to the slave service software via HTTP. The main service software controls the operation of the access control terminal based on the first interception result and the second interception result of the main service. In other words, the access control terminal software is managed by splitting it into main service software and slave service software. When slave services change, only the slave service software needs to be redesigned, eliminating the need to redesign the entire software as in traditional methods. This also avoids unclear functional branches between different software versions, greatly improving the convenience of access control terminal software management and significantly reducing the development cost of access control terminal software.

[0037] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0038] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0039] Figure 1 This is a flowchart of a master-slave service interception method for access control terminals according to the present invention.

[0040] Figure 2 This is a schematic diagram of the structure of a master-slave service interception system for access control terminals according to the present invention.

[0041] Figure 3 This is a schematic diagram of the structure of a master-slave service interception device for access control terminals according to the present invention.

[0042] Figure 4 This is a schematic diagram of the structure of a master-slave service interception medium for an access control terminal according to the present invention. Detailed Implementation

[0043] This application provides a method, system, device, and medium for intercepting master-slave services in access control terminals, thereby improving the convenience of access control terminal software management and reducing development costs.

[0044] The technical solution in this application embodiment has the following general idea: the access control terminal software is split into main business software and secondary business software for management. When the secondary business changes, only the secondary business software needs to be re-customized, so as to improve the convenience of access control terminal software management and reduce the development cost of access control terminal software.

[0045] Example 1

[0046] This embodiment provides a method for intercepting master-slave services in access control terminals, such as... Figure 1 As shown, it includes the following steps:

[0047] Step S10: Based on the service type of the access control terminal, divide the access control terminal software into main service software and secondary service software;

[0048] The main business software is used for gate opening authentication. It receives gate opening authorization data in real time, which is the correspondence between personnel identity information and gate opening permissions. This involves identifying on-site personnel, determining whether the authorization data is valid, and recording the gate opening time, which is then permanently stored in the cloud. In other words, the core function of the main business software is to identify the identity of the current personnel through various means (face, work card, QR code, etc.) when someone wants to pass through, and to determine whether the necessary conditions for gate opening are met.

[0049] The secondary business software is used to determine whether another necessary condition for opening the gate is met. In special scenarios, the interfaces (address, request method, request parameters) of each province are different, and the data returned by the interface requests are different. After a period of time, the request will no longer be a necessary condition for passage and can be closed if needed. Based on the above situation, the request is loaded as a secondary business. If the function of the secondary business software is closed, then the person can open the gate through the authorization identification of the main business software.

[0050] Step S20: Set the interception rules from the business software and the return specifications for returning information to the main business software;

[0051] Step S30: The business software intercepts the business based on the interception rules and generates a first interception result;

[0052] Step S40: The main business software sends an interception result acquisition request to the slave business software via HTTP, and the slave business software synchronizes the first interception result to the main business software based on the returned specification.

[0053] Step S50: The main business software controls the operation of the access control terminal based on the first interception result and the second interception result of the main business.

[0054] In step S20, the return specification includes at least the gate opening identifier, the reason for interception, the custom display field, and the display identifier;

[0055] The gate opening indicator is used to indicate whether the access control terminal needs to perform a gate opening operation; the display indicator is used to indicate whether the reason for the block needs to be displayed.

[0056] To truly achieve decoupling and isolation between the main business and the slave business, not all data attributes of the slave business software will be returned to the main business software for parsing. Instead, the parsed results will be returned to the main business software to determine whether to open the gate and why not to. Therefore, the aforementioned return specification is set.

[0057] Examples of information returned based on the aforementioned return specifications are as follows:

[0058]

[0059] The main business software can decide whether to open the gate based on this information. If the gate is not opened, the specific reason for the blockade should be presented. Alternatively, after allowing passage, a custom display field can be displayed, such as "Please wear a mask" or "Expiring soon".

[0060] Step S40 specifically involves:

[0061] On the access control terminal, an HTTP server process is created for the slave business software. The master business software sends a request to the slave business software to obtain the interception result carrying personnel information in the form of an HTTP client.

[0062] The system retrieves personnel information from the interception result received by the business software, matches the corresponding first interception result based on the personnel information, and synchronizes the first interception result to the main business software based on the return specification.

[0063] Because the main business needs to wait for the information parsing of the slave business before jointly determining whether to open the gate, the communication between the main business software and the slave business software adopts a synchronous mechanism.

[0064] For example, after receiving the return information from the platform from the business software, the system parses the standard business data based on the current parameter configuration and requirements, and returns it to the main business software. An example is as follows:

[0065]

[0066] Step S50 specifically involves:

[0067] The main business software determines whether both the first interception result and the second interception result of the main business are allowed to pass. If so, it controls the access control terminal to open the gate and prompts the user with a custom display field. If not, it controls the access control terminal to keep the gate closed and prompts the user with a custom display field.

[0068] This invention is not only applied to business interception in network request scenarios, but also opens up a new world of easily customized requirements in master-slave business mechanisms. For example, certain gate opening protocols require sending specific data to a designated controller using the RS-485 protocol. Successful gate opening returns no interception, while failure returns interception. Different controller manufacturers require different data. Conventionally, this would involve customizing these protocols within the access control software. However, we also allow the master business to initiate an HTTP request to the slave business when personnel pass through, and the slave business then uses the corresponding RS-485 protocol to open the gate. This avoids the need for customizing the access control software for specific gate opening scenarios.

[0069] Example 2

[0070] This embodiment provides a master-slave service interception system for access control terminals, such as... Figure 2 As shown, it includes the following modules:

[0071] The software partitioning module is used to divide the access control terminal software into main business software and secondary business software based on the business type of the access control terminal.

[0072] The main business software is used for gate opening authentication. It receives gate opening authorization data in real time, which is the correspondence between personnel identity information and gate opening permissions. This involves identifying on-site personnel, determining whether the authorization data is valid, and recording the gate opening time, which is then permanently stored in the cloud. In other words, the core function of the main business software is to identify the identity of the current personnel through various means (face, work card, QR code, etc.) when someone wants to pass through, and to determine whether the necessary conditions for gate opening are met.

[0073] The secondary business software is used to determine whether another necessary condition for opening the gate is met. In special scenarios, the interfaces (address, request method, request parameters) of each province are different, and the data returned by the interface requests are different. After a period of time, the request will no longer be a necessary condition for passage and can be closed if needed. Based on the above situation, the request is loaded as a secondary business. If the function of the secondary business software is closed, then the person can open the gate through the authorization identification of the main business software.

[0074] The business software configuration module is used to configure the interception rules from the business software and the return specifications for information returned to the main business software.

[0075] The service interception module is used to intercept the service from the service software based on the interception rules and generate a first interception result;

[0076] The first interception result synchronization module is used for the main business software to send an interception result acquisition request to the slave business software via HTTP, and the slave business software to synchronize the first interception result to the main business software based on the return specification.

[0077] The access control terminal control module is used by the main business software to control the operation of the access control terminal based on the first interception result and the second interception result of the main business.

[0078] In the business software setting module, the return specifications include at least the gate opening identifier, the reason for interception, the custom display field, and the display identifier;

[0079] The gate opening indicator is used to indicate whether the access control terminal needs to perform a gate opening operation; the display indicator is used to indicate whether the reason for the block needs to be displayed.

[0080] To truly achieve decoupling and isolation between the main business and the slave business, not all data attributes of the slave business software will be returned to the main business software for parsing. Instead, the parsed results will be returned to the main business software to determine whether to open the gate and why not to. Therefore, the aforementioned return specification is set.

[0081] Examples of information returned based on the aforementioned return specifications are as follows:

[0082]

[0083] The main business software can decide whether to open the gate based on this information. If the gate is not opened, the specific reason for the blockade should be presented. Alternatively, after allowing passage, a custom display field can be displayed, such as "Please wear a mask" or "Expiring soon".

[0084] The first interception result synchronization module is specifically used for:

[0085] On the access control terminal, an HTTP server process is created for the slave business software. The master business software sends a request to the slave business software to obtain the interception result carrying personnel information in the form of an HTTP client.

[0086] The system retrieves personnel information from the interception result received by the business software, matches the corresponding first interception result based on the personnel information, and synchronizes the first interception result to the main business software based on the return specification.

[0087] Because the main business needs to wait for the information parsing of the slave business before jointly determining whether to open the gate, the communication between the main business software and the slave business software adopts a synchronous mechanism.

[0088] For example, after receiving the return information from the platform from the business software, the system parses the standard business data based on the current parameter configuration and requirements, and returns it to the main business software. An example is as follows:

[0089]

[0090]

[0091] The access control terminal control module is specifically used for:

[0092] The main business software determines whether both the first interception result and the second interception result of the main business are allowed to pass. If so, it controls the access control terminal to open the gate and prompts the user with a custom display field. If not, it controls the access control terminal to keep the gate closed and prompts the user with a custom display field.

[0093] This invention is not only applied to business interception in network request scenarios, but also opens up a new world of easily customized requirements in master-slave business mechanisms. For example, certain gate opening protocols require sending specific data to a designated controller using the RS-485 protocol. Successful gate opening returns no interception, while failure returns interception. Different controller manufacturers require different data. Conventionally, this would involve customizing these protocols within the access control software. However, we also allow the master business to initiate an HTTP request to the slave business when personnel pass through, and the slave business then uses the corresponding RS-485 protocol to open the gate. This avoids the need for customizing the access control software for specific gate opening scenarios.

[0094] Based on the same inventive concept, this application provides an electronic device embodiment corresponding to Embodiment 1, as detailed in Embodiment 3.

[0095] Example 3

[0096] This embodiment provides a master-slave service interception device for access control terminals, such as... Figure 3 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can implement any of the embodiments in Example 1.

[0097] Since the electronic device described in this embodiment is the device used to implement the method in Embodiment 1 of this application, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the method described in Embodiment 1 of this application. Therefore, how the electronic device implements the method in the embodiment of this application will not be described in detail here. Any device used by those skilled in the art to implement the method in the embodiment of this application falls within the scope of protection of this application.

[0098] Based on the same inventive concept, this application provides a storage medium corresponding to Embodiment 1, as detailed in Embodiment 4.

[0099] Example 4

[0100] This embodiment provides a master-slave service interception medium for access control terminals, such as... Figure 4As shown, a computer program is stored thereon, which, when executed by a processor, can implement any of the embodiments in Example 1.

[0101] Since the storage medium described in this embodiment is the same storage medium used to implement the method in Embodiment 1 of this application, those skilled in the art can understand the specific implementation methods and various variations of the storage medium in this embodiment based on the method described in Embodiment 1 of this application. Therefore, how the storage medium implements the method in this application embodiment will not be described in detail here. Any storage medium used by those skilled in the art to implement the method in this application embodiment falls within the scope of protection of this application.

[0102] The technical solutions provided in this application embodiment have at least the following technical effects or advantages:

[0103] Based on the service types of the access control terminal, the access control terminal software is divided into main service software and slave service software. Interception rules and return specifications are set for the slave service software. The slave service software intercepts slave services based on the interception rules and generates a first interception result. The main service software synchronizes the first interception result to the slave service software via HTTP. The main service software controls the operation of the access control terminal based on the first interception result and the second interception result of the main service. In other words, the access control terminal software is managed by splitting it into main service software and slave service software. When slave services change, only the slave service software needs to be redesigned, eliminating the need to redesign the entire software as in traditional methods. This also avoids unclear functional branches between different software versions, greatly improving the convenience of access control terminal software management and significantly reducing the development cost of access control terminal software.

[0104] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0105] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0106] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0107] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0108] While specific embodiments of the present invention have been described above, those skilled in the art should understand that the specific embodiments described are merely illustrative and not intended to limit the scope of the present invention. Equivalent modifications and variations made by those skilled in the art in accordance with the spirit of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for intercepting master-slave services in an access control terminal, characterized in that: Includes the following steps: Step S10: Based on the service type of the access control terminal, divide the access control terminal software into main service software and secondary service software; Step S20: Set the interception rules from the business software and the return specifications for returning information to the main business software; Step S30: The business software intercepts the business based on the interception rules and generates a first interception result; Step S40: The main business software sends an interception result acquisition request to the slave business software via HTTP, and the slave business software synchronizes the first interception result to the main business software based on the returned specification. Step S50: The main business software controls the operation of the access control terminal based on the first interception result and the second interception result of the main business.

2. The access control terminal master-slave service interception method as described in claim 1, characterized in that: In step S20, the return specification includes at least the gate opening identifier, the reason for interception, the custom display field, and the display identifier; The gate opening indicator is used to indicate whether the access control terminal needs to perform a gate opening operation; the display indicator is used to indicate whether the reason for the block needs to be displayed.

3. The access control terminal master-slave service interception method as described in claim 1, characterized in that: Step S40 specifically involves: On the access control terminal, an HTTP server process is created for the slave business software. The master business software sends a request to the slave business software to obtain the interception result carrying personnel information in the form of an HTTP client. The system retrieves personnel information from the interception result received by the business software, matches the corresponding first interception result based on the personnel information, and synchronizes the first interception result to the main business software based on the return specification.

4. The access control terminal master-slave service interception method as described in claim 1, characterized in that: Step S50 specifically involves: The main business software determines whether both the first interception result and the second interception result of the main business are allowed to pass. If so, it controls the access control terminal to open the gate and prompts the user with a custom display field. If not, it controls the access control terminal to keep the gate closed and prompts the user with a custom display field.

5. A master-slave service interception system for access control terminals, characterized in that: Includes the following modules: The software partitioning module is used to divide the access control terminal software into main business software and secondary business software based on the business type of the access control terminal. The business software configuration module is used to configure the interception rules from the business software and the return specifications for information returned to the main business software. The service interception module is used to intercept the service from the service software based on the interception rules and generate a first interception result; The first interception result synchronization module is used for the main business software to send an interception result acquisition request to the slave business software via HTTP, and the slave business software to synchronize the first interception result to the main business software based on the return specification. The access control terminal control module is used by the main business software to control the operation of the access control terminal based on the first interception result and the second interception result of the main business.

6. The access control terminal master-slave service interception system as described in claim 5, characterized in that: In the business software setting module, the return specifications include at least the gate opening identifier, the reason for interception, the custom display field, and the display identifier; The gate opening indicator is used to indicate whether the access control terminal needs to perform a gate opening operation; the display indicator is used to indicate whether the reason for the block needs to be displayed.

7. The access control terminal master-slave service interception system as described in claim 5, characterized in that: The first interception result synchronization module is specifically used for: On the access control terminal, an HTTP server process is created for the slave business software. The master business software sends a request to the slave business software to obtain the interception result carrying personnel information in the form of an HTTP client. The system retrieves personnel information from the interception result received by the business software, matches the corresponding first interception result based on the personnel information, and synchronizes the first interception result to the main business software based on the return specification.

8. The access control terminal master-slave service interception system as described in claim 5, characterized in that: The access control terminal control module is specifically used for: The main business software determines whether both the first interception result and the second interception result of the main business are allowed to pass. If so, it controls the access control terminal to open the gate and prompts the user with a custom display field. If not, it controls the access control terminal to keep the gate closed and prompts the user with a custom display field.

9. A master-slave service interception device for access control terminals, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 4.

10. A master-slave service interception medium for an access control terminal, wherein a computer program is stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 4.