CN110796220A - Identification code sending system based on public transport - Google Patents

Identification code sending system based on public transport Download PDF

Info

Publication number
CN110796220A
CN110796220A CN201910962681.2A CN201910962681A CN110796220A CN 110796220 A CN110796220 A CN 110796220A CN 201910962681 A CN201910962681 A CN 201910962681A CN 110796220 A CN110796220 A CN 110796220A
Authority
CN
China
Prior art keywords
emergency
code
module
code generation
signature data
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.)
Granted
Application number
CN201910962681.2A
Other languages
Chinese (zh)
Other versions
CN110796220B (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 Yi Hang Technology Co Ltd
Original Assignee
Beijing Yi Hang 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 Yi Hang Technology Co Ltd filed Critical Beijing Yi Hang 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

Images

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)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Primary Health Care (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention relates to the technical field of public transport travel, in particular to an identification code sending system based on public transport. 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 client, and the code generation service comprises authorization signature data generation service; the code generation client is used for carrying out account registration login by a user, acquiring authorized signature data or emergency authorized signature data from the main code generation module or the emergency code generation module after the account registration login, and generating an identification code; and the emergency code generating module is used for detecting the state of the main code generating module and providing emergency code generating service for the code client when detecting that the code generating of the main code generating module is abnormal and the code generating service cannot be provided for the code generating client. When the main code generating module fails and cannot generate codes, the emergency code generating system is switched to an emergency mode, and the code generating client is connected with the emergency code generating module to acquire emergency authorization signature data and generate an emergency two-dimensional code. For the user to authenticate for passing brake riding.

Description

Identification code sending system based on public transport
Technical Field
The invention relates to the technical field of public transport travel, in particular to an identification code sending system based on public transport.
Background
Now, public transportation can be roughly divided into rail transit, road traffic, water transportation, air transportation and the like, and now with the development of information technology and the popularization of intelligent mobile devices, many more convenient and convenient payment methods appear in the field of public transportation, for example: NFC and cell-phone APP two-dimensional code are by bus etc. However, NFC needs to depend on hardware, most of mobile devices supporting NFC in China are high-end mobile phones at present, and therefore a mode of generating two-dimensional codes by mobile phone APP to take public transportation appears. The two-dimensional code riding greatly improves riding efficiency and user experience, and avoids inconvenience of carrying multiple cards and cash. However, the technical complexity of two-dimensional code riding also results in high risk and instability, and the case of code generation failure is all the same. The failure reasons are also different, so that the repair time is difficult to control, and an emergency standby code generation scheme is urgently needed to solve the sudden code generation failure accident.
Disclosure of Invention
The invention provides an identification code sending system based on public transport, which can quickly provide a standby two-dimensional code after a code generation failure and solve the problem of code generation failure.
The technical scheme adopted by the invention is as follows:
an identification code sending system based on public transport comprises:
the main code generation module is used for providing code generation service for the code client, and the code generation service comprises authorization signature data generation service;
the code generation client is used for carrying out account registration login by a user, acquiring authorized signature data or emergency authorized signature data from the main code generation module or the emergency code generation module after the account registration login, and generating an identification code; the identification code is used for identifying the gate terminal when a user enters the station and leaves the station;
and the emergency code generating module is used for detecting the state of the main code generating module and providing emergency code generating service for the code client when detecting that the code generating of the main code generating module is abnormal and the code generating service cannot be provided for the code generating 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 a code generation client cannot generate codes, but the emergency code generation module does not detect code generation abnormity of the main code generation module, 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 an emergency code generation service for the emergency code generation module, and 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 also comprises a code generation condition query service, an authorized signature data management service and an authorized signature data issuing service.
Further, the master code 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 in charge of code generation condition query service of a user, and the code generation condition query service comprises the steps of querying whether the user has code generation capacity or not in a third-party payment channel, wherein the code generation capacity includes whether the user is a wind-controlled user or not, whether the user has arrearages or not, whether the balance is sufficient or not and whether the user is in a blacklist or not;
the key management module is used for authorizing the signature data management service, and the authorizing signature data management service comprises recording the condition that a user obtains the authorizing signature data and the obtaining times of the authorizing signature data on the same day and setting the 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 obtaining and sending user data, a user public key, the expiration time of the authorizing signature data and the like to the encryption machine.
And the encryption machine is used for generating the authorized signature data according to the received information sent by the key issuing module.
The encryption machine is a domestic independently developed host encryption device which is identified and approved to be used by the national commercial code administration, supports various encryption algorithms which are commonly used internationally at present, supports asymmetric encryption algorithms such as RSA, DSA, elliptic curve encryption algorithm and SM2, and uses the encryption algorithm of the encryption machine in the invention as SM 2. The SM2 is an elliptic curve public key cryptographic algorithm issued by the State crypto administration, and the SM2 algorithm is a more advanced and secure algorithm and is used to replace the RSA algorithm in our national commercial cryptosystem.
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 the user to register and log in an account;
the identification code generation module is used for acquiring authorized signature data or emergency authorized signature data from the main code generation module or the emergency code generation module to generate an identification code;
and the mode switching module is used for monitoring the code generating condition query interface and/or the authorized signature data acquisition interface, switching to an emergency mode if no response is given after the preset time is exceeded or the code generating condition query interface and/or the authorized signature data acquisition interface is detected to be abnormal, starting the emergency code generating module, and acquiring the emergency code generating service from the emergency code generating module to complete code generation.
Further, the emergency code generation module comprises: the emergency secret management system comprises an emergency secret management module, a main probe, an emergency short message platform, an emergency secret key issuing module and an emergency encryption machine;
the emergency close management module is used for emergency authorization signature data management service in an emergency state, and the emergency authorization signature data management service comprises recording the situation 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 generation cannot be normal, the local state is modified into an emergency state; meanwhile, sending an alarm short message and/or a voice telephone to related personnel; after the relevant personnel know, the exception should be handled as soon as possible. The main probe simultaneously monitors the emergency probe and the emergency close management module, if abnormity 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, monitoring the network between the emergency code generation module and the main code generation module at the same time, if the network between the emergency code generation module and the main code generation module is monitored to be abnormal, detecting whether the network of the emergency probe is abnormal or not at first, 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 is normal and the network of the main code generation module is abnormal, and at the moment, 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 close management module can normally provide emergency authorized signature data management service, and if the service is abnormal, an emergency alarm short message and a voice telephone are sent to related personnel;
and the emergency short message platform is used for sending an alarm when the emergency probe or the main probe monitors the abnormity, and particularly has a function of sending a text short message and/or a voice short message.
And the emergency secret key issuing module is used for emergency authorization signature data issuing service, and the emergency authorization signature data issuing service comprises the steps of acquiring and sending the user data, the user public key, the emergency authorization signature data expiration time and the like to the emergency encryption machine.
And the emergency encryption machine 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 among the code generation client, the main code generation module 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 the cloud end. The key issuing module and the encryption machine are deployed and arranged in a computer 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 needs to be deployed in the main code generation module and deployed at the cloud end. The emergency probe and the main probe are connected by https, the domain name uses a main code generation module domain name, and the situation that a code generation client is connected with the main code generation module is simulated, so that abnormality can be monitored more timely, and the emergency state is switched.
The invention has the beneficial effects that:
when the main code generating module fails and cannot generate codes, the emergency code generating system is switched to an emergency mode, and the code generating client is connected with the emergency code generating module to acquire emergency authorization signature data and generate an emergency two-dimensional code. For the user to authenticate for passing brake riding.
Drawings
Fig. 1 is a topology diagram of the architecture of the present invention.
The labels in the figure are: 100. a master code generation module; 101. a background module; 102. a key management module; 103. a key issuing module; 104. an encryption machine; 200. a 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 close pipe module; 302. an emergency probe; 303. a primary probe; 304. an emergency short message platform; 305. an emergency key issuing module; 306. an emergency encryption 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, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Example 1
As shown in fig. 1, the present embodiment shows a public transportation-based identification code transmission system, which includes:
a main code generation module 100, configured to provide a code generation service for the code client 200, where the code generation service includes an authorized signature data generation service;
the code generation client 200 is used for a user to perform account registration login, and acquiring authorized signature data or emergency authorized signature data from the main code generation module 100 or the emergency code generation module 300 after the account registration login, so as to generate an identification code; the identification code is used for identifying the gate terminal when a user enters the station and leaves the station;
the emergency code generating module 300 is configured to detect a state of the main code generating module 100, and provide an emergency code generating service for the code client 200 when detecting that the code generating of the main code generating module 100 is abnormal and the code generating service cannot be provided for the code client 200.
The system further includes an emergency management module 400; the emergency management module 400 is configured to acquire and display an automatic emergency state and a manual emergency state, open or close the manual emergency state, and when the code generation client 200 cannot generate codes, 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, the priority of the manual emergency state is higher than that of the automatic emergency state, and after 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 even if the automatic emergency state is in a 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 code generation condition query service, authorized signature data management service and authorized signature data issuing service.
The master code generation module 100 includes: a background module 101, a key management module 102, a key issuing module 103 and an encryption machine 104;
the background module 101 is used for being responsible for code generation condition query service of a user, wherein the code generation condition query service includes querying whether the user has code generation capability or not in a third-party payment channel, including whether the user is a wind-controlled user or not, whether the user has arrearages or not, whether the balance is sufficient or not and whether the user is in a blacklist or not;
the key management module 102 is configured to authorize a signature data management service, where the authorized signature data management service includes recording a situation that a user acquires authorized signature data and a number of times that the authorized signature data is acquired on the same day, and setting an 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 includes obtaining and sending user data, a user public key, an authorized signature data expiration time, and the like to the encryptor 104.
The encryptor 104 is configured to authorize signature data generation service, and is configured to generate authorized signature data according to the received information sent by the key issuing module 103.
The encryption machine 104 is a domestic independently developed host encryption device which is authenticated and approved by the national commercial code administration, the encryption machine 104 supports various encryption algorithms which are commonly used internationally at present, the supported asymmetric encryption algorithms include RSA, DSA, elliptic curve encryption algorithm and SM2, and the encryption algorithm used by the encryption machine 104 in the invention is SM 2. The SM2 is an elliptic curve public key cryptographic algorithm issued by the State crypto administration, and the SM2 algorithm is a more advanced and secure algorithm and is used to replace the RSA algorithm in our national commercial cryptosystem.
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 used for a user to register and log in an account;
the identification code generation module 202 is configured to obtain authorized signature data or emergency authorized 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 generating condition query interface and/or the authorized signature data obtaining interface, switch to the emergency mode if no response is given after a preset time is exceeded or an abnormality of the code generating condition query interface and/or the authorized signature data obtaining interface is detected, start the emergency code generating module 300, and obtain the emergency code generating service from the emergency code generating module 300 to complete code generation.
The emergency code generation module 300 includes: the system comprises an emergency secret management 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 close 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 acquires emergency authorization signature data and the number of times that the emergency authorization signature data is acquired on the same day, and setting an expiration time of the emergency authorization signature data;
the main probe 303 is used for detecting whether the code generation service of the main code generation module 100 is normal, and if the service is abnormal and the code generation cannot be normal, modifying the local state into an emergency state; meanwhile, sending an alarm short message and/or a voice telephone to related personnel; after the relevant personnel know, the exception should be handled as soon as possible. The main probe 303 monitors the emergency probe 302 and the emergency close management module 301 at the same time, if abnormity 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 302 is used for inquiring the state of the main probe 303 regularly, monitoring the network between the emergency code generation module 300 and the main code generation module 100 at the same time, if the network between the emergency code generation module 300 and the main code generation module 100 is monitored to be abnormal, firstly detecting whether the network of the emergency probe 302 is abnormal or not, 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 is normal and the network of the main code generation module 100 is abnormal, and at the moment, automatically opening an emergency state by the emergency probe 302 and sending an emergency alarm short message and/or a voice call to related personnel; the emergency probe 302 can also monitor whether the emergency close management module 301 can normally provide emergency authorized signature data management service or not at regular time, and if the service is abnormal, an emergency alarm short message and a voice telephone are sent to related personnel;
and the emergency short message platform 304 is used for sending an alarm when the emergency probe 302 or the main probe 303 monitors the abnormality, and specifically sending a text short message and/or a voice short message.
The emergency key issuing module 305 is configured to perform emergency authorized signature data issuing service, where the emergency authorized signature data issuing service includes obtaining and sending user data, a user public key, an emergency authorized signature data expiration time, and the like to the emergency encryptor 306.
And the emergency encryptor 306 is used for the 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 https protocol is adopted between the code generation client 200 and the main code generation module 100 and between the code generation client and the emergency code generation module 300.
The system comprises a background module 101, a key management module 102, a key issuing module 103 and an encryption machine 104, wherein the background module 101 and the key management module 102 are deployed at the cloud. The key issuing module 103 and the encryptor 104 are disposed and installed in the machine room.
The emergency key management module 102, the emergency probe 302 and the emergency short message platform 304 are deployed in a cloud in different places, the emergency key issuing module 305 and the emergency encryption machine 306 are deployed and installed in a machine room in different places, and the main probe 303 needs to be deployed in the main code generation module 100 and deployed in the cloud. 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 simulated, so that abnormality can be monitored more timely, and the emergency state is switched.
As will be appreciated by one skilled in the art, 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, 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 diagram illustrations of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or side component of the flow diagrams and/or side component diagrams, and combinations of flows and/or side components in the flow diagrams and/or side component diagrams, 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 changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. An identification code sending system based on public transport is characterized by comprising:
the main code generation module is used for providing code generation service for the code client, and the code generation service comprises authorization signature data generation service;
the code generation client is used for carrying out account registration login by a user, acquiring authorized signature data or emergency authorized signature data from the main code generation module or the emergency code generation module after the account registration login, and generating an identification code; the identification code is used for identifying the gate terminal when a user enters the station and leaves the station;
and the emergency code generating module is used for detecting the state of the main code generating module and providing emergency code generating service for the code client when detecting that the code generating of the main code generating module is abnormal and the code generating service cannot be provided for the code generating client.
2. The public transportation-based identification code transmission 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 a code generation client cannot generate codes, but the emergency code generation module does not detect code generation abnormity of the main code generation module, 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 an emergency code generation service for the emergency code generation module, and 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 issuing system according to claim 1, wherein the code generating service further comprises a code generating condition query service, an authorized signature data management service and an authorized signature data issuing service.
4. The public transportation-based identification code transmission system according to claim 3, wherein the master code 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 in charge of code generation condition query service of a user, and the code generation condition query service comprises the steps of querying whether the user has code generation capacity or not in a third-party payment channel, wherein the code generation capacity includes whether the user is a wind-controlled user or not, whether the user has arrearages or not, whether the balance is sufficient or not and whether the user is in a blacklist or not;
the key management module is used for authorizing the signature data management service, and the authorizing signature data management service comprises recording the condition that a user obtains the authorizing signature data and the obtaining times of the authorizing signature data on the same day and setting the expiration time of the authorizing signature data;
the key issuing module is used for authorizing signature data issuing service, wherein the authorized 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;
and the encryption machine is used for generating the authorized signature data according to the received information sent by the key issuing module.
5. The public transportation-based identification code transmission 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 the user to register and log in an account;
the identification code generation module is used for acquiring authorized signature data or emergency authorized signature data from the main code generation module or the emergency code generation module to generate an identification code;
and the mode switching module is used for monitoring the code generating condition query interface and/or the authorized signature data acquisition interface, switching to an emergency mode if no response is given after the preset time is exceeded or the code generating condition query interface and/or the authorized signature data acquisition interface is detected to be abnormal, starting the emergency code generating module, and acquiring the emergency code generating service from the emergency code generating module to complete code generation.
6. The public transportation-based identification code transmission system according to claim 1, wherein the emergency code generation module comprises: the emergency secret management system comprises an emergency secret management module, a main probe, an emergency short message platform, an emergency secret key issuing module and an emergency encryption machine;
the emergency close management module is used for emergency authorization signature data management service in an emergency state, and the emergency authorization signature data management service comprises recording the situation 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 generation cannot be normal, the local state is modified into an emergency state; simultaneously sending an alarm short message and/or a voice telephone; the main probe simultaneously monitors the emergency probe and the emergency close management module, if abnormity is found, the local state is modified into an emergency state, and an alarm short message and/or a voice telephone is sent;
the emergency probe is used for inquiring the state of the main probe at regular time, monitoring the network between the emergency code generation module and the main code generation module at the same time, if the network abnormality of the emergency code generation module and the main code generation module is monitored, firstly detecting whether the network of the emergency probe is abnormal or not, if the network is normal, judging that the network is normal and the network of the main code generation module is abnormal, and 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 close management module can normally provide emergency authorized signature data management service, and if the service is abnormal, an emergency alarm short message and a voice telephone are sent;
and the emergency short message platform is used for sending an alarm when the emergency probe or the main probe monitors the abnormity, and particularly has a function of sending a text short message and/or a voice short message.
The emergency key issuing module is used for 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, the expiration time of emergency authorization signature data and the like to an emergency encryption machine;
and the emergency encryption machine is used for generating emergency authorization signature data according to the received information sent by the emergency key issuing module.
7. The public transportation-based identification code transmission 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 true CN110796220A (en) 2020-02-14
CN110796220B 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)

Cited By (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
CN112150641A (en) * 2020-11-26 2020-12-29 深圳市深圳通有限公司 Subway mechanism code acquisition method, device, equipment and storage medium
CN113255012A (en) * 2021-07-01 2021-08-13 深圳市深圳通有限公司 Method, device and equipment for managing riding codes and storage medium
CN114282995A (en) * 2021-12-22 2022-04-05 成都智元汇信息技术股份有限公司 Method for acquiring remote riding two-dimensional code based on SDK, subway client and system

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

Cited By (5)

* 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
CN112150641A (en) * 2020-11-26 2020-12-29 深圳市深圳通有限公司 Subway mechanism code acquisition method, device, equipment and storage medium
CN112150641B (en) * 2020-11-26 2021-03-12 深圳市深圳通有限公司 Subway mechanism code acquisition method, device, equipment and storage medium
CN113255012A (en) * 2021-07-01 2021-08-13 深圳市深圳通有限公司 Method, device and equipment for managing riding codes and storage medium
CN114282995A (en) * 2021-12-22 2022-04-05 成都智元汇信息技术股份有限公司 Method for acquiring remote riding two-dimensional code based on SDK, subway client and system

Also Published As

Publication number Publication date
CN110796220B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN110796220B (en) Public transportation-based identification code sending system
CN109379369A (en) Single-point logging method, device, server and storage medium
JP6536251B2 (en) Communication relay device, communication network, communication relay program and communication relay method
US12005861B2 (en) Method for connecting bluetooth key to vehicle, vehicle bluetooth system, and bluetooth key
CN114448727B (en) Information processing method and system based on industrial internet identification analysis system
CN107664337B (en) Air-conditioning system, the control method of air-conditioner set equipment and device
CN109818742A (en) A kind of apparatus debugging method, device and storage medium
CN105141756A (en) Abnormity processing method and abnormity processing device
CN104065921A (en) Security and protection wide area network embedded type monitoring device and control method thereof
CN110719583B (en) Communication method and device
CN108134713A (en) A kind of communication means and device
CN112383577A (en) Authorization method, device, system, equipment and storage medium
CN103476025A (en) Progress management method, progress management system and mobile terminal
EP2557727B1 (en) Method and system for multi-access authentication in next generation network
CN112087301A (en) Gas meter safety certification system based on state cryptographic algorithm
CN106778334A (en) The guard method of account information and mobile terminal
CN106953873B (en) Security management system for encrypted information of encryption equipment
CN112506540B (en) Electric energy meter application upgrading method, electric energy meter and system
CN203912101U (en) Protection wide area network embedded monitoring device
US20220400384A1 (en) Sim swap fraud detection
CN106506495B (en) Terminal online control method and device
CN114338166B (en) Edge equipment risk processing method, device, equipment and cloud server
CN109375925A (en) A kind of method that terminal program unloads offline
CN103414707A (en) Message access processing method and device
CN115333761B (en) Equipment communication method and device applied to ship and server

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