Mode switching method, device, equipment and system of gate equipment and medium
By using the target smart card to control mode switching in rail transit gate equipment, the problem of poor mode switching flexibility in the existing technology is solved, and fast and flexible mode switching of gate equipment is achieved, which improves passenger flow management efficiency and accuracy.
Patent Information
- Application Number
- CN202411816635.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-04-25
AI Technical Summary
The existing rail transit gate equipment has poor flexibility in switching modes, complex operation, and it is difficult to quickly respond to dynamic changes in passenger flow, affecting the efficiency and effect of passenger flow control.
The configuration parameters in the target smart card are read through the gate reader and writer, and matched with the pre-stored configuration parameters. The gate processor controls the gate device to switch to the target service mode by the gate processor based on the mode switching rules.
It realizes fast and flexible mode switching of gate equipment, improves passenger flow evacuation efficiency, guarantees ticketing income, reduces the work burden of passenger service personnel, and improves the efficiency and accuracy of operation management.
Smart Images

Figure CN119888910A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of rail transit technology, and in particular to a mode switching method, device, equipment, system and medium for gate equipment. Background Art
[0002] In rail transit subway lines, secondary passenger control is usually implemented to cope with passenger flow during peak hours in the morning and evening and major holidays, so as to flexibly and dynamically start and stop gate services according to passenger flow conditions, as well as switch control of gate traffic directions. In addition, the existing methods also achieve rapid evacuation of passenger flow and ensure ticket revenue by building virtual payment areas and setting doors to be always open.
[0003] The switching control of gates in the existing rail transit automatic fare collection system (AFC) is mainly controlled by SC (Station Computer) or manually configured by a single machine. However, this switching method is relatively cumbersome in terms of operation steps, which is not conducive to rapid and effective deployment to stations with crowded passenger flow and rapid dynamic changes in passenger flow control. When the station operator needs to switch the gate service / stop or two-way gate entry / exit status according to the real-time passenger flow situation, the existing switching method may delay the timing due to the complexity of the operation, thereby affecting the efficiency and effectiveness of passenger flow control. Summary of the invention
[0004] The present application mainly provides a mode switching method, device, equipment, system and medium for gate equipment, aiming to solve the technical problem of poor flexibility in mode switching of existing gate equipment.
[0005] In order to solve the above technical problems, the technical solution adopted by the present application is: to provide a mode switching method for gate equipment. The mode switching method for gate equipment includes: reading a first configuration parameter in a target smart card through a gate reader; in response to determining that the first configuration parameter matches a second configuration parameter pre-stored in the gate reader, based on a mode switching rule associated with the second configuration parameter, controlling the gate equipment to switch to a target service mode through a gate processor; wherein the target smart card is obtained by configuring an initial smart card by a card making reader based on the first configuration parameter received and generated by a card making workstation, the second configuration parameter is generated by the card making workstation and sent to the gate reader, and the gate processor is also used to determine the corresponding mode switching rule based on the second configuration parameter.
[0006] In some embodiments, before reading the first configuration parameter in the target smart card through the gate reader, it also includes: performing card verification, data verification and application site verification on the target smart card; in response to failure of verification of the target smart card, issuing a verification failure prompt, and prohibiting the gate reader from reading parameters of the target smart card.
[0007] In some embodiments, before reading the first configuration parameter in the target smart card through the gate reader, it also includes: identifying the type of the card to be identified through the gate reader, and in response to determining that the card to be identified is not the target smart card, processing the card to be identified according to a preset subway business processing flow through the gate processor.
[0008] In some embodiments, in response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader / writer, based on the mode switching rule associated with the corresponding second configuration parameter, before controlling the gate device to switch to the target service mode through the gate processor, it also includes: in response to the service type fields of the first configuration parameter and the second configuration parameter being the same, determining that the first configuration parameter matches the second configuration parameter.
[0009] In some embodiments, in response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader / writer, based on the mode switching rule associated with the corresponding second configuration parameter, after controlling the gate device to switch to the target service mode through the gate processor, it also includes: synchronizing the target service mode of the gate device to the subway line network clearing center and the station computer.
[0010] In some embodiments, the initial smart card adopts Mifare S50 or Mifare S70 standard card and complies with ISO14443A standard.
[0011] To solve the above technical problems, another technical solution adopted in the present application is: to provide a mode switching device for a gate device, the mode switching device comprising: a parameter reading module, used to call a gate reader to read a first configuration parameter in a target smart card; a switching control module, used to call a gate processor to control the gate device to switch to a target service mode in response to determining that the first configuration parameter matches a second configuration parameter pre-stored in the gate reader, based on a mode switching rule associated with the second configuration parameter; wherein the target smart card is obtained by configuring an initial smart card by a card making reader based on the first configuration parameter received and generated by a card making workstation, the second configuration parameter is generated by the card making workstation and sent to the gate reader, and the gate processor is also used to determine the corresponding mode switching rule based on the second configuration parameter.
[0012] In order to solve the above technical problems, another technical solution adopted in the present application is: to provide a gate device, which includes a gate reader and a gate processor connected to each other; the gate reader is used to read the first configuration parameter in the target smart card; the gate processor is used to control the gate device to switch to the target service mode in response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader, based on the mode switching rule associated with the second configuration parameter; wherein the target smart card is obtained by configuring the initial smart card by the card making reader based on the first configuration parameter received and generated by the card making workstation, the second configuration parameter is generated by the card making workstation and sent to the gate reader, and the gate processor is also used to determine the corresponding mode switching rule based on the second configuration parameter.
[0013] In order to solve the above-mentioned technical problems, another technical solution adopted in the present application is: to provide a gate control system, which includes a gate device as mentioned above, a target smart card and a card making device, wherein the card making device includes a card making reader and a card making workstation connected to each other, and the card making workstation is communicatively connected to the gate reader of the gate device; wherein the card making workstation is used to generate the first configuration parameter and the second configuration parameter, and send the first configuration parameter to the card making reader, and send the second configuration parameter to the gate reader; the card making reader is used to configure the initial smart card based on the received first configuration parameter to obtain the target smart card.
[0014] In order to solve the above technical problems, another technical solution adopted in the present application is: providing a storage medium having program data stored thereon, characterized in that when the program data is executed by a processor, the steps of the mode switching method of the gate device as described above are implemented.
[0015] The beneficial effects of the present application are as follows: Different from the prior art, the present application discloses a mode switching method, device, equipment, system and medium for gate equipment. The present application adopts a target smart card for gate equipment to identify and configure, so that the gate equipment can automatically switch the service mode, accurately control the service mode of the gate equipment, and achieve a more flexible and fast switching operation mode, greatly improving the gate switching speed to cope with the switching of various operation modes in the operation and management of rail transit, and effectively improving the mode switching efficiency and accuracy of gate equipment under dynamic changes in passenger flow, so as to achieve the purpose of quickly evacuating passenger flow, ensuring ticket revenue and improving passenger transportation organization efficiency, better meet the passenger control needs of stations, and achieve the reduction of burden and increase of efficiency of passenger service personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application 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 of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0017] Figure 1 It is a flow chart of an embodiment of a mode switching method for a gate device provided by the present application;
[0018] Figure 2 It is a structural schematic diagram of an embodiment of a mode switching device for a gate device provided by the present application;
[0019] Figure 3 It is a structural schematic diagram of an embodiment of a gate device provided by the present application;
[0020] Figure 4 It is a structural schematic diagram of an embodiment of a gate control system provided by the present application;
[0021] Figure 5 It is a structural diagram of an embodiment of a storage medium provided by the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] The terms "first", "second", "third" in the embodiments of the present application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the feature defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of the present application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically limited. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0024] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0025] This application provides a mode switching method for a gate device, referring to Figure 1 , Figure 1 1 is a flow chart of an embodiment of a mode switching method for a gate device provided by the present application. The mode switching method for a gate device includes:
[0026] Step 10: Read the first configuration parameter in the target smart card through the gate reader.
[0027] In this embodiment, the gate reader is a built-in or external reading and writing device of the gate device. The gate reader can read the target smart card based on communication identification technologies such as Near Field Communication (NFC) and Radio Frequency Identification (RFID), or through data recognition technology for specific digital codes or image codes. When the target smart card is close to the gate, the reader will automatically read the information including the first configuration parameter in the target smart card and perform related processing. Among them, the first configuration parameter refers to the configuration parameter related to the service mode of the gate device, such as service mode identification, service time, service rate, service object and other information. These parameters are stored in the target smart card, so that the gate device can perform subsequent parameter matching and service mode adjustment according to these parameters to adapt to different operational needs.
[0028] In this embodiment, the target smart card is obtained by configuring the initial smart card by the card making reader based on the first configuration parameters generated by the card making workstation. The initial smart card refers to a blank smart card that has not been configured or a smart card that can be directly obtained and needs to be modified, and can be read and written by the corresponding card making reader and gate reader. Preferably, the initial smart card preferably adopts Mifare S50 or Mifare S70 standard card and complies with ISO14443A standard. Mifare S50 and Mifare S70 standard cards are smart card types widely used in the field of public transportation. The corresponding standard cards usually have good compatibility and stability, and can provide reliable technical support for the mode switching of gate equipment, ensuring the accuracy and efficiency of gate equipment when reading and processing smart card information. The ISO14443A standard defines a contactless card standard that can ensure the consistency and reliability of data transmission between the card and the reader.
[0029] In this embodiment, the card making workstation can be a dedicated computer device or module, which is deployed independently of the gate device, or it can be a separate device or a specific functional module in the device. A dedicated card making device application software can be run in the card making workstation, and the parameters are read and written by controlling the card making reader. The reading and writing of the parameters can specifically be to write the first configuration parameter directly into the initial smart card, or to add, delete, modify and check the configuration items of the data in the initial smart card based on the first configuration parameter, or to regenerate new configuration parameters for card making control processing. Among them, the card making reader is a device connected to the card making workstation, which is used to receive the first configuration parameters generated by the card making workstation, and write these parameters into the initial smart card, so as to generate the target smart card. The card making reader and the card making workstation are connected in communication to ensure the accuracy and security of data transmission.
[0030] In this embodiment, the card making device application software can be optimized so that the card making workstation can realize functions such as card identification, card information verification, card writing information generation, and card writing operation control by controlling the card making reader / writer to meet the needs of card making, thereby realizing a standardized card making process. In addition, the card making device application software can also optionally encrypt the data inside the smart card through a specific encryption algorithm such as the national secret SM2 algorithm, the RSA encryption algorithm, the DES (Data Encryption Standard) algorithm, etc., to improve the security and reliability of the target smart card.
[0031] Optionally, before reading the first configuration parameter in the target smart card through the gate reader, it also includes: performing card verification, data verification and application site verification on the target smart card; in response to failure of verification of the target smart card, issuing a verification failure prompt, and prohibiting the gate reader from reading parameters of the target smart card.
[0032] In this optional embodiment, during the reading and writing process of the gate device, the gate reader will first perform a card check to verify the unique serial number and built-in security key of the smart card to ensure that the target smart card is valid and has not been tampered with. After confirming that the smart card is valid, the control gate reader will perform data verification to ensure the integrity and correctness of the first configuration parameter, such as checking the checksum and signature of the data, to ensure that the data has not been tampered with during the transmission process. The gate reader will also perform an application site check to compare the site information in the smart card with the site information of the gate device to ensure that the configuration parameters in the smart card are for the existing gate device and can be recognized by the gate device. When the check fails, for example, when the card check fails, the gate reader will immediately stop the operation of the smart card, and issue a check failure prompt through the gate reader to notify the user that the smart card check has not passed, so as to prevent the wrong or malicious smart card from affecting the gate device.
[0033] Optionally, before reading the first configuration parameter in the target smart card through the gate reader, it also includes: identifying the type of the card to be identified through the gate reader, and in response to determining that the card to be identified is not the target smart card, processing the card to be identified according to a preset subway business processing flow through the gate processor.
[0034] In this optional embodiment, the card to be identified refers to various types of cards that may be encountered during the normal operation of the gate device, including target smart cards, ordinary tickets and special passes, as well as non-passable tickets such as ID cards, bank cards, and game cards. In order to ensure that the gate device can correctly handle these cards, in this embodiment, the gate reader also has the function of identifying the type of card. When a card approaches the gate, the reader will first try to identify the type of card. If the identification result shows that the card is not the target smart card, the gate reader will process it according to the preset subway business processing flow. For example, normal entry and exit processing can be performed for ordinary tickets and special passes, while for non-passable tickets, rejection processing or guidance to the customer service center may be performed, ensuring that the gate device can make appropriate responses when facing different types of cards, thereby improving the security of the system and user experience.
[0035] This embodiment can accurately read and parse the first configuration parameter through the gate reader. The first configuration parameter obtained is then used for subsequent mode switching control. The subsequent gate processor executes the corresponding mode switching rule according to the matching of the first configuration parameter and the pre-stored second configuration parameter, thereby controlling the gate device to switch to the target service mode. This mode switching method not only improves the response speed of the gate device, but also enhances the flexibility and accuracy of its service mode switching, meeting the passenger flow management requirements under different operating modes. In addition, by using the target smart card for configuration, the gate device can quickly adapt to changes in operating modes, effectively improve passenger evacuation efficiency, ensure ticketing revenue, improve passenger organization efficiency, reduce the workload of passenger service personnel, and achieve the goal of reducing burden and increasing efficiency.
[0036] Step 20: In response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader, based on the mode switching rule corresponding to the second configuration parameter, the gate processor controls the gate device to switch to the target service mode.
[0037] In this embodiment, the second configuration parameter is a configuration parameter generated by the card making workstation and sent to the gate reader / writer. It can be determined by the card making workstation sending the first configuration parameter, or it can be additionally generated by the card making workstation. For example, the first configuration parameter can be determined according to the mode switching rule to obtain the target smart card, and the first configuration parameter can be sent to the gate reader as the second configuration parameter, so that when the target smart card is read, the gate device can quickly determine the corresponding mode switching rule and switch to the corresponding service mode; for another example, the first configuration parameter does not need to pay attention to the mode switching rule, but only needs to match the specific field in the second configuration parameter configured with the mode switching rule, and the mode is switched according to the mode switching rule corresponding to the second configuration parameter through field matching. Therefore, when generating the second configuration parameter, in addition to the specific field, more parameters associated with the mode switching rule need to be equipped, while when generating the first configuration parameter, as long as the corresponding specific field is provided, the corresponding mode switching rule can be triggered after matching; for another example, the first configuration parameter and the second configuration parameter only keep the specific field the same for matching, the first configuration parameter includes the configuration of multiple parameter items, and the second configuration parameter can receive the configuration of the corresponding parameter item after determining the match to update the data, and determine the corresponding mode switching rule according to the updated second configuration parameter.
[0038] In this embodiment, the gate processor is a central processing unit responsible for executing the control logic and mode switching of the gate device. It can match the first configuration parameter read with the pre-stored second configuration parameter, and execute the corresponding mode switching rule according to the matching result. The matching method includes but is not limited to full matching, partial matching, or matching through a specific algorithm. Through the internal control algorithm, the gate processor can quickly respond and switch the gate device to the target service mode based on the corresponding mode switching rule, ensuring that the gate device can provide corresponding services according to different operation needs.
[0039] In this embodiment, the mode switching rules are determined based on the configuration parameters, and the mode switching rules include but are not limited to the start conditions of the service mode, the end conditions of the service mode, the conversion logic between the service modes, etc. These rules are stored in the processor of the gate device, so that after receiving the corresponding configuration parameters, it can quickly make a judgment and execute the corresponding service mode switching operation, and adjust the switch state, passage direction, ticket inspection requirements, etc. of the gate device to adapt to different operation modes. For example, a target smart card switches the gate device to the service mode before the peak passenger flow period, then in the corresponding target service mode, it may be necessary to control some gate devices from the idle state to the service state, and switch some gate devices from the exit-only state to the entry-only state. Then the corresponding mode switching rules can be a configuration for switching the gate device to the service state and the entry-only state, so that the corresponding gate device can quickly switch to the corresponding state after identifying the corresponding target smart card, and can also adjust the corresponding indicator light color, voice prompt content, display screen information, etc., to better adapt to the operation needs.
[0040] In this embodiment, the second configuration parameter is pre-stored in the gate reader, for example, the second configuration parameter is stored in the non-volatile memory of the gate reader, ensuring that the second configuration parameter will not be lost even in the case of power failure, thereby ensuring that the gate device can accurately switch the service mode under any circumstances. The pre-storage of the second configuration parameter in the gate reader in advance enables the first configuration parameter in the target smart card to be quickly matched after being read by the gate reader, and the mode switching is performed according to the matching result.
[0041] In this embodiment, a variety of different target service modes can be set for different time periods, passenger flow, event events and environmental factors. For example, peak mode, off-peak mode, holiday mode, special event mode, etc. can be set. In each mode, the operating parameters and behavior rules of the gate equipment are different to adapt to different operational needs and passenger flow characteristics. In peak mode, the gate equipment may increase the number of open channels and reduce the strictness of ticket verification to speed up the passage of passenger flow; while in off-peak mode, the number of open channels may be reduced and the strictness of ticket verification may be increased to ensure ticket security. The holiday mode may be adjusted according to the passenger flow characteristics of specific holidays, such as adding temporary channels and adjusting the direction of travel. The special event mode may be specially set for large-scale events such as concerts and sports events, such as setting up special fast lanes and providing tickets with special logos. By setting multiple service modes and configuring the parameters related to the mode switching rules to achieve more refined passenger flow management, it is beneficial to improve the operational efficiency of rail transit and enhance the flexibility and safety of rail transit operation management.
[0042] Optionally, in response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader / writer, before controlling the gate device to switch to the target service mode through the gate processor based on the mode switching rule corresponding to the second configuration parameter, it also includes: in response to the service type fields of the first configuration parameter and the second configuration parameter being the same, determining that the first configuration parameter matches the second configuration parameter.
[0043] In this optional embodiment, the service type field is a specific field used to identify the type of smart card control mode. This field is used in the smart card to distinguish different service modes. For example, this field can be a code used to identify peak mode, off-peak mode, holiday mode, or special event mode. When the gate reader reads the target smart card, it will first check the service type field to determine the service mode represented by the card. If this field matches the corresponding field in the second configuration parameter pre-stored in the gate reader, the gate processor will perform the corresponding service mode switching operation according to the preset mode switching rules. The setting of this service type field enables the gate equipment to quickly identify and adapt to different operational needs, thereby achieving efficient and flexible passenger flow management.
[0044] Optionally, in response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader / writer, based on the mode switching rule corresponding to the second configuration parameter, after controlling the gate device to switch to the target service mode through the gate processor, it also includes: synchronizing the target service mode of the gate device to the subway line network clearing center and the station computer.
[0045] In this optional embodiment, the subway network clearing center (AFC Clearing Center, ACC) is the part of the rail transit automatic ticket vending and checking system that is responsible for the settlement and analysis of ticket data, including the revenue distribution of each line, passenger flow statistics and summary analysis of operating data. The station computer is the system responsible for managing the ticket processing, passenger flow monitoring and equipment status of this site. When the gate equipment switches to the target service mode, the relevant information needs to be synchronized to these systems to ensure that the ticket data and operating status of the entire rail transit network remain consistent. For example, when the gate equipment switches to holiday mode, the subway network clearing center will receive the signal of this mode switch and adjust the ticket revenue distribution and passenger flow statistics strategy accordingly. At the same time, the station computer will also update its display interface and operating procedures to adapt to the new service mode to ensure that passengers can get accurate instructions and a smooth travel experience.
[0046] This embodiment ensures data consistency of the entire system by synchronizing the relevant information to the subway network clearing center and station computer after the gate equipment completes mode switching and enters the target service mode. This process can be carried out through a secure network communication protocol to ensure the security and accuracy of data transmission. After receiving the synchronization information, the subway network clearing center and station computer will update the service mode status in their database to facilitate subsequent passenger flow statistics, ticket settlement and operational decision support. In addition, the synchronization operation can also trigger linkage responses of other related systems, such as automatically adjusting the station broadcast system, sign system, etc., to provide a more coherent and consistent passenger service experience. Through this real-time synchronization mechanism, the subway operation center can more accurately grasp the passenger flow of each station, adjust the operation strategy in a timely manner, and realize efficient coordination and unified management of the entire rail transit network, which is conducive to further improving the operational efficiency and service quality of rail transit.
[0047] See also Figure 2 , Figure 2 It is a structural schematic diagram of an embodiment of a mode switching device for a gate device provided in the present application.
[0048] The mode switching device 30 includes: a parameter reading module 31, which is used to call the gate reader to read the first configuration parameter in the target smart card; a switching control module 32, which is used to call the gate processor to control the gate device to switch to the target service mode in response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader, based on the mode switching rule associated with the second configuration parameter; wherein the target smart card is obtained by configuring the initial smart card by the card making reader based on the first configuration parameter received and generated by the card making workstation, the second configuration parameter is generated by the card making workstation and sent to the gate reader, and the gate processor is also used to determine the corresponding mode switching rule based on the second configuration parameter.
[0049] Optionally, in some embodiments, the parameter reading module 31 is also specifically used to: perform card verification, data verification and application site verification on the target smart card; in response to failure of verification of the target smart card, issue a verification failure prompt, and prohibit the gate reader from reading parameters of the target smart card.
[0050] Optionally, in some embodiments, the parameter reading module 31 is specifically used to: call the gate reader to identify the type of the card to be identified, and in response to determining that the card to be identified is not the target smart card, call the gate processor to process the card to be identified according to a preset subway business processing flow.
[0051] Optionally, in some embodiments, the switching control module 32 is further specifically configured to: in response to the service type fields of the first configuration parameter and the second configuration parameter being the same, determine that the first configuration parameter matches the second configuration parameter.
[0052] Optionally, in some embodiments, the switching control module 32 is further specifically used to: synchronize the target service mode of the gate equipment to the subway line network clearing center and the station computer.
[0053] Optionally, in some embodiments, the initial smart card adopts Mifare S50 or Mifare S70 standard card and complies with ISO14443A standard.
[0054] Since the embodiments of the device part correspond to the embodiments of the above-mentioned method, please refer to the above-mentioned method embodiment for the introduction of the mode switching device 30 of the gate equipment provided in the embodiment of the present invention. The embodiment of the present invention will not be repeated here, and it has the same beneficial effects as the mode switching method of the above-mentioned gate equipment.
[0055] See also Figure 3 , Figure 3 It is a structural schematic diagram of an embodiment of a gate device provided in this application.
[0056] The gate device 40 includes a gate reader / writer 41 and a gate processor 42 that are interconnected; the gate reader / writer 41 is used to read the first configuration parameter in the target smart card; the gate processor 42 is used to control the gate device 40 to switch to the target service mode in response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader / writer 41, based on the mode switching rule associated with the second configuration parameter; wherein the target smart card is obtained by configuring the initial smart card by the card making reader / writer based on the first configuration parameter received and generated by the card making workstation, the second configuration parameter is generated by the card making workstation and sent to the gate reader / writer 41, and the gate processor 42 is also used to determine the corresponding mode switching rule based on the second configuration parameter.
[0057] Optionally, in some embodiments, the gate reader 41 is also used to perform card verification, data verification and application site verification on the target smart card; in response to failure of verification of the target smart card, a verification failure prompt is issued, and parameter reading of the target smart card is prohibited.
[0058] Optionally, in some embodiments, the gate reader 41 is also used to identify the type of the card to be identified, and the gate processor 42 is also used to process the card to be identified according to a preset subway business processing flow in response to determining that the card to be identified is not a target smart card.
[0059] Optionally, in some embodiments, the gate processor 42 is further configured to determine that the first configuration parameter matches the second configuration parameter in response to the service type fields of the first configuration parameter and the second configuration parameter being the same.
[0060] Optionally, in some embodiments, the gate processor 42 is also used to synchronize the target service mode of the gate device 40 to the subway network clearing center and the station computer.
[0061] Optionally, in some embodiments, the initial smart card adopts Mifare S50 or Mifare S70 standard card and complies with ISO14443A standard.
[0062] Since the embodiments of the gate device 40 part correspond to the embodiments of the above-mentioned method, please refer to the above-mentioned method embodiments for the introduction of the gate device 40 provided in the embodiments of the present invention. The embodiments of the present invention will not be repeated here, and it has the same beneficial effects as the mode switching method of the above-mentioned gate device.
[0063] See also Figure 4 , Figure 4 It is a structural schematic diagram of an embodiment of a gate control system provided in this application.
[0064] The gate control system 50 includes: Figure 3 The gate device 40, target smart card 51 and card making device 52 described, the card making device 52 includes a card making reader 521 and a card making workstation 522 connected to each other, the card making workstation 522 is communicatively connected with the gate reader 41 of the gate device 40; wherein the card making workstation 522 is used to generate a first configuration parameter and a second configuration parameter, and send the first configuration parameter to the card making reader 521, and send the second configuration parameter to the gate reader 41; the card making reader 521 is used to configure the initial smart card based on the received first configuration parameter to obtain the target smart card 51.
[0065] Since the gate device 40 in the gate control system 50 is similar to Figure 3The embodiments of the gate device 40 correspond to each other, and the card making reader / writer 521 and the card making workstation 522 are relatedly introduced in the aforementioned mode switching method of the gate device. Therefore, for the introduction of the gate control system 50 provided in the embodiment of the present invention, please refer to the above-mentioned method embodiment and the gate device 40 embodiment. The embodiment of the present invention will not be repeated here, and it has the same beneficial effects as the above-mentioned mode switching method of the gate device and the gate device 40.
[0066] See also Figure 5 , Figure 5 It is a structural diagram of an embodiment of the storage medium provided by the present application.
[0067] The storage medium 60 stores program data 61. When the program data 61 is executed by the processor, the following is achieved: Figures 1 to 4 The described method for switching modes of a gate device.
[0068] The program data 61 is stored in a storage medium 60, and includes a number of instructions for enabling a network device (such as a router, a personal computer, a server, or other network device) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application.
[0069] Optionally, the storage medium 60 may be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, or other medium that can store the program data 61 .
[0070] Different from the prior art, the present application discloses a mode switching method, device, equipment, system and medium for gate equipment. By using a target smart card for gate equipment to identify and configure, the gate equipment can automatically switch the service mode, accurately control the service mode of the gate equipment, and achieve a more flexible and fast switching operation mode, greatly improving the gate switching speed to cope with the switching of various operation modes in the operation and management of rail transit, effectively improving the mode switching efficiency and accuracy of gate equipment under dynamic changes in passenger flow, so as to achieve the purpose of quickly evacuating passenger flow, ensuring ticket revenue and improving passenger transportation organization efficiency, better meet the passenger control needs of stations, and achieve the reduction of burden and increase of efficiency of passenger service personnel.
[0071] 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, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, equipment embodiment, system embodiment and storage medium embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0072] The present application can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0073] In the several embodiments provided in this application, it should be understood that the disclosed methods, devices, equipment, systems and storage media can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0075] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0076] The above are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A mode switching method for a gate device, characterized in that: include: Reading a first configuration parameter in a target smart card through a gate reader; In response to determining that the first configuration parameter matches a second configuration parameter pre-stored in the gate reader / writer, based on a mode switching rule associated with the second configuration parameter, controlling the gate device to switch to a target service mode through a gate processor; Among them, the target smart card is obtained by configuring the initial smart card by the card making reader based on the first configuration parameters generated by the card making workstation, the second configuration parameters are generated by the card making workstation and sent to the gate reader, and the gate processor is also used to determine the corresponding mode switching rules based on the second configuration parameters.
2. The mode switching method of gate equipment according to claim 1, characterized in that: Before reading the first configuration parameter in the target smart card by the gate reader / writer, the method further includes: Performing card verification, data verification and application site verification on the target smart card; In response to a failure in verifying the target smart card, a verification failure prompt is issued, and the gate reader is prohibited from reading parameters of the target smart card.
3. The mode switching method of gate equipment according to claim 1, characterized in that: Before reading the first configuration parameter in the target smart card by the gate reader / writer, the method further includes: The type of the card to be identified is identified by the gate reader / writer, and in response to determining that the card to be identified is not the target smart card, the gate processor processes the card to be identified according to a preset subway business processing flow.
4. The mode switching method of gate equipment according to claim 1, characterized in that: In response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader, before controlling the gate device to switch to the target service mode through the gate processor based on the mode switching rule associated with the corresponding second configuration parameter, the method further includes: In response to the service type fields of the first configuration parameter and the second configuration parameter being the same, it is determined that the first configuration parameter matches the second configuration parameter.
5. The mode switching method of gate equipment according to claim 1, characterized in that: In response to determining that the first configuration parameter matches the second configuration parameter pre-stored in the gate reader, after controlling the gate device to switch to the target service mode through the gate processor based on the mode switching rule associated with the corresponding second configuration parameter, the method further includes: The target service mode of the gate equipment is synchronized to the subway network clearing center and the station computer.
6. The mode switching method of gate equipment according to claim 1, characterized in that: The initial smart card adopts Mifare S50 or Mifare S70 standard card and complies with ISO14443A standard.
7. A mode switching device for a gate device, characterized in that: The mode switching device comprises: A parameter reading module, used for calling the gate reader to read the first configuration parameter in the target smart card; A switching control module, configured to, in response to determining that the first configuration parameter matches a second configuration parameter pre-stored in the gate reader, call a gate processor to control the gate device to switch to a target service mode based on a mode switching rule associated with the second configuration parameter; Among them, the target smart card is obtained by configuring the initial smart card by the card making reader based on the first configuration parameters generated by the card making workstation, the second configuration parameters are generated by the card making workstation and sent to the gate reader, and the gate processor is also used to determine the corresponding mode switching rules based on the second configuration parameters.
8. A gate device, characterized in that: The gate device includes a gate reader and a gate processor connected to each other; The gate reader is used to read the first configuration parameter in the target smart card; The gate machine processor is used for controlling the gate machine device to switch to a target service mode based on a mode switching rule associated with the second configuration parameter in response to determining that the first configuration parameter matches a second configuration parameter pre-stored in the gate machine reader / writer; Among them, the target smart card is obtained by configuring the initial smart card by the card making reader based on the first configuration parameters generated by the card making workstation, the second configuration parameters are generated by the card making workstation and sent to the gate reader, and the gate processor is also used to determine the corresponding mode switching rules based on the second configuration parameters.
9. A gate control system, characterized in that: The gate control system comprises the gate device as claimed in claim 8, a target smart card and a card making device, wherein the card making device comprises a card making reader and a card making workstation connected to each other, and the card making workstation is communicatively connected to the gate reader of the gate device; The card making workstation is used to generate the first configuration parameter and the second configuration parameter, and send the first configuration parameter to the card making reader / writer, and send the second configuration parameter to the gate reader / writer; The card reader / writer is used to configure the initial smart card based on the received first configuration parameters to obtain the target smart card.
10. A storage medium having program data stored thereon, characterized in that: When the program data is executed by a processor, the steps of the mode switching method of the gate device as described in any one of claims 1 to 6 are implemented.