CN110796220B - Public transportation-based identification code sending system - Google Patents

Public transportation-based identification code sending system Download PDF

Info

Publication number
CN110796220B
CN110796220B CN201910962681.2A CN201910962681A CN110796220B CN 110796220 B CN110796220 B CN 110796220B CN 201910962681 A CN201910962681 A CN 201910962681A CN 110796220 B CN110796220 B CN 110796220B
Authority
CN
China
Prior art keywords
emergency
code generation
module
signature data
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910962681.2A
Other languages
Chinese (zh)
Other versions
CN110796220A (en
Inventor
王博
张利全
方琳
宋泽尧
郑先乐
汪珩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruubypay Science And Technology Co ltd
Original Assignee
Beijing Ruubypay Science And Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ruubypay Science And Technology Co ltd filed Critical Beijing Ruubypay Science And Technology Co ltd
Priority to CN201910962681.2A priority Critical patent/CN110796220B/en
Publication of CN110796220A publication Critical patent/CN110796220A/en
Application granted granted Critical
Publication of CN110796220B publication Critical patent/CN110796220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/088Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/04Telephonic communication systems specially adapted for combination with other electrical systems with alarm systems, e.g. fire, police or burglar alarm systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Educational Administration (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention relates to the technical field of public transportation travel, in particular to an identification code transmitting system based on public transportation. The system comprises a main code generation module, a code generation module and a code generation module, wherein the main code generation module is used for providing code generation service for a code generation client, and the code generation service comprises authorization signature data generation service; the code generation client is used for enabling a user to register and log in an account, acquiring authorization signature data or emergency authorization signature data from the main code generation module or the emergency code generation module after the account is registered and logged in, and generating an identification code; the emergency code generation module is used for detecting the state of the main code generation module, and providing emergency code generation service for the code generation client when detecting that the code generation abnormality of the main code generation module can not provide code generation service for the code generation client. When the main code generation module fails and code generation cannot be performed, the emergency code generation system is switched to an emergency mode, and the code generation client is connected with the emergency code generation module to acquire emergency authorization signature data, so that an emergency two-dimensional code is generated. For the user to verify in order to pass the gate and take the bus.

Description

Public transportation-based identification code sending system
Technical Field
The invention relates to the technical field of public transportation travel, in particular to an identification code transmitting system based on public transportation.
Background
Public transportation can be divided into rail transportation, road transportation, water transportation, air transportation and the like, and along with development of information technology and popularization of intelligent mobile equipment, a plurality of more convenient and convenient payment modes are also presented in the public transportation field, for example: NFC and mobile phone APP two-dimension code riding and the like. However, NFC needs to rely on hardware, and most of mobile devices supporting NFC in China are high-end mobile phones at present, so that a mode of generating two-dimension codes by using mobile phone APP to take public transportation appears. The two-dimensional code riding appears, riding efficiency and user experience are greatly improved, and inconvenience of carrying a plurality of cards and cash is avoided. However, the technical complexity of two-dimensional code riding also causes high risk and instability, and the cases of code generation failure are all the same. The reasons for failure are also quite different, so that the repair time is difficult to control, and an emergency standby code generation scheme is needed to solve the sudden code generation failure accident.
Disclosure of Invention
The invention provides an identification code transmitting system based on public transportation, which can quickly provide a standby two-dimensional code after code generation fails and solves the problem of code generation failure.
The technical scheme adopted by the invention is as follows:
an identification code transmitting system based on public transportation, comprising:
The system comprises a main code generation module, a code generation module and a code generation module, wherein the main code generation module is used for providing code generation service for a code generation client, and the code generation service comprises authorization signature data generation service;
The code generation client is used for enabling a user to register and log in an account, acquiring authorization signature data or emergency authorization signature data from the main code generation module or the emergency code generation module after the account is registered and logged in, and generating an identification code; the identification code is used for identifying the gate terminal when the user enters and exits;
the emergency code generation module is used for detecting the state of the main code generation module, and providing emergency code generation service for the code generation client when detecting that the code generation abnormality of the main code generation module can not provide code generation service for the code generation client.
Further, the system also comprises an emergency management module; the emergency management module is used for acquiring and displaying an automatic emergency state and a manual emergency state, opening or closing the manual emergency state, when the code generation client cannot generate codes, but the emergency code generation module does not detect that the code generation of the main code generation module is abnormal, the manual emergency state can be manually opened, the priority of the manual emergency state is higher than that of the automatic emergency state, after the manual emergency state is opened, the code generation client requests to directly request the emergency code generation module for emergency code generation service, and at the moment, even if the automatic emergency state is in a closed state, the emergency code generation module can still provide the emergency code generation service for the code generation client.
Further, the code generation service further comprises a code generation condition query service, an authorization signature data management service and an authorization signature data issuing service.
Further, the primary code generation module includes: the system comprises a background module, a key management module, a key issuing module and an encryption machine;
The background module is used for being responsible for code generation condition query service of a user, wherein the code generation condition query service comprises the step of querying a third party payment channel whether the user has code generation capability or not, including whether the user is a wind control user, whether the user has arrears, whether balance is sufficient or not, and whether the user is in a blacklist or not;
the key management module is used for authorizing signature data management service, wherein the authorizing signature data management service comprises the steps of recording the condition that a user acquires authorizing signature data and the acquisition times of the authorizing signature data on the same day, and setting expiration time of the authorizing signature data;
the key issuing module is used for authorizing signature data issuing service, and the authorizing signature data issuing service comprises the steps of acquiring and sending user data, a user public key, authorized signature data expiration time and the like to the encryption machine.
The encryptor is used for authorizing signature data to generate service, and is used for generating authorizing signature data according to the information sent by the received key issuing module.
The encryption machine is host encryption equipment which is authenticated and approved to be used by national commercial password authorities and is developed at home, the encryption machine supports a plurality of password algorithms which are commonly used internationally at present, and the supported asymmetric encryption algorithms comprise RSA, DSA, elliptic curve password algorithm and SM2, and the encryption algorithm used by the encryption machine in the invention is SM2.SM2 is an elliptic curve public key cryptographic algorithm issued by the national cryptography bureau, and SM2 is a more advanced security algorithm that was used to replace the RSA algorithm in our national commercial cryptography.
Further, the code generation client comprises an account management module, an identification code generation module and a mode switching module;
the account management module is used for enabling a user to register and log in an account;
The identification code generation module is used for acquiring authorization signature data or emergency authorization signature data from the main code generation module or the emergency code generation module to generate an identification code;
The mode switching module is used for monitoring the code generation condition query interface and/or acquiring the authorization signature data interface, if the code generation condition query interface and/or acquiring the authorization signature data interface are/is not responded after the preset time is exceeded, or the code generation condition query interface and/or the authorization signature data interface is/are detected to be abnormal, the mode switching module is switched to an emergency mode, the emergency code generation module is started, and the emergency code generation service is acquired from the emergency code generation module to complete code generation.
Further, the emergency code generation module comprises: the emergency secret pipe system comprises an emergency secret pipe module, a main probe, an emergency short message platform, an emergency key issuing module and an emergency encryption machine;
The emergency secret management module is used for emergency authorization signature data management service in an emergency state, wherein the emergency authorization signature data management service comprises the steps of recording the condition that a user acquires emergency authorization signature data and the acquisition times of the emergency authorization signature data on the same day, and setting the expiration time of the emergency authorization signature data;
The main probe is used for detecting whether the code generation service of the main code generation module is normal or not, and if the service is abnormal and the code cannot be generated normally, the local state is modified to be an emergency state; simultaneously sending an alarm short message and/or a voice telephone to related personnel; after the related personnel know, the exception should be handled as soon as possible. The main probe monitors the emergency probe and the emergency sealing pipe module at the same time, if abnormality is found, the local state is modified into an emergency state, and an alarm short message and/or a voice call is sent to related personnel;
The emergency probe is used for inquiring the state of the main probe at regular time and monitoring the network between the emergency code generation module and the main code generation module, if the network between the emergency code generation module and the main code generation module is abnormal, detecting whether the network of the emergency probe is abnormal, checking whether the connection with a bat website is normal or not through a ping command, if the connection is normal, judging that the network of the emergency probe is normal, and if the network of the main code generation module is abnormal, automatically opening the emergency state by the emergency probe, and sending an emergency alarm short message and/or a voice call to related personnel; the emergency probe can also regularly monitor whether the emergency dense pipe module can normally provide emergency authorization signature data management service, and if the service is abnormal, an emergency alarm short message and a voice call are sent to related personnel;
The emergency short message platform is used for sending an alarm when the emergency probe or the main probe monitors abnormality, and particularly sending text short messages and/or voice short messages.
The emergency key issuing module is used for issuing emergency authorization signature data issuing service, and the emergency authorization signature data issuing service comprises the steps of acquiring and sending user data, a user public key, an emergency authorization signature data expiration time and the like to the emergency encryption machine.
The emergency encryption machine is used for emergency authorization signature data generation service and is used for generating emergency authorization signature data according to the received information sent by the emergency key issuing module.
Further, the identification code is a two-dimensional code.
And an https protocol is adopted between the code generation client and the main code generation module as well as between the code generation client and the emergency code generation module.
The system comprises a background module, a key management module, a key issuing module and an encryption machine, wherein the background module and the key management module are deployed at a cloud end. The key issuing module and the encryption machine are arranged and arranged in a machine room.
The emergency key management module, the emergency probe and the emergency short message platform are deployed at the cloud end in different places, the emergency key issuing module and the emergency encryption machine are deployed and arranged in a machine room in different places, and the main probe is required to be deployed in the main code generation module and is deployed at the cloud end. The emergency probe and the main probe are connected by https, the domain name uses the domain name of the main code generation module, and the situation that the code generation client is connected with the main code generation module is imitated, so that abnormality can be monitored more timely, and the emergency probe is switched to an emergency state.
The beneficial effects of the invention are as follows:
When the main code generation module fails and code generation cannot be performed, the emergency code generation system is switched to an emergency mode, and the code generation client is connected with the emergency code generation module to acquire emergency authorization signature data, so that an emergency two-dimensional code is generated. For the user to verify in order to pass the gate and take the bus.
Drawings
Fig. 1 is a structural topology of the present invention.
The marks in the figure: 100. a main code generation module; 101. a background module; 102. a key management module; 103. a key issuing module; 104. an encrypting machine; 200. code generation client; 201. an account management module; 202. an identification code generation module; 203. a mode switching module; 300. an emergency code generation module; 301. an emergency dense pipe module; 302. an emergency probe; 303. a main probe; 304. an emergency short message platform; 305. an emergency key issuing module; 306. an emergency encrypting machine; 400. and an emergency management module.
Detailed Description
Exemplary embodiments will be described in detail herein. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Example 1
As shown in fig. 1, this embodiment shows an identification code transmitting system based on public transportation, the system includes:
a main code generation module 100, configured to provide code generation services for the code generation client 200, where the code generation services include an authorization signature data generation service;
the code generation client 200 is configured to enable a user to perform account registration and login, and obtain authorization signature data or emergency authorization signature data from the main code generation module 100 or the emergency code generation module 300 after the account registration and login, and generate an identification code; the identification code is used for identifying the gate terminal when the user enters and exits;
The emergency code generation module 300 is configured to detect a state of the main code generation module 100, and provide an emergency code generation service for the code generation client 200 when detecting that the code generation abnormality of the main code generation module 100 fails to provide the code generation service for the code generation client 200.
The system further comprises an emergency management module 400; the emergency management module 400 is configured to obtain and display an automatic emergency state and a manual emergency state, and open or close the manual emergency state, when the code generation client 200 cannot generate a code, but the emergency code generation module 300 does not detect that the code generation of the main code generation module 100 is abnormal, the manual emergency state can be manually opened, and the priority of the manual emergency state is higher than that of the automatic emergency state, when the manual emergency state is opened, the code generation client 200 requests to directly request the emergency code generation module 300 for emergency code generation service, and at this time, even if the automatic emergency state is in the closed state, the emergency code generation module 300 can still provide the emergency code generation service for the code generation client 200.
The code generation service also comprises a code generation condition query service, an authorization signature data management service and an authorization signature data issuing service.
The primary code generation module 100 includes: a background module 101, a key management module 102, a key issuing module 103, and an encryptor 104;
The background module 101 is configured to be responsible for a code generation condition query service of a user, where the code generation condition query service includes querying a third party payment channel whether the user has code generation capability, including whether the user is a wind-controlled user, whether the user has arrears, whether balance is sufficient, and whether the user is on a blacklist;
The key management module 102 is configured to authorize signature data management services, where the authorized signature data management services include recording a situation that a user obtains authorized signature data and the number of times that the authorized signature data is obtained on the same day, and setting expiration time of the authorized signature data;
the key issuing module 103 is configured to authorize signature data issuing service, where the authorized signature data issuing service obtains and sends user data, a user public key, an expiration time of the authorized signature data, and the like to the encryptor 104.
The encryptor 104 is configured to generate authorization signature data according to the received information sent by the key issuing module 103.
The encryptor 104 is a host encryption device which is authenticated and approved for use by national commercial cryptography authorities and is developed autonomously in China, the encryptor 104 supports a plurality of cryptographic algorithms which are commonly used internationally at present, and the supported asymmetric cryptographic algorithms are RSA, DSA, elliptic curve cryptography and SM2, and the cryptographic algorithm used by the encryptor 104 in the invention is SM2.SM2 is an elliptic curve public key cryptographic algorithm issued by the national cryptography bureau, and SM2 is a more advanced security algorithm that was used to replace the RSA algorithm in our national commercial cryptography.
The code generation client 200 comprises an account management module 201, an identification code generation module 202 and a mode switching module 203;
the account management module 201 is configured to enable a user to perform account registration and login;
the identification code generation module 202 is configured to obtain authorization signature data or emergency authorization signature data from the main code generation module 100 or the emergency code generation module 300, and generate an identification code;
The mode switching module 203 is configured to monitor the code generation condition query interface and/or acquire the authorization signature data interface, and if the code generation condition query interface and/or acquire the authorization signature data interface are not responded or abnormal if the code generation condition query interface and/or acquire the authorization signature data interface are detected, switch to an emergency mode, start the emergency code generation module 300, and acquire the emergency code generation service from the emergency code generation module 300 to complete code generation.
The emergency code generation module 300 includes: an emergency secret pipe module 301, a main probe 303, an emergency probe 302, an emergency short message platform 304, an emergency key issuing module 305 and an emergency encryption machine 306;
The emergency management module 301 is configured to perform emergency authorization signature data management service in an emergency state, where the emergency authorization signature data management service includes recording a situation that a user obtains emergency authorization signature data and the number of times that the emergency authorization signature data is obtained on the same day, and setting an expiration time of the emergency authorization signature data;
The main probe 303 is configured to detect whether the code generation service of the main code generation module 100 is normal, and if the service is abnormal and the code cannot be generated normally, modify the local state to an emergency state; simultaneously sending an alarm short message and/or a voice telephone to related personnel; after the related personnel know, the exception should be handled as soon as possible. The main probe 303 monitors the emergency probe 302 and the emergency dense pipe module 301 at the same time, if abnormality is found, the local state is modified to be an emergency state, and an alarm short message and/or a voice call is sent to related personnel;
The emergency probe 302 is configured to query the status of the main probe 303 at regular time, monitor the network between the emergency code generation module 300 and the main code generation module 100, if it is monitored that the network between the emergency code generation module 300 and the main code generation module 100 is abnormal, detect whether the network of the emergency probe 302 is abnormal, check whether the connection with the bat website is normal through a ping command, if so, determine that the network of the emergency probe is normal, and the network of the main code generation module 100 is abnormal, at this time, the emergency probe 302 automatically opens the emergency status, and sends an emergency alarm short message and/or a voice call to related personnel; the emergency probe 302 also regularly monitors whether the emergency dense pipe module 301 can normally provide emergency authorization signature data management service, and if the service is abnormal, sends an emergency alarm short message and a voice call to related personnel;
The emergency short message platform 304 is used for sending an alarm when the emergency probe 302 or the main probe 303 monitors abnormality, and specifically sending a text short message and/or a voice short message.
The emergency key issuing module 305 is configured to issue emergency authorization signature data issuing services, where the emergency authorization signature data issuing services include acquiring and sending user data, a user public key, an expiration time of the emergency authorization signature data, and the like to the emergency encryptor 306.
The emergency encryptor 306 is used for emergency authorization signature data generation service, and is used for generating emergency authorization signature data according to the received information sent by the emergency key issuing module 305.
The identification code is a two-dimensional code.
The code generation client 200, the main code generation module 100 and the emergency code generation module 300 adopt https protocol.
The background module 101, the key management module 102, the key issuing module 103 and the encryptor 104 are deployed in the cloud. The key issuing module 103 and the encryptor 104 are disposed and installed in a computer room.
The emergency key management module 102, the emergency probe 302 and the emergency short message platform 304 are deployed at the cloud end of the different places, the emergency key issuing module 305 and the emergency encryptor 306 are deployed and arranged at the machine room of the different places, and the main probe 303 needs to be deployed in the main code generation module 100 and is deployed at the cloud end. The emergency probe 302 and the main probe 303 are connected by https, the domain name uses the domain name of the main code generation module 100, and the situation that the code generation client 200 is connected with the main code generation module 100 is imitated, so that the abnormality is monitored more timely, and the emergency state is switched.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present 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 flow and/or component of the flowchart and/or block diagram, and combinations of flow and/or block diagrams in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (6)

1. An identification code transmitting system based on public transportation, comprising:
The system comprises a main code generation module, a code generation module and a code generation module, wherein the main code generation module is used for providing code generation service for a code generation client, and the code generation service comprises authorization signature data generation service;
The code generation client is used for enabling a user to register and log in an account, acquiring authorization signature data or emergency authorization signature data from the main code generation module or the emergency code generation module after the account is registered and logged in, and generating an identification code; the identification code is used for identifying the gate terminal when the user enters and exits;
The emergency code generation module is used for detecting the state of the main code generation module, and providing emergency code generation service for the code generation client when detecting that the code generation abnormality of the main code generation module can not provide code generation service for the code generation client;
the emergency code generation module comprises: the emergency secret pipe system comprises an emergency secret pipe module, a main probe, an emergency short message platform, an emergency key issuing module and an emergency encryption machine;
The emergency secret management module is used for emergency authorization signature data management service in an emergency state, wherein the emergency authorization signature data management service comprises the steps of recording the condition that a user acquires emergency authorization signature data and the acquisition times of the emergency authorization signature data on the same day, and setting the expiration time of the emergency authorization signature data;
the main probe is used for detecting whether the code generation service of the main code generation module is normal or not, and if the service is abnormal and the code cannot be generated normally, the local state is modified to be an emergency state; simultaneously sending an alarm short message and/or a voice telephone; the main probe monitors the emergency probe and the emergency sealing pipe module at the same time, if abnormality is found, the local state is modified to be an emergency state, and an alarm short message and/or a voice call are sent;
The emergency probe is used for inquiring the state of the main probe at regular time and monitoring the network between the emergency code generation module and the main code generation module, if the network between the emergency code generation module and the main code generation module is abnormal, detecting whether the network of the emergency probe is abnormal, if the network is normal, judging that the network of the emergency probe is normal, and if the network of the emergency probe is normal, the network of the main code generation module is abnormal, at the moment, the emergency probe automatically opens the emergency state and sends an emergency alarm short message and/or a voice call; the emergency probe can also regularly monitor whether the emergency dense pipe module can normally provide emergency authorization signature data management service, and if the service is abnormal, an emergency alarm short message and a voice call are sent;
The emergency short message platform is used for sending an alarm when an emergency probe or a main probe monitors abnormality, and particularly sending a text short message and/or a voice short message;
The emergency key issuing module is used for issuing emergency authorization signature data issuing services, wherein the emergency authorization signature data issuing services comprise the steps of acquiring and sending user data, a user public key and an emergency authorization signature data expiration time to an emergency encryption machine;
The emergency encryption machine is used for emergency authorization signature data generation service and is used for generating emergency authorization signature data according to the received information sent by the emergency key issuing module.
2. The public transportation-based identification code transmitting system according to claim 1, wherein: the system also comprises an emergency management module; the emergency management module is used for acquiring and displaying an automatic emergency state and a manual emergency state, opening or closing the manual emergency state, when the code generation client cannot generate codes, but the emergency code generation module does not detect that the code generation of the main code generation module is abnormal, the manual emergency state can be manually opened, the priority of the manual emergency state is higher than that of the automatic emergency state, after the manual emergency state is opened, the code generation client requests to directly request the emergency code generation module for emergency code generation service, and at the moment, even if the automatic emergency state is in a closed state, the emergency code generation module can still provide the emergency code generation service for the code generation client.
3. The public transportation-based identification code transmitting system according to claim 1, wherein the code generating service further comprises a code generating condition inquiry service, an authorization signature data management service, and an authorization signature data issuing service.
4. The public transportation-based identification code transmitting system according to claim 3, wherein the main code generating module comprises: the system comprises a background module, a key management module, a key issuing module and an encryption machine;
The background module is used for being responsible for code generation condition query service of a user, wherein the code generation condition query service comprises the step of querying a third party payment channel whether the user has code generation capability or not, including whether the user is a wind control user, whether the user has arrears, whether balance is sufficient or not, and whether the user is in a blacklist or not;
the key management module is used for authorizing signature data management service, wherein the authorizing signature data management service comprises the steps of recording the condition that a user acquires authorizing signature data and the acquisition times of the authorizing signature data on the same day, and setting expiration time of the authorizing signature data;
the key issuing module is used for authorizing signature data issuing service, and the authorizing signature data issuing service comprises the steps of acquiring and sending user data, a user public key and authorized signature data expiration time to an encryptor;
The encryptor is used for authorizing signature data to generate service, and is used for generating authorizing signature data according to the information sent by the received key issuing module.
5. The public transportation-based identification code transmitting system according to claim 1, wherein: the code generation client comprises an account management module, an identification code generation module and a mode switching module;
the account management module is used for enabling a user to register and log in an account;
The identification code generation module is used for acquiring authorization signature data or emergency authorization signature data from the main code generation module or the emergency code generation module to generate an identification code;
The mode switching module is used for monitoring the code generation condition query interface and/or acquiring the authorization signature data interface, if the code generation condition query interface and/or acquiring the authorization signature data interface are/is not responded after the preset time is exceeded, or the code generation condition query interface and/or the authorization signature data interface is/are detected to be abnormal, the mode switching module is switched to an emergency mode, the emergency code generation module is started, and the emergency code generation service is acquired from the emergency code generation module to complete code generation.
6. The public transportation-based identification code transmitting system according to claim 1, wherein: the identification code is a two-dimensional code.
CN201910962681.2A 2019-10-11 2019-10-11 Public transportation-based identification code sending system Active CN110796220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910962681.2A CN110796220B (en) 2019-10-11 2019-10-11 Public transportation-based identification code sending system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910962681.2A CN110796220B (en) 2019-10-11 2019-10-11 Public transportation-based identification code sending system

Publications (2)

Publication Number Publication Date
CN110796220A CN110796220A (en) 2020-02-14
CN110796220B true CN110796220B (en) 2024-04-30

Family

ID=69440288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910962681.2A Active CN110796220B (en) 2019-10-11 2019-10-11 Public transportation-based identification code sending system

Country Status (1)

Country Link
CN (1) CN110796220B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652990A (en) * 2020-07-02 2020-09-11 支付宝(杭州)信息技术有限公司 Public transport riding code generation method and device and electronic equipment
CN112150641B (en) * 2020-11-26 2021-03-12 深圳市深圳通有限公司 Subway mechanism code acquisition method, device, equipment and storage medium
CN113255012B (en) * 2021-07-01 2021-10-19 深圳市深圳通有限公司 Method, device and equipment for managing riding codes and storage medium
CN114282995B (en) * 2021-12-22 2023-05-02 成都智元汇信息技术股份有限公司 Method, subway client and system for acquiring two-dimension code of riding in different places based on SDK

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009061171A2 (en) * 2007-11-09 2009-05-14 Mimos Berhad Secure software licensing control mechanism
CN108234517A (en) * 2018-01-29 2018-06-29 成都智元汇信息技术股份有限公司 A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method
CN110012048A (en) * 2018-11-22 2019-07-12 阿里巴巴集团控股有限公司 Message identification code generation method, device, electronic equipment and computer storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009061171A2 (en) * 2007-11-09 2009-05-14 Mimos Berhad Secure software licensing control mechanism
CN108234517A (en) * 2018-01-29 2018-06-29 成都智元汇信息技术股份有限公司 A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method
CN110012048A (en) * 2018-11-22 2019-07-12 阿里巴巴集团控股有限公司 Message identification code generation method, device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN110796220A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110796220B (en) Public transportation-based identification code sending system
CN107046531B (en) Data processing method and system for accessing data of monitoring terminal to power information network
CN110719203B (en) Operation control method, device and equipment of intelligent household equipment and storage medium
CN109286932A (en) Networking authentication method, apparatus and system
CN102752269B (en) Based on the method for the authentication of cloud computing, system and cloud server
CN108667791B (en) Identity authentication method
CN102026180A (en) M2M transmission control method, device and system
CN104202170B (en) A kind of identity authorization system and method based on mark
CN114448727B (en) Information processing method and system based on industrial internet identification analysis system
JP2017028567A (en) Communication relay device, communication network, communication relay program, and communication relay method
CN106685775A (en) Self-inspection type invasion prevention method and system for intelligent household electrical appliance
CN106878122B (en) Network access method and system
CN102638468A (en) Method, sending end, receiving end and system for protecting information transmission safety
CN104754571A (en) User authentication realizing method, device and system thereof for multimedia data transmission
CN107426160A (en) Control method, system, terminal, FIDO servers and the safety means of smart home
CN104283675A (en) Concentrator, electricity meter and message processing method of concentrator and electricity meter
CN103685192A (en) Method and device for limiting calling launched by third-party application
CN107094138A (en) A kind of smart home safe communication system and communication means
CN109743174A (en) The monitoring and managing method that electric power monitoring security management and control system program updates
CN115051813A (en) New energy platform control instruction protection method and system
CN104936306B (en) MTC device group small data secure transmission connection establishment method, HSS and system
CN102387494A (en) Android-mobile-platform-based remote automatic information exchange and control solution
CN109246148A (en) Message processing method, device, system, equipment and computer readable storage medium
CN111435389A (en) Power distribution terminal operation and maintenance tool safety protection system
CN101247618B (en) Terminal validity detecting method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant