Card information reporting method and device, computer equipment, storage medium and product
By setting up a transit component and a data processing center in the card information reporting system, collecting and encrypting card application information, the incomplete problem caused by competition in card application during card information reporting is solved, and the reporting success rate and operation executability are improved.
Patent Information
- Application Number
- CN202411679809.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-11
AI Technical Summary
During the card information reporting process, due to competition between different card applications on SIM card information and terminal information data, card information may be incomplete, which will lead to failure to report card information.
By setting up a transit component, the card application information, SIM card information and terminal information of each SIM card application are collected, the target card information is constructed, and after receiving the information reporting request through the data processing center, the key information is obtained from the locally stored key information collection, and the target card information is encrypted and decrypted to ensure the integrity and successful reporting of the card information.
It effectively avoids the incomplete card information caused by competition in card applications, improves the success rate of card information reporting, and ensures the executability of subsequent operations based on card information.
Smart Images

Figure CN119603671A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a card information reporting method, device, computer equipment, storage medium and product. Background Art
[0002] In the field of card information reporting, it mainly counts the number of status events of the terminal and starts reporting after the number of status events reaches a certain threshold. The technical implementation of automatic reporting mainly depends on the card application installed in the SIM card, such as SIM shield card application, SIM quick card application or other card applications.
[0003] At present, there is a probability of conflict in the reporting mechanism when the card application in the SIM card automatically reports the SIM card information. That is, if there are multiple card applications on the SIM card at the same time, there is a possibility that the automatic reporting events will compete with each other for SIM card resources. Since the automatic reporting process of the SIM card belongs to single-threaded logic, it is possible that a card application fails to report or cannot report in time, resulting in missing card information collection, which in turn affects subsequent operations based on the card information. Summary of the invention
[0004] The embodiments of the present application provide a card information reporting method, device, computer equipment, storage medium and product, which can avoid the situation where the card information reporting fails due to incomplete card information caused by the competition between different card applications for SIM card information and terminal information data, ensure the integrity of the card information reported by each card application, improve the success rate of card information reporting, and thus ensure the executability of subsequent operations based on the card information. The technical solution is as follows.
[0005] On the one hand, a card information reporting method is provided, the method is executed by a transfer component, the transfer component is used to connect to a SIM card application and a data processing center, the data processing center manages at least two secondary platforms; the method includes: Receiving a first information reporting request sent by a first platform through the data processing center; the first platform is one of the at least two secondary platforms; Based on the first information reporting request, obtaining first key information from a locally stored first key information set corresponding to the first platform; the first key information set includes at least two key information corresponding to the first platform issued by the data processing center; Encrypting the target card information based on the session key in the first key information to obtain encrypted card information, wherein the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information; The encrypted card information and the session key identifier in the first key information are sent to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
[0006] On the other hand, a card information reporting method is provided, the method being executed by a data processing center, the data processing center being used to connect to a transfer component and at least two secondary platforms managed by the data processing center; the method comprising: Receiving a first information reporting request sent by a first platform; the first platform is one of at least two secondary platforms; The first information reporting request is sent to the transfer component, so that the transfer component obtains the first key information from the first key information set corresponding to the first platform stored locally based on the first information reporting request, encrypts the target card information based on the session key in the first key information to obtain the encrypted card information, and sends the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information; the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information, and the first key information set includes at least two key information corresponding to the first platform issued by the data processing center.
[0007] On the other hand, a card information reporting device is provided, the device is used in a transfer component, the transfer component is used to connect a SIM card application and a data processing center, the data processing center manages at least two secondary platforms; the device includes: A first receiving module, configured to receive a first information reporting request sent by a first platform through the data processing center; the first platform is one of the at least two secondary platforms; A first information acquisition module, configured to acquire first key information from a locally stored first key information set corresponding to the first platform based on the first information reporting request; the first key information set includes at least two key information corresponding to the first platform issued by the data processing center; an encryption module, configured to encrypt the target card information based on the session key in the first key information to obtain encrypted card information, wherein the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information; The first sending module is used to send the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
[0008] In a possible implementation, a key counter corresponding to each secondary platform is provided in the transfer component, and the device further includes: an information maintenance module, configured to delete the first key information from the first key information set after obtaining the encryption card information, And, the value of the first key counter corresponding to the first platform is reduced by one.
[0009] In a possible implementation manner, the device further includes: A second receiving module is used to receive a secondary reporting identifier issued by the first platform and access information of a second platform, wherein the secondary reporting identifier is used to indicate that the target card information is to be reported to other platforms for a secondary time; the secondary reporting identifier is sent by the first platform after determining that the target card information is received successfully; The device is also used to perform a card information reporting operation corresponding to the second platform based on the access information of the second platform.
[0010] In a possible implementation manner, the device further includes: A third receiving module is used to receive a key information set corresponding to each secondary platform respectively issued by the data processing center; The storage configuration module is used to store each key information set and each secondary platform in correspondence, and to configure a key counter corresponding to each secondary platform; the initial value of the key counter is consistent with the number of key information in the corresponding key information set.
[0011] In a possible implementation, the storage configuration module is used to store each key information set and each secondary platform in a phone book of the SIM card in correspondence with each other when the transfer component is configured in the SIM card.
[0012] In a possible implementation manner, the device further includes: A second information acquisition module is used to acquire card application information, SIM card information and terminal information of a target card application; the target card application is a SIM card application with an information reporting function in the SIM card; An information configuration module is used to configure the target card information based on the card application information, SIM card information and terminal information of the target card application; the target card information includes sub-card information corresponding to the card application identifiers corresponding to each card application information, and the sub-card information includes the card application identifier, the SIM card information and the terminal information.
[0013] In a possible implementation manner, the device further includes: An information sending module, used for sending quantity prompt information to a target platform corresponding to the target key counter through the data processing center when the value of the target key counter is less than a value threshold; the target key counter is one of the key counters corresponding to each secondary platform; The information maintenance module is used to maintain the target key counter and the key information set corresponding to the target platform when receiving the key information corresponding to the target platform newly issued by the data processing center based on the first feedback information; the first feedback information is feedback information sent by the target platform in response to the quantity prompt information to indicate the addition of key information.
[0014] In a possible implementation manner, the device further includes: A third information acquisition module, configured to acquire second key information from the first key information set when the data processing center transfer is abnormal; A key generation module, configured to process the session key in the second key information based on a key processing rule to generate a temporary session key; the key processing rule includes a key processing logic and a key processing sequence; The encryption module is used to encrypt the target card information based on the temporary session key to obtain the encrypted card information; The first sending module is used to send the encrypted card information, the key processing rule and the session key identifier of the second key information to the first platform, so that the first platform calculates a temporary session key based on the key processing rule and the session key identifier of the first key information, and decrypts the encrypted card information based on the calculated temporary session key to obtain the target card information.
[0015] In a possible implementation manner, the device further includes: A destruction module is used to destroy the temporary session key after obtaining the encryption card information.
[0016] In a possible implementation manner, the device further includes: The interception module is used to intercept the information reporting operation when the value of the first key counter is 0.
[0017] On the other hand, a card information reporting device is provided, which is applied to a data processing center, and the data processing center is used to connect to a transfer component and at least two secondary platforms managed by the data processing center; the device includes: A request receiving module, configured to receive a first information reporting request sent by a first platform; the first platform is one of at least two secondary platforms; A second sending module is used to send the first information reporting request to the transfer component, so that the transfer component obtains the first key information from the first key information set corresponding to the first platform stored locally based on the first information reporting request, encrypts the target card information based on the session key in the first key information to obtain the encrypted card information, and sends the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information; the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information, and the first key information set contains at least two key information corresponding to the first platform issued by the data processing center.
[0018] In a possible implementation manner, the device further includes: The third sending module is used to send the key information set corresponding to each secondary platform, and send the key information set corresponding to each secondary platform to the transfer component.
[0019] In a possible implementation manner, the device further includes: a key query module, configured to, upon receiving a key query request sent by the first platform, perform a key query based on a session key identifier carried in the key query request to obtain a query result; the key query request is sent by the first platform when the corresponding session key is not found based on the session key identifier; The key sending module is used to send the queried session key to the first platform when the query result is that the session key corresponding to the session key identifier is queried, so that the first platform decrypts the encrypted card information based on the received session key to obtain the target card information.
[0020] On the other hand, a computer device is provided, the computer device comprising a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the above-mentioned card information reporting method.
[0021] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above-mentioned card information reporting method.
[0022] On the other hand, a computer program product is provided, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute to implement the card information reporting method provided in the above-mentioned various optional implementation methods.
[0023] The technical solution provided by this application may have the following beneficial effects: The card information reporting method provided in the embodiment of the present application sets a transfer component, so as to obtain target card information based on the card application information reported by each SIM card application and the SIM card information and the terminal information through the transfer component. After receiving the first information reporting request issued by the first platform through the data processing center, the first key information obtained from the first key information set corresponding to the first platform stored locally is used to encrypt the target card information based on the session key in the first key information to obtain encrypted card information, and the encrypted card information and the session key identifier in the first key information are sent to the first platform through the data processing center, so that the first platform obtains the corresponding session key according to the session key identifier and decrypts the target card information through the found session key pair. Through the setting of the transfer component and the data processing center, the situation that the card information reporting fails due to incomplete card information caused by the competition between different card applications for SIM card information and terminal information data can be avoided, the integrity of the card information reported by each card application is guaranteed, the success rate of the card information reporting is improved, and the executability of subsequent operations based on the card information is guaranteed.
[0024] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0026] Figure 1 A schematic diagram of a card information reporting system provided by an example of the present application is shown; Figure 2 A flowchart of a card information reporting method provided by an exemplary embodiment of the present application is shown; Figure 3A flowchart of another card information reporting method provided by an exemplary embodiment of the present application is shown; Figure 4 A schematic diagram showing a key information set storage process provided by an exemplary embodiment of the present application is shown; Figure 5 A schematic diagram showing a transfer component acquiring information in a card provided by an exemplary embodiment of the present application is shown; Figure 6 A schematic diagram showing a key quantity prompting process provided by an exemplary embodiment of the present application is shown; Figure 7 A schematic diagram showing a card information reporting process provided by an exemplary embodiment of the present application; Figure 8 A schematic diagram showing an exemplary embodiment of the present application for reporting card information in the event of a data processing center failure; Fig. 9 A schematic diagram showing a secondary reporting process provided by an exemplary embodiment of the present application is shown; Fig.10 A flowchart of a card information reporting method provided by an exemplary embodiment of the present application is shown; Fig.11 A schematic diagram of a process for processing a situation where a secondary platform loses a session key provided by an exemplary embodiment of the present application is shown; Fig.12 A block diagram of a card information reporting device provided by an exemplary embodiment of the present application is shown; Fig.13 A block diagram of another card information reporting device provided by an exemplary embodiment of the present application is shown; Fig.14 A structural block diagram of a computer device shown in an exemplary embodiment of the present application is shown; Fig.15 A structural block diagram of a computer device shown in an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0028] The embodiment of the present application provides a card information reporting method, which collects and reports card information by setting a transfer component, and can ensure the integrity of the card information reporting during the card information reporting process. Figure 1A schematic diagram of a card information reporting system provided by an exemplary embodiment of the present application is shown, the system includes at least two SIM card applications 110 (such as Figure 1 The card application 1 and the card application 2 are shown), a transfer component 120, a data processing center 130 and at least two secondary platforms 140.
[0029] Among them, each SIM card application 110 automatically sends the card information to the transfer component through the interface after detecting that the SIM card has successfully accessed the network; each SIM card application is a card application that supports the card information reporting function.
[0030] The transfer component 120 is used to connect the SIM card application and the data processing center. The transfer component can be configured in the SIM card, or it can also be configured outside the SIM card; its functions may include: 1) accepting and storing the card information reported by the SIM card application, storing the terminal information and the SIM card information, setting the card application identifier, and matching the card information of the SIM card application with the corresponding card application identifier after detecting that the SIM card has entered the network; 2) managing the key information associated with the platform that needs to report information (the key information includes the session key and the session key identifier); further, the transfer component can store the key information set of each platform in the phone book to better utilize the phone book resources, so as to avoid occupying other space in the card, reduce unnecessary card resource utilization, and thus improve the execution performance of the card; 3) setting a key counter and a numerical threshold. When the use of the key triggers the numerical threshold during the card information reporting process, the transfer component sends a quantity prompt information to the data processing center, so that the data processing center instructs the corresponding secondary platform to determine whether the reporting operation is still required. If the secondary platform still needs to report the operation, then the secondary platform requests the data processing center to issue the key. 4) Encrypt information, manage key counter values and key information sets during card information reporting; intercept corresponding card information reporting operations when the key counter value is 0; 5) Generate temporary session keys to encrypt information to ensure that card information reporting can be executed when the data processing center transfer interface fails. 6) Implement cross-platform secondary information reporting to solve problems such as information failure or business processing delays or failures caused by synchronization time differences in data exchange between existing platforms and inability to synchronize information in a timely manner.
[0031] The data processing center is used to connect to the transit component and at least two secondary platforms it manages, and its functions may include: 1) issuing key information to the secondary platforms and transit components it manages for encryption and decryption operations during the transmission of card information reporting; 2) providing the required key information to the secondary platform upon receiving a key query request from the secondary platform to avoid the failure of card information reporting due to the loss of platform maintenance keys; 3) maintaining all key information issued to the secondary platform and transit components; further, the value of the key counter maintained in the secondary platform managed by the data processing center is always greater than or equal to the value of the corresponding key counter in the transit component.
[0032] based on Figure 1 The card information reporting system shown, Figure 2 A flowchart of a card information reporting method provided by an exemplary embodiment of the present application is shown. The method can be executed by a transfer component, which is used to connect a SIM card application and a data processing center. The data processing center manages at least two secondary platforms. The method may include the following steps: Step 210, receiving a first information reporting request sent by a first platform through a data processing center; the first platform is one of at least two secondary platforms.
[0033] The first information reporting request may include a platform identifier of the first platform.
[0034] During this process, the first platform may send the first information reporting request to the data processing center, and the data processing center may then forward the first information reporting request to the transfer component.
[0035] The transfer component detects the network access status of the SIM card. After detecting that the UICC (Universal Integrated Circuit Card) has successfully accessed the network, it means that the SIM card has successfully accessed the network. In this case, the transfer component can receive the card information automatically reported by each SIM card application with card information reporting function in the SIM card.
[0036] Step 220: Obtain first key information from a locally stored first key information set corresponding to the first platform based on the first information reporting request; the first key information set includes at least two key information corresponding to the first platform issued by the data processing center.
[0037] In an embodiment of the present application, the local storage of the transit component stores key information sets corresponding to each platform issued by the data processing center, and each key information set contains at least two key information; wherein, the number of key information in the key information sets of each platform may be the same or different; further, when the transit component is configured in a SIM card, in order to improve the utilization efficiency of the resources in the card, the key information sets of each platform may be stored in the phone book; when storing the key information sets, the transit component may store the key information sets according to the platform divisions, that is, store the platform identifier in association with the corresponding key information set.
[0038] Among them, each key information includes a session key and a session key identifier; the session key identifier is used to indicate the uniqueness of the key information; optionally, when the transit component stores the key information set, it can store the key information in the order determined by the session key identifier, for example, in the order from large to small, or, in the order from small to large, etc.
[0039] When acquiring the first key information, the transit component can query the first key information set corresponding to the first platform in the local storage based on the platform identifier contained in the first information reporting request, so as to retrieve a key information from the first key information set randomly or according to the key storage order as the first key information.
[0040] Step 230: encrypt the target card information based on the session key in the first key information to obtain encrypted card information, where the target card information is constructed based on the card application information reported by each SIM card application, the SIM card information and the terminal information.
[0041] In a possible implementation, the session key may be a symmetric or asymmetric encryption key.
[0042] When each card application reports card information, there may be incomplete card information due to competition between the card applications for SIM card information and terminal information, which may lead to failure in reporting the card information. In the embodiment of the present application, the card application information automatically reported by each card application with a card information reporting function after the SIM card successfully accesses the network is collected through a transfer component, and the target card information is obtained by combining the SIM card information and the terminal information to comprehensively construct the target card information, so that the information in the card information corresponding to each card application is complete, thereby ensuring the successful reporting of the card information of each card application.
[0043] Step 240, the encrypted card information and the session key identifier in the first key information are sent to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
[0044] In one possible implementation, the transit component may first send the encrypted card information and the session key identifier in the first key information to the data processing center, and then the data processing center forwards the received encrypted card information and the session key identifier in the first key information to the first platform; in another possible implementation, the transit component may establish a communication relationship with the first platform, send the encrypted card information directly to the first platform, and send the session key identifier in the first key information to the first platform through the data processing center.
[0045] After receiving the encrypted card information and the session key identifier in the first key information, the first platform performs a key search in the locally stored key information set based on the received session key identifier, wherein the locally stored key information set of the first platform includes at least two key information corresponding to the first platform that are synchronously sent by the data processing center when sending key information to the central component; in the embodiment of the present application, the number of key information in the key information set maintained in the platform is greater than or equal to the number of key information in the key information set corresponding to the platform in the transfer component. After finding the session key corresponding to the received session key identifier, the encrypted card information is decrypted based on the found session key, and the target card information is obtained if the decryption is successful.
[0046] In summary, the card information reporting method provided in the embodiment of the present application sets a transfer component, so that the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information through the transfer component. After receiving the first information reporting request issued by the first platform through the data processing center, the first key information is obtained from the first key information set corresponding to the first platform stored locally, and the target card information is encrypted based on the session key in the first key information to obtain the encrypted card information. The encrypted card information and the session key identifier in the first key information are sent to the first platform through the data processing center, so that the first platform obtains the corresponding session key according to the session key identifier and decrypts the target card information through the found session key pair; through the setting of the transfer component and the data processing center, the situation that the card information reporting fails due to incomplete card information caused by the competition between different card applications for SIM card information and terminal information data can be avoided, the integrity of the card information reported by each card application is guaranteed, the success rate of the card information reporting is improved, and the executability of subsequent operations based on the card information is guaranteed.
[0047] In the process of reporting card information, infinite reporting may occur due to system failure. For example, in one possible scenario, if the secondary platform fails to decrypt the received encrypted card information due to system failure, or fails to receive the encrypted card information, it will repeatedly send information reporting requests to the transfer component, thereby causing the card information to be reported to the same platform infinitely; or, if the feedback mechanism of the secondary platform fails, the transfer component may report the card information to the same platform infinitely without determining that the card information report is successful; in order to avoid the waste of transmission resources caused by infinite reporting, the transfer component provided in the embodiment of the present application is provided with a key counter corresponding to each secondary platform, which is used to count the number of key information in the key information set corresponding to each secondary platform. In this case, Figure 3 A flowchart of another card information reporting method provided by an exemplary embodiment of the present application is shown. The method can be executed by a transfer component, and the transfer component is used to connect the SIM card application and the data processing center. The data processing center manages at least two secondary platforms. The method may include the following steps: Step 310, receiving a first information reporting request sent by a first platform through a data processing center; the first platform is one of at least two secondary platforms.
[0048] Step 320: Obtain first key information from a locally stored first key information set corresponding to the first platform based on the first information reporting request; the first key information set includes at least two key information corresponding to the first platform issued by the data processing center.
[0049] The transfer component stores the key information set of each secondary platform, and the key information set of each secondary platform is issued by the data processing center. The process of key information storage by the transfer component can be implemented as follows: Receive the key information set corresponding to each secondary platform issued by the data processing center; Each key information set is stored in correspondence with each secondary platform, and a key counter corresponding to each secondary platform is configured; the initial value of the key counter is consistent with the number of key information in the corresponding key information set.
[0050] In a possible implementation, when the transfer component is configured in a SIM card, the transfer component stores each key information set corresponding to each secondary platform in a phone book of the SIM card.
[0051] Figure 4A schematic diagram of a key information set storage process provided by an exemplary embodiment of the present application is shown. For example, the data processing center sends corresponding key information sets to the secondary platform 1 and the secondary platform 2, and each key information set contains 50 key information. Figure 4 As shown, the data processing center 410 sends the corresponding key information sets to the secondary platform 1 and the secondary platform 2, and at the same time, sends the key information sets corresponding to the secondary platform 1 and the secondary platform 2 to the transfer component 420. The transfer component 420 stores the received key information sets and the corresponding secondary platforms in the phone book 430, and configures the key counters corresponding to the secondary platform 1 and the secondary platform 2, respectively. The initial value of each key counter is 50.
[0052] Step 330: encrypt the target card information based on the session key in the first key information to obtain encrypted card information. The target card information is constructed based on the card application information reported by each SIM card application, the SIM card information and the terminal information.
[0053] The target card information construction process can be implemented as follows: Obtain card application information, SIM card information and terminal information of a target card application; the target card application is a SIM card application in the SIM card with an information reporting function; The target card information is configured based on the card application information, SIM card information and terminal information of the target card application; the target card information includes sub-card information corresponding to the card application identifiers corresponding to each card application information, and the sub-card information includes the card application identifier, SIM card information and terminal information.
[0054] In the embodiment of the present application, the transfer component obtains the card application information, SIM card information and terminal information of the target card application through interaction with the SIM card and the terminal device; Figure 5 A schematic diagram of a transfer component obtaining information in a card provided by an exemplary embodiment of the present application is shown. Figure 5 As shown, after detecting that the SIM card has successfully accessed the network, the transfer component 510 requests the SIM card 520 to obtain the card application information of the target card application in the card that supports the card information reporting function; the SIM card 520 screens the applications in the card and determines the target card application (such as Figure 5 The card application 1, card application 2 and card application 3 shown in the figure) sends the card application information of the target card application to the transfer component 510. In addition, the transfer component 510 also requests the SIM card to obtain the SIM card information and requests the terminal device 530 to obtain the terminal information, so as to receive the SIM card information fed back by the SIM card and the terminal information fed back by the terminal device, thereby completing the acquisition of the required card information by the transfer component.
[0055] After obtaining the above information, in order to ensure the integrity of the card information corresponding to each card application and avoid the situation in which the card information is incompletely reported due to the competition for reporting resources in the traditional SIM card information reporting process, the transit component sets the card application identifier, and configures the sub-card information corresponding to each target card application based on the card application identifier, SIM card information and terminal information corresponding to the card application information of the target card application to construct the target card information. That is to say, the target card information is a collection of sub-card information corresponding to each card application. Schematically, the target card information can be: target card information: {card application 1: "SIM card information", "terminal information"; card application 2: "SIM card information", "terminal information"}, wherein {card application 1: "SIM card information", "terminal information"} is the sub-card information corresponding to card application 1, and {card application 2: "SIM card information", "terminal information"} is the sub-card information corresponding to card application 2.
[0056] Step 340: Delete the first key information from the first key information set, and reduce the value of the first key counter corresponding to the first platform by one.
[0057] After the encryption operation of the target card information is completed through the first key information, the first key information becomes invalid. Correspondingly, the first key information is deleted from the local storage, such as being deleted from the key information set corresponding to the first key information in the phone book, and the value of the first key counter is reduced by 1.
[0058] In one possible implementation, as the number of times the card information is reported to the same platform increases, the value of the key counter corresponding to the platform gradually decreases, and the number of key information in the key information set corresponding to the platform gradually decreases. In order to avoid the situation where the card information report fails due to the key counter value being 0 when the platform still has a need to obtain card information, a numerical threshold corresponding to each key counter is set in the transfer component in the embodiment of the present application, so as to prompt the number of keys in time when it is determined that the number of key information is small; the numerical threshold can be set based on actual needs; optionally, the numerical threshold corresponding to the key counters of different platforms can be the same or different, and the present application does not limit this. The process of prompting the number of keys based on the numerical threshold can be implemented as follows: When the value of the target key counter is less than the value threshold, a quantity prompt message is sent to the target platform corresponding to the target key counter through the data processing center; the target key counter is one of the key counters corresponding to each secondary platform; When receiving key information corresponding to the target platform newly issued by the data processing center based on the first feedback information, maintain the target key counter and the key information set corresponding to the target platform; the first feedback information is feedback information sent by the target platform in response to the quantity prompt information to indicate the addition of key information.
[0059] Among them, maintaining the target key counter and the key information set corresponding to the target platform may refer to updating the value of the target key counter based on the number of key information corresponding to the target platform issued by the data processing center. For example, if the value threshold is 3, the value threshold is triggered when the value of the target key counter is 2; the transit component sends a quantity prompt information to the target platform through the data processing center to prompt that the number of key information corresponding to it is small; after the target platform receives the quantity prompt information, if the target platform sends feedback information to the data processing center, that is, information indicating the addition of keys, the data processing center newly issues the key information corresponding to the target platform to the transit component and the target platform based on the feedback information; wherein, the number of key information newly issued by the data processing center may be a pre-set default value, or may be indicated by the feedback information; for example, if the data processing center newly issues 50 key information corresponding to the target platform, the transit component updates the value of the target key counter to 53, and adds the newly issued key information to the key information set corresponding to the target platform.
[0060] Figure 6 A schematic diagram of a key quantity prompt process provided by an exemplary embodiment of the present application is shown, taking the quantity threshold as 3 as an example. Figure 6 As shown, when the value of the key counter corresponding to the secondary platform 630 in the transfer component 610 is 2, the quantity threshold is triggered, and the transfer component 610 sends a quantity prompt information to the secondary platform 630 through the data processing center 620. The quantity prompt information can also be a prompt information for asking whether to increase the key information; the data processing center 620 performs corresponding operations based on the feedback received from the secondary platform 630, wherein, if the data processing center receives the first feedback information indicating to increase the key information, such as Figure 6 As shown, the data processing center 620 newly sends key information corresponding to the secondary platform 630 to the secondary platform 630 and the transfer component. After receiving the newly sent key information, the transfer component updates the value of the key counter of the secondary platform 630 and adds the newly sent key information to the key information set of the secondary platform 630. If the data processing center receives the second feedback information indicating that the key information will not be added, or if no feedback information is received, the key information will not be newly sent, and the transfer component reports the card information to the secondary platform 630 based on the existing key information.
[0061] Step 350, the encrypted card information and the session key identifier in the first key information are sent to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
[0062] In one possible implementation, the transit component may first send the encrypted card information and the session key identifier in the first key information to the data processing center, which may then be forwarded to the first platform by the data processing center. In another possible implementation, the transit component may establish a communication relationship with the first platform, send the encrypted card information directly to the first platform, and send the session key identifier in the first key information to the first platform via the data processing center.
[0063] For example, the transfer component sends the encrypted card information and the session identifier in the key information to the secondary platform through different transmission paths. Figure 7 A schematic diagram of a card information reporting process provided by an exemplary embodiment of the present application is shown as follows: Figure 7 As shown, for the secondary platform 1, the secondary platform 1 sends an information reporting request to the data processing center 710, and the data processing center 710 forwards the data reporting request to the transfer component 720, and the transfer component 720 obtains the key information 1 from the key information set corresponding to the secondary platform 1 stored in the phone book, encrypts the target card information based on the session key of the key information 1, and then sends the encrypted card information and the session key ID of the key information 1 to the data processing center 710 so that the data processing center forwards it to the secondary platform 1. In addition, the transfer component 720 deletes the session key 1 from the key information set of the secondary platform 1 and reduces the key counter of the secondary platform 1 by 1; the secondary platform 1 searches for the corresponding session key according to the received session key ID, and decrypts the encrypted card information based on the session key to obtain the target card information. After the card information reporting operation corresponding to the secondary platform 1 is completed, if other secondary platforms are not connected to the secondary platform 1, it is determined that there is no secondary reporting process, and the card information reporting is completed.
[0064] In one possible implementation, when the secondary platform successfully decrypts and obtains the target card information, it sends a reporting success message to the transfer component, and the reporting success message is used to indicate that the card information reporting is successful, so as to feedback the reporting result of the current card information reporting to the transfer component; accordingly, the transfer component receives the reporting success message, determines that the current card information reporting is successful, and stops reporting the card information to the secondary platform; in one possible implementation, if the transfer component does not receive the reporting success message within a preset time, it determines that the current card information reporting has failed, and re-acquires the key information corresponding to the secondary platform to re-report the card information to the secondary platform.
[0065] In a possible implementation, if during the card information reporting process, the data processing center transfers abnormally and cannot transmit information between the transfer component and the secondary platform, in order to maintain the normal progress of the card information reporting process, in a possible implementation, the method further includes: In case of abnormal transfer at the data processing center, obtaining the second key information from the first key information set; Processing the session key in the second key information based on a key processing rule to generate a temporary session key; the key processing rule includes a key processing logic and a key processing sequence; Encrypting the target card information based on the temporary session key to obtain encrypted card information; The encrypted card information, key processing rules and the session key identifier of the second key information are sent to the first platform, so that the first platform calculates a temporary session key based on the key processing rules and the session key identifier of the first key information, and decrypts the encrypted card information based on the calculated temporary session key to obtain the target card information.
[0066] Among them, the key processing rule can be set based on actual needs. Schematically, the key processing logic refers to the processing method of the session key. For example, the key processing logic can indicate that the session key in the second key information is subjected to secondary dispersion processing, that is, two-point flipping is first performed and then bitwise XOR processing is performed, or the key processing logic can also be other feasible processing logic set by customization, which is not limited by this application; the key processing order can refer to the order in which each processing method is applied. After the transfer component encrypts the target card information based on the generated temporary session key to obtain the encrypted card information, the encrypted card information, the key processing rule and the session key identifier of the root key information (i.e., the second key information) are sent to the first platform. After the first platform receives the above information, it can first find the corresponding root key information according to the session key identifier, and then process the found root key information based on the key processing rule to obtain a temporary processing key, so as to decrypt the encrypted card information through the temporary processing key to obtain the target card information.
[0067] Since the temporary session key is generated based on the second key information, in one possible case, in order to avoid subsequent reporting of card information based on the second key information, after the encryption operation of the target card information is completed through the temporary session key, the second key information is deleted from the first key information set and the first key counter of the first platform is reduced by one.
[0068] Furthermore, in order to avoid the temporary session key from occupying resources, the transit component destroys the temporary session key after obtaining the encrypted card information; correspondingly, on the first platform side, the temporary session key is destroyed after completing the decryption operation of the encrypted card information.
[0069] Figure 8 FIG. 1 is a schematic diagram showing an exemplary embodiment of the present application for reporting card information in the event of a data processing center failure. Figure 8 As shown, the transfer component 810 transfers the card information report of the secondary platform through the data processing center 820; the data processing center 820 feeds back an abnormal message to the transfer component 820, which indicates that the data processing center transfers abnormally, such as a transfer interface failure, etc. In this case, the transfer component 810 obtains the key information corresponding to the secondary platform 830 from the phone book, processes the session key in the root key information according to the key processing rule, obtains a temporary session key, and encrypts the target card information based on the temporary session key to obtain the encrypted card information, and then sends the encrypted card information, the key processing rule and the session key identifier of the root key information to the secondary platform 830, reduces the key counter corresponding to the secondary platform 830 by 1, and destroys the temporary session key; the secondary platform 830 calculates the temporary session key according to the received root session key identifier and key processing rule, and decrypts the encrypted card information according to the calculated temporary session key to obtain the target card information. Further, after completing the decryption operation of the encrypted card information, the secondary platform 830 destroys the temporary session key.
[0070] Card information reporting based on temporary session keys can be carried out by processing the platform session key stored in the existing card when a failure occurs in the data processing center, and informing the secondary platform of the key processing rules. The platform analyzes the temporary session key based on the key processing rules to decrypt the reported encrypted card information, and the temporary session key is destroyed upon use and does not occupy excess space in the card. The above scheme avoids the occurrence of reporting failures caused by failures in the data processing center without occupying excess space in the card, thereby maintaining the stability of the system.
[0071] In a possible scenario, different platforms may also have data requirements for SIM card information and terminal information, and there is a synchronization time difference in the data exchange between existing platforms, which makes the data synchronization system inefficient and time-effective, thereby affecting subsequent business conditions. In order to solve the above problems, this application is implemented in the following Figure 1 Based on the card information reporting system shown, a secondary reporting function is provided, that is, when the first platform receives the target card information reported by the transfer component and the second platform is connected to the first platform, the method also includes: Receiving a secondary reporting identifier issued by the first platform and access information of the second platform, wherein the secondary reporting identifier is used to indicate that the target card information is to be reported to other platforms for a secondary time; the secondary reporting identifier is sent by the first platform after determining that the target card information is received successfully; An information reporting operation corresponding to the second platform is performed based on the access information of the second platform.
[0072] Fig. 9 A schematic diagram of a secondary reporting process provided by an exemplary embodiment of the present application is shown as follows: Fig. 9 As shown, after the transfer component 910 completes the reporting of the card information to the secondary platform 1, if the secondary platform 2 is connected to the secondary platform 1, the secondary platform 1 will send the secondary reporting identifier and the access information of the secondary platform 2 to the transfer component 910. Correspondingly, the transfer component 910 receives the secondary reporting identifier and the access information of the secondary platform 2 issued by the secondary platform 1; based on the access information of the secondary platform 2, the key information 2 is obtained from the second key information set of the secondary platform 2 stored in the phone book; the target card information is encrypted based on the session key in the key information 2 to obtain the encrypted card information; the encrypted card information and the session key identifier in the key information 2 are sent to the secondary platform 2, the key information 2 is deleted from the second key information set, and the value of the key counter corresponding to the secondary platform 2 is reduced by 1. After completing the reporting of the card information to the secondary platform 2, if there is no secondary reporting, the card information reporting process is terminated. If other platforms are connected to the secondary platform 2, the secondary platform 2 will send the secondary reporting identifier and the access information of other platforms to the transfer component 910 to perform the next round of card information reporting operation.
[0073] In summary, the card information reporting method provided in the embodiment of the present application sets a transfer component, so that the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information through the transfer component. After receiving the first information reporting request issued by the first platform through the data processing center, the first key information is obtained from the first key information set corresponding to the first platform stored locally, and the target card information is encrypted based on the session key in the first key information to obtain the encrypted card information. The encrypted card information and the session key identifier in the first key information are sent to the first platform through the data processing center, so that the first platform obtains the corresponding session key according to the session key identifier and decrypts the target card information through the found session key pair; through the setting of the transfer component and the data processing center, the situation that the card information reporting fails due to incomplete card information caused by the competition between different card applications for SIM card information and terminal information data can be avoided, the integrity of the card information reported by each card application is guaranteed, the success rate of the card information reporting is improved, and the executability of subsequent operations based on the card information is guaranteed.
[0074] In addition, by setting a key counter corresponding to each secondary platform in the transit component, after each card information reporting operation, the value of the corresponding key counter is reduced by 1 until the key counter value reaches 0 and the card information reporting is stopped, thereby avoiding the situation where the card information is reported infinitely, and further reducing the resource consumption caused by meaningless card information reporting.
[0075] and Figure 2 or Figure 3 Corresponding to the embodiment, on the data processing center side, Fig.10 A flowchart of a card information reporting method provided by an exemplary embodiment of the present application is shown. The method can be executed by a data processing center, which is used to connect to the transfer component and at least two secondary platforms managed by the data processing center, such as Fig.10 As shown, the method includes: Step 1010, receiving a first information reporting request issued by a first platform; the first platform is one of at least two secondary platforms.
[0076] Step 1020: Send the first information reporting request to the transit component, so that the transit component obtains the first key information from the first key information set corresponding to the first platform stored locally based on the first information reporting request, encrypts the target card information based on the session key in the first key information to obtain the encrypted card information, sends the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
[0077] The target card information is constructed based on the card application information reported by each SIM card application, the SIM card information and the terminal information. The first key information set includes at least two key information corresponding to the first platform issued by the data processing center.
[0078] In one possible implementation, when the transit component sends the encrypted card information and the session key identifier in the first key information to the first platform, the transit component may first send the encrypted card information and the session key identifier in the first key information to the data processing center, which then forwards the encrypted card information to the first platform. Alternatively, in another possible implementation, the transit component may directly send the encrypted card information to the first platform, send the session key identifier in the first key information to the data processing center, and the data processing center forwards the session key identifier in the first key information to the first platform.
[0079] Other steps performed by the data processing center in the process of card information reporting can be referred to as follows Figure 2 or Figure 3The contents related to the data processing center in the illustrated embodiment will not be repeated here.
[0080] In an embodiment of the present application, after the SIM card successfully joins the network, the data processing center can send the corresponding key information set to each secondary platform, and send the key information set corresponding to each secondary platform to the transfer component.
[0081] That is to say, after the data processing center generates the key information set corresponding to each secondary platform, while sending the corresponding key information set to the corresponding secondary platform, it also synchronously sends the key information set corresponding to each secondary platform to the transfer component for storage, so that the subsequent transfer component can encrypt the target card information and the secondary platform can decrypt the encrypted card information.
[0082] In one possible case, the secondary platform may lose the session key issued by the data processing center. In this case, the secondary platform cannot query the corresponding session key locally based on the received session key identifier. In this case, in order to avoid the failure of card information transmission due to the loss of the platform's local session key, the secondary platform can send a key query request to the data processing center to obtain the corresponding session key from the data processing center. Correspondingly, on the data processing center side, the process can be implemented as follows: When the data processing center receives the key query request sent by the first platform, it performs a key query based on the session key identifier carried in the key query request to obtain a query result; the key query request is sent by the first platform when the corresponding session key is not found based on the session key identifier; When the query result is that the session key corresponding to the session key identifier is queried, the queried session key is sent to the first platform, so that the first platform decrypts the encrypted card information based on the received session key to obtain the target card information.
[0083] If the query result is that the session key corresponding to the session key identifier is not found, the current card information reporting fails, and the data processing information can feedback a message instructing the secondary platform to discard the encrypted card information. The secondary platform discards the encrypted card information based on the message.
[0084] Fig.11 FIG. 1 shows a schematic diagram of a process for processing a secondary platform when a session key is lost provided by an exemplary embodiment of the present application. Fig.11As shown, when the transit component 1110 reports the encrypted card information to the secondary platform 1120 and sends the session key identifier to the secondary platform 1120 through the data processing center 1130, the secondary platform 1120 locally queries the session key based on the received session key identifier, and when the corresponding session key is not found, sends a key query request to the data processing center 1130, and the key query request includes the session key identifier; if the data processing center finds that the session key represents the corresponding session key, the session key is returned to the secondary platform, so that the secondary platform decrypts the encrypted card information based on the received session key to obtain the target card information; if the data processing center does not find that the session key represents the corresponding session key, a message indicating that the encrypted card information is discarded is returned to the secondary platform, and the secondary platform discards the encrypted card information based on the message.
[0085] In summary, the card information reporting method provided in the embodiment of the present application sets a transfer component, so that the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information through the transfer component. After receiving the first information reporting request issued by the first platform through the data processing center, the first key information is obtained from the first key information set corresponding to the first platform stored locally, and the target card information is encrypted based on the session key in the first key information to obtain the encrypted card information. The encrypted card information and the session key identifier in the first key information are sent to the first platform through the data processing center, so that the first platform obtains the corresponding session key according to the session key identifier and decrypts the target card information through the found session key pair; through the setting of the transfer component and the data processing center, the situation that the card information reporting fails due to incomplete card information caused by the competition between different card applications for SIM card information and terminal information data can be avoided, the integrity of the card information reported by each card application is guaranteed, the success rate of the card information reporting is improved, and the executability of subsequent operations based on the card information is guaranteed.
[0086] In addition, in the event that the secondary platform loses the session key, the session key can be obtained from the data processing center through interaction between the data processing center and the secondary platform, which can avoid the failure of card information reporting due to the loss of the platform session key and improve the success rate of card information reporting.
[0087] Fig.12 A block diagram of a card information reporting device provided by an exemplary embodiment of the present application is shown. The device can be used in a transfer component to perform the following steps: Figure 2 or Figure 3 All or part of the steps of the embodiment shown, the transfer component is used to connect the SIM card application and the data processing center, and the data processing center manages at least two secondary platforms; Fig.12As shown, the device comprises: A first receiving module 1210 is configured to receive a first information reporting request sent by a first platform through the data processing center; the first platform is one of the at least two secondary platforms; A first information acquisition module 1220 is configured to acquire first key information from a locally stored first key information set corresponding to the first platform based on the first information reporting request; the first key information set includes at least two key information corresponding to the first platform issued by the data processing center; The encryption module 1230 is used to encrypt the target card information based on the session key in the first key information to obtain encrypted card information, wherein the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information; The first sending module 1240 is used to send the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
[0088] In a possible implementation, a key counter corresponding to each secondary platform is provided in the transfer component, and the device further includes: an information maintenance module, configured to delete the first key information from the first key information set after obtaining the encryption card information, And, the value of the first key counter corresponding to the first platform is reduced by one.
[0089] In a possible implementation manner, the device further includes: A second receiving module is used to receive a secondary reporting identifier issued by the first platform and access information of a second platform, wherein the secondary reporting identifier is used to indicate that the target card information is to be reported to other platforms for a secondary time; the secondary reporting identifier is sent by the first platform after determining that the target card information is received successfully; The device is also used to perform a card information reporting operation corresponding to the second platform based on the access information of the second platform.
[0090] In a possible implementation manner, the device further includes: A third receiving module is used to receive a key information set corresponding to each secondary platform respectively issued by the data processing center; The storage configuration module is used to store each key information set and each secondary platform in correspondence, and to configure a key counter corresponding to each secondary platform; the initial value of the key counter is consistent with the number of key information in the corresponding key information set.
[0091] In a possible implementation, the storage configuration module is used to store each key information set and each secondary platform in a phone book of the SIM card in correspondence with each other when the transfer component is configured in the SIM card.
[0092] In a possible implementation manner, the device further includes: A second information acquisition module is used to acquire card application information, SIM card information and terminal information of a target card application; the target card application is a SIM card application with an information reporting function in the SIM card; An information configuration module is used to configure the target card information based on the card application information, SIM card information and terminal information of the target card application; the target card information includes sub-card information corresponding to the card application identifiers corresponding to each card application information, and the sub-card information includes the card application identifier, the SIM card information and the terminal information.
[0093] In a possible implementation manner, the device further includes: An information sending module, used for sending quantity prompt information to a target platform corresponding to the target key counter through the data processing center when the value of the target key counter is less than a value threshold; the target key counter is one of the key counters corresponding to each secondary platform; The information maintenance module is used to maintain the target key counter and the key information set corresponding to the target platform when receiving the key information corresponding to the target platform newly issued by the data processing center based on the first feedback information; the first feedback information is feedback information sent by the target platform in response to the quantity prompt information to indicate the addition of key information.
[0094] In a possible implementation manner, the device further includes: A third information acquisition module, configured to acquire second key information from the first key information set when the data processing center transfer is abnormal; A key generation module, configured to process the session key in the second key information based on a key processing rule to generate a temporary session key; the key processing rule includes a key processing logic and a key processing sequence; The encryption module 1230 is used to encrypt the target card information based on the temporary session key to obtain the encrypted card information; The first sending module 1240 is used to send the encrypted card information, the key processing rule and the session key identifier of the second key information to the first platform, so that the first platform calculates a temporary session key based on the key processing rule and the session key identifier of the first key information, and decrypts the encrypted card information based on the calculated temporary session key to obtain the target card information.
[0095] In a possible implementation manner, the device further includes: A destruction module is used to destroy the temporary session key after obtaining the encryption card information.
[0096] In a possible implementation manner, the device further includes: The interception module is used to intercept the information reporting operation when the value of the first key counter is 0.
[0097] In summary, the card information reporting device provided in the embodiment of the present application sets a transfer component, so as to obtain target card information based on the card application information reported by each SIM card application and the SIM card information and the terminal information through the transfer component. After receiving the first information reporting request issued by the first platform through the data processing center, the first key information obtained from the first key information set corresponding to the first platform stored locally is encrypted based on the session key in the first key information to obtain the encrypted card information, and the encrypted card information and the session key identifier in the first key information are sent to the first platform through the data processing center, so that the first platform obtains the corresponding session key according to the session key identifier and decrypts the target card information through the found session key pair; through the setting of the transfer component and the data processing center, the situation that the card information reporting fails due to incomplete card information caused by the competition between different card applications for SIM card information and terminal information data can be avoided, the integrity of the card information reported by each card application is guaranteed, the success rate of the card information reporting is improved, and the executability of subsequent operations based on the card information is guaranteed.
[0098] Fig.13 A block diagram of another card information reporting device provided by an exemplary embodiment of the present application is shown. The device is applied in a data processing center to perform the following steps: Fig.10 All or part of the steps of the embodiment shown, the data processing center is used to connect the transfer component and at least two secondary platforms managed by the data processing center; Fig.13 As shown, the device comprises: The request receiving module 1310 is used to receive a first information reporting request sent by a first platform; the first platform is one of at least two secondary platforms; The second sending module 1320 is used to send the first information reporting request to the transfer component, so that the transfer component obtains the first key information from the first key information set corresponding to the first platform stored locally based on the first information reporting request, encrypts the target card information based on the session key in the first key information to obtain the encrypted card information, and sends the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information; the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and terminal information, and the first key information set contains at least two key information corresponding to the first platform issued by the data processing center.
[0099] In a possible implementation manner, the device further includes: The third sending module is used to send the key information set corresponding to each secondary platform, and send the key information set corresponding to each secondary platform to the transfer component.
[0100] In a possible implementation manner, the device further includes: a key query module, configured to, upon receiving a key query request sent by the first platform, perform a key query based on a session key identifier carried in the key query request to obtain a query result; the key query request is sent by the first platform when the corresponding session key is not found based on the session key identifier; The key sending module is used to send the queried session key to the first platform when the query result is that the session key corresponding to the session key identifier is queried, so that the first platform decrypts the encrypted card information based on the received session key to obtain the target card information.
[0101] In summary, the card information reporting device provided in the embodiment of the present application sets a transfer component, so as to obtain target card information based on the card application information reported by each SIM card application and the SIM card information and the terminal information through the transfer component. After receiving the first information reporting request issued by the first platform through the data processing center, the first key information obtained from the first key information set corresponding to the first platform stored locally is encrypted based on the session key in the first key information to obtain the encrypted card information, and the encrypted card information and the session key identifier in the first key information are sent to the first platform through the data processing center, so that the first platform obtains the corresponding session key according to the session key identifier and decrypts the target card information through the found session key pair; through the setting of the transfer component and the data processing center, the situation that the card information reporting fails due to incomplete card information caused by the competition between different card applications for SIM card information and terminal information data can be avoided, the integrity of the card information reported by each card application is guaranteed, the success rate of the card information reporting is improved, and the executability of subsequent operations based on the card information is guaranteed.
[0102] Fig.14 The structural block diagram of a computer device 1400 shown in an exemplary embodiment of the present application is shown. The computer device can be implemented as a data processing center and / or a secondary platform in the above-mentioned solution of the present application. The computer device 1400 includes a central processing unit (CPU) 1401, a system memory 1404 including a random access memory (RAM) 1402 and a read-only memory (ROM) 1403, and a system bus 1405 connecting the system memory 1404 and the central processing unit 1401. The computer device 1400 also includes a large-capacity storage device 1406 for storing an operating system 1409, an application program 1410 and other program modules 1411. The above-mentioned system memory 1404 and the large-capacity storage device 1406 can be collectively referred to as a memory.
[0103] According to various embodiments of the present disclosure, the computer device 1400 can also be connected to a remote computer on the network through a network such as the Internet. That is, the computer device 1400 can be connected to the network 1408 through the network interface unit 1407 connected to the system bus 1405, or the network interface unit 1407 can be used to connect to other types of networks or remote computer systems (not shown).
[0104] The memory also includes at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is stored in the memory. The central processing unit 1401 implements all or part of the steps in the card information reporting method shown in the above-mentioned embodiments by executing the at least one instruction, at least one program, code set or instruction set.
[0105] Fig.15 The following is a block diagram of a computer device 1500 according to an exemplary embodiment of the present application. The computer device 1500 may be implemented as the above-mentioned terminal device and / or secondary platform, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. The computer device 1500 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.
[0106] Typically, the computer device 1500 includes a processor 1501 and a memory 1502 .
[0107] In some embodiments, the computer device 1500 may also optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502 and the peripheral device interface 1503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504, a display screen 1505, a camera assembly 1506, an audio circuit 1507 and a power supply 1508.
[0108] In some embodiments, the computer device 1500 further includes one or more sensors 1509 , including but not limited to: an acceleration sensor 1510 , a gyroscope sensor 1511 , a pressure sensor 1512 , an optical sensor 1513 , and a proximity sensor 1514 .
[0109] Those skilled in the art will understand that Fig.15 The structure shown in the figure does not constitute a limitation on the computer device 1500, and the computer device 1500 may include more or less components than shown in the figure, or combine some components, or adopt a different arrangement of components.
[0110] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one computer program is stored, and the computer program is loaded and executed by a processor to implement the above-mentioned card information reporting method, and / or all or part of the steps in the card information reporting method. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0111] In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer is executed to implement the above Figure 2 , Figure 3 or Fig.10 All or part of the steps of the card information reporting method shown in the embodiment.
[0112] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0113] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A card information reporting method, characterized in that: The method is performed by a transfer component, the transfer component is used to connect the SIM card application and the data processing center, and the data processing center manages at least two secondary platforms; the method includes: Receiving a first information reporting request sent by a first platform through the data processing center; the first platform is one of the at least two secondary platforms; Based on the first information reporting request, obtaining first key information from a locally stored first key information set corresponding to the first platform; the first key information set includes at least two key information corresponding to the first platform issued by the data processing center; Encrypting the target card information based on the session key in the first key information to obtain encrypted card information, wherein the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information; The encrypted card information and the session key identifier in the first key information are sent to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
2. The method according to claim 1, characterized in that The transfer component is provided with a key counter corresponding to each secondary platform. After obtaining the encryption card information, the method further includes: deleting the first key information from the first key information set, And, the value of the first key counter corresponding to the first platform is reduced by one.
3. The method according to claim 1 or 2, characterized in that: When the second platform accesses the first platform, the method further includes: Receiving a secondary reporting identifier issued by the first platform and access information of the second platform, wherein the secondary reporting identifier is used to indicate that the target card information is to be reported to other platforms for a secondary time; the secondary reporting identifier is sent by the first platform after determining that the target card information is received successfully; A card information reporting operation corresponding to the second platform is performed based on the access information of the second platform.
4. The method according to claim 1, characterized in that: The method further comprises: Receiving a key information set corresponding to each secondary platform respectively issued by the data processing center; Each key information set is stored correspondingly to each secondary platform, and a key counter corresponding to each secondary platform is configured; the initial value of the key counter is consistent with the number of key information in the corresponding key information set.
5. The method according to claim 4, characterized in that In the case where the transfer component is configured in the SIM card, the corresponding storage of each key information set and each secondary platform includes: Each key information set is stored in correspondence with each secondary platform in the phone book of the SIM card.
6. The method according to claim 1, characterized in that The method further comprises: Obtain card application information, SIM card information and terminal information of a target card application; the target card application is a SIM card application in the SIM card with an information reporting function; The target card information is configured based on the card application information, SIM card information and terminal information of the target card application; the target card information includes sub-card information corresponding to the card application identifiers corresponding to each card application information, and the sub-card information includes the card application identifier, the SIM card information and the terminal information.
7. The method according to claim 2, characterized in that: The method further comprises: When the value of the target key counter is less than the value threshold, the data processing center sends a quantity prompt message to the target platform corresponding to the target key counter; the target key counter is one of the key counters corresponding to each secondary platform; When receiving the key information corresponding to the target platform newly issued by the data processing center based on the first feedback information, the target key counter and the key information set corresponding to the target platform are maintained; the first feedback information is feedback information sent by the target platform in response to the quantity prompt information to indicate the addition of key information.
8. The method according to claim 1, characterized in that The method further comprises: In case of abnormal transfer of the data processing center, obtaining second key information from the first key information set; Processing the session key in the second key information based on a key processing rule to generate a temporary session key; the key processing rule includes a key processing logic and a key processing sequence; Encrypting the target card information based on the temporary session key to obtain the encrypted card information; The encrypted card information, the key processing rules and the session key identifier of the second key information are sent to the first platform, so that the first platform calculates a temporary session key based on the key processing rules and the session key identifier of the first key information, and decrypts the encrypted card information based on the calculated temporary session key to obtain the target card information.
9. The method according to claim 8, characterized in that The method further comprises: After obtaining the encryption card information, destroy the temporary session key.
10. The method according to claim 2, characterized in that The method further comprises: When the value of the first key counter is 0, the information reporting operation is intercepted.
11. A card information reporting method, characterized in that: The method is performed by a data processing center, and the data processing center is used to connect to the transfer component and at least two secondary platforms managed by the data processing center; the method includes: Receiving a first information reporting request sent by a first platform; the first platform is one of at least two secondary platforms; The first information reporting request is sent to the transfer component, so that the transfer component obtains the first key information from the first key information set corresponding to the first platform stored locally based on the first information reporting request, encrypts the target card information based on the session key in the first key information to obtain the encrypted card information, and sends the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information; the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information, and the first key information set includes at least two key information corresponding to the first platform issued by the data processing center.
12. The method according to claim 11, characterized in that The method further comprises: The key information sets corresponding to the respective secondary platforms are issued, and the key information sets corresponding to the respective secondary platforms are issued to the transfer component.
13. The method according to claim 11, characterized in that The method further comprises: Upon receiving the key query request sent by the first platform, performing a key query based on the session key identifier carried in the key query request to obtain a query result; the key query request is sent by the first platform when the corresponding session key is not found based on the session key identifier; When the query result is that the session key corresponding to the session key identifier is queried, the queried session key is sent to the first platform, so that the first platform decrypts the encrypted card information based on the received session key to obtain the target card information.
14. A card information reporting device, characterized in that: The device is used in a transfer component, and the transfer component is used to connect to a SIM card application and a data processing center, and the data processing center manages at least two secondary platforms; the device includes: A first receiving module, configured to receive a first information reporting request sent by a first platform through the data processing center; the first platform is one of the at least two secondary platforms; A first information acquisition module, configured to acquire first key information from a locally stored first key information set corresponding to the first platform based on the first information reporting request; the first key information set includes at least two key information corresponding to the first platform issued by the data processing center; an encryption module, configured to encrypt the target card information based on the session key in the first key information to obtain encrypted card information, wherein the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information; The first sending module is used to send the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information.
15. A card information reporting device, characterized in that: The device is applied in a data processing center, and the data processing center is used to connect to the transfer component and at least two secondary platforms managed by the data processing center; the device includes: A request receiving module, configured to receive a first information reporting request sent by a first platform; the first platform is one of at least two secondary platforms; A second sending module is used to send the first information reporting request to the transfer component, so that the transfer component obtains the first key information from the first key information set corresponding to the first platform stored locally based on the first information reporting request, encrypts the target card information based on the session key in the first key information to obtain the encrypted card information, and sends the encrypted card information and the session key identifier in the first key information to the first platform, so that the first platform searches for the corresponding session key based on the session key identifier, and decrypts the encrypted card information based on the found session key to obtain the target card information; the target card information is constructed based on the card application information reported by each SIM card application and the SIM card information and the terminal information, and the first key information set contains at least two key information corresponding to the first platform issued by the data processing center.
16. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the card information reporting method according to any one of claims 1 to 13.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the computer program is loaded and executed by a processor to implement the card information reporting method according to any one of claims 1 to 13.
18. A computer program product, characterized in that The computer program product includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer device, the computer device is caused to execute to implement the card information reporting method as described in any one of claims 1 to 13.