CN112437427A - Card writing method, device, equipment and computer readable storage medium - Google Patents
Card writing method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112437427A CN112437427A CN201910788800.7A CN201910788800A CN112437427A CN 112437427 A CN112437427 A CN 112437427A CN 201910788800 A CN201910788800 A CN 201910788800A CN 112437427 A CN112437427 A CN 112437427A
- Authority
- CN
- China
- Prior art keywords
- card
- code number
- number information
- writing
- card writing
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a card writing method, a device, equipment and a computer readable storage medium, wherein the card writing method comprises the following steps: acquiring virtual code number information of a target card which is not written with the card; sending card writing request information aiming at the target card to a card writing server, wherein the card writing request information comprises the virtual code number information; receiving a card writing message sent by the card writing server according to the virtual code number information; and sending the card writing message to the target card so that the target card writes the card according to the card writing message. The embodiment of the invention can avoid wasting code number resources, can further automatically write the card conveniently and quickly before the terminal equipment leaves the factory, maximally saves the code number resources of an operator, and saves the cost of equipment merchants.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a card writing method, apparatus, device, and computer readable storage medium.
Background
The internet of things device mostly adopts a welded Subscriber Identity Module (SIM) Card or an embedded Universal Integrated Circuit Card (eUICC), that is, the Card is welded in the internet of things device in the device production process. In order to ensure the networking capability of the internet of things device, code number resources such as International Mobile Subscriber Identity (IMSI) and the like are pre-established in the SIM card or the eUICC at this time.
However, the internet of things device usually needs a certain period of time from the production completion to the final sale, and the code number resources such as the IMSI have a certain timeliness, that is, the code number resources such as the IMSI will fail after a certain time. Therefore, when the internet of things equipment is put into use, the pre-fabricated code number resources such as the IMSI may be out of work, and a new code number needs to be written again, which causes a problem of wasting code number resources.
Disclosure of Invention
The embodiment of the invention provides a card writing method, a card writing device, card writing equipment and a computer readable storage medium, and aims to solve the problem of code number resource waste caused by the existing card writing mode.
In a first aspect, an embodiment of the present invention provides a card writing method, which is applied to a card writing request device, and includes:
acquiring virtual code number information of a target card which is not written with the card; wherein the virtual code number information is information different from the real code number information written in the target card;
sending card writing request information aiming at the target card to a card writing server, wherein the card writing request information comprises the virtual code number information;
receiving a card writing message sent by the card writing server according to the virtual code number information;
and sending the card writing message to the target card so that the target card writes the card according to the card writing message.
Optionally, before sending the card writing request information for the target card to the card writing server, the method may further include:
sending the virtual code number information to authentication management equipment;
receiving an authentication result sent by the authentication management equipment according to the virtual code number information;
the sending card writing request information for the target card to a card writing server includes:
and when the authentication result shows that the target card is legal, sending the card writing request information to the card writing server.
Optionally, the obtaining of the virtual code number information of the target card whose card writing is not completed includes:
acquiring code number information of a card to be identified;
judging whether the code number information is real code number information or not according to the coding mode of the code number information;
and under the condition that the code number information is judged not to be the real code number information, determining that the card to be identified is a target card which is not written into the card, and determining that the code number information is virtual code number information.
Optionally, after determining whether the code number information is the real code number information according to the encoding mode of the code number information, the method further includes:
and under the condition that the code number information is judged to be the real code number information, determining that the card to be identified is completely written.
Optionally, the encoding mode of the virtual code number information is different from the encoding mode of the corresponding real code number information;
the virtual code number information comprises at least one of the following encoded contents:
card merchant code information, card production date, card category information.
Optionally, the target card includes at least one of: SIM card, eUICC.
In a second aspect, an embodiment of the present invention provides a card writing device, which is applied to a card writing request device, and includes:
the acquisition module is used for acquiring the virtual code number information of the target card which is not written with the card; wherein the virtual code number information is information different from the real code number information written in the target card;
the first sending module is used for sending card writing request information aiming at the target card to a card writing server, wherein the card writing request information comprises the virtual code number information;
the first receiving module is used for receiving a card writing message sent by the card writing server according to the virtual code number information;
and the second sending module is used for sending the card writing message to the target card so that the target card writes the card according to the card writing message.
Optionally, the card writing device may further include:
the third sending module is used for sending the virtual code number information to the authentication management equipment;
the second receiving module is used for receiving an authentication result sent by the authentication management equipment according to the virtual code number information;
the first sending module is specifically configured to:
and when the authentication result shows that the target card is legal, sending the card writing request information to the card writing server.
Optionally, the apparatus further comprises:
the storage module is used for storing the received card writing result of the target card;
the query module is used for querying the card writing result according to the received query request information;
and the display module is used for displaying the card writing result stored by the storage module and displaying the card writing result obtained by the inquiry of the inquiry module.
Optionally, the obtaining module includes:
the acquisition unit is used for acquiring the code number information of the card to be identified;
the judging unit is used for judging whether the code number information is real code number information according to the coding mode of the code number information;
and the determining unit is used for determining that the card to be identified is a target card which is not written into the card and determining that the code number information is virtual code number information under the condition that the code number information is judged not to be the real code number information.
Optionally, the apparatus further comprises:
and the determining module is used for determining that the card to be identified is completely written under the condition that the code number information is judged to be the real code number information.
Optionally, the encoding mode of the virtual code number information is different from the encoding mode of the corresponding real code number information;
the virtual code number information comprises at least one of the following encoded contents:
card merchant code information, card production date, card category information.
Optionally, the target card includes at least one of: SIM card, eUICC.
In a third aspect, an embodiment of the present invention provides a card writing request device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, may implement the steps of the card writing method described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the steps of the card writing method described above.
In the embodiment of the invention, the virtual code number information of the target card which is not written is obtained, the card writing request information aiming at the target card is sent to the card writing server, the card writing message sent by the card writing server according to the virtual code number information is received, and the card writing message is sent to the target card, so that the target card can finish the card writing process according to the card writing message. Therefore, by means of the embodiment of the invention, real IMSI and other code number resources do not need to be prefabricated in the equipment production process, virtual code number information can be initially written in the equipment production process, waste of code number resources is avoided, card writing can be further automatically completed conveniently and rapidly before the terminal equipment leaves a factory, operator code number resources are saved to the maximum extent, and equipment cost is saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only 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 inventive labor.
FIG. 1 is a schematic structural diagram of a card writing system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a card writing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an authentication process of an embodiment of the present invention;
FIG. 4 is a flow chart of a card write process according to an embodiment of the invention;
FIG. 5 is a schematic structural diagram of a card writing device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a card writing request device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem of code resource waste caused by the existing card writing mode, the embodiment of the invention provides a card writing method, which does not need to pre-manufacture real code resources such as IMSI (international mobile subscriber identity) and the like in the equipment production process, but initially writes virtual code information in the equipment production process, and can automatically write the card conveniently and quickly through a special card writing request device before the terminal equipment leaves a factory, thereby maximally saving operator code resources and saving equipment cost.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a card writing system according to an embodiment of the present invention. As shown in fig. 1, the card writing system may include: the card 1, the terminal device 2, the card-writing request device 3, the authentication management device 4, and the card-writing server 5 are described in detail below.
1) Card 1 may be referred to as a card, optionally a SIM card, (U) SIM card or eUICC. The card 1 may optionally belong to different card merchants, such as a card merchant and a card merchant B.
In the embodiment of the present invention, the card 1 is integrated in the terminal device 2. In order to avoid wasting the operator code number resources, the virtual code number information is written into the card 1 in the equipment production process. The virtual code number information can be understood as non-real code number information, and can adopt a different coding format with the corresponding real code number information.
Optionally, the virtual code number information may include, but is not limited to, the following: the method comprises the steps of presetting attribution information, card manufacturer coding information, card production date, card type information and serial numbers. The preset attribution information can be provincial codes or codes of other user-defined card attribution information; the card merchant code information is used for distinguishing card merchants; the card production date is used to identify the production date of the card, such as year; the card category information is used to identify the type of the card; the serial number is an identification code of the corresponding virtual code number information.
In one embodiment, the virtual number information may be virtual International Mobile Subscriber Identity (IMSI) information. The virtual IMSI information may be represented as IMSI 'information, which may be in a different coding format than the real IMSI information (i.e., the existing IMSI information), i.e., the IMSI' information is in a new coding format compared to the existing IMSI information.
For example, the existing IMSI information includes 15 digits, and the specific encoding format can be as shown in table 1 below. In order to correspond to the existing IMSI information, the redefined IMSI' information may also include 15 digits, and the specific encoding format may be as shown in table 2 below.
TABLE 1
TABLE 2
1 st to 2 | Position | 3 | 4 th to 5 th position | Position 7 | 8 th to 15 th position |
Preset attribution information | Card and business code | Date of card production | Card category | Serial number |
Optionally, the card 1 has a card writing function, and stores card writing key information. The card writing key information can be operator public key information or symmetric key information. In addition, the card 1 further stores the virtual Code number information, K, source Point Code (OPC), and other relevant authentication data.
2) The terminal device 2 may be a mobile phone, an iPad, or the like having a cellular connection capability, and does not need to have an additional connection capability requirement.
3) The card write request device 3 may be selected as a wireless card write request device. By means of the terminal device 2, information interaction between the card writing request device 3 and the card 1 is possible.
Optionally, the card writing request device 3 may include a card writing management module, which is used to assist in completing the card writing process.
In an embodiment, taking the virtual code number information as IMSI 'information as an example, after the terminal device 2 is turned on, the card writing request device 3 may automatically acquire IMSI information or IMSI' information of the card 1 therein reported by the terminal device 2 by transmitting a radio frequency signal, and screen the reported information, that is, if the acquired IMSI information is acquired, it is determined that the card 1 has completed writing, the IMSI information is discarded, and no processing is performed; and if the obtained IMSI' information is obtained, determining that the card 1 is not written completely, wherein the card 1 is the target card, and sending a card writing request to the card writing server 5 according to the requirement to assist in completing the card writing process of the card 1.
In addition, the card writing request device 3 can also support storing the card writing result and display the card writing result to the user.
4) The authentication management device 4 may receive the virtual code number information of the card 1, such as IMSI' information, from the card writing request device 3 to authenticate the card 1, thereby ensuring the validity of the card 1.
Optionally, the authentication management device 4 may include an authentication management module for authenticating the target card.
Optionally, the authentication management device 4 may store the corresponding virtual code number information, K, OPC and other related authentication data of the card (e.g., a (U) SIM card or an eUICC), and complete authentication of the card through the virtual code number information index.
5) The card writing server 5 can be understood as a remote card writing platform, and can be used for verifying the validity of the card writing request device 3, checking the virtual code number information uploaded by the card writing request device 3, assembling and issuing card writing messages, checking card writing results, and the like.
Optionally, the card writing server 5 stores card key information, where the card key information may be operator private key information or symmetric key information.
Referring to fig. 2, fig. 2 is a flowchart of a card writing method according to an embodiment of the present invention, where the method is applied to a card writing request device, such as the card writing request device 3 shown in fig. 1. As shown in fig. 2, the method comprises the steps of:
step 201: and acquiring the virtual code number information of the target card which is not written with the card.
In this embodiment, the target card may be one card or a plurality of cards. The target card stores virtual code number information such as IMSI' information, namely the target card does not store code number information such as real IMSI and the like, and the target card does not complete card writing. For the virtual code number information, the information written into the target card is different from the real code number information, which can be referred to the above embodiment of fig. 1, and is not described herein again.
Optionally, the target card may include at least one of: SIM card, eUICC.
Step 202: and sending card writing request information aiming at the target card to a card writing server.
In this embodiment, the card writing server is, for example, the card writing server 5 shown in fig. 1. The card writing request information comprises the virtual code number information of the target card. When the target card is a card, the card writing process of a single card can be realized by the card writing request information; and when the target card is a plurality of cards, the card writing process of the batch of cards can be realized by the corresponding card writing request information.
Step 203: and receiving a card writing message sent by the card writing server according to the virtual code number information.
The card writing message is obtained by assembling the card writing server. Before assembling the card writing message, the card writing server needs to check whether the received virtual code number information is legal or not, and indexes the target card through the virtual code number information under the legal condition to assemble the card writing message for the target card. If the received virtual code number information is illegal, the virtual code number information can be abandoned and no response is made.
Step 204: and sending the card writing message to the target card so that the target card writes the card according to the card writing message.
In this embodiment, when sending the card writing message to the target card, the card writing request device may send the card writing message through the terminal device integrated with the target card, that is, the card writing request device sends the card writing message to the terminal device, and then the terminal device forwards the received card writing message to the target card.
It should be noted that the form of the card writing message may refer to the form of the existing card writing message, and the card writing mode of the target card may refer to the existing card writing mode, which is not described in detail herein.
The card writing method of the embodiment of the invention obtains the virtual code number information of the target card which is not written with the card, sends the card writing request information aiming at the target card to the card writing server, receives the card writing message sent by the card writing server according to the virtual code number information, and sends the card writing message to the target card, so that the target card can finish the card writing process according to the card writing message. Therefore, by means of the embodiment of the invention, real IMSI and other code number resources do not need to be prefabricated in the equipment production process, but the virtual code number information is initially written in the equipment production process, so that the waste of the code number resources is avoided, the card writing can be further automatically completed conveniently and rapidly before the terminal equipment leaves the factory, the operator code number resources are saved to the maximum extent, and the equipment cost is saved.
Optionally, before step 102, in order to ensure the validity of the target card and to request card writing for a valid card, the method may further include:
sending the virtual code number information to authentication management equipment;
and receiving an authentication result sent by the authentication management equipment according to the virtual code number information.
And the step 102 includes: and when the authentication result shows that the target card is legal, sending the card writing request information to the card writing server.
Wherein the authentication result can be obtained by the authentication management device through bidirectional verification with the target card. That is, after receiving the virtual code number information, the authentication management device may first encrypt content (such as card merchant encoding information, card category information, serial number, and the like) included in the virtual code number information by using operator private key information stored in the authentication management device to obtain authentication data; then, the authentication data is forwarded to the target card through the card writing request device and the terminal device, so that the target card decrypts the authentication data by using the operator public key information stored in the target card to complete authentication, and the obtained authentication calculation result is reported to the authentication management device through the terminal device and the card writing request device; finally, the authentication management device checks whether the received authentication calculation result is accurate, that is, checks whether the target card is legal, and sends the check result (authentication result) to the card writing request device.
In this embodiment of the present invention, optionally, the process of acquiring the virtual code number information of the target card whose card writing is not completed in step 201 may include:
acquiring code number information of a card to be identified;
judging whether the code number information is real code number information or not according to the coding mode of the code number information;
and under the condition that the code number information is judged not to be the real code number information, determining that the card to be identified is a target card which is not written into the card, and determining that the code number information is virtual code number information, namely acquiring the virtual code number information of the target card.
And under the condition that the code number information is judged to be the real code number information, determining that the card to be identified is completely written, namely, no request is sent to a card writing server to request card writing. The above-mentioned card to be identified can be understood as a card which may need to be written. Therefore, by means of the judgment process of the card to be identified, the target card which is not written can be accurately determined, and the writing of the target card is completed.
In the embodiment of the invention, the card writing request equipment can have a storage capacity to store the card writing result. Optionally, after step 204, the method further includes:
receiving a card writing result sent by the target card;
and storing the card writing result.
Thus, by means of the stored card writing result, the card writing completion of the card can be known conveniently.
Further, the method may further include:
receiving inquiry request information for inquiring the card writing result; wherein, the query request information comprises query conditions;
determining a target card writing result according to the query condition;
and displaying the target card writing result.
In this way, the card writing results can be conveniently presented to the user. Optionally, the query request information may be directly input by the user to the card writing request device, or may be input by the user to the card writing request device through the terminal device. The query condition may be at least one of: a specific serial number (to query the card writing result of a specific single card), a serial number within a specific range (to query the card writing result of a card within a specific range), a card production date (to query the card writing result of a card within a corresponding date), a card merchant (to query the card writing result of a card of a corresponding card merchant), and the like.
The authentication process and the card writing process of the embodiment of the present invention will be described in detail with reference to fig. 3 and 4, respectively.
In the embodiment of the present invention, a (U) SIM card or an eUICC (hereinafter, referred to as "card") is integrated in a terminal device, and the virtual number information takes IMSI' information as an example. As shown in fig. 3, the authentication process may include the following steps:
step 301: the terminal equipment carries out cellular wireless connection, reads the IMSI file in the card and acquires the code number information in the IMSI file.
Step 302: and reporting the code number information stored in the IMSI file by the card.
Step 303: and the terminal equipment reports the code number information acquired from the card to the card writing request equipment.
Step 304: the card writing request equipment checks the received code number information; if the code number information is IMSI information, determining that the card is written and abandoning the IMSI information; if the code number information is the IMSI' information, it is determined that the card writing is not completed, and step 305 is executed.
Step 305: and the card writing request equipment reports the IMSI' information to the authentication management equipment.
Step 306: and after receiving the IMSI' information, the authentication management equipment acquires the authentication data of the corresponding card. For example, the content in the IMSI' information is encrypted by using the private key information stored therein to obtain the authentication data.
Step 307: and the authentication management equipment sends authentication data to the card through the card writing request equipment and the terminal equipment.
Step 308: the card decrypts the authentication data by using the public key information stored in the card, completes authentication and obtains an authentication calculation result.
Step 309: the card sends the authentication calculation result to the authentication management equipment through the terminal equipment and the card writing request equipment.
Step 310: and the authentication management equipment checks whether the card is legal or not by using the received authentication calculation result to obtain an authentication result.
Step 311: and the authentication management equipment sends the authentication result to the card writing request equipment. If the authentication result shows that the card is legal, namely the authentication is successful, the card writing request equipment keeps the connection with the terminal equipment and stores the IMSI' information.
The card writing process in the embodiment of the invention can be carried out on the premise of successful authentication. As shown in fig. 4, the card writing process may include the following steps:
step 401: the card writing server verifies the validity of the card writing request device (for example, the card writing request device can verify the validity by using the identification information reported by the card writing request device), and establishes a secure connection between the card writing request device and the card writing request device.
Step 402: the card writing request equipment sends card writing request information of a single piece of IMSI 'information or a plurality of pieces of IMSI' information to the card writing server.
Step 403: the card writing server verifies the legality of the received IMSI' information, and assembles a card writing message under the condition of verifying the legality, wherein the card writing message can be a single card writing message or a batch card writing message.
Step 404: and the card writing server sends a card writing message to the card in the terminal equipment through the card writing request equipment and the terminal equipment.
Step 405: and the card checks the card writing message and completes the card writing to obtain a card writing result.
Optionally, step 405-1: after the card writing is completed, the card can inform the terminal device to automatically restart, and enable the new IMSI.
Step 405-2: and the terminal equipment restarts, starts the new IMSI and connects the network.
Step 406: and the card sends the card writing result to the card writing server through the terminal equipment and the card writing request equipment.
Step 407: and the card writing server verifies the accuracy of the card writing result by using the assembled card writing message. If the verification is passed, step 408 is executed, otherwise, the card writing result is discarded.
Step 408: and the card writing server sends the card writing result to the card writing request equipment.
Step 409: the card writing request equipment stores the card writing result, and the card writing result can be inquired subsequently, so that the card writing result meeting the inquiry condition can be displayed based on the inquiry request of the user.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a card writing device according to an embodiment of the present invention, where the card writing device is applied to a card writing request device. As shown in fig. 5, the card writing device 50 includes:
an obtaining module 51, configured to obtain virtual code number information of a target card that is not written with a card; wherein the virtual code number information is information different from the real code number information written in the target card;
a first sending module 52, configured to send card writing request information for the target card to a card writing server, where the card writing request information includes the virtual code number information;
a first receiving module 53, configured to receive a card writing message sent by the card writing server according to the virtual code number information;
a second sending module 54, configured to send the card writing message to the target card, so that the target card writes the card according to the card writing message.
Optionally, the card writing device 50 may further include:
the third sending module is used for sending the virtual code number information to the authentication management equipment;
the second receiving module is used for receiving an authentication result sent by the authentication management equipment according to the virtual code number information;
the first sending module 52 is specifically configured to:
and when the authentication result shows that the target card is legal, sending the card writing request information to the card writing server.
Optionally, the card writing device 50 may further include:
the storage module is used for storing the received card writing result of the target card;
the query module is used for querying the card writing result according to the received query request information;
and the display module is used for displaying the card writing result stored by the storage module and displaying the card writing result obtained by the inquiry of the inquiry module.
Optionally, the obtaining module 51 may further include:
the acquisition unit is used for acquiring the code number information of the card to be identified;
the judging unit is used for judging whether the code number information is real code number information according to the coding mode of the code number information;
and the determining unit is used for determining that the card to be identified is a target card which is not written into the card and determining that the code number information is virtual code number information under the condition that the code number information is judged not to be the real code number information.
Optionally, the card writing device 50 may further include:
and the determining module is used for determining that the card to be identified is completely written under the condition that the code number information is judged to be the real code number information.
Optionally, the encoding mode of the virtual code number information is different from the encoding mode of the corresponding real code number information; the virtual code number information comprises at least one of the following encoded contents:
card merchant code information, card production date, card category information.
Optionally, the target card includes at least one of: SIM card, eUICC.
It can be understood that the card writing device 50 in this embodiment can implement the processes implemented in the method embodiment shown in fig. 2, and can achieve the same technical effects, and for avoiding repetition, the details are not described here.
In addition, an embodiment of the present invention further provides a card writing request device, which includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, where the computer program, when executed by the processor, can implement each process of the above card writing method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
Referring to fig. 6, an embodiment of the present invention further provides a card-writing request device, which includes a bus 61, a transceiver 62, an antenna 63, a bus interface 64, a processor 65, and a memory 66.
In this embodiment of the present invention, the card writing request device further includes: a computer program stored on the memory 66 and executable on the processor 65.
Optionally, the computer program may be adapted to implement the following steps when executed by the processor 65:
acquiring virtual code number information of a target card which is not written with the card; wherein the virtual code number information is information different from the real code number information written in the target card;
sending card writing request information aiming at the target card to a card writing server, wherein the card writing request information comprises the virtual code number information;
receiving a card writing message sent by the card writing server according to the virtual code number information;
and sending the card writing message to the target card so that the target card writes the card according to the card writing message.
It can be understood that, in the embodiment of the present invention, when being executed by the processor 65, the computer program can implement the processes of the card writing method embodiment shown in fig. 2, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
In fig. 6, a bus architecture (represented by bus 61), bus 61 may include any number of interconnected buses and bridges, bus 61 linking together various circuits including one or more processors, represented by processor 65, and memory, represented by memory 66. The bus 61 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 64 provides an interface between the bus 61 and the transceiver 62. The transceiver 62 may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 65 is transmitted over a wireless medium via the antenna 63, and further, the antenna 63 receives the data and transmits the data to the processor 65.
The processor 65 is responsible for managing the bus 61 and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 66 may be used to store data used by the processor 65 in performing operations.
Alternatively, the processor 65 may be a CPU, ASIC, FPGA or CPLD.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement each process of the card writing method embodiment shown in fig. 2, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A card writing method is applied to card writing request equipment and is characterized by comprising the following steps:
acquiring virtual code number information of a target card which is not written with the card; wherein the virtual code number information is information different from the real code number information written in the target card;
sending card writing request information aiming at the target card to a card writing server; the card writing request information comprises the virtual code number information;
receiving a card writing message sent by the card writing server according to the virtual code number information;
and sending the card writing message to the target card so that the target card writes the card according to the card writing message.
2. The method of claim 1, wherein prior to sending the card write request information for the target card to a card write server, the method further comprises:
sending the virtual code number information to authentication management equipment;
receiving an authentication result sent by the authentication management equipment according to the virtual code number information;
the sending card writing request information for the target card to a card writing server includes:
and when the authentication result shows that the target card is legal, sending the card writing request information to the card writing server.
3. The method of claim 1, wherein the obtaining of the virtual code number information of the target card that has not completed writing the card comprises:
acquiring code number information of a card to be identified;
judging whether the code number information is real code number information or not according to the coding mode of the code number information;
and under the condition that the code number information is judged not to be the real code number information, determining that the card to be identified is a target card which is not written into the card, and determining that the code number information is virtual code number information.
4. The method according to claim 3, wherein after determining whether the code number information is real code number information according to the encoding mode of the code number information, the method further comprises:
and under the condition that the code number information is judged to be the real code number information, determining that the card to be identified is completely written.
5. The method according to any one of claims 1 to 4, wherein the virtual code number information is encoded in a manner different from that of the corresponding real code number information;
the virtual code number information comprises at least one of the following encoded contents:
card merchant code information, card production date, card category information.
6. The method of any one of claims 1 to 4, wherein the target card comprises at least one of:
subscriber identity module SIM card, embedded universal integrated circuit card eUICC.
7. A card writing device applied to a card writing request device, comprising:
the acquisition module is used for acquiring the virtual code number information of the target card which is not written with the card; wherein the virtual code number information is information different from the real code number information written in the target card;
the first sending module is used for sending card writing request information aiming at the target card to a card writing server, wherein the card writing request information comprises the virtual code number information;
the first receiving module is used for receiving a card writing message sent by the card writing server according to the virtual code number information;
and the second sending module is used for sending the card writing message to the target card so that the target card writes the card according to the card writing message.
8. The apparatus of claim 7, further comprising:
the storage module is used for storing the received card writing result of the target card;
the query module is used for querying the card writing result according to the received query request information;
and the display module is used for displaying the card writing result stored by the storage module and displaying the card writing result obtained by the inquiry of the inquiry module.
9. A card write request device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program, when executed by the processor, implements the steps of the card write method according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the card writing method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910788800.7A CN112437427B (en) | 2019-08-26 | 2019-08-26 | Card writing method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910788800.7A CN112437427B (en) | 2019-08-26 | 2019-08-26 | Card writing method, device, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112437427A true CN112437427A (en) | 2021-03-02 |
CN112437427B CN112437427B (en) | 2023-03-31 |
Family
ID=74689783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910788800.7A Active CN112437427B (en) | 2019-08-26 | 2019-08-26 | Card writing method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112437427B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115866579A (en) * | 2023-02-28 | 2023-03-28 | 广州市易售宝互联网科技有限公司 | Smart card writing method, system, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103781045A (en) * | 2012-10-17 | 2014-05-07 | 中国电信股份有限公司 | One-card multi-number service system and communication method |
CN104144409A (en) * | 2013-05-10 | 2014-11-12 | ***通信集团公司 | Over-the-air card writing method and system and home location register |
CN105263140A (en) * | 2015-07-10 | 2016-01-20 | 苏州蜗牛数字科技股份有限公司 | System and method for realizing remote authentication of subscriber identity module (SIM) card |
US20190036924A1 (en) * | 2016-01-25 | 2019-01-31 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for network access |
WO2019129037A1 (en) * | 2017-12-29 | 2019-07-04 | 中移(杭州)信息技术有限公司 | Equipment authentication method, over-the-air card writing method, and equipment authentication device |
-
2019
- 2019-08-26 CN CN201910788800.7A patent/CN112437427B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103781045A (en) * | 2012-10-17 | 2014-05-07 | 中国电信股份有限公司 | One-card multi-number service system and communication method |
CN104144409A (en) * | 2013-05-10 | 2014-11-12 | ***通信集团公司 | Over-the-air card writing method and system and home location register |
CN105263140A (en) * | 2015-07-10 | 2016-01-20 | 苏州蜗牛数字科技股份有限公司 | System and method for realizing remote authentication of subscriber identity module (SIM) card |
US20190036924A1 (en) * | 2016-01-25 | 2019-01-31 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for network access |
WO2019129037A1 (en) * | 2017-12-29 | 2019-07-04 | 中移(杭州)信息技术有限公司 | Equipment authentication method, over-the-air card writing method, and equipment authentication device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115866579A (en) * | 2023-02-28 | 2023-03-28 | 广州市易售宝互联网科技有限公司 | Smart card writing method, system, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112437427B (en) | 2023-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10573114B2 (en) | Method for the activation of a payment card, corresponding system and computer program | |
CN111861455B (en) | Personal information query method and device based on mobile terminal bar code | |
EP3466021B1 (en) | A method for managing the status of a connected device | |
US10462647B2 (en) | Communication control method and apparatus, terminal, and network platform | |
EP3337219B1 (en) | Carrier configuration processing method, device and system, and computer storage medium | |
CN109040099B (en) | Verification method, terminal and system for application | |
CN105554037A (en) | Identity identification processing method and service platform | |
CN110335111B (en) | Data processing method, system, terminal and server | |
CN105827577A (en) | Method and device for information verification | |
CN108174377B (en) | Method and system for opening number | |
CN106254366A (en) | For the identification processing method patrolled and examined, Apparatus and system | |
US10321276B2 (en) | Systems and methods for vehicle telematics registration | |
CN110933608A (en) | Equipment registration terminal and method and electronic equipment | |
CN104980420A (en) | Business processing method, device, terminal and server | |
US10581836B2 (en) | Method for accessing a service and a corresponding server | |
CN113852639B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN112437427B (en) | Card writing method, device, equipment and computer readable storage medium | |
CN112491994B (en) | Identification method and communication device of Internet of vehicles terminal | |
CN112995900B (en) | SIM card distribution method, device, server and computer readable storage medium | |
CN109347979B (en) | Query method and server | |
CN110768696B (en) | NFC SIM card identification method and device | |
CN113709849A (en) | Network access method and device of equipment to be accessed to network, storage medium and electronic device | |
CN112560961A (en) | Target identification method and device based on graph clustering, electronic equipment and storage medium | |
CN111246458A (en) | Safe pairing method and device for wearable device, electronic book device and storage medium | |
CN114584332B (en) | Real-name authentication method and related equipment |
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 |