CN112738741B - Information transmission method and device, smart card and storage medium - Google Patents
Information transmission method and device, smart card and storage medium Download PDFInfo
- Publication number
- CN112738741B CN112738741B CN201911028438.XA CN201911028438A CN112738741B CN 112738741 B CN112738741 B CN 112738741B CN 201911028438 A CN201911028438 A CN 201911028438A CN 112738741 B CN112738741 B CN 112738741B
- Authority
- CN
- China
- Prior art keywords
- short message
- terminal
- card
- identification information
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/60—Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an information transmission method, an information transmission device, an intelligent card and a storage medium. Wherein, the method comprises the following steps: the triggering terminal sends a short message related to card writing to the card writing platform; acquiring state identification information of the terminal, wherein the state identification information is used for representing the sending state of the short message; and executing card writing related processing based on the state identification information. Because the intelligent card can execute the processing related to card writing according to the state identification information of the terminal, the intelligent card can retransmit or indicate the user in time when the short message transmission fails, thereby improving the success rate of short message transmission and ensuring the reliability and accuracy of the short message card writing operation.
Description
Technical Field
The present invention relates to the field of smart cards in communications, and in particular, to an information transmission method and apparatus, a smart card, and a storage medium.
Background
Smart cards (e.g., uim (user Identity module) cards and sim (subscriber Identity module) cards) are important physical identifiers of mobile identities of users and important resources held by operators.
In the related art, the following methods exist for self-help (using a personal mobile phone) handling of smart cards:
the method comprises the following steps that firstly, a personal mobile phone is used for carrying out card writing operation through a wifi network and a *** native API (Application Programming Interface);
and secondly, writing the card by using a short message mode aiming at the condition that the mobile phone does not support the *** native API (such as an applet mobile phone and a mobile phone with a low android version).
However, in the process of writing the short message card, the phenomenon of card writing failure often exists.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information transmission method, an information transmission device, a smart card, and a storage medium, which aim to improve reliability of writing a short message into a card.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an information transmission method, which is applied to an intelligent card and comprises the following steps:
the triggering terminal sends a short message related to card writing to the card writing platform;
acquiring state identification information of the terminal, wherein the state identification information is used for representing the sending state of the short message;
and executing card writing related processing based on the state identification information.
In the above scheme, the sending, by the trigger terminal, the short message related to card writing to the card writing platform includes:
and when the card writing data issued by the card writing platform meets the preset conditions, generating a first trigger instruction to trigger the terminal to send a first short message comprising a card writing result.
In the foregoing solution, the executing the processing related to card writing based on the state identification information includes:
if the state identification information is a first identification, determining that the first short message is successfully sent, and sending a first instruction indicating that the card writing is successful to the terminal after the card writing is successful;
if the state identification information is a second identification, determining that the first short message is failed to be sent, returning to the step of generating the first trigger instruction to trigger the terminal to send the first short message containing the card writing result and counting the number of times of returning, and if the number of times reaches a first set value, sending a second instruction indicating the card writing failure to the terminal;
and if the state identification information is a third identification, determining that the first short message fails to be sent, and sending a second instruction indicating card writing failure to the terminal.
In the above scheme, the sending, by the trigger terminal, the short message related to card writing to the card writing platform includes:
and when the terminal is determined to be started and needs to be activated by a new number, generating a second trigger instruction to trigger the terminal to send a second short message comprising an activation notice.
In the foregoing solution, the executing the processing related to card writing based on the state identification information includes:
if the state identification information is a fourth identification, determining that the second short message is successfully sent, and identifying that the smart card is successfully activated through an identification bit;
if the state identification information is a fifth identification, determining that the second short message is failed to be sent, returning to the step of generating a second trigger instruction to trigger the terminal to send the second short message including the activation notification, and counting the number of times of returning, and if the number of times reaches a second set value, ending the new number activation operation corresponding to the starting;
and if the state identification information is a sixth identification, determining that the second short message is failed to be sent, and ending the new number activation operation corresponding to the starting.
In the above scheme, when it is determined that the terminal is powered on and a new number needs to be activated, generating a second trigger instruction to trigger the terminal to send a second short message including an activation notification includes:
acquiring an authentication result corresponding to the terminal after the terminal is started;
if the authentication result is that the authentication is passed, acquiring information corresponding to an identification bit for identifying whether the smart card is activated alive or not;
and generating a second trigger instruction to trigger the terminal to send the second short message when determining that the new number needs to be activated based on the identification bit.
In the above scheme, the state identification information is obtained based on a result field of a terminal reply instruction of the terminal.
The embodiment of the invention also provides an information transmission device, which is applied to the intelligent card and comprises the following components:
the trigger module is used for triggering the terminal to send the short message related to the card writing platform;
the acquisition module is used for acquiring the state identification information of the terminal, and the state identification information is used for representing the sending state of the short message;
and the processing module is used for executing the processing related to card writing based on the state identification information.
An embodiment of the present invention further provides a smart card, including: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor is configured to execute the steps of the method according to any embodiment of the present invention when running the computer program.
The embodiment of the invention also provides a storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the method of any embodiment of the invention are realized.
According to the technical scheme provided by the embodiment of the invention, the trigger terminal sends the short message related to card writing to the card writing platform; acquiring state identification information of the terminal, wherein the state identification information is used for representing the sending state of the short message; and executing card writing related processing based on the state identification information. Because the intelligent card can execute the processing related to card writing according to the state identification information of the terminal, the intelligent card can retransmit or indicate the user in time when the short message transmission fails, thereby improving the success rate of short message transmission and ensuring the reliability and accuracy of the short message card writing operation.
Drawings
FIG. 1 is a flowchart illustrating an information transmission method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating the transmission of a new number activation notification in an exemplary application of the present invention;
FIG. 3 is a schematic flow chart of a short message card writing method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an information transmission apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a smart card according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
In order to realize self-help card writing, that is, a user does not need to go to a business hall/agency to handle card changing or new card sending business, in the related art, the following modes can be adopted:
the method comprises the following steps that firstly, a personal mobile phone is used for carrying out card writing operation through a wifi network and a *** native API;
and secondly, writing the card by using a short message mode aiming at the condition that the mobile phone does not support the *** native API (such as an applet mobile phone and a mobile phone with a low android version).
In the process of writing the card by using a short message mode, an information uploading link triggered by the intelligent card is involved, namely, an active command is actively initiated from the card to the terminal, and the terminal reports the active command to the card writing system. In practical application, the card actively initiates an active command to the terminal, and a failure condition is found in the detection process, especially the use of the apple mobile phone. The first information uploading is that when the card writing is finished, the card writing result is reported, if the card writing is successful, the background starts to open a new card, and the temporary number is released. If the information fails to be reported, the card is successfully written and can not be used any more, the background issues data, the code number resource is occupied, and the card can not be opened for a new card. The second information is sent out, after the activation is finished, the user restarts the mobile phone, the card is electrified again, a new number is started to log in the network, at the moment, information needs to be uploaded to inform the system that the new card is activated, card identification information and a TAC (type Allocation code) code are uploaded, the TAC code is reliable information obtained by calculating data in the card, and the data and the state in the card can be accurately identified. After the data is uploaded to the system, the system compares and records the data. Used for subsequent state updating, card replacement and the like. If the information fails to be reported, the system side cannot acquire the real TAC code and cannot determine the actual information of the card, thereby influencing the subsequent interactive processing.
Based on this, in various embodiments of the present invention, the smart card can execute the processing related to card writing according to the state identification information of the terminal, and can retransmit or indicate the user in time when the short message transmission fails, thereby improving the success rate of the short message transmission and ensuring the reliability and accuracy of the short message card writing operation.
An embodiment of the present invention provides an information transmission method, which is applied to a smart card, and as shown in fig. 1, the method includes:
In the embodiment of the invention, the terminal can be applied to various types of equipment with information processing capability, such as mobile phones, tablet computers, digital phones, video phones, sensing equipment and the like. Each terminal can realize self-help card writing without other additional terminals.
The short message related to card writing can be a first short message comprising a card writing result, and can also be a second short message comprising an activation notice.
102, acquiring state identification information of the terminal, wherein the state identification information is used for representing the sending state of the short message.
In an embodiment, the status identification information is obtained based on a Result (Result) field of a Terminal reply (Terminal Response) instruction of the Terminal.
And 103, executing card writing related processing based on the state identification information.
The smart card can execute corresponding card writing related processing according to the state identification information fed back by the terminal. The processing related to card writing may be to resend the first short message or the second short message or to display information of failed sending of the first short message or the second short message through the terminal, so as to prompt the user to perform corresponding processing.
In the information transmission method of the embodiment of the invention, the smart card trigger terminal sends the short message related to card writing to the card writing platform; acquiring state identification information of the terminal, wherein the state identification information is used for representing the sending state of the short message; and executing card writing related processing based on the state identification information. Because the intelligent card can execute the processing related to card writing according to the state identification information of the terminal, the intelligent card can retransmit or indicate the user in time when the short message transmission fails, thereby improving the success rate of the short message transmission, and ensuring the reliability and the accuracy of the short message card writing operation
In an embodiment, the short message related to card writing is a first short message including a card writing result. When the smart card determines that the card writing data issued by the card writing platform meets the preset conditions, a first trigger instruction is generated to trigger the terminal to send the first short message.
In practical application, the Card writing data sent by the Card writing platform may include data such as an International Mobile Subscriber IDentity (IMSI), an Integrated Circuit Card IDentity (ICCID), and the like, and the smart Card may analyze the Card writing data, determine that the Card writing data is correct when the IMSI or the ICCID corresponding to the Card writing data conforms to the preconfigured IMSI or ICCID, and generate a first trigger instruction to trigger the terminal to send the first short message. In other embodiments, the smart card may also trigger the terminal to report the first short message to the card writing platform after the card writing is finished.
In an embodiment, sending the status identification information corresponding to the first message includes: the card writing related processing is executed based on the state identification information, and the card writing related processing comprises:
if the state identification information is a first identification, determining that the first short message is successfully sent, and sending a first instruction indicating that the card writing is successful to the terminal after the card writing is successful;
if the state identification information is a second identification, determining that the first short message is failed to be sent, returning to the step of generating the first trigger instruction to trigger the terminal to send the first short message containing the card writing result and counting the number of times of returning, and if the number of times reaches a first set value, sending a second instruction indicating the card writing failure to the terminal;
and if the state identification information is a third identification, determining that the first short message fails to be sent, and sending a second instruction indicating card writing failure to the terminal.
In practical application, if the first short message is successfully sent, that is, the Result field of the Terminal Response instruction is "00", "01", "02", or "04" (that is, the status identification information is the first identification), the subsequent steps are continuously executed. For the description of the Terminal Response command and the Result field, please refer to 3GPP TS 11.14, which is not described herein.
It should be noted that, since the first short message is successfully sent at this time, in order to ensure that the card state is consistent with the server (i.e., the card writing platform), the card needs to have a power-off protection mechanism to ensure that the card writing is successful. If the card writing is successful, the smart card is not allowed to execute the card writing operation again; if the card writing fails, the smart card may perform the card writing operation again.
After the card writing operation is completed, the smart card returns a card writing result to the terminal in a text content field (TextString) by a command of displaying a text (DisplayText), the terminal displays the display content corresponding to the card writing result on a terminal screen to enable a user to confirm, and the instruction flow is ended after the user confirms. The "Command Qualifier" field in the "Command details" of the Displayext instruction is set to 0x81 (high priority, requiring the handset to wait for user acknowledgement). In one example, when the card writing is successful, the default content on the card is: DCS (coding format) field is 0x08 (chinese display); the display shows that the content is 'card writing is successful, please restart the mobile phone after 30 seconds' (519953616210529FFF0C8BF760A857280033003079D2540E91CD542F624B 673A). When the card writing fails, the text content field (TextString) is displayed according to the default content on the card. The default content on the card is: DCS (coding format) field is 0x08 (chinese display); the display shows that the card fails to be written, please go to the mobile business hall with valid certificates for processing (5199536159318D25FF0C8BF7643A5E26670965488BC14EF6524D5F8079FB52A884254E1A 538559047406).
And if the first short message is failed to be sent and the Result field of the Terminal Response instruction is 20 or 21 (namely the state identification information is the second identification), the card is required to initiate the uplink short message sending process again. The retry number may be 3, and if the first short message still fails to be sent after the retry number reaches 3 times, the card writing failure process is performed to display a text (DisplayText) command to display "card writing failure and please go to mobile business process with valid certificates" (5199536159318D25FF0C8BF7643A5E26670965488BC14EF6524D5F8079FB52a884254E1a 538559047406). The "Command Qualifier" field in the "Command details" of the Displayext instruction is set to 0x81 (high priority, requiring the handset to wait for user acknowledgement). The DisplayText command refers to 3GPP TS 11.14.
If the first short message fails to be sent, and the Result field of the Terminal Response instruction is "0X (value except 00, 01, 02, 04)", "1X", "2X (value except 20, 21)", "3X", or other (i.e. the status identification information is the third identifier), then "card writing failure is displayed by a command of displaying text (DisplayText)" directly according to the card writing failure processing, and the user asks to go to the mobile business hall with valid certificates (5199536159318D25FF0C8BF7643A5E26670965488BC14EF6524D5F8079FB52a884254E1a 538559047406). The "Command Qualifier" field in the "Command details" of the Displayext instruction is set to 0x81 (high priority, requiring the handset to wait for user acknowledgement).
In an embodiment, the short message related to card writing is a second short message including an activation notification. And when the intelligent card determines that the terminal is started and needs to be activated by a new number, generating a second trigger instruction to trigger the terminal to send a second short message comprising an activation notice.
In an embodiment, sending the status identification information corresponding to the second short message includes: a fourth identifier, a fifth identifier, and a sixth identifier, wherein the performing card-writing related processing based on the state identification information includes:
if the state identification information is a fourth identification, determining that the second short message is successfully sent, and identifying that the smart card is successfully activated through an identification bit;
if the state identification information is a fifth identification, determining that the second short message is failed to be sent, returning to the step of generating a second trigger instruction to trigger the terminal to send the second short message including the activation notification, and counting the number of times of returning, and if the number of times reaches a second set value, ending the new number activation operation corresponding to the starting;
and if the state identification information is a sixth identification, determining that the second short message is failed to be sent, and ending the new number activation operation corresponding to the starting.
It should be noted that the fourth identifier may be the same as the first identifier, the fifth identifier may be the same as the second identifier, and the sixth identifier may be the same as the third identifier.
In an embodiment, when it is determined that the terminal is powered on and a new number needs to be activated, generating a second trigger instruction to trigger the terminal to send a second short message including an activation notification includes:
acquiring an authentication result corresponding to the terminal after the terminal is started;
if the authentication result is that the authentication is passed, acquiring information corresponding to an identification bit for identifying whether the smart card is activated alive or not;
and generating a second trigger instruction to trigger the terminal to send the second short message when determining that the new number needs to be activated based on the identification bit.
Fig. 2 is a schematic flow chart of the new number activation notification sending in an application example of the present invention. As shown in fig. 2, the method comprises the following steps:
and after the mobile phone is started, authentication is carried out.
if the authentication fails, step 208 is executed, and if the authentication succeeds, step 203 is executed.
in actual application, whether the new number activation notification is successfully sent or not can be identified through a preset identification bit, if the new number activation notification is successfully sent, the new number activation notification sending process is exited, and step 208 is executed; if the transmission is not successful, executing step 204;
and actively sending a short message to a server (with an access number of XXXXXXXXXXX) in a short message format of TPPID | DCS ═ 0004 after the first status of the card authentication network success.
if the transmission of the uplink short message is successful, step 206 is executed, and if the transmission of the uplink short message is failed, step 207 is executed.
in practical application, the new number activation notification can be successfully sent according to the state identification information of the Terminal, if the Result field of the Terminal Response instruction is '00', '01', '02' or '04' (namely the state identification information is a fourth identification), the new number activation notification is successfully sent, the identification is carried out through the set identification bit, and the new number activation notification sending process is not executed when the Terminal is started again.
if the sending of the uplink short message fails and the Result field of the Terminal Response instruction of the Terminal is "20" or "21" (namely, the status identification information is the fifth identification), the card is required to restart the uplink short message sending process (namely, step 205 is executed), the retry number is 4, if the retry number reaches 4, the sending of the uplink short message still fails, the starting-up sending process is ended, and step 208 is executed. And when the computer is started next time, executing the new number activation notification uploading process again.
If the uplink short message transmission fails and the Result field of the Terminal Response instruction is "0X (value other than 00, 01, 02, 04)", "1X", "2X (value other than 20, 21)", "3X", or others (i.e. the status identification information is the sixth identification), the process is directly processed according to the card writing failure without retransmission, and step 208 is executed. And when the computer is started next time, executing the new number activation notification uploading process again.
And step 208, carrying out subsequent processes.
According to the processing result of the flow, the mobile phone can enter a first interface corresponding to the successful activation of the new number, a second interface corresponding to the failed activation of the new number or a third interface corresponding to the failed authentication.
As can be seen from the above description, the method of this embodiment can determine the result of the short message sent by the smart card, and perform differentiation processing according to the determination result, thereby ensuring high efficiency and accuracy of processing, and ensuring smooth completion of the whole card writing process. In addition, the method can be realized on the intelligent card, and can be compatible with various terminals to realize self-service short message card writing.
The present invention will be described in further detail with reference to the following application examples.
Fig. 3 is a schematic flow chart of a short message card writing method according to an application embodiment of the present invention, in the application embodiment, the short message card writing method includes the following steps:
step S301, the client side initiates a card writing request to the white card network-accessing card writing component.
Step S302, the white card network access card writing component acquires terminal information;
step S303, the white card network access card writing component sends a short message card writing application (namely a first card writing application), carrying card information, terminal information, a number selected by a user and the like.
Step S304, the self-service card writing platform verifies whether the card information, the terminal information and the like are consistent with the information uploaded in the empty card verification process; if the two are consistent, continuing the subsequent flow; if not, the flow is terminated, and the user is prompted for error information.
Step S305, the self-service card writing platform applies for the temporary number from the temporary number resource pool.
And step S306, the temporary number resource pool returns the temporary number to the self-service card writing platform.
Step S307, the self-service card writing platform finds card writing data of the corresponding temporary card according to the card information, and applies for opening together with the temporary number to a BOSS (Business & Operation Support System) System or a CRM (Customer relationship management) System.
And step S308, the self-service card writing platform informs the client to prompt the user to restart the terminal.
In step S309, the terminal restarts and may establish a communication connection using the temporary number.
In step S310, the card (i.e., the smart card) automatically issues a card write request (i.e., a second card write request).
Step S311, after the self-service card writing platform obtains the card writing application, the self-service card writing platform issues a short message verification code to the card.
In step S312, the user inputs the verification code into the interface of the card writing component after receiving the short message verification code.
Step 313, the card writing component acquires the terminal information again;
and step S314, the card writing component sends the short message verification code and the terminal information to the self-service card writing platform.
Step S315, the self-service card writing platform checks the verification code and checks whether the terminal information is consistent with the terminal information uploaded in the earlier stage; if the two are consistent, the subsequent process is continued, and if the two are not consistent, the process is terminated, and error information is prompted to the user.
And step S316, the self-service card writing platform applies for final card writing data from the card writing data resource pool according to the number selected by the user.
And step S317, the card writing data resource pool returns the final card writing data to the self-service card writing platform.
And step S318, assembling the data short message by the self-service card writing platform.
And step S319, the self-service card writing platform directly sends the final card writing data to the card in a data short message mode.
And step S320, writing the card.
In step S321, the card returns a card writing result.
Step S322, the self-service card writing platform applies for opening the final user number to the BOSS.
And step S323, the self-service card writing platform releases the temporary number and the card writing data of the temporary card.
In step S324, the user restarts the mobile phone.
Step S325, the card sends a new number notification activation message to the self-service card writing platform.
In step S321, the first short message may be sent to the card writing platform by using the information transmission method of this embodiment, and in step 325, the second short message may be sent to the card writing platform by using the information transmission method of this embodiment. The specific process of sending the first short message and the second short message to the card writing platform may refer to the foregoing embodiments, and details are not described herein.
In order to implement the method according to the embodiment of the present invention, an information transmission apparatus is further provided in the embodiment of the present invention, and is applied to a smart card, as shown in fig. 4, the apparatus includes:
the triggering module 401 is configured to trigger the terminal to send a short message related to card writing to the card writing platform;
an obtaining module 402, configured to obtain status identification information of the terminal, where the status identification information is used to represent a sending status of the short message;
a processing module 403, configured to perform card writing related processing based on the status identification information.
In some embodiments, the triggering module 401 is specifically configured to:
and when the card writing data issued by the card writing platform meets the preset conditions, generating a first trigger instruction to trigger the terminal to send a first short message comprising a card writing result.
In some embodiments, the processing module 403 is specifically configured to:
if the state identification information is a first identification, determining that the first short message is successfully sent, and sending a first instruction indicating that the card writing is successful to the terminal after the card writing is successful;
if the state identification information is a second identification, determining that the first short message is failed to be sent, returning to the step of generating the first trigger instruction to trigger the terminal to send the first short message containing the card writing result and counting the number of times of returning, and if the number of times reaches a first set value, sending a second instruction indicating the card writing failure to the terminal;
and if the state identification information is a third identification, determining that the first short message fails to be sent, and sending a second instruction indicating card writing failure to the terminal.
In some embodiments, the triggering module 401 is specifically configured to:
and when the terminal is determined to be started and needs to be activated by a new number, generating a second trigger instruction to trigger the terminal to send a second short message comprising an activation notice.
In some embodiments, the processing module 403 is specifically configured to:
if the state identification information is a fourth identification, determining that the second short message is successfully sent, and identifying that the smart card is successfully activated through an identification bit;
if the state identification information is a fifth identification, determining that the second short message is failed to be sent, returning to the step of generating a second trigger instruction to trigger the terminal to send the second short message including the activation notification, and counting the number of times of returning, and if the number of times reaches a second set value, ending the new number activation operation corresponding to the starting;
and if the state identification information is a sixth identification, determining that the second short message is failed to be sent, and ending the new number activation operation corresponding to the starting.
In some embodiments, the triggering module 401 is specifically configured to:
acquiring an authentication result corresponding to the terminal after the terminal is started;
if the authentication result is that the authentication is passed, acquiring information corresponding to an identification bit for identifying whether the smart card is activated alive or not;
and generating a second trigger instruction to trigger the terminal to send the second short message when determining that the new number needs to be activated based on the identification bit.
In some embodiments, the obtaining module 402 obtains the status identification information based on a result field of a terminal reply instruction of the terminal.
In actual application, the triggering module 401, the obtaining module 402 and the processing module 403 may be implemented by a processor in the information transmission device. Of course, the processor needs to run a computer program in memory to implement its functions.
It should be noted that: in the information transmission device provided in the above embodiment, only the division of the program modules is exemplified when information is transmitted, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the information transmission apparatus and the information transmission method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, in order to implement the method of the embodiment of the present invention, the embodiment of the present invention further provides an intelligent card. Fig. 5 shows only an exemplary structure of the smart card and not the entire structure, and a part or the entire structure shown in fig. 5 may be implemented as necessary.
As shown in fig. 5, a smart card 500 provided by an embodiment of the present invention includes: at least one processor 501, a memory 502, and a communication interface 503. The various components in the smart card 500 are coupled together by a bus system 504. It will be appreciated that the bus system 504 is used to enable communications among the components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 504 in fig. 5.
The memory 502 in embodiments of the present invention is used to store various types of data to support the operation of the smart card. Examples of such data include: any computer program for operating on a smart card.
The information transmission method disclosed by the embodiment of the invention can be applied to the processor 501, or can be implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the information transmission method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. Processor 501 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 502, and the processor 501 reads the information in the memory 502 to complete the steps of the information transmission method provided by the embodiment of the present invention in combination with the hardware thereof.
In an exemplary embodiment, the smart card may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
It will be appreciated that the memory 502 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the embodiment of the present invention further provides a storage medium, that is, a computer storage medium, which may be a computer readable storage medium, for example, a memory 502 storing a computer program, where the computer program is executable by a processor 501 of a smart card to perform the steps of the method according to the embodiment of the present invention. The computer readable storage medium may be a ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM, among others.
It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. An information transmission method, applied to a smart card, the method comprising:
the triggering terminal sends a short message related to card writing to the card writing platform;
acquiring state identification information of the terminal, wherein the state identification information is used for representing the sending state of the short message;
executing card writing related processing based on the state identification information; the card-writing related processing includes: and retransmitting the short message or displaying the information of the short message transmission failure through the terminal.
2. The method of claim 1, wherein the triggering terminal sending a short message related to card writing to a card writing platform comprises:
and when the card writing data issued by the card writing platform meets the preset conditions, generating a first trigger instruction to trigger the terminal to send a first short message comprising a card writing result.
3. The method of claim 2, wherein performing card-writing related processing based on the state identification information comprises:
if the state identification information is a first identification, determining that the first short message is successfully sent, and sending a first instruction indicating that the card writing is successful to the terminal after the card writing is successful;
if the state identification information is a second identification, determining that the first short message is failed to be sent, returning to the step of generating the first trigger instruction to trigger the terminal to send the first short message containing the card writing result and counting the number of times of returning, and if the number of times reaches a first set value, sending a second instruction indicating the card writing failure to the terminal;
and if the state identification information is a third identification, determining that the first short message fails to be sent, and sending a second instruction indicating card writing failure to the terminal.
4. The method of claim 1, wherein the triggering terminal sending a short message related to card writing to a card writing platform comprises:
and when the terminal is determined to be started and needs to be activated by a new number, generating a second trigger instruction to trigger the terminal to send a second short message comprising an activation notice.
5. The method of claim 4, wherein performing card-writing related processing based on the state identification information comprises:
if the state identification information is a fourth identification, determining that the second short message is successfully sent, and identifying that the smart card is successfully activated through an identification bit;
if the state identification information is a fifth identification, determining that the second short message is failed to be sent, returning to the step of generating a second trigger instruction to trigger the terminal to send the second short message including the activation notification, and counting the number of times of returning, and if the number of times reaches a second set value, ending the new number activation operation corresponding to the starting;
and if the state identification information is a sixth identification, determining that the second short message is failed to be sent, and ending the new number activation operation corresponding to the starting.
6. The method according to claim 4, wherein when it is determined that the terminal is powered on and a new number needs to be activated, generating a second trigger instruction to trigger the terminal to send a second short message including an activation notification includes:
acquiring an authentication result corresponding to the terminal after the terminal is started;
if the authentication result is that the authentication is passed, acquiring information corresponding to an identification bit for identifying whether the smart card is activated alive or not;
and generating a second trigger instruction to trigger the terminal to send the second short message when determining that the new number needs to be activated based on the identification bit.
7. The method according to claim 1, wherein the status identification information is obtained based on a result field of a terminal reply instruction of the terminal.
8. An information transmission apparatus, applied to a smart card, the apparatus comprising:
the trigger module is used for triggering the terminal to send the short message related to the card writing platform;
the acquisition module is used for acquiring the state identification information of the terminal, and the state identification information is used for representing the sending state of the short message;
the processing module is used for executing card writing related processing based on the state identification information; the card-writing related processing includes: and retransmitting the short message or displaying the information of the short message transmission failure through the terminal.
9. A smart card, comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor, when executing the computer program, is adapted to perform the steps of the method of any of claims 1 to 7.
10. A storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911028438.XA CN112738741B (en) | 2019-10-28 | 2019-10-28 | Information transmission method and device, smart card and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911028438.XA CN112738741B (en) | 2019-10-28 | 2019-10-28 | Information transmission method and device, smart card and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112738741A CN112738741A (en) | 2021-04-30 |
CN112738741B true CN112738741B (en) | 2022-04-08 |
Family
ID=75588849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911028438.XA Active CN112738741B (en) | 2019-10-28 | 2019-10-28 | Information transmission method and device, smart card and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112738741B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350056A (en) * | 2007-07-19 | 2009-01-21 | 大唐微电子技术有限公司 | Smart card with wireless card-writing function and method for wireless writing card |
CN101583127A (en) * | 2009-06-01 | 2009-11-18 | 大唐微电子技术有限公司 | Multichannel wireless write card terminal |
WO2010015883A1 (en) * | 2008-08-07 | 2010-02-11 | Turkcell Teknoloji Arastirma &Gelistirme Anonim Sirketi | A sim card personalization system |
CN104469739A (en) * | 2014-12-31 | 2015-03-25 | 北京大唐智能卡技术有限公司 | Card writing method and client terminal device |
CN105430635A (en) * | 2014-09-04 | 2016-03-23 | ***通信集团公司 | Card-changing method, device and system for mobile terminal, and mobile terminal |
CN109219000A (en) * | 2017-07-07 | 2019-01-15 | ***通信有限公司研究院 | A kind of card writing method and terminal |
-
2019
- 2019-10-28 CN CN201911028438.XA patent/CN112738741B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350056A (en) * | 2007-07-19 | 2009-01-21 | 大唐微电子技术有限公司 | Smart card with wireless card-writing function and method for wireless writing card |
WO2010015883A1 (en) * | 2008-08-07 | 2010-02-11 | Turkcell Teknoloji Arastirma &Gelistirme Anonim Sirketi | A sim card personalization system |
CN101583127A (en) * | 2009-06-01 | 2009-11-18 | 大唐微电子技术有限公司 | Multichannel wireless write card terminal |
CN105430635A (en) * | 2014-09-04 | 2016-03-23 | ***通信集团公司 | Card-changing method, device and system for mobile terminal, and mobile terminal |
CN104469739A (en) * | 2014-12-31 | 2015-03-25 | 北京大唐智能卡技术有限公司 | Card writing method and client terminal device |
CN109219000A (en) * | 2017-07-07 | 2019-01-15 | ***通信有限公司研究院 | A kind of card writing method and terminal |
Non-Patent Citations (2)
Title |
---|
移动通信中SIM卡实用技术演进;李晶等;《互联网天地》;20130215(第02期);全文 * |
空中写卡的安全性分析及一种实现;周章慧等;《信息安全与通信保密》;20070910(第09期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112738741A (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104574057B (en) | Online payment method and related equipment and system | |
CN111782492B (en) | Page first screen loading duration testing method and device, computer equipment and medium | |
CN110809255B (en) | Card information activation method and device and storage medium | |
CN109933442B (en) | Method, apparatus and computer storage medium for communication between small program platforms | |
US9569607B2 (en) | Security verification method and apparatus | |
CN112394864B (en) | Information acquisition method and device, computer equipment and storage medium | |
CN111694660B (en) | Cloud mobile phone data sending method, computer device and storage medium | |
EP3163834A1 (en) | Method and device for equipment control | |
US10764726B2 (en) | Electronic messaging device and electronic messaging method | |
US11004073B2 (en) | Verification method and apparatus for user signing fast payment with bank card | |
CN112672278A (en) | Positioning method and device of wearable equipment | |
CN112199971A (en) | Code scanning method and device, computer equipment and storage medium | |
CN113038399A (en) | Method, electronic device and storage medium for quickly verifying user identity through 5G message | |
US20200012573A1 (en) | Data backup method and terminal | |
WO2016090328A1 (en) | Processing unstructured messages | |
CN111028076A (en) | Bank on-line account opening method and device based on asynchronous processing and storage medium | |
CN111158987A (en) | Health check method and device of micro-service architecture | |
CN113961836A (en) | Page jump method and device, electronic equipment and storage medium | |
CN108037989B (en) | SDK component identification method and device | |
CN112738741B (en) | Information transmission method and device, smart card and storage medium | |
CN110752933A (en) | Verification code input method and device, electronic equipment and storage medium | |
CN111723353A (en) | Identity authentication method, device, terminal and storage medium based on face recognition | |
CN116244764A (en) | Method and system for generating device unique ID of Android device | |
CN113760631A (en) | Page loading duration determination method, device, equipment and storage medium | |
CN113050936A (en) | Front-end data processing method and device based on integrated development environment |
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 |