Business processing method and device
By integrating the universal SDK module and developing a general management platform in electronic certificates, using pre-established subscription relationships, the problem of single electronic certificate management methods is solved, and the unified management of electronic certificate equipment is realized and the user experience is improved, ensuring security and stability.
Patent Information
- Application Number
- CN202410945193.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-05
AI Technical Summary
The existing electronic certificate management method is single, which leads to difficulty in functional integration, complex operation, high cost, poor user experience, and requires connection with multiple business companies, limiting the function and flexibility of the equipment.
Integrate common SDK modules in electronic certificates and develop a general electronic certificate management platform. Based on the business interaction between the electronic certificate management platform and the SDK module, it realizes unified management and monitoring of electronic certificate equipment, and uses pre-established subscription relationships Real-time monitoring and positioning is realized, scalability and flexibility are improved, and business processing such as remote application installation and recharge are realized.
It realizes all-round management and control of electronic certificate equipment, reduces the docking needs between manufacturers and business companies, improves user experience, ensures security and stability, and provides a more complete and convenient solution for electronic certificate management.
Smart Images

Figure CN118898061A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and in particular to a business processing method and device. Background Art
[0002] An electronic card is used on a terminal device with a special application installed. Compared with traditional physical cards, electronic cards are very convenient. Based on the applications installed on them, they can cover a variety of functions, such as payment, identity authentication (student card, employee card), access control, bus card, etc.
[0003] However, the functions of electronic certificates have increased, but the management method is still single. If electronic certificates want to integrate multiple functions, they need to be authenticated by their manufacturers and multiple business companies, and multiple applications need to be pre-installed. In the subsequent recharge, binding and other business processing processes, they also need to cooperate with specific equipment of multiple business companies to realize business processing. Therefore, the existing management method not only limits the functions of electronic certificates, increases the difficulty and cost of operation, but also limits the time and place of business processing when users use electronic certificates, reducing the user experience. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a business processing method and device, which realizes efficient processing of the business of the electronic certificate based on the business interaction between the electronic certificate management platform and the SDK module in the electronic certificate.
[0005] A business processing method provided in an embodiment of the present application is applied to an information interaction system, wherein the information interaction system includes an electronic certificate and an electronic certificate management platform; the method includes:
[0006] The electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0007] The electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate;
[0008] The SDK module of the electronic certificate organizes a second business request based on the received instruction information, and sends the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request;
[0009] The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
[0010] In some embodiments, in the business processing method, the subscription relationship between the electronic certificate management platform and the target electronic certificate is established based on the following method:
[0011] When the target electronic certificate is started, based on the SDK module pre-configured in the target electronic certificate, a registration message is sent to the message agent in the electronic certificate management platform through the MQTT service; the registration message includes a unique identifier of the target electronic certificate;
[0012] The message agent in the electronic certificate management platform responds to the registration message and establishes a subscription relationship between the target electronic certificate and the subject based on the unique identifier of the target electronic certificate.
[0013] In some embodiments, in the business processing method, the electronic certificate management platform sends the indication information to the target electronic certificate based on a subscription relationship pre-established with the target electronic certificate, including:
[0014] The electronic certificate management platform responds to the instruction information and specifies a target subject in the subscription relationship that matches the unique identifier of the target electronic certificate based on the unique identifier of the target electronic certificate carried in the instruction information;
[0015] The indication information is sent to the target electronic certificate according to the subscription information of the target electronic certificate that subscribes to the target subject.
[0016] In some embodiments, in the business processing method, after the electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, the method further includes:
[0017] The target electronic certificate generates a response message for the indication information, and sends the response message to a message agent in the electronic certificate management platform based on the subscription relationship.
[0018] In some embodiments, in the business processing method, the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request, including:
[0019] The electronic certificate management platform responds to the second service request of the electronic certificate and sends the second service request of the electronic certificate to the TSM platform, so that the TSM platform generates a service processing instruction based on the request data in the second service request;
[0020] The electronic certificate management platform receives the business processing instruction sent by the TSM platform.
[0021] In some embodiments, in the business processing method, the TSM platform generates a business processing instruction based on the request data in the second business request, including:
[0022] The TSM platform obtains, based on the request data in the second service request, a first type of service processing instruction in the TSM platform that matches the request data;
[0023] or,
[0024] The TSM platform interacts with the business platform to obtain a second type of business processing instruction in the business platform that matches the request data.
[0025] In some embodiments, in the business processing method, the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction, including:
[0026] The SDK module in the electronic certificate establishes a connection with the SIM card in the electronic certificate, and transmits the service processing instruction to the SIM card, so that the SIM card in the electronic certificate updates its status based on the service processing instruction.
[0027] In some embodiments, in the service processing method, when the service request is an application download request, the service processing instruction includes application data matching the application download request;
[0028] The service processing instruction is transmitted to the SIM card, so that the SIM card of the electronic certificate updates the status based on the service processing instruction, including:
[0029] The service processing instruction is transmitted to the SIM card to write the application data into the SIM card, thereby realizing the application of the electronic certificate.
[0030] In some embodiments, a business processing device is further provided, which is applied to an information interaction system, wherein the information interaction system includes an electronic certificate and an electronic certificate management platform; the device includes:
[0031] A first receiving module, configured to enable the electronic certificate management platform to receive a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0032] A first sending module, configured to enable the electronic certificate management platform to send the instruction information to the target electronic certificate based on a subscription relationship pre-established with the target electronic certificate;
[0033] A second sending module, configured to enable the SDK module of the electronic certificate to organize a second business request based on the received instruction information, and send the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request;
[0034] The first business processing module is used to enable the SDK module of the electronic certificate to receive the business processing instruction sent by the electronic certificate management platform, and perform business processing based on the business processing instruction.
[0035] In some embodiments, a method for managing an electronic certificate is also provided, the method comprising:
[0036] The electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0037] The electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the target electronic certificate performs corresponding task processing based on the instruction information.
[0038] In some embodiments, there is also provided an electronic certificate management device, the device comprising:
[0039] A second receiving module, configured to enable the electronic certificate management platform to receive a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0040] The third sending module is used to enable the electronic certificate management platform to send the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the target electronic certificate performs corresponding task processing based on the instruction information.
[0041] In some embodiments, a method for working with an electronic certificate is also provided, the method comprising:
[0042] The electronic certificate receives instruction information sent by the electronic certificate management platform;
[0043] The SDK module of the electronic certificate organizes the service request based on the instruction information, and sends the second service request to the electronic certificate management platform, so that the electronic certificate management platform obtains the service processing instruction based on the request data in the second service request;
[0044] The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
[0045] In some embodiments, there is also provided an electronic certificate management device, the device comprising:
[0046] A third receiving module, used to enable the electronic certificate to receive instruction information sent by the electronic certificate management platform;
[0047] a fourth sending module, configured to enable the SDK module of the electronic certificate to organize a business request based on the instruction information, and to send the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request;
[0048] The second business processing module, the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
[0049] A business processing method and device are provided in the embodiment of the present application, a general SDK module is integrated into the electronic certificate, and a general electronic certificate management platform is developed. Based on the business interaction between the electronic certificate management platform and the SDK module in the electronic certificate, and the APDU instruction interaction between the SDK module and the SIM card in the electronic certificate, unified management and monitoring of the electronic certificate device, direct control and management of the SIM card in the electronic certificate device, and business processing such as remote application installation and recharge can be realized without the manufacturer having to connect with various business manufacturers in advance, and business processing can be realized based on the specific equipment of the business manufacturer; the electronic certificate is searched by using the subscription relationship pre-established with the target electronic certificate, which improves the real-time monitoring and positioning capabilities of the electronic certificate, and also improves the scalability and flexibility of the student certificate management platform; in this way, the SDK, the electronic certificate management platform and the technology of searching for electronic certificates based on the pre-established subscription relationship are integrated to realize an interoperable and highly flexible business processing process, realize all-round management and control of the electronic certificate device, ensure the security and stability of the electronic certificate during use, and provide a more complete and convenient solution for the management and operation of the electronic certificate. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 A flowchart of the service processing method described in an embodiment of the present application is shown;
[0052] Figure 2 A schematic diagram showing the interaction between the information interaction system and other platforms in the business processing method described in an embodiment of the present application;
[0053] Figure 3 A flow chart of a method for establishing a subscription relationship between an electronic certificate management platform and a target electronic certificate according to an embodiment of the present application is shown;
[0054] Figure 4 A flow chart of a method for sending the indication information to the target electronic certificate according to an embodiment of the present application is shown;
[0055] Figure 5 A schematic diagram showing the structure of the service processing device according to an embodiment of the present application is shown;
[0056] Figure 6 A flowchart of the electronic certificate management method described in the embodiment of the present application is shown;
[0057] Figure 7 A flow chart showing the working method of the electronic certificate described in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0058] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0059] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0060] An electronic certificate refers to a terminal device with a special application installed. Compared with traditional physical cards, electronic certificates are very convenient. Based on the applications installed on them, they can cover a variety of functions, such as payment, identity authentication (student card, employee card), access control, bus cards, etc.
[0061] However, although the functions of electronic certificates have increased, the management method is still single. If electronic certificates want to integrate multiple functions, multiple applications need to be pre-installed. For the pre-installed applications, the manufacturers and multiple business companies need to conduct certification and other processing. In other words, the manufacturers of electronic certificates need to conduct in-depth cooperation with multiple business companies to connect technical standards, confirm security protocols, and standardize data interaction. Moreover, the application corresponding to each function may need to connect to different business companies. Taking bus cards as an example, bus cards in each city may have different technical standards. This management method is difficult and costly to operate, and it inhibits the types of functions that manufacturers pre-install on electronic certificates.
[0062] In the subsequent recharge, binding and other business processing processes, it is also necessary to cooperate with the specific equipment of multiple business companies to realize business processing. The complex interaction mode not only brings many inconveniences to users, but also significantly limits their choice of time and place for business processing. Specifically, whenever users need to recharge or bind operations, they may need to go to designated service points or terminals. These service points may be scattered in different corners of the city, or even outside the scope of users' daily activities. This not only increases the user's travel and time costs, but may also cause users to miss important business processing opportunities due to their inability to reach the service point in time, greatly reducing the user's experience when using the electronic certificate. In today's digital and intelligent world, users expect a convenient, efficient and barrier-free service experience.
[0063] Based on this, a business processing method and device are provided in an embodiment of the present application, a general SDK module is integrated in the electronic certificate, and a general electronic certificate management platform is developed. Based on the business interaction between the electronic certificate management platform and the SDK module in the electronic certificate, and the APDU instruction interaction between the SDK module and the SIM card in the electronic certificate, unified management and monitoring of the electronic certificate device, direct control and management of the SIM card in the electronic certificate device, remote application installation, recharge and other business processing can be realized remotely, without the need for the manufacturer to connect with each business manufacturer in advance, and business processing is realized based on the specific equipment of the business manufacturer; the electronic certificate is searched by using the subscription relationship pre-established with the target electronic certificate, which improves the real-time monitoring and positioning capabilities of the electronic certificate, and also improves the scalability and flexibility of the student certificate management platform; in this way, the SDK, the electronic certificate management platform and the technology of searching the electronic certificate based on the pre-established subscription relationship are integrated, and a business processing process with high interoperability and flexibility is realized, and all-round management and control of the electronic certificate device are realized, and the security and stability of the electronic certificate during use are guaranteed, providing a more complete and convenient solution for the management and operation of the electronic certificate.
[0064] Please refer to Figure 1 , Figure 1A flowchart of a business processing method according to an embodiment of the present application is shown; the business processing method is applied to an information interaction system, the information interaction system includes an electronic certificate and an electronic certificate management platform; the method includes the following steps S101-S104:
[0065] S101: An electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0066] S102, the electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate;
[0067] S103, the SDK module of the electronic certificate organizes a second business request based on the received instruction information, and sends the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request;
[0068] S104: The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
[0069] The electronic certificate may also be referred to as an electronic certificate device; a chip is installed in the electronic certificate device to record the target information of the electronic certificate. For example, when the electronic certificate is an electronic student card, the student's photo, name, age, enrollment time, etc. are recorded.
[0070] The electronic certificate includes an operating system and a SIM card, so that it can respond to events of the electronic certificate and have functions such as accessing the network and storing information.
[0071] The electronic certificate described in the embodiment of the present application has an operating system called RTOS (Real-Time Operating System). RTOS is an operating system specially designed to handle real-time applications. Unlike general-purpose operating systems (such as Windows, Linux, etc.), RTOS focuses on meeting real-time requirements and can respond quickly to events within strict time limits. In the operating system of the electronic certificate, RTOS can be used to manage and control real-time tasks and operations related to the student ID card.
[0072] In the step S101, the electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate.
[0073] The business request involves multiple functions and services, such as recharging, downloading applications, and opening permissions. Taking the electronic student ID card as an example, the business request may be to open a transportation card, open access control, and recharge a campus card.
[0074] In this way, the electronic student ID card has three functions: transportation card, access card and campus card. It needs to interact with three business platforms. For each business platform, it interacts with different business platforms according to the school and city where the user is located.
[0075] For example, for transportation cards, the electronic certificates of users in city A need to interact with the transportation platform of city A, and the electronic certificates of users in city B need to interact with the transportation platform of city B.
[0076] The indication information is used to indicate the content of the first service request for the target electronic certificate, such as sending data to the target electronic certificate, instructing the target electronic certificate to obtain target data, etc.
[0077] The indication information includes unique identification information for indicating the target electronic certificate, which may be the user's identity information, the device IMEI number, the card identification of the SIM card in the electronic certificate, etc. For example, taking the employee's electronic certificate as an example, the identity information includes the employee's name, mobile phone number, ID number, etc.
[0078] It should be noted that identity information and other related information involving the privacy of relevant personnel need to be fully agreed and authorized to be obtained by the relevant personnel during specific implementation, and the collection, use and processing of relevant information need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0079] Please refer to Figure 2 , Figure 2 A schematic diagram of the interaction between the information interaction system and other platforms in the business processing method described in an embodiment of the present application is shown; in addition to receiving the business request from the client, the electronic certificate management platform also receives the first business request issued by the TSM platform or the terminal device for the electronic certificate.
[0080] The first business request issued by the business platform for the electronic certificate is forwarded via the TSM platform.
[0081] The client sends the first service request issued by the electronic certificate to the TSM platform or the electronic certificate management platform first, and then forwards it to the electronic certificate.
[0082] The first service request generated by the first operation on the electronic certificate is a first service request generated by the user for operations such as downloading, swiping a card, and querying a status of the electronic certificate.
[0083] The client is a terminal device associated with the electronic certificate and having management authority over at least part of the application of the electronic certificate; for example, a parent terminal device bound to an electronic student card.
[0084] The client may be a terminal device installed with a specific user terminal or app, or a terminal device accessing a specific page.
[0085] The first service request issued by the client for the electronic certificate is specifically a service request issued by the client for the associated electronic certificate and in compliance with the first preset authority of the client, such as a recharge request or application download request from a parent device for an electronic student card.
[0086] It should be noted that in some embodiments, the first preset permissions of the client include permissions that are restricted by the electronic card itself. For example, for some educational game apps, the parent terminal can download them for the electronic student card, but the electronic student card cannot be downloaded by itself.
[0087] TSM platform, full name Trusted Service Management (or Trusted Service Manager), is a system that provides functions such as application distribution management and security module management. TSM platform enables the application information data of service providers such as communication operators, urban integrated service providers, financial institutions and other smart card issuers to be interconnected.
[0088] Please refer to Figure 2 The TSM platform can interact with the business platform and the electronic certificate management platform, thereby realizing the interconnection and interoperability of data between the business platform and the electronic certificate management platform.
[0089] The business request sent to the electronic certificate by the TSM platform includes the business request sent to the electronic certificate generated by the TSM platform itself and the business request sent to the electronic certificate received by the business platform.
[0090] Please refer to Figure 2 In some embodiments, the first service request issued by the client for the electronic certificate is forwarded by the TSM platform. That is, the client sends the first service request to the TSM platform, the TSM platform forwards the first service request to the electronic certificate management platform, and the electronic certificate management platform sends the first service request to the electronic certificate, so that the electronic certificate responds to the first service request issued by the client for the electronic certificate.
[0091] Take the example of activating the bus card service with an electronic student ID card. Specifically, the parent-side device inputs the student's name, mobile phone number, ID number, device IMEI number, etc. through the H5 page to complete the binding relationship between the device and the student's mobile phone number. The H5 page can be a special page of an APP, or a binding page of a WeChat public account. After that, the parent can perform business operations on the bound electronic student ID card, such as clicking the transportation card activation button. The H5 page sends the activation request carrying the device information and the student's mobile phone number to the TSM platform through the interface.
[0092] After the TSM platform receives the activation request carrying the device information and the student's mobile phone number, it needs to send the electronic student ID card that matches the device information and the student's mobile phone number. At this time, there is the problem of how to find the electronic student ID card that matches the device information and the student's mobile phone number.
[0093] Specifically, in step S102 described in the embodiment of the present application, the electronic certificate management platform sends the indication information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate.
[0094] The pre-established subscription relationship is a subscription relationship established based on the MQTT service.
[0095] MQTT (Message Queuing Telemetry Transport) is a lightweight, publish / subscribe-based communication protocol for messaging in the Internet of Things (IoT) and distributed systems. It is suitable for resource-constrained devices and low-bandwidth, high-latency, or unstable network environments.
[0096] Please refer to Figure 3 , Figure 3 The flowchart of the method for establishing a subscription relationship between an electronic certificate management platform and a target electronic certificate in an embodiment of the present application is shown; in the embodiment of the present application, the subscription relationship between the electronic certificate management platform and the target electronic certificate is established based on the following steps S301-S302:
[0097] S301, when the target electronic certificate is started, based on the SDK module pre-configured in the target electronic certificate, a registration message is sent to the message agent in the electronic certificate management platform through the MQTT service; the registration message includes a unique identifier of the target electronic certificate;
[0098] S302: The message agent in the electronic certificate management platform responds to the registration message and establishes a subscription relationship between the target electronic certificate and the subject based on the unique identifier of the target electronic certificate.
[0099] Specifically, the electronic certificate device needs to be registered to establish a subscription relationship; when each electronic certificate device is started, it sends a registration message to the MQTT Broker (message broker) in the electronic certificate management platform through the MQTT protocol, including the device's unique identifier and other information. At the same time, the device will subscribe to a specific topic to receive instruction requests from the electronic certificate management platform.
[0100] Please refer to Figure 4 In the embodiment of the present application, the electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, including the following steps S401-S402:
[0101] S401, the electronic certificate management platform responds to the instruction information, and specifies a target subject in a subscription relationship that matches the unique identifier of the target electronic certificate based on the unique identifier of the target electronic certificate carried in the instruction information;
[0102] S402: Send the instruction information to the target electronic certificate according to the subscription information of the target electronic certificate that subscribes to the target subject.
[0103] Specifically, when the electronic certificate management platform needs to interact with a specific target electronic certificate, the electronic certificate management platform publishes a command message to the MQTT Broker through the MQTT protocol, specifying a specific topic that corresponds to the topic subscribed by the target electronic certificate.
[0104] After receiving the command message issued by the electronic certificate management platform, the MQTT Broker routes the message to the corresponding target electronic certificate according to the subscription information of the target electronic certificate.
[0105] After sending the instruction information to the target electronic certificate, the target electronic certificate transparently transmits the instruction message to the SDK module of the target electronic certificate.
[0106] Specifically, after the electronic certificate device receives the instruction message from the MQTT Broker, it parses it successfully and transparently transmits it to the SDK module. The SDK module sends the service request to the electronic certificate management platform based on the instruction message.
[0107] After the electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, the method further includes:
[0108] The target electronic certificate generates a response message for the indication information, and sends the response message to a message agent in the electronic certificate management platform based on the subscription relationship.
[0109] Specifically, after receiving the response, the electronic certificate device can publish a response message to the MQTT Broker through the MQTT protocol and return it to the platform.
[0110] A response message is a message generated by the target electronic certificate after it receives the instruction information from the electronic certificate management platform, based on the content and processing results of the instruction information, to reply to or confirm the instruction information, thereby confirming to the electronic certificate management platform that the instruction information has been received and processed, and providing information about the processing results or status, which helps the electronic certificate management platform understand the status, execution results or any other relevant information of the target electronic certificate, so as to carry out subsequent operations or decisions.
[0111] In step 103, the SDK module of the electronic certificate organizes a second business request based on the received instruction information, and sends the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains business processing instructions based on the request data in the second business request.
[0112] Here, part of the data in the second service request is derived from the first service request, for example, "service data corresponding to recharging 10 yuan to the bus card" in the second service request comes from the first service request.
[0113] The Internet and many distributed systems generally follow the client-server model, in which clients (devices) actively send requests to servers, and servers respond to these requests. This model helps simplify the communication process and enables servers to provide services to multiple clients at the same time. When devices actively initiate requests, servers can more easily handle concurrent traffic from different devices and different requests. In contrast, if the server needs to actively send information to each device, it needs to know the status and network location of each device, increasing the complexity and maintenance cost of the system.
[0114] Therefore, in an embodiment of the present application, for the first business request initiated by the client for the target electronic certificate, it is necessary to first find the target electronic certificate based on the MQTT technology, and the target electronic certificate is organized into a second business request actively initiated by the device end based on the first business request, so that the electronic certificate management platform can process the business of the target electronic certificate based on the second business request.
[0115] In the embodiment of the present application, the electronic certificate management platform obtains the business processing instruction based on the request data in the second business request, including:
[0116] The electronic certificate management platform responds to the second service request of the electronic certificate and sends the second service request of the electronic certificate to the TSM platform, so that the TSM platform generates a service processing instruction based on the request data in the second service request;
[0117] The electronic certificate management platform receives the business processing instruction sent by the TSM platform.
[0118] The business processing instruction may be a business processing instruction generated by the TSM platform based on stored data, or may be a business processing instruction obtained by the TSM platform from a business platform.
[0119] That is, the TSM platform generates a business processing instruction based on the request data in the second business request, including:
[0120] The TSM platform obtains, based on the request data in the second service request, a first type of service processing instruction in the TSM platform that matches the request data;
[0121] or,
[0122] The TSM platform interacts with the business platform to obtain a second type of business processing instruction in the business platform that matches the request data.
[0123] The business processing instruction that matches the second business request of the electronic certificate may be data that the electronic certificate wants to obtain, or may be a processing result of data sent by the electronic certificate.
[0124] Exemplarily, if the second business request wants to obtain application data A, the TSM platform searches for the application data A and generates a first type of business processing instruction based on the application data A.
[0125] Exemplarily, the second business request is for electronic student card A to spend 30 yuan on the campus card. The TSM platform sends the second business request for the electronic certificate to the business platform. The business platform processes the request data for electronic student card A's campus card spending 30 yuan, determines that the balance of electronic student card A's campus card is 50 yuan, and sends the balance of electronic student card A's campus card of 50 yuan as a second type of business processing instruction to the TSM platform.
[0126] In some embodiments, the electronic certificate management platform also authenticates and verifies the request information to ensure the legitimacy and security of the request.
[0127] Specifically, based on the above-mentioned example of the parent-end device activating a bus card for an electronic certificate, after the SDK in the electronic certificate sends the request information generated based on the card identification and authentication request to the electronic certificate management platform, the electronic certificate management platform receives the card identification and activation request, and adds a TOKEN (a type of platform authentication) to send it to the TSM platform.
[0128] After the TSM platform receives the request information and TOKEN request, it can be known through TOKEN that it is a request for electronic certificate business. Through the card identification and activation request in the request information, the card key is used to organize the ADPU instructions of the entire process of bus card activation (including application installation, personalization, and recharge). Among them, the personalized instructions need to request the bus business platform (bus company backend), and then divide the ADPU instructions of the whole process into several groups of instructions and send them to the electronic certificate management platform in sequence. It is necessary to wait for the previous group of instructions to return correctly before issuing the next group of instructions, otherwise the whole process will terminate.
[0129] In the step S104, the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
[0130] The electronic certificate management platform sends the business processing instruction to the SDK module of the electronic certificate, and the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform and performs business processing based on the business processing instruction.
[0131] The business processing instruction is an operation command or execution command for business data, so that the SDK module of the electronic certificate can process the business data. The business data refers to data that needs to be processed, transmitted or stored, such as the installation package of an application.
[0132] The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction, including:
[0133] The SDK module in the electronic certificate establishes a connection with the SIM card in the electronic certificate, and transmits the service processing instruction to the SIM card, so that the SIM card in the electronic certificate updates its status based on the service processing instruction.
[0134] SIM card (Subscriber Identity Module) is mainly used to identify and authenticate users in electronic certificates, as well as to provide secure data storage and network access functions. Electronic certificates are mainly used for payment and identity authentication, such as bus card swiping, campus card swiping, and access card swiping. The information in them is personal and private. When the SIM card stores the user's access unlocking code, payment certificate, personal identity and other private information, it uses a professional-grade encryption algorithm. The information stored on the SIM card can be protected during transmission to prevent theft or tampering, providing users with higher information security.
[0135] Therefore, in the embodiment of the present application, the SDK module establishes a connection with the SIM card in the electronic certificate, and modifies the information in the SIM card of the electronic certificate based on the service processing instruction.
[0136] Based on the above-mentioned example of a parent-end device using an electronic certificate to activate a bus card, the electronic certificate management platform receives the full-process ADPU instructions and transparently transmits them to the SDK module.
[0137] The types of the service requests are various, such as download requests and personalization requests; the corresponding service data and service response instructions are also various.
[0138] When the service request is an application download request, the service response instruction is a service response instruction including application data.
[0139] In the service processing method described in the embodiment of the present application, when the service request is an application download request, the service processing instruction includes application data matching the application download request;
[0140] The service processing instruction is transmitted to the SIM card, so that the SIM card of the electronic certificate updates the status based on the service processing instruction, including:
[0141] The service processing instruction is transmitted to the SIM card to write the application data into the SIM card, thereby realizing the application of the electronic certificate.
[0142] The application of the electronic certificate is sent in vain, that is, the application is installed for the SIM card in the electronic certificate in a remote manner, rather than installing the application for the SIM card through a card reader or other device.
[0143] It is particularly important to note that in traditional electronic certificates, SIM cards support specific smart applications to achieve specific functions, but these applications are usually pre-installed on the card and cannot be installed or modified by users. Electronic certificate manufacturers need to conduct in-depth certification cooperation with multiple business companies for each business, to connect technical standards, confirm security protocols, and standardize data interaction, which is difficult and costly.
[0144] In the embodiment of the present application, the SDK module receives business processing instructions including application data, thereby writing the application data into the SIM card, so that new applications can be added to the SIM card remotely and conveniently, which is convenient for users to customize the applications in the SIM card according to their needs. Based on the SDK module and the electronic certificate business management platform, interaction with multiple business company platforms of various business types is realized, and remote application installation is realized remotely. There is no need for manufacturers to connect with various business manufacturers in advance, and there is no need to complete the activation of new services through specific equipment at a designated location and time, which greatly improves the user experience.
[0145] For example, the example of activating a bus card described in the embodiment of the present application is to write the bus card application data into the SIM card so that the electronic certificate has the function of a bus card.
[0146] In the above example, after the electronic certificate management platform receives the ADPU instruction for the entire process of activating the bus card, it transparently transmits it to the SDK module; after the SDK module receives the instruction, it opens a logical channel to interact with the SIM card for specific instructions; after the SIM card receives the instruction, it returns a specific response instruction. The SDK module and the electronic certificate management platform directly transparently transmit the response to the specific response instruction, and finally transparently transmit it to the TSM platform.
[0147] The TSM platform determines whether to continue to issue the next set of instructions through the response instructions returned by the previous set of instructions until the last instruction is executed. The TSM platform returns the final activation result to the H5 page; the H5 page displays the final operation result (activation success / activation failure), and the process of activating the bus card ends.
[0148] That is, in some embodiments, when the electronic certificate management platform receives the business processing instruction sent by the TSM platform and sends the business processing instruction to the electronic certificate, specifically:
[0149] The TSM platform obtains business processing instructions that match the request information of the electronic certificate, and divides the business processing instructions into multiple groups;
[0150] Sending the business processing instructions of the target group to the electronic certificate management platform, and the electronic certificate management platform sending the business processing instructions of the target group to the electronic certificate;
[0151] The SDK module of the electronic certificate transmits the business processing instructions of the target group to the SIM card, so that the SIM card feeds back the SIM card response result to the SDK module, and the SDK module sends the SIM card response result to the electronic certificate management platform, and the electronic certificate management platform sends the SIM card response result to the TSM platform. The TSM platform sends the next set of business processing instructions when the SIM card response result is normal.
[0152] It should be noted that in the process of sending the grouped business processing instructions to the SIM card, the electronic certificate management platform and the SDK module will give corresponding response results. If any response result is abnormal, the process will be terminated.
[0153] Electronic certificates and SIM card hardware resources and network resources are limited and cannot process large amounts of data at one time. Sending in batches can adjust the size and frequency of data packets based on resource limitations, thereby making full use of resources and ensuring stable data transmission.
[0154] In the embodiment of the present application, the TSM platform is responsible for organizing applications and personalized instructions, the student ID management platform is responsible for implementing the "find device" capability, and requesting applications and personalized instructions from the TSM platform; the RTOS-SDK module is responsible for implementing APDU instruction transmission and execution capabilities, and initiating business requests and instruction requests to the student ID management platform.
[0155] In some embodiments, the data between the electronic certificate and the electronic certificate management platform is transmitted in encrypted form. By encrypting the data between the electronic certificate and the electronic certificate management platform, information leakage is prevented and data security is ensured.
[0156] Please refer to Figure 2 , the following takes the electronic student card as an example to illustrate the interaction process between the information interaction system (electronic card and electronic card management platform) and other platforms in the embodiment of the present application; the business platform and the client initiate a first business request such as a personalization request and a download request to the TSM platform, the TSM platform sends the first business request to the electronic card management platform, finds the target electronic card corresponding to the first business request through the MQTT technology, sends the first business request to the target electronic card, the target electronic card sends the first business request to the pre-configured SDK module in the electronic card, the SDK module organizes the second business request based on the instruction information of the received first business request, and transparently transmits the second business request to the TSM platform through the electronic card management platform, the TSM platform directly obtains the corresponding business processing instruction or obtains the corresponding business processing instruction from the business platform, and transparently transmits the business processing instruction to the SDK module in the electronic card through the electronic card management platform, the SDK module transmits the business processing instruction to the SIM card in the electronic card, thereby realizing all-round management and control of the electronic card device based on the remote docking and interaction between the SDK, the electronic card management platform and various business manufacturer platforms under various types.
[0157] Based on the same inventive concept, a business processing device corresponding to the business processing method is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned business processing method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0158] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of a business processing device according to an embodiment of the present application is shown. The business processing device is applied to an information interaction system. The information interaction system includes an electronic certificate and an electronic certificate management platform. The device includes:
[0159] A first receiving module 501 is used to enable the electronic certificate management platform to receive a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0160] A first sending module 502, configured to enable the electronic certificate management platform to send the instruction information to the target electronic certificate based on a subscription relationship pre-established with the target electronic certificate;
[0161] A second sending module 503, configured to enable the SDK module of the electronic certificate to organize a second business request based on the received instruction information, and send the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request;
[0162] The first business processing module 504 is used to enable the SDK module of the electronic certificate to receive the business processing instruction sent by the electronic certificate management platform, and perform business processing based on the business processing instruction.
[0163] In some embodiments, the service processing device further includes:
[0164] A registration module, used for sending a registration message to a message broker in the electronic certificate management platform through the MQTT service when the target electronic certificate is started, based on the SDK module pre-configured in the target electronic certificate; the registration message includes a unique identifier of the target electronic certificate;
[0165] The message agent in the electronic certificate management platform responds to the registration message and establishes a subscription relationship between the target electronic certificate and the subject based on the unique identifier of the target electronic certificate.
[0166] In some embodiments, the first sending module in the business processing device, when the electronic certificate management platform sends the indication information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, is specifically used to:
[0167] The electronic certificate management platform responds to the instruction information and specifies a target subject in the subscription relationship that matches the unique identifier of the target electronic certificate based on the unique identifier of the target electronic certificate carried in the instruction information;
[0168] The instruction information is sent and routed to the target electronic certificate according to the subscription information of the target electronic certificate that subscribes to the target subject.
[0169] In some embodiments, the business processing device also includes a generation module, which is used for, after the electronic certificate management platform sends the indication information to the target electronic certificate based on a subscription relationship pre-established with the target electronic certificate, the target electronic certificate generates a response message to the indication information, and sends the response message to the message agent in the electronic certificate management platform based on the subscription relationship.
[0170] In some embodiments, the second sending module in the business processing device is specifically used to:
[0171] The electronic certificate management platform responds to the second service request of the electronic certificate and sends the second service request of the electronic certificate to the TSM platform, so that the TSM platform generates a service processing instruction based on the request data in the second service request;
[0172] The electronic certificate management platform receives the business processing instruction sent by the TSM platform.
[0173] In some embodiments, the second sending module in the service processing device is specifically used to:
[0174] The TSM platform obtains, based on the request data in the second service request, a first type of service processing instruction in the TSM platform that matches the request data;
[0175] or,
[0176] The TSM platform interacts with the business platform to obtain a second type of business processing instruction in the business platform that matches the request data.
[0177] In some embodiments, the first business processing module in the business processing device receives the business processing instruction sent by the electronic certificate management platform in the SDK module of the electronic certificate, and performs business processing based on the business processing instruction, specifically for:
[0178] The SDK module in the electronic certificate establishes a connection with the SIM card in the electronic certificate, and transmits the service processing instruction to the SIM card, so that the SIM card in the electronic certificate updates its status based on the service processing instruction.
[0179] In some embodiments, when the service request is an application download request, the service processing instruction includes application data matching the application download request;
[0180] The first service processing module in the service processing device is specifically used to: transmit the service processing instruction to the SIM card so that the SIM card of the electronic certificate updates its status based on the service processing instruction.
[0181] The service processing instruction is transmitted to the SIM card to write the application data into the SIM card, thereby realizing the application of the electronic certificate.
[0182] Based on the same inventive concept, an electronic certificate management method is also provided in the embodiment of the present application. Since the principle of solving the problem by the electronic certificate management method described in the embodiment of the present application is similar to the above-mentioned business processing method in the embodiment of the present application, the implementation of the electronic certificate management method can refer to the implementation of the business processing method, and the repeated parts will not be repeated.
[0183] Please refer to Figure 6 , Figure 6 A flow chart of the electronic certificate management method according to an embodiment of the present application is shown. Figure 6 As shown, the electronic certificate management method includes the following steps S601-S602:
[0184] S601: The electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0185] S602: The electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the target electronic certificate performs corresponding task processing based on the instruction information.
[0186] In some embodiments, in the electronic certificate management method, the subscription relationship between the electronic certificate management platform and the target electronic certificate is established based on the following method:
[0187] When the target electronic certificate is started, based on the SDK module pre-configured in the target electronic certificate, a registration message is sent to the message agent in the electronic certificate management platform through the MQTT service; the registration message includes a unique identifier of the target electronic certificate;
[0188] The message agent in the electronic certificate management platform responds to the registration message and establishes a subscription relationship between the target electronic certificate and the subject based on the unique identifier of the target electronic certificate.
[0189] In some embodiments, in the electronic certificate management method, the electronic certificate management platform sends the instruction information to the target electronic certificate based on a subscription relationship pre-established with the target electronic certificate, including:
[0190] The electronic certificate management platform responds to the instruction information and specifies a target subject in the subscription relationship that matches the unique identifier of the target electronic certificate based on the unique identifier of the target electronic certificate carried in the instruction information;
[0191] The indication information is sent to the target electronic certificate according to the subscription information of the target electronic certificate that subscribes to the target subject.
[0192] In some embodiments, in the electronic certificate management method, after the electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, the method further includes:
[0193] The target electronic certificate generates a response message for the indication information, and sends the response message to a message agent in the electronic certificate management platform based on the subscription relationship.
[0194] In some embodiments, in the electronic certificate management method, the electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the target electronic certificate performs corresponding task processing based on the instruction information, including:
[0195] The electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the SDK module of the electronic certificate organizes the second service request based on the received instruction information and sends the second service request to the electronic certificate management platform;
[0196] The electronic certificate management platform obtains a business processing instruction based on the request data in the second business request, so that the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform and performs business processing based on the business processing instruction.
[0197] In some embodiments, in the electronic certificate management method, the electronic certificate management platform obtains the business processing instruction based on the request data in the second business request, including:
[0198] The electronic certificate management platform responds to the second service request of the electronic certificate and sends the second service request of the electronic certificate to the TSM platform, so that the TSM platform generates a service processing instruction based on the request data in the second service request;
[0199] The electronic certificate management platform receives the business processing instruction sent by the TSM platform.
[0200] In some embodiments, in the electronic certificate management method, the TSM platform generates a business processing instruction based on the request data in the second business request, including:
[0201] The TSM platform obtains, based on the request data in the second service request, a first type of service processing instruction in the TSM platform that matches the request data;
[0202] or,
[0203] The TSM platform interacts with the business platform to obtain a second type of business processing instruction in the business platform that matches the request data.
[0204] In some embodiments, in the electronic certificate management method, the electronic certificate SDK module receives a business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction, including:
[0205] The SDK module in the electronic certificate establishes a connection with the SIM card in the electronic certificate, and transmits the service processing instruction to the SIM card, so that the SIM card in the electronic certificate updates its status based on the service processing instruction.
[0206] In some embodiments, in the electronic certificate management method, when the service request is an application download request, the service processing instruction includes application data matching the application download request;
[0207] The service processing instruction is transmitted to the SIM card, so that the SIM card of the electronic certificate updates the status based on the service processing instruction, including:
[0208] The service processing instruction is transmitted to the SIM card to write the application data into the SIM card, thereby realizing the application of the electronic certificate.
[0209] Based on the same inventive concept, an electronic certificate management device is also provided in the embodiment of the present application. Since the principle of solving the problem by the electronic certificate management device described in the embodiment of the present application is similar to the above-mentioned business processing method in the embodiment of the present application, the implementation of the electronic certificate management method can refer to the implementation of the business processing method, and the repeated parts will not be repeated.
[0210] The present application provides an electronic certificate management device, the device comprising:
[0211] A second receiving module, configured to enable the electronic certificate management platform to receive a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate;
[0212] The third sending module is used to enable the electronic certificate management platform to send the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the target electronic certificate performs corresponding task processing based on the instruction information.
[0213] Based on the same inventive concept, a working method of an electronic certificate is also provided in the embodiment of the present application. Since the principle of solving the problem by the working method of the electronic certificate described in the embodiment of the present application is similar to the above-mentioned business processing method in the embodiment of the present application, the implementation of the working method of the electronic certificate can refer to the implementation of the business processing method, and the repeated parts will not be repeated.
[0214] Please refer to Figure 7 , Figure 7 A flowchart showing the working method of the electronic certificate in the embodiment of the present application is shown. Figure 7 As shown, the working method of the electronic certificate includes the following steps S701-S703:
[0215] S701, the electronic certificate receives instruction information sent by the electronic certificate management platform;
[0216] S702: The SDK module of the electronic certificate organizes a business request based on the instruction information, and sends the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request;
[0217] S703: The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
[0218] In some embodiments, the indication information sent by the electronic certificate management platform received by the electronic certificate is sent by the electronic certificate management platform based on a subscription relationship pre-established with the target electronic certificate.
[0219] In some embodiments, the electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate.
[0220] In some embodiments, in the electronic certificate working method, the subscription relationship between the electronic certificate management platform and the target electronic certificate is established based on the following method:
[0221] When the target electronic certificate is started, based on the SDK module pre-configured in the target electronic certificate, a registration message is sent to the message agent in the electronic certificate management platform through the MQTT service; the registration message includes a unique identifier of the target electronic certificate;
[0222] The message agent in the electronic certificate management platform responds to the registration message and establishes a subscription relationship between the target electronic certificate and the subject based on the unique identifier of the target electronic certificate.
[0223] In some embodiments, the indication information received by the electronic certificate is the electronic certificate management platform responding to the indication information, and based on the unique identifier of the target electronic certificate carried in the indication information, specifies the target subject in the subscription relationship that matches the unique identifier of the target electronic certificate; and sends the indication information to the target electronic certificate according to the subscription information of the target electronic certificate that subscribes to the target subject.
[0224] In some embodiments, after the electronic certificate receives the instruction information sent by the electronic certificate management platform, the electronic certificate working method further includes:
[0225] The target electronic certificate generates a response message for the indication information, and sends the response message to a message agent in the electronic certificate management platform based on the subscription relationship.
[0226] In some embodiments, in the electronic certificate working method, the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request, including:
[0227] The electronic certificate management platform responds to the second service request of the electronic certificate and sends the second service request of the electronic certificate to the TSM platform, so that the TSM platform generates a service processing instruction based on the request data in the second service request;
[0228] The electronic certificate management platform receives the business processing instruction sent by the TSM platform.
[0229] In some embodiments, in the working method of the electronic certificate, the TSM platform generates a business processing instruction based on the request data in the second business request, including:
[0230] The TSM platform obtains, based on the request data in the second service request, a first type of service processing instruction in the TSM platform that matches the request data;
[0231] or,
[0232] The TSM platform interacts with the business platform to obtain a second type of business processing instruction in the business platform that matches the request data.
[0233] In some embodiments, in the working method of the electronic certificate, the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction, including:
[0234] The SDK module in the electronic certificate establishes a connection with the SIM card in the electronic certificate, and transmits the service processing instruction to the SIM card, so that the SIM card in the electronic certificate updates its status based on the service processing instruction.
[0235] In some embodiments, in the working method of the electronic certificate, when the service request is an application download request, the service processing instruction includes application data matching the application download request;
[0236] The service processing instruction is transmitted to the SIM card, so that the SIM card of the electronic certificate updates the status based on the service processing instruction, including:
[0237] The service processing instruction is transmitted to the SIM card to write the application data into the SIM card, thereby realizing the application of the electronic certificate.
[0238] Based on the same inventive concept, an electronic certificate working device is also provided in the embodiment of the present application. Since the principle of solving the problem by the electronic certificate working device described in the embodiment of the present application is similar to the above-mentioned business processing method in the embodiment of the present application, the implementation of the electronic certificate working method can refer to the implementation of the business processing method, and the repeated parts will not be repeated.
[0239] In some embodiments, there is also provided an electronic certificate management device, the device comprising:
[0240] A third receiving module, used to enable the electronic certificate to receive instruction information sent by the electronic certificate management platform;
[0241] a fourth sending module, configured to enable the SDK module of the electronic certificate to organize a business request based on the instruction information, and to send the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request;
[0242] The second business processing module, the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
[0243] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0244] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0245] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0246] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a platform server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0247] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A business processing method, characterized in that: Applied to an information interaction system, the information interaction system includes an electronic certificate and an electronic certificate management platform; the method includes: The electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate; The electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate; The SDK module of the electronic certificate organizes a second business request based on the received instruction information, and sends the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request; The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
2. The service processing method according to claim 1, characterized in that: The subscription relationship between the electronic certificate management platform and the target electronic certificate is established based on the following methods: When the target electronic certificate is started, based on the SDK module pre-configured in the target electronic certificate, a registration message is sent to the message agent in the electronic certificate management platform through the MQTT service; the registration message includes a unique identifier of the target electronic certificate; The message agent in the electronic certificate management platform responds to the registration message and establishes a subscription relationship between the target electronic certificate and the subject based on the unique identifier of the target electronic certificate.
3. The service processing method according to claim 1 or 2, characterized in that: The electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, including: The electronic certificate management platform responds to the instruction information and specifies a target subject in the subscription relationship that matches the unique identifier of the target electronic certificate based on the unique identifier of the target electronic certificate carried in the instruction information; The indication information is sent to the target electronic certificate according to the subscription information of the target electronic certificate that subscribes to the target subject.
4. The service processing method according to claim 1, characterized in that: After the electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, the method further includes: The target electronic certificate generates a response message for the indication information, and sends the response message to a message agent in the electronic certificate management platform based on the subscription relationship.
5. The service processing method according to claim 1, characterized in that: The electronic certificate management platform obtains a business processing instruction based on the request data in the second business request, including: The electronic certificate management platform responds to the second service request of the electronic certificate and sends the second service request of the electronic certificate to the TSM platform, so that the TSM platform generates a service processing instruction based on the request data in the second service request; The electronic certificate management platform receives the business processing instruction sent by the TSM platform.
6. The service processing method according to claim 5, characterized in that: The TSM platform generates a business processing instruction based on the request data in the second business request, including: The TSM platform obtains, based on the request data in the second service request, a first type of service processing instruction in the TSM platform that matches the request data; or, The TSM platform interacts with the business platform to obtain a second type of business processing instruction in the business platform that matches the request data.
7. The service processing method according to claim 1, characterized in that: The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction, including: The SDK module in the electronic certificate establishes a connection with the SIM card in the electronic certificate, and transmits the service processing instruction to the SIM card, so that the SIM card in the electronic certificate updates its status based on the service processing instruction.
8. The service processing method according to claim 7, characterized in that: When the service request is an application download request, the service processing instruction includes application data matching the application download request; The service processing instruction is transmitted to the SIM card, so that the SIM card of the electronic certificate updates the status based on the service processing instruction, including: The service processing instruction is transmitted to the SIM card to write the application data into the SIM card, thereby realizing the application of the electronic certificate.
9. A service processing device, characterized in that: Applied to an information interaction system, the information interaction system includes an electronic certificate and an electronic certificate management platform; the device includes: A first receiving module, configured to enable the electronic certificate management platform to receive a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate; A first sending module, configured to enable the electronic certificate management platform to send the instruction information to the target electronic certificate based on a subscription relationship pre-established with the target electronic certificate; A second sending module, configured to enable the SDK module of the electronic certificate to organize a second business request based on the received instruction information, and send the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request; The first business processing module is used to enable the SDK module of the electronic certificate to receive the business processing instruction sent by the electronic certificate management platform, and perform business processing based on the business processing instruction.
10. A method for managing an electronic certificate, characterized in that: The method comprises: The electronic certificate management platform receives a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate; The electronic certificate management platform sends the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the target electronic certificate performs corresponding task processing based on the instruction information.
11. An electronic certificate management device, characterized in that: The device comprises: A second receiving module, configured to enable the electronic certificate management platform to receive a first service request from a client, wherein the first service request includes indication information for indicating a target electronic certificate; The third sending module is used to enable the electronic certificate management platform to send the instruction information to the target electronic certificate based on the subscription relationship pre-established with the target electronic certificate, so that the target electronic certificate performs corresponding task processing based on the instruction information.
12. A method for working an electronic certificate, characterized in that: The method comprises: The electronic certificate receives instruction information sent by the electronic certificate management platform; The SDK module of the electronic certificate organizes the service request based on the instruction information, and sends the second service request to the electronic certificate management platform, so that the electronic certificate management platform obtains the service processing instruction based on the request data in the second service request; The SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
13. An electronic certificate management device, characterized in that: The device comprises: A third receiving module, used to enable the electronic certificate to receive instruction information sent by the electronic certificate management platform; a fourth sending module, configured to enable the SDK module of the electronic certificate to organize a business request based on the instruction information, and to send the second business request to the electronic certificate management platform, so that the electronic certificate management platform obtains a business processing instruction based on the request data in the second business request; The second business processing module, the SDK module of the electronic certificate receives the business processing instruction sent by the electronic certificate management platform, and performs business processing based on the business processing instruction.
