CN112055351B - Data updating method and device for thin smart card - Google Patents

Data updating method and device for thin smart card Download PDF

Info

Publication number
CN112055351B
CN112055351B CN202010956415.1A CN202010956415A CN112055351B CN 112055351 B CN112055351 B CN 112055351B CN 202010956415 A CN202010956415 A CN 202010956415A CN 112055351 B CN112055351 B CN 112055351B
Authority
CN
China
Prior art keywords
data
smart card
operating system
updating
server
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
CN202010956415.1A
Other languages
Chinese (zh)
Other versions
CN112055351A (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.)
Taisys Technologies Co ltd
Original Assignee
Taisys Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taisys Technologies Co ltd filed Critical Taisys Technologies Co ltd
Priority to CN202010956415.1A priority Critical patent/CN112055351B/en
Publication of CN112055351A publication Critical patent/CN112055351A/en
Application granted granted Critical
Publication of CN112055351B publication Critical patent/CN112055351B/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The present disclosure provides a method and a device for updating data of a thin smart card, wherein the method comprises the following steps: acquiring information of an intelligent card and a customer identification card, wherein the intelligent card and the customer identification card have a binding relationship; sending the information of the intelligent card and the customer identification card to a server so that the server judges whether the server has the updating data of the intelligent card according to the information of the intelligent card and the customer identification card; in response to the presence of the update data of the smart card in the server, sending an update data request to the server; acquiring update data sent by the server, wherein the update data comprises update data of an operating system of the smart card and/or update data of an application in the smart card; and updating the operating system of the smart card and/or updating the application according to the updating data, wherein the method can improve the data updating efficiency of the smart card.

Description

Data updating method and device for thin smart card
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for updating data of a thin smart card.
Background
Currently, some smart cards may be attached to a SIM (Subscriber identity Module) card front surface, so that a user may conveniently use the provided functions of the smart card without replacing the original SIM card. For a thin smart card with a preset internal operating system and an application program, once the thin smart card has a technical leak or needs to be updated in an emergency situation in actual application in the process of being issued to an end user or being issued, the thin smart card is difficult to be uniformly recovered in a large batch or the end user is inconvenient to go to a website for updating in time due to the particularity of the form of the thin smart card, so that immeasurable economic loss is brought to the card issuer or the end user. And, when the thin smart card is used by the end user, the thin smart card is usually pasted on the SIM card, once the thin smart card is installed and used, if the thin smart card is returned to a factory for recycling, the smart card is easy to damage, and the user needs to remove the back adhesive sticker on the back of the thin smart card firstly during actual operation, the thin smart card and the SIM card must be separated and properly placed by using necessary auxiliary tools during recycling, and the thin smart card can be used again after being successfully updated and needing secondary installation by professionals, so that the whole process has great operation difficulty for non-professionals, and the smart card can be damaged by carelessness. If the end user needs to go to the website for remote updating, it cannot be guaranteed to be implemented at the first time.
Disclosure of Invention
The present disclosure is directed to a method and an apparatus for updating data of a thin smart card, so as to solve the problem that the data updating operation of the smart card is complicated in the related art.
One or more embodiments of the present disclosure provide a thin smart card data updating method, including: acquiring information of an intelligent card and a customer identification card, wherein the intelligent card and the customer identification card have a binding relationship; sending the information of the intelligent card and the customer identification card to a server so that the server judges whether the server has the updating data of the intelligent card according to the information of the intelligent card and the customer identification card; in response to the presence of the update data of the smart card in the server, sending an update data request to the server; acquiring update data sent by the server, wherein the update data comprises update data of an operating system of the smart card and/or update data of an application in the smart card; and updating the operating system of the smart card and/or updating the application according to the updating data.
Optionally, sending an update data request to the server includes: sending a dynamic verification information request to the server; receiving ciphertext dynamic verification information sent by the server; decrypting the ciphertext dynamic verification information through the intelligent card to obtain and display plaintext dynamic verification information; acquiring externally input verification information; and sending the externally input verification information to the server so that the server verifies the verification information.
Optionally, the method further includes: after acquiring the update data sent by the server and before updating the application according to the update data, responding to a first user operation, and storing user data before the application is updated in the smart card; or, in response to a second user operation, deleting the user data before the application update from the smart card.
Optionally, the method further includes: and after updating the operating system of the smart card and/or the application according to the updating data, sending the information of the smart card subjected to data updating to the server so that the server determines whether the data of the smart card subjected to data updating is consistent with the updating data of the smart card stored in the server according to the information of the smart card.
Optionally, the method further includes: after the information of the smart card subjected to data updating is sent to the server, acquiring a confirmation message of the server; and deleting the updated data from the smart card when the updated data of the smart card is determined to be consistent with the updated data of the smart card stored in the server according to the confirmation message.
Optionally, the method further includes: backing up user data in the application before updating the operating system of the smart card and/or updating the application according to the updating data and after acquiring the updating data sent by the server; and after the operating system of the smart card is updated and/or the application is updated according to the updating data, responding to a user data recovery request, and recovering the user data of the application according to the backed-up user data.
Optionally, a first operating system and a second operating system are installed in the smart card, and the obtaining of the update data sent by the server includes: downloading the update data to the smart card through the first operating system; updating the operating system of the smart card and/or the application according to the update data, including: if the update data comprises the update package of the second operating system, the update package of the second operating system is installed through the first operating system, the update package is deleted after the update package of the second operating system is installed, if the update data comprises the update package of the first operating system, the smart card is controlled to be switched to be controlled by the second operating system through the first operating system, the update installation package of the first operating system is installed through the second operating system, and the update package is deleted after the update package of the first operating system is installed.
Optionally, the method further includes: before updating the operating system of the smart card and/or updating the application according to the updating data, after acquiring the updating data sent by the server, responding to the user data before the application updating by the second operating system, and saving or deleting the user data before the application updating;
and after the operating system of the smart card is updated and/or the application is updated according to the updating data, deleting the installation package of the first operating system and the installation package of the application stored in the smart card.
Optionally, the method further includes: before updating the operating system of the smart card and/or updating the application according to the updating data, after acquiring the updating data sent by the server, responding to the user data before the application updating by the first operating system, and saving or deleting the user data before the application updating; and after the operating system of the smart card is updated and/or the application is updated according to the updating data, deleting the installation package of the second operating system and the installation package of the application stored in the smart card.
One or more embodiments of the present disclosure also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement any one of the thin smart card data updating methods described above.
According to the thin smart card data updating method provided by one or more embodiments of the disclosure, information of a smart card and a customer identification card is acquired, and the information is sent to a server, so that the server can determine whether the server has updated data of the smart card according to the information, and when the server has the updated data of the smart card, the server can request to acquire the updated data, so that an operating system and/or application of the smart card are updated, thereby identifying the online updated data in real time, updating the operating system and/or application of the smart card in real time, simplifying data updating operation of the smart card, and improving data updating efficiency of the smart card.
Drawings
In order to more clearly illustrate the detailed description of the present disclosure or the technical solutions in the prior art, the drawings used in the detailed description or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flow diagram illustrating a thin smart card data update method according to one or more embodiments of the present disclosure;
FIG. 2 is a flow diagram illustrating a method for data update for a thin smart card according to one or more embodiments of the present disclosure;
FIG. 3 is a flow diagram illustrating a method for data update for a thin smart card according to one or more embodiments of the present disclosure;
FIG. 4 is a flow diagram illustrating a method for data update for a thin smart card according to one or more embodiments of the present disclosure;
fig. 5 is a block diagram illustrating an electronic device in accordance with one or more embodiments of the present disclosure.
Detailed Description
The technical solutions of the present disclosure will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In the description of the present disclosure, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be considered as limiting the present disclosure. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise. Furthermore, the terms "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present disclosure can be understood in specific instances by those of ordinary skill in the art.
One or more embodiments of the present disclosure relate to a thin smart card data updating method, in which a mobile terminal is used to perform online updating on an operating system/application in a smart card having a service binding relationship with a user subscriber identity card, and the method is applicable to a mobile terminal supporting a point-to-point short message or android card communication interface, and facilitates repair of security vulnerabilities of the operating system/application of the smart card or service content upgrading and the like.
Fig. 1 is a flowchart illustrating a data updating method for a thin smart card, which may be executed by a mobile terminal, for example, by a client on the mobile terminal, according to one or more embodiments of the present disclosure, and as shown in fig. 1, the method includes:
step 101: acquiring information of an intelligent card and a customer identification card, wherein the intelligent card and the customer identification card have a binding relationship;
in one implementation, the subscriber Identity module may be, for example, a SIM card or a UIM (User Identity module) card.
In one implementation, the smart card may be, for example, a thin smart card, and the back of the smart card may have a plurality of contacts for contacting corresponding locations of the front of the SIM card, and the smart card is attached to the front of the SIM card during use.
For example, the smart card and the customer identification card are in a binding relationship in advance.
Step 102: sending the information of the intelligent card and the customer identification card to a server so that the server judges whether the server has the updating data of the intelligent card according to the information of the intelligent card and the customer identification card; in response to the presence of the update data of the smart card in the server, sending an update data request to the server;
in one implementation, the information of the smart card and the sim card may include information such as a version number of an operating system in the smart card, an ID of an application in the smart card, a version number of the application, an ID of the smart card, a card number of the sim card, and an IMSI (International Mobile Subscriber Identity) of the sim card.
For example, after the information of the smart card and the information of the customer identification card are sent to the server, the server determines whether the received information of the smart card and the customer identification card is consistent with the content stored in the server. The server can compare the information of the intelligent card and the customer identification card with the information stored in the business binding relationship database to determine whether the intelligent card and the customer identification card have a binding relationship before so as to prevent the risk of being stolen by others. And under the condition that the binding relationship between the intelligent card and the client identification card is determined, and the received information of the intelligent card and the client identification card is consistent with the corresponding content stored in the server, requesting the server for updating data.
Step 103: acquiring update data sent by the server, wherein the update data comprises update data of an operating system of the smart card and/or update data of an application in the smart card;
in one or more embodiments of the present disclosure, unlike a traditional method of using a smart card reader to perform update downloading, an App client may perform data interaction with a data transmission channel between a smart card and any one of Mobile terminals including but not limited to a Mobile terminal based on Google Carrier Service technology, open Mobile API technology, or GP SE Access Control specification, so as to implement interaction of update data.
Step 104: and updating the operating system of the smart card and/or updating the application according to the updating data.
According to the thin smart card data updating method provided by one or more embodiments of the disclosure, the information of the smart card and the customer identification card is acquired, and the information is sent to the server side, so that the server side can determine whether the server side has the update data of the smart card according to the information, and when the server side has the update data of the smart card, the server side can request to acquire the update data, so that the operating system and/or the application of the smart card are updated, thereby realizing real-time identification of online update data, updating the operating system and/or the application of the smart card in real time, simplifying the data updating operation of the smart card, and improving the data updating efficiency of the smart card. The method can realize automatic online updating of the smart card and is convenient for large-scale deployment. The method can automatically identify the online updating information of the server side at the mobile terminal, automatically determine whether the updating information needs to be downloaded and installed or not according to the updating information, only needs a small amount of manual intervention in the whole online updating process, and improves the updating efficiency; in addition, the method can also ensure that the mobile terminal is automatically connected with the server, can automatically download the updating information and give user prompts, can automatically download the updating information, install and update only by simple confirmation of the user, can automatically select whether to retain the original user data of the application or not, and is more convenient and faster to operate.
In one or more embodiments of the present disclosure, sending an update data request to the server may include:
sending a dynamic verification information request to the server; the dynamic authentication information may be, for example, a dynamic authentication code.
Receiving ciphertext dynamic verification information sent by the server; for example, the server may send the ciphertext dynamic verification code to the smart card after receiving the dynamic verification information request.
Decrypting the ciphertext dynamic verification information through the intelligent card to obtain and display plaintext dynamic verification information; for example, after the smart card decrypts the ciphertext dynamic verification information, the plaintext dynamic verification information obtained by decryption can be displayed in a flash mode.
Acquiring externally input verification information; for example, a user inputs a plaintext dynamic verification code in an App client, and the App client sends the plaintext dynamic verification code to a server.
And sending the externally input verification information to the server so that the server verifies the verification information. For example, after receiving a plaintext dynamic verification code from the App client, the server compares the verification code with a stored verification code, and if the verification code is not consistent with the stored verification code, the App client can send a ciphertext dynamic verification code request to the server again, and the process is repeated; and if the update information is consistent with the update information, the App client downloads the update information of the server to the smart card so as to install or update the operating system or the application.
The following describes a process for determining whether to perform a data update on the smart card with reference to fig. 2, where the process includes: the intelligent card acquires the SIM card information and responds to the SIM card information; the App client requests the information of the smart card and the SIM card from the smart card and responds to the acquired information; the App client sends the information of the intelligent card and the SIM card to a server; and the server compares the information of the intelligent card and the information of the SIM card with the information in the service binding relation database and informs the App client of the comparison result. When the comparison result is inconsistent, ending the process; when the comparison result is consistent, the App client requests the server for a ciphertext dynamic verification code, and the server encrypts the generated dynamic verification code and sends the encrypted dynamic verification code to the SIM card number; the smart card decrypts the ciphertext dynamic verification code to obtain a plaintext dynamic verification code; the method comprises the steps that a user inputs a plaintext dynamic verification code in an App client, and the App client sends the dynamic verification code to a server; and the server compares the received dynamic verification code with the stored dynamic verification code and informs the App client of the comparison result. When the comparison result is inconsistent, requesting the ciphertext dynamic verification code again, and repeating the process; when the comparison result is consistent, the App client sends a smart card updating request to the server; the server informs the App smart card of updating package information; if the App client receives an instruction for confirming update input from the outside, the smart card updating process is about to be started, and if the App client receives an instruction for not updating the smart card input from the outside, the process is ended.
The following describes a process of downloading update data of a smart card with reference to fig. 3, and as shown in fig. 3, the process includes:
the App client requests a random number from the smart card, and the smart card sends the random number to the App client; the App client uploads the random number to a server; the server calculates the data to be authenticated of the smart card according to the random number discrete external authentication key, and sends the external authentication data to the App client; the App client sends external authentication data to the smart card; the smart card disperses an external authentication key according to the random number, verifies external authentication data and calculates data to be authenticated of the server; the smart card returns a verification result and server to-be-authenticated data to the App client; the App client uploads a verification result and server to-be-authenticated data to the server; and the server returns a verification result to the App client. When the verification result is failed, the process is ended; when the verification result is that the server passes, the App client requests an update package from the server; the server sends an update packet to the App client; and the App client downloads the update package to the smart card.
In one or more embodiments of the present disclosure, the thin smart card data updating method may further include:
after the updating data sent by the server are obtained and before the application is updated according to the updating data, responding to a first user operation, and storing user data before the application is updated in the smart card; the first user operation can be an operation sent by a user in the App client to instruct to save user data original in the application. Or, in response to a second user operation, deleting the user data before the application update from the smart card. The second user operation may be, for example, an operation issued by the user in the App client to instruct to delete original user data in the application. Based on the method, after the data of the smart card is updated, the user can autonomously select whether to store the user data in the application before the application update in the smart card through the App client.
In one or more embodiments of the present disclosure, the thin smart card data updating method may further include: after the operating system of the smart card is updated according to the update data and/or the application is updated, the information of the smart card after data update is sent to the server, so that the server determines whether the updated update data of the smart card is consistent with the update data of the smart card stored in the server according to the information of the smart card, for example, the server can determine whether the version number of the operating system of the smart card is consistent with the version number of the operating system of the smart card stored in the server, can also determine whether the version number of the application of the smart card is consistent with the version number of the application stored in the server, or can also determine whether the fault repair data of the application in the smart card is consistent with the fault repair data of the application stored in the server.
In one or more embodiments of the present disclosure, the thin smart card data updating method may further include:
backing up user data in the application before updating the operating system of the smart card and/or updating the application according to the updating data and after acquiring the updating data sent by the server;
and after the operating system of the smart card is updated and/or the application is updated according to the updating data, responding to a user data recovery request, and recovering the user data of the application according to the backed-up user data. Before data updating is carried out on the intelligent card, original application data in the intelligent card are backed up, so that a user can independently select whether to recover application data information in the intelligent card or not based on an App client side subsequently.
In one or more embodiments of the present disclosure, a first operating system and a second operating system are installed in the thin smart card,
obtaining the update data sent by the server may include:
downloading the update data to the smart card through the first operating system;
updating the operating system of the smart card and/or updating the application according to the update data may include:
if the update data includes an update package of the second operating system, installing the update package of the second operating system through the first operating system, and deleting the update package after the update package of the second operating system is installed, for example, where the first operating system takes an operating system a as an example, and the second operating system takes an operating system B as an example, where the operating system a is an original operating system before the data update of the smart card and is responsible for downloading the update installation package into the smart card; or the installation method is responsible for installing the updated installation package of the operating system B only when necessary, for example, planning and adjusting the updating strategy of the original operating system B, or when security vulnerabilities exist in the updating logic of the original operating system B, and deleting the installation package after the installation is finished. If the update data comprises the update package of the first operating system, the smart card is switched from the control of the first operating system to the control of the second operating system, the update installation package of the first operating system is installed through the second operating system, and the update package is deleted after the installation of the update package of the first operating system is completed. For example, the operating system a' is a new operating system in the smart card after the operating system a is updated. And the operating system B is an installation package execution system and is used for installing the operating system A 'and the update installation package of the application data, storing or deleting the original user data according to the selection of the user, and deleting the operating system A' and the installation package of the application data stored in the smart card after the operation is finished. If necessary, the operating system a is an installation execution system, and is configured to install the update installation package of the operating system B' and delete the installation package. The operating system B 'is an updated installation package execution system, and a new updating strategy is started when the operating system A' is updated next time.
In one or more embodiments of the present disclosure, before updating the operating system of the smart card and/or updating the application according to the update data, after obtaining the update data sent by the server,
the data updating method of the thin smart card can also comprise the following steps: before updating the operating system of the smart card and/or updating the application according to the updating data, after acquiring the updating data sent by the server, responding to the user data before the application updating by the first operating system, and saving or deleting the user data before the application updating;
and after the operating system of the smart card is updated and/or the application is updated according to the updating data, deleting the installation package of the second operating system and the installation package of the application stored in the smart card.
The following describes a flow of installing update data of a thin smart card with reference to fig. 4, and as shown in fig. 4, the flow includes: the App client sends the update package downloaded from the server to the smart card; the smart card downloads and verifies data integrity. If not, downloading the update package again; and if so, determining whether to reserve the application data according to the user operation. If the application data is reserved, installing an update package; and if the application data is not reserved, the update package is installed after the application data is deleted. If the installation is successful, deleting the update package and informing the smart card of the update result; and if the installation is not successful, reinstalling the update package. After receiving the updating result of the intelligent card, the App client requests the server to update the intelligent card information database; the server responds to the request result and the process ends.
In one or more embodiments of the present disclosure, a first operating system and a second operating system are installed in the smart card, wherein the first operating system may be of a different type from the second operating system, or the first operating system may be of the same type as the second operating system.
Updating the operating system of the smart card and/or the application according to the update data, including:
switching the smart card from being controlled by a first operating system to being controlled by a second operating system;
installing the installation package of the first operating system downloaded to the smart card and the installation package of the application through the second operating system;
switching the smart card from being controlled by the second operating system to being controlled by the first operating system. Continuing with the above example, judging whether the server side has the update data corresponding to the smart card based on the operating system A in the smart card; when the server side has the updating data corresponding to the intelligent card, the server side updating installation package (which can comprise an operating system A 'and application data or an operating system B') is downloaded to the intelligent card. Two cases can be distinguished, the first: switching the smart card from the control of an operating system A to the control of an operating system B; and installing an installation package (an operating system A 'and application data) downloaded to the smart card based on the operating system B in the smart card, autonomously selecting whether to store the original user data of the application, and switching the smart card from the control of the operating system B to the control of the operating system A'. In the second case: and installing an update installation package of the operating system B' under the operating system A.
In one or more embodiments of the present disclosure, the thin smart card data updating method may further include:
after the information of the intelligent card and the customer identification card is sent to the server, acquiring a confirmation message of the server; and deleting the updating data from the smart card when the updating data corresponding to the smart card is determined to be consistent with the updating data in the server according to the confirmation message. Following the above example, the server-side update information is confirmed to be consistent with the smart card information based on the smart card internal operating system a ' (corresponding to the first case described above) or the operating system a (corresponding to the second case described above), and the smart card internal installation package (e.g., the operating system a ' and the application data or the operating system B ') is deleted after the successful installation is confirmed.
One or more embodiments of the present disclosure further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements any one of the thin smart card data updating methods described above.
Fig. 5 is a more specific hardware structure diagram of an electronic device according to one or more embodiments of the present disclosure, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solutions provided by the embodiments of the present specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called by the processor 1010 for execution.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only the components necessary to implement the embodiments of the present disclosure, and need not include all of the components shown in the figures.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications or substitutions do not depart from the scope of the embodiments of the present disclosure by the essence of the corresponding technical solutions.

Claims (9)

1. A thin smart card data updating method is characterized by comprising the following steps:
acquiring information of an intelligent card and a customer identity recognition card, wherein the intelligent card and the customer identity recognition card have a binding relationship;
sending the information of the intelligent card and the customer identification card to a server so that the server judges whether the server has the updating data of the intelligent card according to the information of the intelligent card and the customer identification card;
responding to the server that the update data of the smart card exist, and sending an update data request to the server;
acquiring update data sent by the server, wherein the update data comprises update data of an operating system of the smart card and/or update data of an application in the smart card;
updating the operating system of the smart card and/or updating the application according to the updating data;
a first operating system and a second operating system are installed in the smart card,
acquiring the update data sent by the server, including:
downloading the update data to the smart card through the first operating system;
updating the operating system of the smart card and/or the application according to the update data, including:
if the update data comprises the update package of the second operating system, the update package of the second operating system is installed through the first operating system, the update package is deleted after the update package of the second operating system is installed, if the update data comprises the update package of the first operating system, the smart card is controlled to be switched to be controlled by the second operating system through the first operating system, the update installation package of the first operating system is installed through the second operating system, and the update package is deleted after the update package of the first operating system is installed.
2. The method of claim 1, wherein sending an update data request to the server comprises:
sending a dynamic verification information request to the server;
receiving ciphertext dynamic verification information sent by the server;
decrypting the ciphertext dynamic verification information through the intelligent card to obtain and display plaintext dynamic verification information;
acquiring externally input verification information;
and sending the externally input verification information to the server so that the server verifies the verification information.
3. The method of claim 1, further comprising:
after the updating data sent by the server are obtained and before the application is updated according to the updating data, responding to a first user operation, and storing user data before the application is updated in the smart card;
or, in response to a second user operation, deleting the user data before the application update from the smart card.
4. The method of claim 1, further comprising:
and after updating the operating system of the smart card and/or the application according to the updating data, sending the information of the smart card subjected to data updating to the server so that the server determines whether the data of the smart card subjected to data updating is consistent with the updating data of the smart card stored in the server according to the information of the smart card.
5. The method of claim 4, further comprising:
after the information of the smart card subjected to data updating is sent to the server, acquiring a confirmation message of the server;
and deleting the updated data from the smart card when the updated data of the smart card is determined to be consistent with the updated data of the smart card stored in the server according to the confirmation message.
6. The method of claim 1, further comprising:
backing up user data in the application before updating the operating system of the smart card and/or updating the application according to the updating data and after acquiring the updating data sent by the server;
and after the operating system of the smart card is updated and/or the application is updated according to the updating data, responding to a user data recovery request, and recovering the user data of the application according to the backed-up user data.
7. The method of claim 1,
the method further comprises the following steps:
before updating the operating system of the smart card and/or updating the application according to the update data, after obtaining the update data sent by the server,
saving or deleting, by the second operating system, user data prior to the application update in response to saving or deleting the user data prior to the application update;
and after the operating system of the smart card is updated and/or the application is updated according to the updating data, deleting the installation package of the first operating system and the installation package of the application stored in the smart card.
8. The method of claim 1, further comprising:
before updating the operating system of the smart card and/or updating the application according to the update data, after obtaining the update data sent by the server,
saving or deleting, by the first operating system, user data prior to the application update in response to saving or deleting the user data prior to the application update;
and after the operating system of the smart card is updated and/or the application is updated according to the updating data, deleting the installation package of the second operating system and the installation package of the application stored in the smart card.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the thin smart card data update method of any one of claims 1 to 8 when executing the program.
CN202010956415.1A 2020-09-11 2020-09-11 Data updating method and device for thin smart card Active CN112055351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010956415.1A CN112055351B (en) 2020-09-11 2020-09-11 Data updating method and device for thin smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010956415.1A CN112055351B (en) 2020-09-11 2020-09-11 Data updating method and device for thin smart card

Publications (2)

Publication Number Publication Date
CN112055351A CN112055351A (en) 2020-12-08
CN112055351B true CN112055351B (en) 2023-04-07

Family

ID=73610205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010956415.1A Active CN112055351B (en) 2020-09-11 2020-09-11 Data updating method and device for thin smart card

Country Status (1)

Country Link
CN (1) CN112055351B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413224B (en) * 2010-09-25 2015-02-04 中国移动通信有限公司 Methods, systems and equipment for binding and running security digital card
CN104581721A (en) * 2013-10-25 2015-04-29 北京旅信顺捷软件科技有限公司 Dual-card structure-based mobile service data processing method and system, and mobile terminal
CN104022878B (en) * 2014-05-21 2017-12-15 北京旅信顺捷软件科技有限公司 A kind of pad pasting SIM card and corresponding weight discriminating system and method for authenticating
CN104519480B (en) * 2014-12-30 2016-02-17 悠游宝(天津)网络科技有限公司 Communication control unit, authentication device, central controller and communication system
US9801045B2 (en) * 2016-02-04 2017-10-24 Taisys Technologies Co. Ltd. System for providing multiple services over mobile network using multiple IMSIs
CN108834144B (en) * 2018-06-05 2021-01-15 恒宝股份有限公司 Method and system for managing association of operator number and account

Also Published As

Publication number Publication date
CN112055351A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
EP3975503A1 (en) Esim card replacement method and related device
CN105138347A (en) Difference upgrade patch generating method, software upgrading method and corresponding apparatus
US20160170735A1 (en) Operating system updating method by using a checklist
EP2456257A1 (en) Method and system for upgrading wireless data card
CN111372249B (en) System and method for testing consistency of code number downloading process of eSIM (embedded subscriber identity Module) terminal of Internet of things
CN104052818A (en) Version upgrade method and device for mobile terminal
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
US20170068585A1 (en) Method and Apparatus for Recovering System Software of Intelligent Terminal
CN111538523A (en) Differential upgrading method, device and storage medium
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN112416391A (en) System upgrading method and device, computer equipment and storage medium
CN111694590A (en) Upgrading method of intelligent water meter
CN112055351B (en) Data updating method and device for thin smart card
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN110493644B (en) Television application upgrading method, television terminal and server
CN108881320B (en) Authentication processing method for user login, server and client
US20230030478A1 (en) Pre-personalized secure element and embedded personalization
KR101206639B1 (en) Server and Method for updating firmware in Mobile communication terminal
CN111246447A (en) eUICC signed data management method, eUICC signed data management module, eUICC signed data management terminal and eUICC signed data management storage medium
CN109618327B (en) Software adaptation method and device, electronic equipment and readable storage medium
CN113282319A (en) Smart card and updating method thereof
CN114143197A (en) OTA (over the air) upgrading method, device and equipment of Internet of things equipment and readable storage medium
CN112312212B (en) Upgrading method and related device for digital television system
CN112230957A (en) Equipment upgrading method based on cloud and application bridging
CN112711430A (en) ADB-based non-network equipment upgrading method and system and readable 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