Instant card making method and system and card making equipment
By remotely calling the card-making service program using Jar packages generated by each card-making equipment manufacturer in the bank's instant card-making system, the problem of being compatible with equipment from different manufacturers is solved, and the effect of rapid online launch and reducing operation and maintenance costs is achieved.
Patent Information
- Application Number
- CN202411778964.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-01-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The bank's instant card making system is difficult to compatible with card making equipment from different manufacturers, resulting in complex development, long cycles and difficult maintenance.
By installing Jar packages generated by each card-making device manufacturer in the instant card-making system, remotely calling the card-making service program to realize the connection and card-making operation with the card-making device, using the HTTPS protocol and JSON message format for communication, blocking different Variance of vendor drivers.
It realizes the unified adaptation of the bank's instant card making system to different manufacturers' card making equipment, reduces development and operation and maintenance costs, and ensures the convenience of the project's rapid launch and post-maintenance.
Smart Images

Figure CN119250767A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and in particular to an instant card making method, system and card making device. Background Art
[0002] With the rapid development of Internet technology and the increasing number of payment channels, most customers' bank cards are not only salary cards, but also bound to major apps such as Alipay, WeChat, Meituan, JD.com, Taobao, etc. for daily offline consumption and online shopping expenses. Therefore, customers have more and more demands for changing cards without changing numbers, which is what we often call changing cards with the same number. The instant card-making solution is mainly designed to achieve the same-number card-changing. It requires that in addition to realizing financial business functions on bank card-making equipment, it is also necessary to realize the same-number card-changing function simultaneously. Bank card-making equipment often has more than one manufacturer, and each manufacturer's card-making equipment models are different. If each manufacturer has its own card-making specifications, then the bank's instant card-making system will be very complicated. It is difficult to develop and has a long development cycle to be compatible with card-making equipment from different manufacturers. The delivery node of the project cannot be guaranteed, and even the later maintenance will become very difficult.
[0003] The current problems are:
[0004] 1. The card-making device drivers developed by different manufacturers use different development languages and development frameworks. To connect the bank's instant card-making system to the drivers of different manufacturers, the bank must adapt according to the specified development language.
[0005] 2. There is no way to ensure that the project will be launched on schedule, and the bank’s development workload and debugging cycle are particularly long.
[0006] 3. The difficulty of later operation and maintenance is extremely difficult.
[0007] Therefore, it is necessary to design a solution for bank instant card making system that can adapt to card making equipment from different manufacturers. Summary of the invention
[0008] The purpose of this application is to provide an instant card making method, system and card making device, which can enable the bank's instant card making system to adapt to card making devices from different manufacturers.
[0009] The technical solution of the present invention is as follows:
[0010] In a first aspect, the present application provides an instant card making method, which is applied to an instant card making system, wherein the instant card making system is installed with one or more Jar packages generated by different card making equipment manufacturers; the Jar package generated by each card making equipment manufacturer is adapted to the driver of the card making service program of the corresponding card making equipment;
[0011] The method comprises:
[0012] Running the Jar package generated by the card making device manufacturer enables the instant card making system to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make cards.
[0013] In a possible implementation of the first aspect, the running of the Jar package generated by the card making device manufacturer enables the instant card making system to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make a card, including:
[0014] Run the Jar package generated by the card-making equipment manufacturer to enable the instant card-making system to perform the following operations:
[0015] Establish connection with card making equipment;
[0016] Get the current card making device status;
[0017] If the card making device is idle, a card making command is sent to the card making device to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make a card.
[0018] In a possible implementation of the first aspect, the card making command includes: a card insertion instruction, a card power-on instruction, a card writing personalized data instruction, a card power-off instruction, and a card information embossing and / or flat printing instruction.
[0019] In a possible implementation manner of the first aspect, the card making command also includes an instruction to write track information to the card.
[0020] In a possible implementation of the first aspect, after completing card making, the instant card making system may send a disconnection instruction to the card making device through a Jar package to disconnect.
[0021] In a possible implementation of the first aspect, the Jar package is an interface for remotely calling the card-making service program based on the HTTPS protocol, and the Jar package and the card-making service program use a JSON message communication format.
[0022] In a second aspect, the present application provides an instant card making method, which is applied to a card making device, and the card making device manufacturer generates a Jar package adapted to the card making service program driver of the card making device;
[0023] The method comprises:
[0024] In response to the instant card making system running the Jar package generated by the card making equipment manufacturer, the card making service program is called to drive the card making module connected to the card making equipment to make cards.
[0025] In a possible implementation of the second aspect, the responsive instant card making system runs a Jar package generated by a card making device manufacturer, starts a card making service program, and thereby drives a card making module connected to the card making device to make a card, including:
[0026] In response to the instant card making system running the Jar package generated by the card making equipment manufacturer, perform the following operations:
[0027] Respond to the connection request of the instant card making system and establish a connection with the instant card making system;
[0028] Responding to the request of the instant card making system to obtain the current card making device status, sending the current card making device status to the instant card making system;
[0029] In response to the card making command sent by the instant card making system, the card making module connected to the card making device is driven to make a card, thereby driving the card making module connected to the card making device to perform the corresponding card making operation to complete the card making.
[0030] In a possible implementation of the second aspect, after completing card making, the card making device may respond to a disconnection instruction sent by the instant card making system to disconnect from the instant card making system.
[0031] In a possible implementation of the second aspect, the card making command includes: a card feeding instruction, a card power-on instruction, a card writing personalized data instruction, a card power-off instruction, a card writing track information instruction, and a card information embossing and / or flat printing instruction;
[0032] The corresponding card making operations include card feeding, card powering up, writing personalized data into the card, card powering down, writing magnetic track information into the card, and embossing and / or flat printing of information on the card.
[0033] In a possible implementation manner of the second aspect, the card making command also includes an instruction to write track information into the card, and the corresponding card making operation also includes writing track information into the card.
[0034] In a possible implementation of the second aspect, after the card making service program is started, an interface of the HTTPS protocol is opened for remote calling of the Jar package, and the Jar package and the card making service program use a JSON message communication format.
[0035] In a third aspect, the present application provides an instant card making system, comprising: a memory and a processor;
[0036] The memory is used to store Jar packages generated by one or more different card-making equipment manufacturers; the Jar package generated by each card-making equipment manufacturer is adapted to the driver of the card-making service program of the corresponding card-making equipment;
[0037] The processor is used to run the Jar package generated by the card making equipment manufacturer, so that the instant card making system executes the above method.
[0038] In a fourth aspect, the present application provides a card making device, comprising: a memory and a processor; the memory is used to store a card making service program;
[0039] The processor is used to run the card making service program to enable the card making device to execute the above method.
[0040] The specific implementation methods of the third to fourth aspects of the present application can refer to the implementation methods of the first aspect, which will not be repeated here.
[0041] Beneficial effects:
[0042] Based on the technical solution provided by this application, the bank's instant card-making system can adapt to card-making devices from different manufacturers, complete instant card-making of debit cards, credit cards, DIY cards and other types of cards on card-making devices from different manufacturers, manage card-making devices in a unified manner, and shield the differences between card-making device drivers developed by different manufacturers. The development workload of this application is controllable, and it can achieve the effect of rapid online launch and commissioning.
[0043] This application has the following advantages and positive effects:
[0044] 1) Communicate with the card making service program of the card making device based on the Jar package mode
[0045] The present invention adopts a mode of remotely calling the card making and printing module. The caller only needs to call the Jar package definition interface according to a unified interface specification to easily control the card making device without having to care about the underlying implementation details.
[0046] 2) Driver shielding of each manufacturer
[0047] The design principle of the present invention is as follows: the instant card making system of a bank does not need to care about the driver version of each manufacturer, the language used for development, or the installation of any driver program in the instant card making system to realize instant card making of the card making equipment. The manufacturer only needs to provide a standard Jar package to the bank, and there is no need to care about the connection between the Jar package and the manufacturer's card making service program.
[0048] 3) Data security
[0049] The Jar package interface definition and implementation designed and formulated by the present invention will not retain any sensitive information on the branch computer, and the communication adopts the HTTPS encrypted transmission mode.
[0050] 4) Reduce operation and development costs
[0051] The method of the present invention greatly reduces the workload of developing and testing the driver programs of different manufacturers for the bank instant card making system to access, thereby reducing labor costs and subsequent operation and maintenance costs. After the interface standards are unified, production problems can be effectively and quickly checked and located and solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 This is a hardware block diagram of an embodiment of the present application;
[0053] Figure 2 This is a flowchart of instant card making according to an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0055] This application adopts the unified interface specification of card-making equipment, and each manufacturer uses the Java language to develop and encapsulate a Jar package according to the interface specification. The Jar package is adapted to the driver of the card-making service program of each manufacturer's own card-making equipment, and the bank card-making system calls this Jar package to complete instant card making.
[0056] In a first aspect, the present application provides an instant card making method, which is applied to an instant card making system, wherein the instant card making system is installed with one or more Jar packages generated by different card making equipment manufacturers; the Jar package generated by each card making equipment manufacturer is adapted to the driver of the card making service program of the corresponding card making equipment; the method comprises:
[0057] Running the Jar package generated by the card making device manufacturer enables the instant card making system to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make cards.
[0058] In some embodiments, the running of the Jar package generated by the card making device manufacturer enables the instant card making system to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make a card, including:
[0059] Run the Jar package generated by the card-making equipment manufacturer to enable the instant card-making system to perform the following operations:
[0060] Establish connection with card making equipment;
[0061] Get the current card making device status;
[0062] If the card making device is idle, a card making command is sent to the card making device to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make a card.
[0063] In some embodiments, the card making command includes: card feeding instruction, card power-on instruction, card writing personalized data instruction, card power-off instruction and card information embossing and / or flat printing instruction.
[0064] Among them, the card is an IC card.
[0065] In some embodiments, the card making command also includes an instruction to write magnetic track information to the card.
[0066] In some embodiments, after completing the card making, the instant card making system may send a disconnection instruction to the card making device through a Jar package to disconnect.
[0067] In some embodiments, the Jar package is an interface for remotely calling the card-making service program based on the HTTPS protocol, and the Jar package and the card-making service program use a JSON message communication format.
[0068] The embodiment of the present application also provides an instant card making method, which is applied to a card making device. The card making device manufacturer generates a Jar package adapted to the card making service program driver of the card making device. The method includes:
[0069] In response to the instant card making system running the Jar package generated by the card making equipment manufacturer, the card making service program is called to drive the card making module connected to the card making equipment to make cards.
[0070] In some embodiments, the instant card making system runs the Jar package generated by the card making device manufacturer, starts the card making service program, and drives the card making module connected to the card making device to make a card, including:
[0071] In response to the instant card making system running the Jar package generated by the card making equipment manufacturer, perform the following operations:
[0072] Respond to the connection request of the instant card making system and establish a connection with the instant card making system;
[0073] Responding to the request of the instant card making system to obtain the current card making device status, sending the current card making device status to the instant card making system;
[0074] In response to the card making command sent by the instant card making system, the card making module connected to the card making device is driven to make a card, thereby driving the card making module connected to the card making device to perform the corresponding card making operation to complete the card making.
[0075] In some embodiments, after completing the card making, the card making device may disconnect from the instant card making system in response to a disconnection instruction sent by the instant card making system.
[0076] In some embodiments, the card making command includes: card feeding command, card power-on command, card writing personalized data command, card power-off command, card writing track information command, card information concave and convex printing and / or flat printing command;
[0077] The corresponding card making operations include card feeding, card powering up, writing personalized data into the card, card powering down, writing magnetic track information into the card, and embossing and / or flat printing of information on the card.
[0078] In some embodiments, the card making command also includes an instruction to write track information to the card, and the corresponding card making operation also includes writing track information to the card.
[0079] In some embodiments, after the card making service program is started, an HTTPS protocol interface is opened for the Jar package to remotely call, and the Jar package and the card making service program use the JSON message format for communication.
[0080] In some embodiments, the Jar package is designed as follows:
[0081] 1) The Jar package meets the following basic requirements:
[0082] No driver requirement: The Jar package of the card manufacturing equipment vendor uses a driverless installation method;
[0083] Data security requirements: Sensitive data cannot appear on branch computers and cannot be persistently stored on card-making devices or servers;
[0084] Communication security requirements: The communication between the instant card making system and the card making device is encrypted. Without the security key, even if someone attacks it in the middle, they cannot decrypt the ciphertext information;
[0085] It is implemented using standard Java libraries and complies with banking server IT specifications.
[0086] 2) Jar package interface definition and implementation
[0087] 2.1. Jar package interface definition:
[0088] The following interfaces are defined in the Jar package: establishing a connection with the card-making device, obtaining the current state of the card-making device, feeding the card into the card-making device, powering on the card, writing personalized data to the card, printing information on the card in relief (embossing on the card surface), printing information on the card in a flat surface (flat printing on the card surface), writing magnetic track information to the card, moving the card to the card output slot (i.e., the external exit of the card-making device), moving the card to the card library (the internal structure for storing cards in the card-making device), removing the card from the card library, moving the card to the waste card slot (recycling bin), powering off the card, disconnecting, obtaining the card-making status, obtaining error information, and synchronizing the working key of the card-making device.
[0089] The error information acquisition interface is used to acquire error information when card production fails.
[0090] Among them, the card-making device working key synchronization interface is used to obtain the updated working key, and the working key is used to encrypt the transmission data between the instant card-making system and the card-making device to enhance the security of data transmission.
[0091] 2.2. Jar package interface implementation
[0092] All the interfaces defined above are implemented using standard Java libraries. The specific internal implementation is to call the interface of the card making service program through HTTPS remote call.
[0093] In some embodiments, the card making service program is designed as follows:
[0094] The card-making service program is a background process running on the card-making device. It is responsible for receiving requests from the Jar package and performing corresponding actions according to the content of the request message. After the card-making service program is started, the HTTPS protocol interface will be opened for the Jar package to remotely call. The communication format of the JSON message is adopted, which is easy to read and supports cross-platform. It occupies less bandwidth, thereby providing network transmission efficiency. The card-making service program also has cross-platform features and supports Windows, Kylin, and UOS. The service implements all interfaces that the Jar package needs to call.
[0095] The specific interface message examples are as follows:
[0096] The request interface message includes: card making device IP, card making device connection port, card making device number, connection timeout (in ms), and card box number;
[0097] Response interface message: card making command code, execution result code, status information
[0098] Interface message description:
[0099] Among them, the card making command code field (such as txcode) is used to distinguish different card making commands. For example, txCode=1003 can be defined to indicate that the instant card making system initiates a card making command to feed the card from the specified card box number to the card making service program on the card making device. After receiving this command, the card making service program will initiate an action to feed the card from the specified card box to the card reader to the SP driver, and then return the execution result to the upper application.
[0100] The execution result code field (such as retCode) is used to feedback whether the corresponding card making command is executed successfully. For example, retCode=00000 can be defined to indicate successful execution, and other values to indicate failed execution.
[0101] The status information field (such as retMsg) is used to feedback the return status of the card making device. If the operation is successful, success is returned, and if it fails, an error message is returned.
[0102] The embodiment of the present application also provides an instant card making system, including: a memory and a processor; the memory is used to store Jar packages generated by one or more different card making equipment manufacturers; the Jar package generated by each card making equipment manufacturer is adapted to the driver of the card making service program of the corresponding card making equipment; the processor is used to run the Jar package generated by the card making equipment manufacturer, so that the instant card making system executes the above method.
[0103] The embodiment of the present application also provides a card making device, including: a memory and a processor; the memory is used to store a card making service program; the processor is used to run the card making service program to enable the card making device to perform the above method.
[0104] The specific implementation of the card making system and the card making device in the embodiment of the present application can refer to the implementation of the first aspect mentioned above, and will not be described in detail here.
[0105] In some application examples:
[0106] The manufacturer develops its own card-making service program and SP (Service Provider) driver, and installs and debugs the card-making service program and SP driver on the card-making equipment;
[0107] Manufacturers develop corresponding Jar packages according to the unified access interface specifications of card-making equipment, and conduct self-tests on the Jar packages and their own card-making service programs;
[0108] Submit the developed Jar package to the bank for code and vulnerability scanning;
[0109] The bank uploads the scanned Jar package without loopholes and defects to the instant card production system;
[0110] Configure the card making device information in the instant card making system, such as manufacturer, card making device number, card making device IP, card making device connection port (port number corresponding to the card making service program), card box number, etc.
[0111] Finally, the customer will go through the card opening process at the bank's super counter or counter. After the customer completes the identity verification and information collection, there will be a choice of instant or non-instant. If the customer chooses instant, the backend will call the instant card making system to drive the card making equipment to make the card instantly.
[0112] Wait for the card to be written and printed successfully, and the customer can take his ID card to the card-making equipment to collect the card.
[0113] The specific application in the embodiments of the present application is described below with reference to the accompanying drawings.
[0114] like Figure 1 As shown, in the application scenario of the embodiment of the present application, an instant card making system and a card making device are included;
[0115] The instant card making system is the entry system for tellers to operate instant card making. The instant card making system will introduce the Jar package provided by the card making equipment manufacturer, and use the Jar package to remotely call the card making service program interface of the card making equipment. The card making service program interface can further call the SP driver to drive the card making module to make cards and realize related card making operations.
[0116] Instant card making can include the following processes:
[0117] 1) The instant card issuance system initiates the instant card issuance action;
[0118] 2) The real-time card making system background will execute card writing in sequence;
[0119] Step 1: Connect the card making device;
[0120] The prerequisite for this step is that the bank server and the card making equipment are connected to the network
[0121] Step 2: Query the card-making device status, and continue to execute only when the card-making device status is idle;
[0122] Step 3: Card making equipment feeds cards;
[0123] The prerequisite for this step is that there is a card in the designated card box number configured in the instant card production system;
[0124] Step 4: Power on the card;
[0125] Step 5: Write personalized data to the card;
[0126] This step is a cyclic process until the personalized data is written;
[0127] Step 6: Power off the card;
[0128] Step 7: Write track information to the card;
[0129] This step is an optional step. For some types of cards, it is not necessary to write the track information, that is, this step is omitted.
[0130] Step 7: Print the information on the card in embossing and / or flat printing;
[0131] In this step, both embossing and flat printing of information on the card may be performed, or only one of them may be performed, depending on the bank's card-making requirements.
[0132] Step 8: The card is put into the card library or recycling box;
[0133] In this step, if the card making is successful, the card will enter the card library, and if the card making fails, the card will enter the recycling box.
[0134] Step 9: Disconnect;
[0135] 3) The customer takes his ID card to the card-making device to receive the card.
[0136] Instant card making process call details such as Figure 2 shown.
[0137] The above description of the embodiments of the present application is only a partial embodiment of the present application, which is used to enable professionals in the field to implement or use the content of the present application, and is not used to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. An instant card making method, characterized in that: Applied to an instant card making system, the instant card making system is installed with one or more Jar packages generated by different card making equipment manufacturers; The Jar package generated by each card making device manufacturer is adapted to the driver of the card making service program of the corresponding card making device; The method comprises: The Jar package generated by the card making device manufacturer is run to enable the instant card making system to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make cards.
2. The instant card making method according to claim 1, characterized in that: The running of the Jar package generated by the card making device manufacturer enables the instant card making system to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make cards, including: Run the Jar package generated by the card-making equipment manufacturer to enable the instant card-making system to perform the following operations: Establish connection with card making equipment; Get the current card making device status; If the card making device is idle, a card making command is sent to the card making device to remotely call the card making service program of the corresponding card making device, thereby driving the card making module connected to the card making device to make a card.
3. The instant card making method according to claim 2, characterized in that: The card making command includes: card feeding command, card power-on command, card writing personalized data command, card power-off command and card information embossing and / or flat printing command.
4. The instant card making method according to claim 1, characterized in that: include: The Jar package is based on the interface of the remote calling card making service program of the HTTPS protocol, and the communication format of the Jar package and the card making service program adopts the JSON message.
5. An instant card making method, characterized in that: Applied to card-making equipment, the card-making equipment manufacturer generates a Jar package that is compatible with the card-making service program driver of the card-making equipment; The method comprises: In response to the instant card making system running the Jar package generated by the card making equipment manufacturer, the card making service program is called to drive the card making module connected to the card making equipment to make cards.
6. The instant card making method according to claim 5, characterized in that: The instant card making system runs the Jar package generated by the card making device manufacturer, starts the card making service program, and drives the card making module connected to the card making device to make a card, including: In response to the instant card making system running the Jar package generated by the card making equipment manufacturer, perform the following operations: Respond to the connection request of the instant card making system and establish a connection with the instant card making system; Responding to the request of the instant card making system to obtain the current card making device status, sending the current card making device status to the instant card making system; In response to the card making command sent by the instant card making system, the card making module connected to the card making device is driven to make a card, thereby driving the card making module connected to the card making device to perform the corresponding card making operation to complete the card making.
7. The instant card making method according to claim 6, characterized in that: The card making commands include: card feeding command, card power-on command, card writing personalized data command, card power-off command, card writing track information command, card information concave and convex printing and / or flat printing command; The corresponding card making operations include card feeding, card powering up, writing personalized data into the card, card powering down, writing magnetic track information into the card, and embossing and / or flat printing of information on the card.
8. The instant card making method according to claim 5, characterized in that: include: After the card making service program is started, the interface of the HTTPS protocol is opened for the Jar package to remotely call, and the Jar package and the card making service program use the communication format of the JSON message.
9. An instant card making system, characterized in that: include: Memory and processor; The memory is used to store Jar packages generated by one or more different card making equipment manufacturers; The Jar package generated by each card-making device manufacturer is adapted to the driver of the card-making service program of the corresponding card-making device; The processor is used to run the Jar package generated by the card making device manufacturer, so that the instant card making system executes the method according to any one of claims 1 to 4.
10. A card making device, characterized in that: include: Memory and processor; The memory is used to store the card making service program; The processor is used to run the card making service program to enable the card making device to execute the method according to any one of claims 5 to 8.
Citation Information
Patent Citations
Security all-purpose card management method and security all-purpose card management system
CN103049690A
Multi-card type instant card making system
CN111951494A
Self-service card making method and device, computer equipment and readable storage medium
CN113205650A
Device driver processing method, device communication method, processing system and electronic device
CN115174703A
Card making method, device and equipment and storage medium
CN118627523A
