CN111328068B - Card writing method and device, computer equipment and storage medium - Google Patents

Card writing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111328068B
CN111328068B CN202010061486.5A CN202010061486A CN111328068B CN 111328068 B CN111328068 B CN 111328068B CN 202010061486 A CN202010061486 A CN 202010061486A CN 111328068 B CN111328068 B CN 111328068B
Authority
CN
China
Prior art keywords
user identification
card
target
identification code
identification card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010061486.5A
Other languages
Chinese (zh)
Other versions
CN111328068A (en
Inventor
李义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202010061486.5A priority Critical patent/CN111328068B/en
Publication of CN111328068A publication Critical patent/CN111328068A/en
Application granted granted Critical
Publication of CN111328068B publication Critical patent/CN111328068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application relates to a card writing method, a card writing device, computer equipment and a storage medium. The method comprises the following steps: acquiring a user identification card identifier corresponding to a target user identification card, wherein the user identification card identifier is used for uniquely identifying the target user identification card; acquiring a first user identification code corresponding to a preset number in a target user identification card; acquiring a second user identification code corresponding to the user identification card identifier from the production management system, wherein the second user identification code is an initial user identification code corresponding to the user identification card; comparing the first user identification code with the second user identification code to obtain a first comparison result; when the first comparison result is that the comparison is consistent, acquiring a target number of the target user identification card from the production management system; and sending a card writing request to a card writing server, wherein the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into a target user identification card corresponding to the user identification card identifier. By adopting the method, the card writing efficiency can be improved.

Description

Card writing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a card writing method and apparatus, a computer device, and a storage medium.
Background
With the development of communication technology, the variety of SIM (Subscriber Identity Module) cards is continuously abundant, and the variety of SIM cards includes a physical SIM card and an eSIM card (Embedded-SIM card).
Currently, the SIM card needs to acquire communication service through a number, so when a user purchases the SIM card, the user needs to go to an operator business hall to write the SIM card, so as to write the number into the SIM card, which results in low card writing efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a card writing method, a card writing device, a computer device, and a storage medium capable of improving card writing efficiency in order to solve the technical problem of low card writing efficiency.
A card writing method, the method comprising: acquiring a user identification card identifier corresponding to a target user identification card, wherein the user identification card identifier is used for uniquely identifying the target user identification card; acquiring a first user identification code corresponding to a preset number in the target user identification card; acquiring a second user identification code corresponding to the user identification card identifier from a production management system, wherein the second user identification code is an initial user identification code corresponding to the user identification card; comparing the first user identification code with the second user identification code to obtain a first comparison result; when the first comparison result is that the comparison is consistent, acquiring the target number of the target user identification card from the production management system; and sending a card writing request to a card writing server, wherein the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into a target user identification card corresponding to the user identification card identifier.
In some embodiments, the method further comprises: sending a first network injection test instruction to a terminal corresponding to the target user identification card so as to indicate the terminal to perform network injection test on the preset number; receiving a current network injection state returned by the terminal; the obtaining of the subscriber identity module identifier corresponding to the target subscriber identity module card includes: and when the current network injection state is the network injection state, acquiring a user identification card identifier corresponding to the target user identification card.
In some embodiments, the method further comprises: and when the network injection state is the network injection state, the terminal establishes communication connection with the card writing server through the preset number so as to perform card writing interaction with the card writing server through the communication connection and write the target number into a target user identification card corresponding to the user identification card identifier.
In some embodiments, the method further comprises: testing the pin voltage of the terminal to obtain a pin voltage test result; and when the pin voltage test result indicates that the pin voltage is normal, triggering the first network injection test instruction.
In some embodiments, the card writing request further carries a first user identification code, when the card writing server receives the card writing request, the card writing server obtains a stored user identification code according to the user identification card identifier, compares the stored user identification code with the first user identification code, and when the comparison is consistent, writes the target number into the target user identification card and sends a card writing result notification to the terminal.
In some embodiments, the method further comprises: when the card writing result notification is inquired, acquiring a current user identification code in the target user identification card; comparing the current user identification code with the second user identification code to obtain a second comparison result; and when the second comparison result is that the comparison is inconsistent, sending a second network injection test instruction to the target subscriber identification card to indicate the target subscriber identification card to carry out network injection test on the target number.
A card writing apparatus, the apparatus comprising: the system comprises a user identification card identification acquisition module, a user identification card identification acquisition module and a user identification card identification acquisition module, wherein the user identification card identification acquisition module is used for acquiring a user identification card identification corresponding to a target user identification card, and the user identification card identification is used for uniquely identifying the target user identification card; the first user identification code acquisition module is used for acquiring a first user identification code corresponding to a preset number in the target user identification card; a second user identification code obtaining module, configured to obtain, from a production management system, a second user identification code corresponding to the user identification card identifier, where the second user identification code is an initial user identification code corresponding to the user identification card; a first comparison result obtaining module, configured to compare the first user identification code with the second user identification code to obtain a first comparison result; a target number obtaining module, configured to obtain a target number of the target subscriber identity card from the production management system when the first comparison result is that the comparison is consistent; and the card writing request sending module is used for sending a card writing request to a card writing server, wherein the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into a target user identification card corresponding to the user identification card identifier.
In some embodiments, the apparatus further comprises: the first network injection test instruction sending module is used for sending a first network injection test instruction to a terminal corresponding to the target subscriber identity module card so as to instruct the terminal to perform network injection test on the preset number; the current network injection state receiving module is used for receiving the current network injection state returned by the terminal; the subscriber identity module includes: and the subscriber identity module card identifier acquisition unit is used for acquiring the subscriber identity module card identifier corresponding to the target subscriber identity module card when the current network injection state is the network injection state.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the card writing method when executing the computer program.
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 above-mentioned card writing method.
The card writing method, the device, the computer equipment and the storage medium obtain a user identification card identifier corresponding to a target user identification card, wherein the user identification card identifier is used for uniquely identifying the target user identification card, obtain a first user identification code corresponding to a preset number in the target user identification card, obtain a second user identification code corresponding to the user identification card identifier from a production management system, compare the first user identification code with the second user identification code to obtain a first comparison result, obtain a target number of the target user identification card from the production management system when the first comparison result is consistent, and send a card writing request to a card writing server, wherein the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into the target user identification card corresponding to the user identification card identifier. Therefore, the card writing in production is realized, the card writing request is sent again when the comparison result is consistent, the card writing can be prevented from being repeated, and the card writing efficiency is improved.
Drawings
FIG. 1 is a diagram of an application scenario of a card-writing method in some embodiments;
FIG. 2 is a flow diagram illustrating a card writing method according to some embodiments;
FIG. 3 is a flow chart illustrating a card writing method according to some embodiments;
FIG. 4 is a flow chart illustrating a card writing method according to some embodiments;
FIG. 5 is a flow diagram illustrating a card writing method according to some embodiments;
FIG. 6 is a block diagram of a card writing device in some embodiments;
FIG. 7 is a diagram of the internal structure of a computer device in some embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The card writing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the subscriber identity card terminal 102 communicates with the test terminal 104 through a wired or wireless network. The SIM terminal 102 includes a SIM card, which is a subscriber identity module card.
Specifically, the test terminal 104 may be installed with a software test tool, and in a production environment corresponding to the sim card terminal, the test terminal 104 may test the sim card terminal through the installed software test tool. The test terminal 104 may obtain a subscriber identity module corresponding to a target subscriber identity module, where the subscriber identity module is used to uniquely identify the target subscriber identity module, obtain a first subscriber identity module corresponding to a preset number in the target subscriber identity module, obtain a second subscriber identity module corresponding to the subscriber identity module from the production management system, compare the first subscriber identity module with the second subscriber identity module to obtain a first comparison result, obtain a target number of the target subscriber identity module from the production management system when the first comparison result is consistent with the second comparison result, send a card writing request to a card writing server, where the card writing request carries the subscriber identity module and the target number, so that the card writing server writes the target number into the target subscriber identity module corresponding to the subscriber identity module. The SIM card terminal 102 may be any device using a SIM card, and may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the test terminal 104 may be a test tool for testing a mobile terminal on a production line. The card can be written in a production test environment, and the card is written when the pin test of the SIM card is confirmed to pass, so that the validity of the SIM card is ensured, the invalid SIM card is prevented from being written, and the success rate of card writing is improved.
It is to be understood that the foregoing application scenario is only an example, and does not constitute a limitation to the method provided in the embodiment of the present application, and the method provided in the embodiment of the present application may also be applied in other scenarios, for example, the test terminal 104 in fig. 1 may be replaced by a server, where the server may be implemented by an independent server or a server cluster formed by multiple servers.
In some embodiments, as shown in fig. 2, a card writing method is provided, which is described by taking the method as an example applied to the test terminal 104 in fig. 1, and includes the following steps:
s202, obtaining a user identification card identifier corresponding to the target user identification card, wherein the user identification card identifier is used for uniquely identifying the target user identification card.
In particular, the target subscriber identity card may be a subscriber identity card in a subscriber identity card terminal under test. The target subscriber identification card refers to a SIM card, such as an eSIM card (Embedded-SIM). The subscriber Identity card identifier may be an EID (Electronic Identity). Wherein, the EID can uniquely identify a SIM card.
And S204, acquiring a first user identification code corresponding to a preset number in the target user identification card.
In particular, the number may be a telephone number. The Subscriber Identity may be an IMSI (International Mobile Subscriber Identity) corresponding to a telephone number. Wherein the IMSI is used to distinguish different users in a cellular network and is not repeated in all cellular networks. The user identification code and the number are in one-to-one correspondence, when the number in the target user identification card changes, the user identification code also changes, and similarly, when the user identification code in the target user identification card changes, the number is changed. For example, one phone number corresponds to one IMSI, and the phone numbers are different and the corresponding IMSIs are also different. The preset number refers to a number stored in the target subscriber identity module card at present, and the first subscriber identity module refers to a subscriber identity module corresponding to the preset number.
In some embodiments, the preset number is an initial subscriber identity corresponding to the subscriber identity card. The initial subscriber identity refers to a subscriber identity before the subscriber identity card is written by a number to be written, for example, an IMSI corresponding to a temporary number provided by an operator. The temporary number may be registered on the real network. The temporary number provided by the operator is arranged in the subscriber identification card provided by the subscriber identification card supplier, and the number in the subscriber identification card is the temporary number before a new number is not written in the subscriber identification card. The number to be written refers to a number that needs to be written into a target subscriber identity card, such as a number that is desired by a customer.
In some embodiments, the preset number is a number to be written. The number to be written is, for example, a formal number, which refers to a number desired by the customer. Wherein, the client refers to a user corresponding to the user identification card terminal. When the number to be written is written in the subscriber identity card, the number in the subscriber identity card may be changed to a number to be written, such as a formal number.
S206, acquiring a second user identification code corresponding to the user identification card identifier from the production management system, wherein the second user identification code is an initial user identification code corresponding to the user identification card.
Specifically, the production management system is a management system in a production test environment, and may store an initial user identification code corresponding to the user identification card.
S208, comparing the first user identification code with the second user identification code to obtain a first comparison result.
Specifically, the first comparison result may be one of the first user identification code being the same as the second user identification code (comparison is consistent) or the first user identification code being different from the second user identification code (comparison is inconsistent).
In some embodiments, because there are usually many test items in the test flow in the production test, when a certain test item in the test flow is incorrect, the whole test flow is often required to be retested, and when retesting, the number to be written in the subscriber identity card may have been written in the subscriber identity card, and card writing is not required to be repeated, so in order to prevent repeated card writing caused by mistesting of other test items in the production test line, it is required to confirm whether the subscriber identity card has been written in the official mobile phone number before performing over-the-air card opening, and the IMSI number may be used as a criterion, and the number is considered to have been successfully written in if the IMSI changes. The IMSI number changes along with the mobile phone number, the IMSI corresponding to the temporary mobile phone number is managed through a management system of a factory, and whether the card writing over the air is successful or not can be determined by reading the IMSI number in the subscriber identity card.
S210, when the first comparison result is that the comparison is consistent, the target number of the target user identification card is obtained from the production management system.
Specifically, the destination number refers to a number to be written. And when the first comparison result is that the comparison is consistent, the first user identification code is the same as the second user identification code, which indicates that the preset number is the initial user identification code, namely, the target user identification card is not written with a new number (a number to be written).
In some embodiments, the first comparison result is inconsistent, indicating that the destination subscriber identity card has been written to the destination number, and step S212 is not performed.
S212, sending a card writing request to a card writing server, where the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into a target user identification card corresponding to the user identification card identifier.
In particular, the card writing server refers to a server related to the card writing function, and the card writing server may be an independent server or a server cluster formed by a plurality of servers. The card write request is for requesting a card write. The card writing server can write the target number into the target user identification card in an over-the-air card writing mode. The over-the-air card writing can write the activated mobile phone number into the SIM card. People can open mobile phone service by writing card over the air
In some embodiments, the card writing server receives the card writing request, acquires information in the card writing request, performs validity verification on the acquired information, and writes the target number into a target user identification card corresponding to the user identification card identifier when the acquired information passes the validity verification.
In some embodiments, the card writing server may call a card writing interface, transmit the target number and the user identification card identifier to the card writing interface, and write the target number into the target user identification card corresponding to the user identification card identifier by using the card writing interface.
The card writing method includes the steps of obtaining a user identification card identification corresponding to a target user identification card, wherein the user identification card identification is used for uniquely identifying the target user identification card, obtaining a first user identification code corresponding to a preset number in the target user identification card, obtaining a second user identification code corresponding to the user identification card identification from a production management system, comparing the first user identification code with the second user identification code to obtain a first comparison result, obtaining a target number of the target user identification card from the production management system when the first comparison result is consistent in comparison, sending a card writing request to a card writing server, wherein the card writing request carries the user identification card identification and the target number, and enabling the card writing server to write the target number into the target user identification card corresponding to the user identification card identification. Therefore, card writing in production is realized, card writing requests are sent again when the comparison result is consistent, repeated card writing can be prevented, and card writing efficiency is improved due to batch card writing in production.
At present, the problem of low efficiency exists in card writing over the air. For example, in the scenario of the internet of things, it is especially inefficient for a customer to write cards over the air one by one when directly purchasing a large number of already opened numbers from an operator. Since the number is a regional rule, if the number is opened too much before the order has a specific number, waste is caused, and if the number is opened too little, the requirement of the customer cannot be met. Therefore, the card can be written over the air only when temporary numbers are put into the modules during production and specific orders are generated.
At present, when a customer orders and then carries out production, the capacity often cannot meet the requirement of the customer. However, increasing the capacity results in increasing the cost and reducing the benefit, and meanwhile, when no order is made, the related equipment is easy to be idle; when an order client appears, an operator is required to give the number in the chip to a chip supplier, the process increases the workload of the operator, and meanwhile, chip manufacturers cannot prepare materials instantly, so that the capacity problem is simply caused; the risk of production instantaneity is increased because the factory-prepared material process is limited to the chip supplier.
In the embodiment of the application, the number is written in during production, and the card can be uniformly written on a production line by means of uniform management of a production flow. The failure of card writing caused by personal error is avoided. The production line can meet the capacity requirement of a client, materials can be prepared in advance for production, the risk caused by untimely preparation of the materials is reduced, and chip suppliers do not need to supply the materials when orders are made each time.
In some embodiments, as shown in fig. 3, the method further comprises:
s302, a first network injection test instruction is sent to a terminal corresponding to the target user identification card so as to indicate the terminal to perform network injection test on the preset number.
Specifically, the terminal corresponding to the target subscriber identity card refers to a terminal using the target subscriber identity card, and may be, for example, a smart watch using a SIM card. The first network injection test instruction is used for indicating a terminal corresponding to the target subscriber identity module card to perform network injection test on the preset number, and the network injection test refers to detecting whether the preset number is communicated with a network.
S304, receiving the current network injection state returned by the terminal.
Specifically, after the target subscriber identity module card performs the network injection test, the result of the network injection test is returned to the sender of the first network injection test instruction. The result of the network injection test comprises the current network injection state, and the current network injection state refers to the current network injection condition of the preset number. The network injection state comprises a network injection state and a network non-injection state. The network-injected state marks the connected network, and the network-unconnected state represents the unconnected network. The current network injection state is one of a network injection state or a network non-injection state.
In some embodiments, the result of the network injection test further includes an identifier of the operator, which may be, for example, a name of the operator.
Step S202, that is, the obtaining of the subscriber identity module identifier corresponding to the target subscriber identity module includes:
s306, when the current network injection state is the network injection state, acquiring a user identification card identifier corresponding to the target user identification card.
Specifically, when the current network injection state is the network injection state, the preset number is indicated to pass through the connected network. Under the condition that the preset number is communicated with the network, the operation related to card writing can be carried out, and at the moment, the user identification mark corresponding to the target user identification card can be obtained, namely, the operation related to card writing is carried out.
In the embodiment of the application, the network injection condition of the preset number is tested, so that the card writing operation is prevented under the condition that the preset number cannot be communicated with the network, the waste of time is avoided, and the card writing efficiency is improved. The real network connection test is carried out when the production test is carried out on the production line, and the operator is informed to write the card in the air under the condition of determining that the real network can be connected.
In some embodiments, the method further comprises: and when the network injection state is the network injection state, the terminal establishes communication connection with the card writing server through the preset number, performs card writing interaction with the card writing server through the communication connection, and writes the target number into a target user identification card corresponding to the user identification card identifier.
Specifically, since the card writing operation requires the terminal to connect to the network, when the network injection state is the network injection state, the card writing server may write the target number into the target subscriber identity card through the network between the terminals corresponding to the target subscriber identity card.
In some embodiments, after the number required by the customer is successfully written into the subscriber identity card, the operator may send a short message to the terminal corresponding to the subscriber identity card to notify the terminal that the mobile phone number is successfully opened.
In some embodiments, as shown in fig. 4, the method further comprises:
s402, testing the pin voltage of the terminal to obtain a pin voltage test result.
S404, when the pin voltage test result is that the pin voltage is normal, triggering the first network injection test instruction.
Specifically, before the card writing operation is performed on the target user identification card, the terminal corresponding to the target user identification card may be detected in advance, so as to ensure that the card writing operation is performed smoothly. For example, the pin voltage of the terminal corresponding to the target subscriber identity module card can be tested, and the network injection test is performed under the condition that the pin voltage is normal, so that the SIM card which fails is prevented from being written.
In some embodiments, the basic information of the terminal corresponding to the target user identification card may be read, and a network injection test is performed to perform a card writing operation under the condition that the basic information is ensured to be correct.
In the embodiment of the application, the pin voltage of the target subscriber identity module is tested, and the network injection test is performed under the condition that the pin voltage is normal, so that the card writing operation is performed, the problem that the card writing operation fails due to the pin voltage of the terminal is avoided, or the card writing operation is performed again, and the card writing efficiency is improved.
In some embodiments, the card writing request further carries a first user identification code, when the card writing server receives the card writing request, the card writing server obtains a stored user identification code according to the user identification card identifier, compares the stored user identification code with the first user identification code, and when the comparison is consistent, writes the target number into the target user identification card and sends a card writing result notification to the terminal.
Specifically, the card writing result notification may be sent to the terminal corresponding to the target user identification card in a short message manner, and the content of the short message may be predetermined by the corresponding operator, for example, it is determined that the card writing is successful if the content of the short message is "STNN".
In some embodiments, if the card write fails, the card write server does not return any information. And if the target user identification card does not receive the card writing result notice within the preset time, the card writing failure can be considered.
In some embodiments, as shown in fig. 5, the method further comprises:
s502, when the card writing result notification is inquired, the current user identification code in the target user identification card is obtained.
Specifically, when the card writing result notification is queried, it can be proved that the card writing success is returned by the card writing server, that is, the destination number is successfully written into the destination subscriber identity card.
In some embodiments, after the destination number is successfully written into the destination subscriber identity card, the destination subscriber identity card is triggered to restart, the preset number is deleted in the restarting process, and only the destination number is stored, that is, the preset number is disabled in the restarting process, and the destination number is valid.
S504, comparing the current user identification code with the second user identification code to obtain a second comparison result.
Specifically, the target identification card may need to be restarted after being written into the target number to enable the target number to be valid. Thus, it is possible to determine whether the destination number has been valid by detecting the subscriber identification code in the destination subscriber identification card. When the card writing result notification is inquired, the current user identification code in the target user identification card can be acquired, wherein the current user identification code refers to the user identification code corresponding to the current time of the target user identification card, and the current time is the time after the card writing result notification is received. Since the change of the number may cause the change of the subscriber identity, the subscriber identity in the destination subscriber identity card may be changed when the number in the destination subscriber identity card is replaced with the destination number from a preset number. Therefore, the current user identification code can be compared with the second user identification code to obtain a second comparison result. The second comparison result may be one of that the current user identification code is the same as (consistent with) the second user identification code, or that the current user identification code is different from (inconsistent with) the second user identification code. Wherein, the current user identification code is the same (consistent) with the second user identification code, which indicates that the destination number is invalid. When the current subscriber identity is not the same (not the same) as the second subscriber identity, it indicates that the destination number is already valid.
And S506, when the second comparison result is that the comparison is inconsistent, sending a second network injection test instruction to the target subscriber identity card to indicate the target subscriber identity card to carry out network injection test on the target number.
Specifically, when the second comparison result is determined to be inconsistent in comparison, that is, the target number is valid, the network injection test can be performed on the target number, so that the correctness of the card writing result is further ensured. The second network injection test instruction is used for indicating the target subscriber identification card to perform network injection test on the target number so as to ensure that the target number can be connected with a network and further ensure the correctness of card writing.
In the embodiment of the application, the time when the target number starts to be valid can be accurately mastered by comparing the current user identification code with the second user identification code, so that when the network injection test is performed on the target number can be determined, the network injection test on the target number under the condition that the target number is invalid is avoided, the waste of time is avoided, and the card writing efficiency is improved.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts of the above embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the sub-steps or the stages of other steps.
In some embodiments, as shown in fig. 6, there is provided a card writing device including: a subscriber identity module obtaining module 602, a first subscriber identity module obtaining module 604, a second subscriber identity module obtaining module 606, a first comparison result obtaining module 608, a destination number obtaining module 610 and a card writing request sending module 612, wherein:
the sim card identifier obtaining module 602 is configured to obtain a sim card identifier corresponding to a target sim card, where the sim card identifier is used to uniquely identify the target sim card.
The first subscriber identity module obtaining module 604 is configured to obtain a first subscriber identity corresponding to a preset number in the target subscriber identity card.
A second user identification code obtaining module 606, configured to obtain, from the production management system, a second user identification code corresponding to the user identification card identifier, where the second user identification code is an initial user identification code corresponding to the user identification card.
A first comparison result obtaining module 608, configured to compare the first user identification code with the second user identification code to obtain a first comparison result.
A destination number obtaining module 610, configured to obtain, when the first comparison result is that the comparison is consistent, a destination number of the destination subscriber identity card from the production management system.
A card writing request sending module 612, configured to send a card writing request to a card writing server, where the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into a target user identification card corresponding to the user identification card identifier.
In some embodiments, the apparatus further comprises:
and the first network injection test instruction sending module is used for sending a first network injection test instruction to the terminal corresponding to the target subscriber identity module card so as to instruct the terminal to perform network injection test on the preset number.
And the current network injection state receiving module is used for receiving the current network injection state returned by the terminal.
The subscriber identity module includes:
and the subscriber identity module card identifier acquisition unit is used for acquiring the subscriber identity module card identifier corresponding to the target subscriber identity module card when the current network injection state is the network injection state.
In some embodiments, the apparatus further comprises:
and the pin voltage test result obtaining module is used for testing the pin voltage of the terminal to obtain a pin voltage test result.
And the first network injection test instruction triggering module is used for triggering the first network injection test instruction when the pin voltage test result is that the pin voltage is normal.
In some embodiments, the apparatus further comprises:
and the current user identification code acquisition module is used for acquiring the current user identification code in the target user identification card when the card writing result notice is inquired.
And the second comparison result obtaining module is used for comparing the current user identification code with the second user identification code to obtain a second comparison result.
And the second network injection test instruction sending module is used for sending a second network injection test instruction to the target subscriber identity module card when the second comparison result is inconsistent so as to indicate the target subscriber identity module card to carry out network injection test on the target number.
For specific limitations of the card writing device, reference may be made to the above limitations of the card writing method, which are not described herein again. The modules in the card writing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a card writing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps of the card writing method are implemented.
In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned card writing method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A card writing method, the method comprising:
acquiring a user identification card identifier corresponding to a target user identification card, wherein the user identification card identifier is used for uniquely identifying the target user identification card;
acquiring a first user identification code corresponding to a preset number in the target user identification card;
acquiring a second user identification code corresponding to the user identification card identifier from a production management system, wherein the second user identification code is an initial user identification code corresponding to the user identification card;
comparing the first user identification code with the second user identification code to obtain a first comparison result;
when the first comparison result is that the comparison is consistent, acquiring the target number of the target user identification card from the production management system;
sending a card writing request to a card writing server, wherein the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into a target user identification card corresponding to the user identification card identifier;
the method further comprises the following steps: sending a first network injection test instruction to a terminal corresponding to the target user identification card so as to indicate the terminal to perform network injection test on the preset number; receiving a current network injection state returned by the terminal; the obtaining of the subscriber identity module identifier corresponding to the target subscriber identity module card includes: and when the current network injection state is the network injection state, acquiring a user identification card identifier corresponding to the target user identification card.
2. The method of claim 1, further comprising:
and when the network injection state is the network injection state, the terminal establishes communication connection with the card writing server through the preset number, performs card writing interaction with the card writing server through the communication connection, and writes the target number into a target user identification card corresponding to the user identification card identifier.
3. The method of claim 1, further comprising:
testing the pin voltage of the terminal to obtain a pin voltage test result;
and when the pin voltage test result indicates that the pin voltage is normal, triggering the first network injection test instruction.
4. The method according to claim 1, wherein the card writing request further carries a first user identification code, when the card writing server receives the card writing request, the card writing server obtains a stored user identification code according to the user identification card identifier, compares the stored user identification code with the first user identification code, and when the comparison is consistent, writes the target number into the target user identification card and sends a card writing result notification to the terminal.
5. The method of claim 3, further comprising:
when the card writing result notification is inquired, acquiring a current user identification code in the target user identification card;
comparing the current user identification code with the second user identification code to obtain a second comparison result;
and when the second comparison result is that the comparison is inconsistent, sending a second network injection test instruction to the target subscriber identification card to indicate the target subscriber identification card to carry out network injection test on the target number.
6. The method of claim 1, wherein the predetermined number comprises one of:
the initial user identification code corresponding to the user identification card;
the number is to be written.
7. The method of claim 1, wherein the card writing server writes the destination number into a destination subscriber identity card corresponding to the subscriber identity card identifier, and comprises:
and the card writing server receives the card writing request, acquires the information in the card writing request, performs validity verification on the acquired information, and writes the target number into a target user identification card corresponding to the user identification card identifier when the acquired information passes the validity verification.
8. A card writing apparatus, characterized in that the apparatus comprises:
the system comprises a user identification card identification acquisition module, a user identification card identification acquisition module and a user identification card identification acquisition module, wherein the user identification card identification acquisition module is used for acquiring a user identification card identification corresponding to a target user identification card, and the user identification card identification is used for uniquely identifying the target user identification card;
the first user identification code acquisition module is used for acquiring a first user identification code corresponding to a preset number in the target user identification card;
a second user identification code obtaining module, configured to obtain a second user identification code corresponding to the user identification card identifier from a production management system, where the second user identification code is an initial user identification code corresponding to the user identification card;
a first comparison result obtaining module, configured to compare the first user identification code with the second user identification code to obtain a first comparison result;
the target number acquisition module is used for acquiring the target number of the target user identification card from the production management system when the first comparison result is that the comparison is consistent;
a card writing request sending module, configured to send a card writing request to a card writing server, where the card writing request carries the user identification card identifier and the target number, so that the card writing server writes the target number into a target user identification card corresponding to the user identification card identifier;
the device further comprises:
the first network injection test instruction sending module is used for sending a first network injection test instruction to a terminal corresponding to the target subscriber identity module card so as to instruct the terminal to perform network injection test on the preset number;
the current network injection state receiving module is used for receiving the current network injection state returned by the terminal;
the subscriber identity module includes:
and the subscriber identity module card identifier acquisition unit is used for acquiring the subscriber identity module card identifier corresponding to the target subscriber identity module card when the current network injection state is the network injection state.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
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 method according to any one of claims 1 to 7.
CN202010061486.5A 2020-01-19 2020-01-19 Card writing method and device, computer equipment and storage medium Active CN111328068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010061486.5A CN111328068B (en) 2020-01-19 2020-01-19 Card writing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010061486.5A CN111328068B (en) 2020-01-19 2020-01-19 Card writing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111328068A CN111328068A (en) 2020-06-23
CN111328068B true CN111328068B (en) 2022-09-06

Family

ID=71172806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010061486.5A Active CN111328068B (en) 2020-01-19 2020-01-19 Card writing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111328068B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000346B (en) * 2020-07-22 2023-12-29 西安广和通无线软件有限公司 File upgrading method, device, computer equipment and storage medium
CN115278649B (en) * 2022-09-26 2022-12-09 深圳市广和通无线通信软件有限公司 Telephone number acquisition method, equipment, system and medium based on machine learning

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394596A (en) * 2008-10-13 2009-03-25 中国移动通信集团江苏有限公司 Smart card issuing system and method for realizing number distributing in air
CN101895871A (en) * 2010-07-05 2010-11-24 北京握奇数据系统有限公司 Method, server and system for card writing over air and telecom smart card
CN102802148A (en) * 2011-05-23 2012-11-28 中国移动通信有限公司 Method, system and device for card personalization over the air
CN104093139A (en) * 2014-07-15 2014-10-08 中国联合网络通信集团有限公司 Aerial card-writing method, server and smart card
CN104768144A (en) * 2015-03-12 2015-07-08 中国联合网络通信集团有限公司 Method and device of card personalization over air
CN105101163A (en) * 2015-07-22 2015-11-25 联通兴业通信技术有限公司 Method and apparatus for card personalization over air
CN106790724A (en) * 2017-03-23 2017-05-31 中国联合网络通信集团有限公司 Configuration file method for down loading and device
EP3185599A1 (en) * 2015-12-22 2017-06-28 Samsung Electronics Co., Ltd. Method and apparatus for providing a profile
EP3358871A1 (en) * 2017-02-03 2018-08-08 Gemalto Sa A method for an euicc embedded into a machine type communication device to trigger the download of a subscription profile
CN108476400A (en) * 2016-01-11 2018-08-31 华为技术有限公司 The processing method of profile, apparatus and system
CN109257742A (en) * 2018-09-29 2019-01-22 东莞华贝电子科技有限公司 The number of writing method and the number of writing equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346147B2 (en) * 2015-12-22 2019-07-09 Samsung Electronics Co., Ltd. Method and apparatus for providing a profile

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394596A (en) * 2008-10-13 2009-03-25 中国移动通信集团江苏有限公司 Smart card issuing system and method for realizing number distributing in air
CN101895871A (en) * 2010-07-05 2010-11-24 北京握奇数据系统有限公司 Method, server and system for card writing over air and telecom smart card
CN102802148A (en) * 2011-05-23 2012-11-28 中国移动通信有限公司 Method, system and device for card personalization over the air
CN104093139A (en) * 2014-07-15 2014-10-08 中国联合网络通信集团有限公司 Aerial card-writing method, server and smart card
CN104768144A (en) * 2015-03-12 2015-07-08 中国联合网络通信集团有限公司 Method and device of card personalization over air
CN105101163A (en) * 2015-07-22 2015-11-25 联通兴业通信技术有限公司 Method and apparatus for card personalization over air
EP3185599A1 (en) * 2015-12-22 2017-06-28 Samsung Electronics Co., Ltd. Method and apparatus for providing a profile
CN108476400A (en) * 2016-01-11 2018-08-31 华为技术有限公司 The processing method of profile, apparatus and system
EP3358871A1 (en) * 2017-02-03 2018-08-08 Gemalto Sa A method for an euicc embedded into a machine type communication device to trigger the download of a subscription profile
CN106790724A (en) * 2017-03-23 2017-05-31 中国联合网络通信集团有限公司 Configuration file method for down loading and device
CN109257742A (en) * 2018-09-29 2019-01-22 东莞华贝电子科技有限公司 The number of writing method and the number of writing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于通用手机的空中写卡方法;叶辉;商明霞;《江苏通信》;20110615;全文 *

Also Published As

Publication number Publication date
CN111328068A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN110008118B (en) Page data testing method and device, computer equipment and storage medium
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN110908683A (en) Software system upgrading method and device of hardware module, storage medium and terminal
CN111328068B (en) Card writing method and device, computer equipment and storage medium
CN108400978B (en) Vulnerability detection method and device, computer equipment and storage medium
CN112261717A (en) Network registration method, device, user terminal and storage medium
CN108966159B (en) Short message withdrawing method, system, computer equipment and storage medium
CN109379779B (en) Dialing networking method and device, computer equipment and storage medium
CN109286933B (en) Authentication method, device, system, computer equipment and storage medium
CN111291345A (en) Voiceprint data processing method and device, computer equipment and storage medium
CN110545538A (en) Method for configuring wireless terminal network, mobile terminal, wireless terminal and system
CN115396192A (en) User identity verification method and device, computer equipment and storage medium
CN114585002A (en) Communication processing method, communication processing device, terminal equipment and computer readable storage medium
CN112637008B (en) Link simulation test method, device, system, computer equipment and storage medium
CN113672894A (en) Data processing method, device and equipment for identifying code request and storage medium
CN111131208B (en) Third-party service application login method and device, computer equipment and storage medium
CN110597843A (en) Waybill query method and device, computer equipment and storage medium
CN116017462A (en) SIM card authorization management method, device and system
CN111372235B (en) Identification card configuration information determination method and device, computer equipment and storage medium
CN112187561B (en) Communication module testing method, device, computer equipment and storage medium
CN113779542B (en) One-key login processing method and device, computer equipment and storage medium
CN112165406B (en) Interface message testing method and device, computer equipment and storage medium
CN111398701B (en) Equipment test method, device, computer equipment and storage medium
CN110750511A (en) Operation history restoration method and device, computer equipment and storage medium
CN108966154B (en) Method and device for sending short messages in group, computer equipment and storage medium

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