CN115660023A - Integrated circuit for digital currency, writing method and digital currency chip card - Google Patents

Integrated circuit for digital currency, writing method and digital currency chip card Download PDF

Info

Publication number
CN115660023A
CN115660023A CN202211338584.4A CN202211338584A CN115660023A CN 115660023 A CN115660023 A CN 115660023A CN 202211338584 A CN202211338584 A CN 202211338584A CN 115660023 A CN115660023 A CN 115660023A
Authority
CN
China
Prior art keywords
digital currency
digital
chip
circuit
pin
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.)
Pending
Application number
CN202211338584.4A
Other languages
Chinese (zh)
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.)
Boc Financial Technology Suzhou Co ltd
Original Assignee
Boc Financial Technology Suzhou 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 Boc Financial Technology Suzhou Co ltd filed Critical Boc Financial Technology Suzhou Co ltd
Priority to CN202211338584.4A priority Critical patent/CN115660023A/en
Publication of CN115660023A publication Critical patent/CN115660023A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

The invention provides an integrated circuit, a writing method and a digital currency chip card for digital currency, wherein the integrated circuit comprises a plurality of switch sub-circuits and a digital currency chip, wherein: each switch sub-circuit is connected with a corresponding pin on the digital currency chip and is used for sending a generated level signal to the pin after any one switch sub-circuit forms a path, wherein each pin corresponds to digital currency of an operating mechanism; the digital currency chip is used for writing the initialization information of the digital currencies of different operating institutions into the storage space according to the level signals at the pins. The invention enables one digital currency chip card to support digital currencies of various operation organizations, thereby simplifying payment flow and improving user experience.

Description

Integrated circuit for digital currency, writing method and digital currency chip card
Technical Field
The invention relates to the technical field of digital currency, in particular to an integrated circuit for digital currency, a writing method and a digital currency chip card.
Background
In recent years, with the increasing trial and popularization scale of digital money (which may be referred to as digital money), a variety of digital money chip purses appear on the market, wherein Card-type digital money chip purses are the most common, and the physical expression form of the purse is the appearance of a common Integrated Circuit Card (IC), and the purse supports contactless Communication with a money receiving terminal through a Near Field Communication (NFC) technology, so as to realize payment of digital money.
Currently, digital currency adopts a double-layer operation system (mainly various banks), and digital currency conversion and transaction services are provided to the public by a plurality of operation organizations. The existing digital currency uses a uniform Application Identifier (AID for short), and when a card approaches a money receiving device, the card is matched with a corresponding payment Application according to AID information to complete payment corresponding to the AID. However, currently, a digital currency card can only be issued in one bank operation mechanism to activate the wallet function of the digital currency chip, and if a user needs the digital currency payment functions of a plurality of bank operation mechanisms, a plurality of digital currency chip cards need to be handled at this time, which results in a complicated payment process.
Therefore, there is a need for an integrated circuit, a writing method and a chip card for digital currency to solve the above problems.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an integrated circuit for digital currency, a writing method and a digital currency chip card.
The invention provides an integrated circuit for digital currency, which comprises a plurality of switch sub-circuits and a digital currency chip, wherein:
each switch sub-circuit is connected with a corresponding pin on the digital currency chip and is used for sending a generated level signal to the pin after any one switch sub-circuit forms a path, wherein each pin corresponds to digital currency of an operating organization;
the digital currency chip is used for writing the initialization information of the digital currencies of different operating institutions into the storage space according to the level signals at the pins.
According to the integrated circuit for the digital currency, the switch sub-circuit comprises a pull resistor and a change-over switch, wherein the pull resistor and the change-over switch form a pull-up circuit or a pull-down circuit and are connected with corresponding pins on the digital currency chip.
According to the integrated circuit for digital currency, the ROM in the digital currency chip is provided with an on-chip operating system, the on-chip operating system is used for detecting the high and low states of level signals at the pins of the digital currency chip, and if the detection result meets the preset condition, the initialization information of the digital currency of different operation mechanisms is written into the corresponding storage space in the EEPROM.
According to the integrated circuit for the digital currency, provided by the invention, the on-chip operating system is also used for determining the digital currency of a corresponding target operator from the stored initialization information in the EEPROM according to the level signal at the pin.
The present invention also provides a digital money writing method based on the integrated circuit for digital money provided above, including:
acquiring initialization information of digital currencies of various operating institutions, and constructing a mapping relation between each type of initialization information and each pin on a digital currency chip;
after each switch sub-circuit is connected with a corresponding pin on the digital currency chip, based on the sequence of the paths formed by each switch sub-circuit, the initialization information of the digital currency of each operating mechanism is written into the digital currency chip in sequence according to the mapping relation.
According to the digital currency writing method provided by the invention, after the corresponding pins on the digital currency chip are connected to each switch sub-circuit, the initialization information of the digital currency of each operator is written into the digital currency chip in sequence according to the mapping relation based on the sequence of the paths formed by each switch sub-circuit, and the method further comprises the following steps:
under the condition that any one switch sub-circuit forms a channel, acquiring a target level signal and determining a corresponding target pin;
if the target level signal meets a preset condition, determining the digital currency of a target operation mechanism in the digital currency chip according to the target pin and the mapping relation;
and executing corresponding payment operation according to the digital currency of the target operation mechanism.
The invention also provides a digital currency chip card, which comprises a plurality of switching buttons and the integrated circuit for digital currency, wherein each switching button is arranged corresponding to each switch sub-circuit in the integrated circuit.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the digital currency writing method.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a digital currency writing method as described in any one of the above.
The present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a digital currency writing method as described in any one of the above.
According to the integrated circuit, the writing method and the digital currency chip card for the digital currency, which are provided by the invention, the plurality of switch sub-circuits are arranged and connected with the corresponding pins on the digital currency chip, and after any switch sub-circuit forms a channel, the digital currency chip writes the digital currency type of the corresponding operation mechanism into the card according to the level signal of the pin connected with the switch sub-circuit, so that one digital currency chip card can support the digital currencies of various operation mechanisms, the payment process is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of the logical structure of a digital currency chip card of the prior art;
FIG. 2 is a schematic diagram of a prior art contactless card communication;
FIG. 3 is a schematic diagram of an integrated circuit for a user digital currency according to the present invention;
FIG. 4 is one of the overall schematic structures of the integrated circuit for digital currency according to the present invention;
FIG. 5 is a second schematic diagram of the overall structure of an integrated circuit for digital currency according to the present invention;
FIG. 6 is a flow chart of a digital currency writing method according to the present invention;
FIG. 7 is a schematic view of the surface structure of a digital currency chip card according to the present invention;
FIG. 8 is a schematic view of a payment process of a multi-operator based digital currency card chip according to the present invention;
fig. 9 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The hardware of the digital currency Chip card is essentially an intelligent card, an integrated circuit in the card includes a Central Processing Unit (CPU), a charged Erasable Programmable Read Only Memory (EEPROM), a Read Only Memory (ROM), and a Chip Operating System (COS) solidified in the ROM, and a coprocessor for encryption and decryption operations is further integrated in the general digital currency Chip card to improve the operation speed and the security.
The conventional digital currency chip card is a small and complete computer system, and the COS is operated inside the conventional digital currency chip card, and fig. 1 is a schematic diagram of a logic structure of the conventional digital currency chip card, which can be referred to fig. 1 and is divided into a hardware layer, a COS layer and an application layer from bottom to top. Wherein, the hardware layer is an integrated circuit in the card, and the related hardware parameter or capability requirement meets the related standard requirement of the digital currency hardware wallet; COS is an operating system Card OS running on a hardware layer and provides a running environment required by an application layer; the application layer may be a single-application digital currency chip card, which has only one application of digital rmb (corresponding to AID information of digital currency application), or may be a multi-application digital currency card, for example, a chip wallet card in which a social security card and a bus card are integrated, where each application corresponds to one AID information, such as AID1 in fig. 1 corresponding to digital currency application, AID2 corresponding to social security application, and AID3 corresponding to transportation union application.
For the digital currency chip card with multiple application functions, the energy supply and the signal transmission in the payment process are realized based on the NFC technology, so that the payment process of the digital currency application is completed. The integrated circuit of the existing digital currency chip card is a non-contact system, and the basic components comprise a non-contact reader-writer (or a reader-writer PCD) and a responder (or a non-contact radio frequency card PICC). The non-contact reader-writer is mainly composed of an antenna connected to a circuit, and the responder comprises an induction antenna and an integrated circuit connected to the tail part of the antenna. The reader/writer and the responder are combined to function like a transformer. An electromagnetic field is formed when an alternating current passes through a primary coil (reader antenna) and an induced current is generated in a secondary coil (responder antenna). The responder converts the electromagnetic field (or radio frequency field) transmitted by the non-contact reader-writer into direct current through a diode rectifier, thereby supplying power to the internal circuit of the responder.
Fig. 2 is a schematic diagram of a contactless card communication in the prior art, and can be referred to fig. 2, and the card is in the form of a contactless responder (PICC), i.e. a Proximity IC card, also commonly referred to as a smart card. An integrated circuit and a coupling circuit are incorporated in the PICC and communication with the integrated circuit is accomplished through inductive coupling with a proximity coupling device. As shown in fig. 2, the card includes a coupling circuit (coil) and an integrated circuit (chip) inside, and the coil and the chip are packaged in the interlayer of the card and are combined together by a fixed connection. Under the ideal condition, the effective communication distance between the reader-writer and the card can reach about 10cm, namely, the reader-writer and the card can complete the energy supply and the data interaction under the condition of being 10cm apart. Based on the digital currency chip card, the payment process of the digital currency application comprises the following specific steps:
s1, when a digital currency chip card approaches to a cash register, entering an NFC induction range of the cash register;
s2, after the cash register checks that the digital currency chip card approaches to the cash register, the cash register sends communication handshake information and attaches AID information of the digital currency application;
s3, COS in the digital currency chip card analyzes the handshake information, matches the handshake information to digital currency application according to the AID information, and then sends the payment data to the digital currency application for processing;
and S4, continuously communicating the digital currency application with the money receiving equipment based on the COS until the transaction is completed.
It can be seen that when a transaction needs to be performed using digital money, digital money applications need to be selected first according to AID information, and since digital money is targeted to all the public, the digital money has unified AID information, and the terminal device also determines the digital money applications from within the digital money chip cards (for digital money chip cards with multiple application functions) only according to the standard unified AID information.
However, in the current digital currency chip card, only digital currency written into one operator is supported currently, because of the unified AID, the card reading device requests relevant applications to the card through the AID of the digital currency application, the COS of the card is assigned to the digital currency application response operation after receiving the instruction of the cash receiving terminal, and if digital currency provided by other operators is required, a plurality of digital currency chip cards are required to be prepared to be written into the digital currency of the operator. The invention makes COS select the digital RMB applications of different operation mechanisms according to the situation by setting a plurality of digital RMB applications in a digital currency chip card and utilizing a plurality of switch sub-circuits when a user uses the card and pressing a button corresponding to a target switch sub-circuit, thereby enabling one card to support the opening and activation of the digital currencies of a plurality of operation mechanisms. After the activation of the digital currency is completed, the digital currency application of the card may then be switched to the digital currency of the target operator, again by selecting a different button, for the subsequent payment process.
Fig. 3 is a schematic structural diagram of an integrated circuit for user digital currency, and as shown in fig. 3, the present invention provides an integrated circuit for digital currency, which includes a plurality of switch sub-circuits 301 and a digital currency chip 302, wherein:
each of the switch sub-circuits 301 is connected to a corresponding pin on the digital currency chip 302, and is configured to send a generated level signal to the pin after any one of the switch sub-circuits 302 forms a path, where each pin corresponds to a digital currency of an operator;
the digital currency chip 302 is used for writing initialization information of digital currencies of different operating institutions into the storage space according to the level signal at the pin.
In the present invention, the integrated circuit of the existing conventional digital currency chip card can be improved, and the digital currency of 4 bank operating institutions supported by one digital currency chip card is explained. In one embodiment, the input detection is performed by adding the pin SL1, the pin SL2, the pin SL3 and the pin SL4 to the digital currency chip, and the input detection is correspondingly connected to the switch SW1, the switch SW2, the switch SW3 and the switch SW4 respectively. In a default state (i.e. when each switch sub-circuit 301 is off), because the ground exists, the input of all pins SL is low, and after the switch SW of the corresponding switch sub-circuit 301 is pressed, the input of the corresponding pin SL becomes high, for example, after the switch SW1 is pressed, the switch sub-circuit 1 is turned on, and at this time, the pin SL1 is a high signal.
Specifically, when the user uses the digital currency chip card, the hardware pull-up circuit is turned on by pressing a membrane switch (the membrane switch is disposed on the surface of the digital currency chip card and corresponds to the switch SW in each switch sub-circuit 301, that is, after the membrane switch is pressed, the switch SW in the corresponding switch sub-circuit 301 is also pressed to form a path), so that the input level of the corresponding pin SL in the integrated circuit is high. And when the COS detects that the signal of a certain pin SL is high level, selecting a corresponding digital coin to apply response processing. It should be noted that, in the present invention, the switch sub-circuit 301 may be set as a pull-up circuit or a pull-down circuit according to actual requirements, that is, when the digital currency chip is applied according to low level response digital currency, the pin SL is required to be at low level, and at this time, the switch sub-circuit 301 is a pull-down circuit; when the digital currency chip is applied to respond to digital currency according to a high level, the pin SL needs to be at a high level, and the switch sub-circuit 301 is a pull-up circuit.
Further, in the present invention, the user presses different membrane switches on the digital currency chip card to make the corresponding switch sub-circuit 301 form a path, and finally the digital currency application of different bank operating organizations responds to the processing. For example, the user presses a button corresponding to the SW1 and approaches the cash collection terminal, and at this time, the payment is completed by the digital currency chip wallet of the first bank operator; when the button corresponding to SW2 is pressed, the payment is completed by the digital currency chip wallet of the second bank operating organization.
According to the integrated circuit for the digital currency, which is provided by the invention, the plurality of switch sub-circuits are arranged and connected with the corresponding pins on the digital currency chip, and after any switch sub-circuit forms a channel, the digital currency chip writes the digital currency type of the corresponding operation mechanism into the card according to the level signal of the pin connected with the switch sub-circuit, so that one digital currency chip card can support the digital currencies of various operation mechanisms, the payment process is simplified, and the user experience degree is improved.
On the basis of the above embodiment, the switch sub-circuit includes a pull-up resistor and a switch, and the pull-up resistor and the switch form a pull-up circuit or a pull-down circuit, which are connected to corresponding pins on the digital currency chip.
Fig. 4 is a schematic diagram of an overall structure of an integrated circuit for digital currency according to the present invention, which can be described with reference to fig. 4, and the switch sub-circuits are taken as pull-up circuits, wherein 4 pins SL of a digital currency CHIP (CHIP) are respectively connected to corresponding switch sub-circuits, each switch sub-circuit includes 1 pull resistor and 1 power supply, when a switch SW (e.g., a switch SW 1) in any one of the switch sub-circuits is pressed, a level signal at the pin SL (e.g., the pin SL 1) is changed from a low level to a high level, and at this time, digital currency of a target operator can be written into the digital currency CHIP through the pin SL (e.g., the pin SL 1), so that the pin SL corresponds to digital currency of one operator. After completing writing of a plurality of digital currencies, a user can press a target film button according to self requirements to enable a corresponding switch sub-circuit to form a passage, and at the moment, the digital currency chip reads a high-level signal of a corresponding pin SL, so that payment is carried out in response to the digital currencies of a target operating mechanism. It should be noted that when the digital currency chip needs to respond to the corresponding digital currency according to the low level at the pin SL, the switch sub-circuit is a pull-down circuit at this time, that is, after the switch SW (for example, the switch SW 1) in any one of the switch sub-circuits is pressed, the level signal at the pin SL (for example, the pin SL 1) changes from the high level to the low level.
Fig. 5 is a second schematic diagram of the overall structure of the integrated circuit for digital currency according to the present invention, in the present invention, a plurality of switch sub-circuits may also be integrated into the integrated circuit (the pull-up resistor is omitted in fig. 5, and the corresponding pull-up circuit and pull-down circuit may be set according to actual requirements), so as to further save space in the chip.
On the basis of the embodiment, the ROM in the digital currency chip is provided with an on-chip operating system, the on-chip operating system is used for detecting the high and low states of the level signals at the pins of the digital currency chip, and if the detection result meets the preset condition, the initialization information of the digital currencies of different operating institutions is written into the corresponding storage space in the EEPROM.
The response of the on-chip operating system COS to the external instruction can be basically divided into four steps of transmission management, encryption management, command interpretation and file management. In the present invention, the function of the COS is mainly responsible for managing hardware resources in the digital currency chip, and when a certain switch sub-circuit forms a path, it receives an external command (e.g. a level signal at the pin SL) and designates a certain digital currency application response. Specifically, in the invention, the high-low state of the input level of the pin SL of the digital currency chip is detected through the COS; and, when writing digital money applications of different operating institutions, the COS divides the EEPROM within the digital money chip, thereby dividing each digital money application into independent EEPROM spaces to support writing each digital money application into different independent EEPROM spaces.
On the basis of the above embodiment, the on-chip operating system is further configured to determine the digital currency of the corresponding target operator from the initialization information stored in the EEPROM according to the level signal at the pin.
In the invention, after digital currency applications of various operation mechanisms are written in a digital currency chip, a user only needs to press a corresponding film button on a digital currency chip card to ensure that the chip card is close to a cash receiving terminal, and a level signal at a corresponding pin SL is obtained, so that the corresponding digital currency of a target operation mechanism is determined from initialization information stored in an EEPROM according to the pin SL, and then the chip card is switched to the digital currency application of the target operation mechanism, and finally the payment process is finished.
Fig. 6 is a schematic flow chart of a digital currency writing method provided by the present invention, and as shown in fig. 6, the present invention provides a digital currency writing method based on the integrated circuit for digital currency provided by the above embodiment, including:
step 601, acquiring initialization information of digital currencies of various operation organizations, and constructing a mapping relation between each initialization information and each pin on a digital currency chip;
step 602, after each switch sub-circuit is connected to a corresponding pin on the digital currency chip, sequentially writing the initialization information of the digital currency of each operator into the digital currency chip according to the mapping relationship based on the order of the paths formed by each switch sub-circuit.
In the present invention, it is explained that one digital currency chip card supports digital currencies of 4 bank operating institutions, and according to the user-defined requirement, digital currency applications of corresponding operating institutions need to be set based on each pin SL, so as to construct the initialization information of the digital currencies of each operating institution (the initialization information includes the type information of the digital currencies of each operating institution, which indicates which operating institution each digital currency belongs to), and the mapping relationship between each pin on the digital currency chip. When any one of the switch SW1, the switch SW2, the switch SW3 and the switch SW4 is pressed, the corresponding switch subcircuit forms a passage, and then the pin SL that needs to be written in the digital currency at present is determined by performing input detection on the newly added pin SL1, pin SL2, pin SL3 and pin SL4 of the digital currency chip. In the default state, each switch sub-circuit is off, and the example of the switch sub-circuit as a pull-up circuit is taken for explanation, because the ground exists, the input of all pins SL is low level at this time, after the switch SW of the target switch sub-circuit is pressed, the input of the corresponding pin SL changes to high level, for example, after the switch SW1 is pressed, the switch sub-circuit 1 forms a path, at this time, the pin SL1 is a high level signal, at this time, the digital money chip reads the level signal of the pin SL, and writes the digital money application of a certain operating organization into the EEPROM through the corresponding data writing interface.
According to the digital currency writing method provided by the invention, the plurality of switch sub-circuits are arranged and connected with the corresponding pins on the digital currency chip, and after any switch sub-circuit forms a channel, the digital currency chip writes the digital currency type of the corresponding operation mechanism into the card according to the level signal of the pin connected with the switch sub-circuit, so that one digital currency chip card can support the digital currencies of various operation mechanisms, the payment process is simplified, and the user experience is improved.
On the basis of the above embodiment, after each switch sub-circuit is connected to a corresponding pin on the digital currency chip, and the initialization information of the digital currency of each operator is sequentially written into the digital currency chip according to the mapping relationship based on the order of the paths formed by each switch sub-circuit, the method further includes:
under the condition that any one switch sub-circuit forms a channel, acquiring a target level signal and determining a corresponding target pin;
if the target level signal meets a preset condition, determining the digital currency of a target operation mechanism in the digital currency chip according to the target pin and the mapping relation;
and executing corresponding payment operation according to the digital currency of the target operation mechanism.
In the invention, when a user uses the digital currency chip card, the switch SW in the corresponding switch subcircuit can be pressed down to form a passage by pressing the film switch arranged on the surface of the digital currency chip card; at this time, the hardware pull-up circuit is turned on, so that the input level of the corresponding pin SL in the integrated circuit is high. And when the COS detects that the signal of a certain pin SL is high level, selecting a corresponding digital coin to apply response processing.
In the invention, a user presses different membrane switches on the digital currency chip card to enable corresponding switch sub-circuits to form a channel, and finally, the digital currency application response processing of different bank operation mechanisms is carried out. For example, the user presses a button corresponding to the SW1 and approaches the cash collection terminal, and at this time, the payment is completed by the digital currency chip wallet of the first bank operator; when the button corresponding to SW2 is pressed, the payment is completed by the digital currency chip wallet of the second bank operating organization.
Fig. 7 is a schematic view of the surface structure of the digital currency chip card provided by the invention, and as shown in fig. 7, the invention provides a digital currency chip card comprising a plurality of switch buttons and the integrated circuit for digital currency provided by the above embodiment, wherein each switch button is arranged corresponding to each switch sub-circuit in the integrated circuit.
Fig. 8 is a schematic diagram of a payment process of a digital currency card CHIP based on multiple operating mechanisms according to the present invention, which can refer to fig. 8, in the present invention, when a user uses a digital currency CHIP card, the user needs to press a certain membrane switch on the surface of the CHIP card, and at this time, a pull-up circuit (or a pull-down circuit) of hardware is turned on, so that a level of a corresponding pin SL in an integrated circuit inputting the digital currency CHIP (CHIP) is high. When the chip card is in contact with the cash register terminal, when AID information acquired through handshake information is digital currency application, the COS detects that a signal of a certain pin SL is high level, the digital currency application corresponding to an operating mechanism is selected and response processing is carried out, and therefore different digital currency applications are finally used for response processing by pressing different membrane switches.
According to the digital currency chip card provided by the invention, the plurality of switch sub-circuits are arranged and connected with the corresponding pins on the digital currency chip, and after any switch sub-circuit forms a channel, the digital currency chip writes the digital currency type of the corresponding operation mechanism into the card according to the level signal of the pin connected with the switch sub-circuit, so that one digital currency chip card can support the digital currencies of various operation mechanisms, the payment process is simplified, and the user experience is improved.
Fig. 9 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 9, the electronic device may include: a Processor (Processor) 901, a communication Interface (Communications Interface) 902, a Memory (Memory) 903 and a communication bus 904, wherein the Processor 901, the communication Interface 902 and the Memory 903 are in communication with each other via the communication bus 904. The processor 901 may call logic instructions in the memory 903 to perform a digital currency writing method comprising: acquiring initialization information of digital currencies of various operating institutions, and constructing a mapping relation between each type of initialization information and each pin on a digital currency chip; after each switch sub-circuit is connected with a corresponding pin on the digital currency chip, based on the sequence of the paths formed by each switch sub-circuit, the initialization information of the digital currency of each operator is written into the digital currency chip in sequence according to the mapping relation.
In addition, the logic instructions in the memory 903 may be implemented in a software functional unit and stored in a computer readable storage medium when the logic instructions are sold or used as a separate product. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the digital money writing method provided by the above methods, the method comprising: acquiring initialization information of digital currencies of various operating institutions, and constructing a mapping relation between each type of initialization information and each pin on a digital currency chip; after each switch sub-circuit is connected with a corresponding pin on the digital currency chip, based on the sequence of the paths formed by each switch sub-circuit, the initialization information of the digital currency of each operating mechanism is written into the digital currency chip in sequence according to the mapping relation.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the digital money writing method provided in the above embodiments, the method including: acquiring initialization information of digital currencies of various operating institutions, and constructing a mapping relation between each type of initialization information and each pin on a digital currency chip; after each switch sub-circuit is connected with a corresponding pin on the digital currency chip, based on the sequence of the paths formed by each switch sub-circuit, the initialization information of the digital currency of each operating mechanism is written into the digital currency chip in sequence according to the mapping relation.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on the understanding, the above technical solutions substantially or otherwise contributing to the prior art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An integrated circuit for digital currency, comprising a plurality of switch sub-circuits and a digital currency chip, wherein:
each switch sub-circuit is connected with a corresponding pin on the digital currency chip and is used for sending a generated level signal to the pin after any one switch sub-circuit forms a path, wherein each pin corresponds to digital currency of an operating mechanism;
the digital currency chip is used for writing the initialization information of the digital currencies of different operating institutions into the storage space according to the level signals at the pins.
2. The integrated circuit for digital currency according to claim 1, wherein the switch sub-circuit comprises a pull-up resistor and a switch, the pull-up resistor and the switch forming a pull-up circuit or a pull-down circuit, connected to corresponding pins on the digital currency chip.
3. The integrated circuit for digital currency according to claim 1, wherein the ROM in the digital currency chip is provided with an on-chip os for detecting the high/low state of the level signal at the pin of the digital currency chip, and if the detection result satisfies a predetermined condition, writing the initialization information of the digital currency of different operating agencies into the corresponding storage space of the EEPROM.
4. The integrated circuit for digital currency according to claim 3, wherein the on-chip operating system is further configured to determine the digital currency of the corresponding target operator from the initialization information stored in the EEPROM according to the level signal at the pin.
5. A digital money writing method based on the integrated circuit for digital money according to any one of claims 1 to 4, comprising:
acquiring initialization information of digital currencies of various operation organizations, and constructing a mapping relation between each initialization information and each pin on a digital currency chip;
after each switch sub-circuit is connected with a corresponding pin on the digital currency chip, based on the sequence of the paths formed by each switch sub-circuit, the initialization information of the digital currency of each operator is written into the digital currency chip in sequence according to the mapping relation.
6. The digital money writing method according to claim 5, wherein after the initialization information of the digital money of each operator is written into the digital money chip in sequence according to the mapping relationship based on the order in which the respective switch sub-circuits form the paths after the corresponding pins on the digital money chip are connected by each switch sub-circuit, the method further comprises:
under the condition that any one switch sub-circuit forms a channel, acquiring a target level signal and determining a corresponding target pin;
if the target level signal meets a preset condition, determining the digital currency of a target operation mechanism in the digital currency chip according to the target pin and the mapping relation;
and executing corresponding payment operation according to the digital currency of the target operation mechanism.
7. A digital currency chip card comprising a plurality of switching buttons and an integrated circuit for digital currency according to any one of claims 1 to 4, wherein each switching button is provided in correspondence with a respective switch sub-circuit in the integrated circuit.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the digital currency writing method according to any one of claims 5 to 6 when executing the computer program.
9. A non-transitory computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the digital currency writing method according to any one of claims 5 to 6.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements a digital currency writing method as claimed in any one of claims 5 to 6.
CN202211338584.4A 2022-10-28 2022-10-28 Integrated circuit for digital currency, writing method and digital currency chip card Pending CN115660023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211338584.4A CN115660023A (en) 2022-10-28 2022-10-28 Integrated circuit for digital currency, writing method and digital currency chip card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211338584.4A CN115660023A (en) 2022-10-28 2022-10-28 Integrated circuit for digital currency, writing method and digital currency chip card

Publications (1)

Publication Number Publication Date
CN115660023A true CN115660023A (en) 2023-01-31

Family

ID=84993651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211338584.4A Pending CN115660023A (en) 2022-10-28 2022-10-28 Integrated circuit for digital currency, writing method and digital currency chip card

Country Status (1)

Country Link
CN (1) CN115660023A (en)

Similar Documents

Publication Publication Date Title
CA3015273C (en) Metal contactless transaction card
CA2819006C (en) Multi-mode communication system for a mobile phone
TWI504229B (en) Mobile device with electronic wallet function
EP1939822B1 (en) Systems, methods, and computer program products for supporting multiple applications and multiple instances of the same application on a wireless smart device
US20130084798A1 (en) Single nfc device identity selection on a multiple-identity supported device
CN107533656A (en) From the antenna of programmable, intelligent card decoupling
WO2002086808A1 (en) Information protective system and information protective method
CN107092949A (en) Smartcard performance strengthens circuit and system
US20170364906A1 (en) Smart multi card, and method for issuing card data for smart multi card
EP2809054B1 (en) Mobile electronic device with transceiver for wireless data exchange
CN203287939U (en) Mobile payment full-card supporting single-wire transport protocol
CN105261130A (en) Intelligent POS terminal
CN101639960A (en) Electronic payment device for personal use
KR101546071B1 (en) Chip card with contact and contactless modes and operating method of the same
CN105205663A (en) Chip card and password-free authentication method based on chip card
CN200990090Y (en) Mobile telephone device with non-contact IC card or electronic label and reader and writer purpose thereof
CN101414395B (en) Electronic purse Combi-SIM card architecture of non-contact transceiver combining action apparatus
CN107229962A (en) A kind of universal smart card based on mobile terminal
KR100834845B1 (en) Contactless card
CN205354084U (en) Multi -function IC card
KR20160083830A (en) Method for payment and saving by smart multi card and appilcation for smart multi card
US20160026833A1 (en) Radio frequency identification tag having input device
CN204759461U (en) Bluetooth NFC device that possesses safe start control circuit
CN101840486B (en) Improved converter for SD card
CN115660023A (en) Integrated circuit for digital currency, writing method and digital currency chip card

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