Electronic card writing method, device, equipment, medium and product

CN116341574BActive Publication Date: 2026-09-18CHINA UNIONPAY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310148124.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2026-09-18
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

[0003]目前,由于不同的电子卡主办方所依托的电子卡服务方不同,因此,承载电子卡的客户端所对应的电子卡承载方需要与不同的电子卡服务方进行业务对接,而不同的电子卡服务方之间信息标准并不同,这样容易导致资源浪费,增加运维难度和成本

Benefits of technology

[0031]In a seventh aspect, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform the steps of the electronic card writing method as described in any of the embodiments of the first or second aspect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116341574B_ABST
    Figure CN116341574B_ABST
Patent Text Reader

Abstract

The application discloses a card writing method, device, equipment, medium and product of an electronic card. The card writing method of the electronic card is applied to an aggregation platform, the aggregation platform is used for connecting a plurality of electronic card carrier parties and a plurality of electronic card service parties, the method comprises the following steps: receiving a card writing request for a target electronic card sent by a target client; in response to the card writing request, determining a target electronic card service party corresponding to the target electronic card from the plurality of electronic card service parties; forwarding the card writing request to a target server corresponding to the target electronic card service party; receiving first card data returned by the target server and forwarding the first card data to the target client, so that the target client performs data conversion on the first card data according to a target data standard by using a target applet, and performs a card writing operation based on second card data obtained by conversion. According to the embodiment of the application, resource waste can be reduced, operation and maintenance difficulty and cost can be reduced, and diversified user demands can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application pertains to mobile communication technology, and particularly relates to a method, apparatus, device, medium, and product for writing electronic cards. Background Technology

[0002] With the rapid development of mobile communication technology, traditional physical cards are gradually being digitized and transformed into electronic cards in electronic devices. Users can then use the electronic cards in their electronic devices to perform the functions corresponding to the physical cards.

[0003] Currently, because different electronic card organizers rely on different electronic card service providers, the electronic card carriers corresponding to the clients carrying electronic cards need to connect with different electronic card service providers. However, the information standards between different electronic card service providers are not the same, which can easily lead to waste of resources and increase the difficulty and cost of operation and maintenance.

[0004] In addition, due to resource constraints, electronic card service providers generally only interface with specific electronic card bearers. As a result, users can only add electronic cards in the client provided by a specific electronic card bearer, which fails to meet the diverse needs of users. Summary of the Invention

[0005] This application provides a method, apparatus, device, medium, and product for writing electronic cards, which can reduce resource waste, lower maintenance difficulty and cost, and meet diverse user needs.

[0006] In a first aspect, embodiments of this application provide a method for writing an electronic card, applied to an aggregation platform. The aggregation platform is used to connect to multiple electronic card carrier providers and multiple electronic card service providers. The client corresponding to the electronic card carrier provider or the electronic device containing the client has a built-in target applet for data conversion. The method includes:

[0007] Receive a write request for a target electronic card sent by a target client, wherein the target client is a client corresponding to the target electronic card carrier, and the target electronic card carrier is any one of the plurality of electronic card carriers;

[0008] In response to the card writing request, a target electronic card service provider corresponding to the target electronic card is determined from the plurality of electronic card service providers;

[0009] The write request is forwarded to the target server corresponding to the target electronic card service provider. The write request is used to instruct the target server to generate first card data corresponding to the target electronic card.

[0010] The system receives the first card data returned by the target server and forwards the first card data to the target client, so that the target client uses the target applet to convert the first card data according to the target data standard to obtain the second card data, and performs a card writing operation based on the second card data to obtain the target electronic card. The target data standard is the data standard corresponding to the target electronic card carrier.

[0011] Secondly, embodiments of this application provide a method for writing an electronic card, applied to a client corresponding to the electronic card carrier, wherein the client or the electronic device containing the client has a built-in target applet for data conversion, and the method includes:

[0012] Receive the user's first input in the client to apply for the target electronic card;

[0013] In response to the first input, a card writing request for the target electronic card is sent to the aggregation platform;

[0014] Receive the first card data returned by the aggregation platform in response to the card write request;

[0015] The target mini-program is used to convert the first card data according to the target data standard to obtain the second card data, wherein the target data standard is the data standard corresponding to the electronic card carrier.

[0016] A card writing operation is performed based on the data from the second card to obtain the target electronic card.

[0017] Thirdly, embodiments of this application provide an electronic card writing device configured on an aggregation platform. The aggregation platform is used to connect to multiple electronic card carrier providers and multiple electronic card service providers. The client corresponding to the electronic card carrier provider or the electronic device containing the client has a built-in target applet for data conversion. The device includes:

[0018] The first receiving module is used to receive a card writing request for a target electronic card sent by a target client. The target client is a client corresponding to the target electronic card carrier, and the target electronic card carrier is any one of the plurality of electronic card carriers.

[0019] The first determining module is used to determine, in response to the card writing request, the target electronic card service provider corresponding to the target electronic card from the plurality of electronic card service providers;

[0020] The first forwarding module is used to forward the card writing request to the target server corresponding to the target electronic card service provider. The card writing request is used to instruct the target server to generate first card data corresponding to the target electronic card.

[0021] The second forwarding module is used to receive the first card data returned by the target server and forward the first card data to the target client, so that the target client can use the target applet to convert the first card data according to the target data standard to obtain the second card data, and perform a card writing operation based on the second card data to obtain the target electronic card, wherein the target data standard is the data standard corresponding to the target electronic card carrier.

[0022] Fourthly, embodiments of this application provide a card writing device for an electronic card, configured on a client device corresponding to the electronic card carrier. The client device or the electronic device containing the client has a built-in target applet for data conversion. The device includes:

[0023] The input receiving module is used to receive the first input from the user applying for the target electronic card in the client.

[0024] The request sending module is used to send a card writing request for the target electronic card to the aggregation platform in response to the first input;

[0025] The third receiving module is used to receive the first card data returned by the aggregation platform in response to the card writing request;

[0026] The data conversion module is used to convert the first card data according to the target data standard using the target applet to obtain the second card data, wherein the target data standard is the data standard corresponding to the electronic card carrier.

[0027] The card writing module is used to perform a card writing operation based on the second card data to obtain the target electronic card.

[0028] Fifthly, embodiments of this application provide an electronic device, which includes: a processor and a memory storing computer program instructions;

[0029] When the processor executes the computer program instructions, it implements the steps of the electronic card writing method as described in any embodiment of the first or second aspect.

[0030] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the steps of the electronic card writing method as described in any of the embodiments of the first or second aspect.

[0031] In a seventh aspect, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform the steps of the electronic card writing method as described in any of the embodiments of the first or second aspect.

[0032] The electronic card writing method, apparatus, device, medium, and product in this application embodiment establish an aggregation platform between the electronic card carrier and the electronic card service provider. This aggregation platform connects to multiple electronic card carriers and multiple electronic card service providers. It determines the target electronic card service provider corresponding to the target electronic card to be applied for and forwards the card writing request sent by the client corresponding to the target electronic card carrier to that target electronic card service provider. It also forwards and converts the returned first card data. This eliminates the need for the electronic card carrier to directly interface with multiple different electronic card service providers; instead, it only needs to interface with the aggregation platform to achieve business integration with multiple different electronic card service providers. This reduces resource waste and lowers maintenance difficulty and costs. Furthermore, since the aggregation platform can connect to multiple electronic card carriers, users can add electronic cards to the client provided by any of the electronic card carriers, thus meeting diverse user needs. Attached Figure Description

[0033] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of a system architecture applicable to the electronic card writing method provided in this application;

[0035] Figure 2 This is a flowchart illustrating a method for writing an electronic card according to an embodiment of this application;

[0036] Figure 3 This is a flowchart illustrating a method for writing an electronic card according to another embodiment of this application;

[0037] Figure 4 This is a flowchart illustrating the electronic card writing method provided in this application, using a campus card as an example;

[0038] Figure 5 This is a schematic diagram of the structure of an electronic card writing device provided in one embodiment of this application;

[0039] Figure 6 This is a schematic diagram of the structure of an electronic card writing device provided in one embodiment of this application;

[0040] Figure 7 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation

[0041] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0042] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0043] Currently, different electronic card providers rely on different electronic card service providers. For example, School A uses campus card services provided by service provider 'a', School B uses those provided by service provider 'b', and School C uses those provided by service provider 'c'. Furthermore, different users have different needs for electronic card carriers. For instance, user D wants to add their electronic card to application 'd' to use it, while user E wants to add it to application 'e' to use it. Therefore, to address the existing technical problems, this application's embodiments establish an aggregation platform between electronic card carrier providers and electronic card service providers. This platform connects to multiple electronic card carrier providers and multiple electronic card service providers, enabling business integration between them. A detailed description follows.

[0044] Figure 1 This is a schematic diagram of a system architecture applicable to the electronic card writing method provided in this application.

[0045] like Figure 1 As shown, the system architecture may include an electronic card organizer 11, an electronic card service provider 12, an aggregation platform 13, and an electronic card carrier 14. The electronic card organizer 11 can be the organizer of the electronic card; for example, if the electronic card is a campus card, then the school is the organizer of the campus card. The electronic card service provider 12 can be the provider of electronic card services, managing the relevant data of the electronic card for the organizer. The electronic card carrier 14 can be the provider of carrier services for the electronic card, such as the mobile phone manufacturer corresponding to the mobile phone that can add electronic cards, or the software developer corresponding to the client that can add electronic cards. The client corresponding to the electronic card carrier 14, or the electronic device where the client is located, has a built-in target applet for data conversion; this target applet may be, for example, a super applet. The aggregation platform 13, provided in this embodiment, is a platform set between the electronic card carrier 14 and the electronic card service provider 12, used to connect to multiple electronic card carriers 14 and multiple electronic card service providers 12 respectively.

[0046] Here, an electronic card organizer 11 can provide electronic card services through an electronic card service provider 12. The aggregation platform 13 can connect to multiple electronic card service providers 12. At the same time, the aggregation platform 13 can also connect to multiple electronic card carriers 14. In this way, business integration between any electronic card service provider 12 and any electronic card carrier 14 can be achieved, thereby facilitating the over-the-air distribution of electronic cards between any electronic card service provider 12 and any electronic card carrier 14.

[0047] Based on the above architecture, this application provides a method for writing electronic cards. This method can be applied to the issuance and writing of electronic cards. The following is a description of the method for writing electronic cards provided in this application.

[0048] Figure 2 This is a flowchart illustrating a method for writing an electronic card according to an embodiment of this application. This method for writing an electronic card can be applied to, for example... Figure 1 The aggregation platform shown can be used to connect multiple electronic card carriers and multiple electronic card service providers. The client corresponding to the electronic card carrier or the electronic device where the client is located has a built-in target applet for data conversion.

[0049] like Figure 2 As shown, the method for writing the electronic card can specifically include the following steps:

[0050] S210. Receive a write request for the target electronic card sent by the target client. The write request includes user information corresponding to the user who applied for the target electronic card. The target client is the client corresponding to the target electronic card carrier. The target electronic card carrier is any one of multiple electronic card carriers.

[0051] S220. In response to the card writing request, determine the target electronic card service provider corresponding to the target electronic card from multiple electronic card service providers;

[0052] S230. Forward the card writing request to the target server corresponding to the target electronic card service provider. The card writing request is used to instruct the target server to generate the first card data corresponding to the target electronic card based on the user information.

[0053] S240. Receive the first card data returned by the target server and forward the first card data to the target client so that the target client can use the target applet to convert the first card data according to the target data standard to obtain the second card data, and perform a card writing operation based on the second card data to obtain the target electronic card. The target data standard is the data standard corresponding to the target electronic card carrier.

[0054] Therefore, by setting up an aggregation platform between electronic card carriers and electronic card service providers, the aggregation platform connects to multiple electronic card carriers and multiple electronic card service providers. It determines the target electronic card service provider corresponding to the desired electronic card and forwards the card writing request sent by the client of the target electronic card carrier to that service provider. It also forwards and converts the returned first card data. This eliminates the need for electronic card carriers to directly interface with multiple different electronic card service providers; they only need to interface with the aggregation platform to achieve business integration with these providers. This reduces resource waste and lowers operational complexity and costs. Furthermore, since the aggregation platform can connect to multiple electronic card carriers, users can add electronic cards to the client provided by any of these carriers, thus meeting diverse user needs.

[0055] The specific implementation methods for each of the above steps are described below.

[0056] In some implementations, in S210, the card writing request can be a request generated and sent to the aggregation platform by the target client when the user enters the electronic card activation page or adds the target electronic card in the target client. The target electronic card can be, for example, a campus card of the target school. The target client can be the client corresponding to the target electronic card carrier, such as a mobile wallet app provided by a mobile phone manufacturer, or a client app provided by a software developer.

[0057] For example, when a student with a campus card from School A adds their school card to a mobile wallet app installed on their mobile device, the mobile wallet app can send a write request for the campus card to the aggregation platform.

[0058] In some implementations, in S220, since the aggregation platform connects to multiple electronic card service providers, it is necessary to determine the electronic card service provider corresponding to the target electronic card from among these multiple electronic card service providers, that is, the target electronic card service provider.

[0059] The methods for determining the target electronic card service provider include, but are not limited to: determining the electronic card organizer to which the user belongs based on the user identification information carried in the card writing request, and then the electronic card organizer to which the user belongs queries for electronic card service providers with electronic card service relationships with that organizer, which are then selected as the target electronic card service provider; or, the user directly selects the electronic card organizer in the target client, and the target client sends the organizer information corresponding to the selected organizer to the aggregation platform, which then queries for electronic card service providers with electronic card service relationships with the selected organizer based on the organizer information, which are then selected as the target electronic card service provider. Of course, other methods can also be used to determine the target electronic card service provider corresponding to the target electronic card, which are not limited here.

[0060] Regarding the first determination method mentioned above, in some implementations, the card writing request may include user identification information, which may be the identification information corresponding to the user applying for the target electronic card, such as user ID (Identity document).

[0061] Based on this, the aforementioned S220 may specifically include:

[0062] Based on the user identification information, the target electronic card organizer corresponding to the user is determined from multiple pre-registered electronic card organizers;

[0063] The electronic card service provider corresponding to the target electronic card organizer is selected from multiple electronic card service providers and designated as the target electronic card service provider.

[0064] For example, multiple electronic card organizers that access the aggregation platform can be registered in advance. After receiving a card writing request from a client, the electronic card organizer to which the user belongs can be determined based on the user identification information carried in the card writing request. Then, the electronic card organizer to which the user belongs can query the electronic card service providers that have an electronic card service relationship with the electronic card organizer and select them as the target electronic card service providers.

[0065] Taking a campus card as an example, in some specific cases, after receiving a campus card writing request sent by a mobile wallet app in a terminal electronic device, the user's school can be determined based on the user ID carried in the writing request. Then, the user's school can query the campus card service provider that handles the school's campus card service and select it as the target electronic card service provider.

[0066] In addition, regarding the second determination method described above, in some other implementations, the card writing request may include organizer information input by the user. For example, when adding a target electronic card to the target client, the user can select or manually input the organizer information corresponding to the organizer of the target electronic card to be added, wherein the organizer information can be information that can uniquely identify the organizer.

[0067] Based on this, the aforementioned S220 may specifically include:

[0068] Based on the organizer's information, the target electronic card organizer corresponding to the organizer's information is determined from among the multiple pre-registered electronic card organizers;

[0069] The electronic card service provider corresponding to the target electronic card organizer is selected from multiple electronic card service providers and designated as the target electronic card service provider.

[0070] For example, multiple electronic card organizers that access the aggregation platform can be registered in advance. After receiving a card writing request from a client, the platform can query electronic card service providers that have an electronic card service relationship with the electronic card organizer selected by the user based on the organizer information carried in the card writing request, and select such electronic card service providers as the target electronic card service providers.

[0071] Taking campus cards as an example, in some specific cases, after receiving a campus card writing request sent by a mobile wallet app in a terminal electronic device, the school selected by the user can be determined based on the school identifier corresponding to the school selected by the user carried in the writing request. Then, the school selected by the user can query the campus card service provider that undertakes the campus card service of the school, and become the target electronic card service provider.

[0072] In some implementations, in S230, the information carried in the card writing request may include, in addition to general user identification information, user identification information in the target client, such as user AppID, identification information corresponding to the electronic device where the target client is located, such as mobile phone ID, and key information, etc.

[0073] Based on this, before forwarding the card writing request to the target server corresponding to the target electronic card service provider, the aggregation platform can also process the information carried in the card writing request. For example, it can encrypt and decrypt other information based on the key information carried in the card writing request, or record logs based on the user's AppID and mobile phone ID. The information processing operations can be performed by the aggregation platform's TSM (Trusted Service Management).

[0074] Additionally, the target server can be the backend server of the target electronic card service provider, which stores data related to the target electronic card. After receiving a write request from the aggregation platform, the target server aggregates the received information, which is then processed by the target electronic card service provider (TSM) to generate card data corresponding to the target electronic card, i.e., the first card data. The target server can then return this first card data to the aggregation platform. At this point, the first card data still uses the electronic card service provider's data standard. It should be noted that an interface is established between the target electronic card service provider (TSM) and the aggregation platform, enabling information transmission between them.

[0075] In some implementations, in S240, after receiving the first card data returned by the target server, the aggregation platform can process the first card data, such as encryption / decryption, logging, etc., and then forward the first card data to the client corresponding to the target electronic card carrier, i.e., the target client.

[0076] After receiving the first card data, the target client corresponding to the target electronic card carrier can use a built-in target applet to convert the first card data into card data conforming to the target data standard, i.e., the second card data. The target data standard refers to the data standard adopted by the target electronic card carrier. Here, the data standard includes one or more of the following: encryption / decryption algorithms, business data standards, permission data standards, and data arrangement order.

[0077] In this way, the target client can perform a card writing operation based on the second card data obtained after data conversion, and complete the process of adding the target electronic card.

[0078] In addition, to improve the security of electronic card writing operations, user identity can be authenticated before initiating a writing request. Based on this, in some embodiments, before S210 above, the electronic card writing method provided in this application embodiment may further include:

[0079] Receive user identification information sent by the target client, wherein the user identification information is the user information corresponding to the user who applied for the target electronic card;

[0080] Obtain the real-name information corresponding to the user based on the user identification information;

[0081] Based on real-name information, the user's identity is mutually authenticated with the target electronic card organizer to obtain the authentication result, where the target electronic card organizer is the organizer of the target electronic card;

[0082] Send the authentication result to the target client, and if the target client confirms that the authentication result is successful, send a card writing request for the target electronic card to the aggregation platform.

[0083] For example, when a user invokes the target electronic card activation H5 page in the target client to activate the target electronic card, the target client can send user identification information to the aggregation platform. Upon receiving this user identification information, the aggregation platform can obtain the user's real-name information, such as name, gender, and ID number, from its built-in real-name authentication system, and synchronize this real-name information with the target electronic card organizer for mutual authentication of the user's identity. The aggregation platform returns the authentication result to the target client, allowing the target client to determine whether to send a card writing request to the aggregation platform based on the authentication result.

[0084] In this way, by having the aggregation platform connect with the organizer of the target electronic card before the card writing operation, and mutually verifying the user's identity, the probability of users illegally obtaining electronic cards that do not belong to them can be reduced, thereby improving the security of electronic card writing operations.

[0085] Figure 3 This is a flowchart illustrating a method for writing an electronic card according to an embodiment of this application. This method for writing an electronic card can be applied to, for example... Figure 1 The client corresponding to the electronic card carrier shown in the figure has a built-in target applet for data conversion in the client or the electronic device in which the client is located.

[0086] like Figure 3 As shown, the method for writing the electronic card can specifically include the following steps:

[0087] S310, Receive the first input from the user in the client to apply for the target electronic card;

[0088] S320, In response to the first input, send a write request for the target electronic card to the aggregation platform;

[0089] S330: Receive the first card data returned by the aggregation platform in response to the card write request;

[0090] S340. Use the target mini-program to convert the data of the first card according to the target data standard to obtain the data of the second card. The target data standard is the data standard corresponding to the electronic card carrier.

[0091] S350: Perform a card writing operation based on the data from the second card to obtain the target electronic card.

[0092] Therefore, by setting up an aggregation platform between electronic card carrier providers and electronic card service providers, the platform connects to multiple electronic card carrier providers and multiple electronic card service providers. The aggregation platform forwards write requests and acquires the first card data. Then, a built-in target mini-program transforms the first card data to obtain second card data that conforms to the target data standard of the electronic card carrier provider, thus enabling the write operation on the target electronic card. In this way, the target mini-program can uniformly convert card data from different electronic card service providers with different standards into card data that conforms to the data standard adopted by the current electronic card carrier provider. The electronic card service providers themselves do not need to change their original data standards; they can use the aggregation platform directly. This achieves interconnectivity between multiple electronic card carrier providers and multiple electronic card service providers, reducing resource waste, lowering maintenance difficulty and costs, while meeting diverse user needs.

[0093] The specific implementation methods for each of the above steps are described below.

[0094] In some implementations, in S310, the first input can be the input when the user opens the target electronic card activation page in the client, or the input when the user clicks to add the target electronic card in the client; there is no limitation here.

[0095] In some implementations, in S320, when the client receives the user's first input, it can directly send a write request for the target electronic card to the aggregation platform, or it can first authenticate the user's identity, and then send a write request for the target electronic card to the aggregation platform after successful authentication.

[0096] Based on this, in some implementations, the above-mentioned S320 may specifically include:

[0097] Send the user identification information corresponding to the user to the aggregation platform so that the aggregation platform can obtain the real name information corresponding to the user based on the user identification information, and perform mutual authentication with the target electronic card organizer based on the real name information to obtain the authentication result;

[0098] Receive the authentication result returned by the aggregation platform;

[0099] If the authentication result is successful, a write request for the target electronic card is sent to the aggregation platform.

[0100] For a detailed explanation of the user authentication process described above, please refer to the relevant sections in the foregoing embodiments; they will not be repeated here.

[0101] In some implementations, in S330, as described in the relevant parts of the foregoing embodiments, after receiving a write request for the target electronic card, the aggregation platform obtains the first card data corresponding to the target electronic card through the processing described in the relevant parts of the foregoing embodiments, and returns the first card data to the client corresponding to the electronic card carrier. The first card data uses the data standard of the electronic card service provider.

[0102] In some implementations, in S340, the target applet can be a plugin installed on the client or an applet set in the electronic device where the client resides, specifically integrated into the security chip of the electronic device. This target applet could be, for example, a super applet.

[0103] In this embodiment, the target mini-program collaborates with the aggregation platform, with the mini-program collecting and converting data according to the target data standard. This enables interconnection between multiple electronic card carriers and multiple electronic card service providers. The data conversion process includes, but is not limited to: processing different encryption / decryption algorithms, processing data with different business scopes and permissions required by different organizers, processing different user information, formats, and data modules, and processing different data orders.

[0104] In some implementations, in S350, after the data conversion process is completed and the second card data is obtained, a card writing operation on the target electronic card can be performed based on the second card data, thereby realizing the addition of the target electronic card in the client.

[0105] In addition, in some implementations, the aforementioned target mini-program may be configured with information templates corresponding to multiple electronic card service providers.

[0106] Based on this, the aforementioned S340 may specifically include:

[0107] Using the target mini-program, the first card data is converted into data that conforms to the target data standard based on the target information template, to obtain the second card data. The target information template is an information template corresponding to the target electronic card service provider, and the target electronic card service provider is the electronic card service provider that corresponds to the target electronic card among multiple electronic card service providers.

[0108] Here, the target mini-program can be set with information templates corresponding to different electronic card service providers. Based on this, when the client receives the first card data, it can perform data conversion processing on the first card data received from the target electronic card service provider based on the target information template corresponding to the target electronic card service provider, so as to convert it into second card data that conforms to the current electronic card carrier data standard.

[0109] It should be noted that the above information templates can be maintained and managed by the aggregation platform. Electronic card organizers can modify and update the information templates corresponding to the electronic card service providers that handle their electronic card business on the aggregation platform.

[0110] For processing different encryption and decryption algorithms, in some implementations, the step of using the target applet to convert the data of the first card into data conforming to the target data standard according to the target information template to obtain the data of the second card may specifically include:

[0111] The target mini-program uses the target information template to convert the first encryption and decryption algorithm used in the transmission of the first card data to obtain the second card data encrypted and decrypted using the second encryption and decryption algorithm. The target data standard includes the second encryption and decryption algorithm.

[0112] For example, if the first encryption / decryption algorithm used for the first card data is different from the second encryption / decryption algorithm in the target data standard, the first card data encrypted / decrypted using the first encryption / decryption algorithm can be converted into the second card data encrypted / decrypted using the second encryption / decryption algorithm based on the target information template.

[0113] For data processing based on the business scope and permissions required by different organizers, in some implementations, the step of converting the first card data into data conforming to the target data standard using the target mini-program according to the target information template to obtain the second card data may specifically include:

[0114] Using the target mini-program to perform data transformation on the business data in the first card data according to the target information template, a second card data conforming to the target business data standard is obtained, wherein the target data standard includes the target business data standard; and / or, using the target mini-program to perform data transformation on the permission data in the first card data according to the target information template, a second card data conforming to the target permission data standard is obtained, wherein the target data standard includes the target permission data standard.

[0115] For example, since different electronic card organizers require different business scopes and permissions for their electronic cards, the differentiated business and permission data can be uniformly converted into data that conforms to the current electronic card carrier's business data standards and permission data standards. Specifically, this can be achieved by taking the business data and / or permission data from the first card data and forming standardized second card data according to an information template.

[0116] For processing different user information, formats, and data modules, in some implementations, the step of using the target applet to convert the first card data into data conforming to the target data standard according to the target information template to obtain the second card data may specifically include:

[0117] Using the target mini-program, the data pattern of the first card data is converted according to the target information template to obtain the second card data that conforms to the target data pattern. The target data standard includes the target data pattern.

[0118] Here, the data pattern can specifically include one or more of the following: user information, format, data module, etc.

[0119] For example, the user information, format, data modules, etc. in the first card data provided by the target electronic card service provider can be standardized by referring to the information template corresponding to the target electronic card service provider, so as to mask the differences and output the data according to the data mode specified in the target data standard to obtain the second card data.

[0120] For processing different data orders, in some implementations, the step of using the target applet to convert the first card data into data conforming to the target data standard according to the target information template to obtain the second card data may specifically include:

[0121] Using the target mini-program, the data arrangement order of the first card data is transformed according to the target information template to obtain the second card data that conforms to the target data arrangement order. The target data standard includes the target data arrangement order.

[0122] For example, because the technical interface specifications and business processing requirements between the electronic card service provider and the electronic card bearer are different, the data arrangement order also differs. To address this, the information template corresponding to the target electronic card service provider can be referenced to standardize the data arrangement order in the first card data provided by the target electronic card service provider, and the data can be output according to the data arrangement order specified in the target data standard to obtain the second card data.

[0123] Based on this, the purpose of the above data conversion in the embodiments of this application is to realize information exchange between multiple different electronic card service providers and multiple different electronic card carriers without changing the existing interface modes of each party.

[0124] To better describe the entire solution, based on the above embodiments, we will take a campus card as an example and provide some specific examples.

[0125] For example, such as Figure 4 The flowchart shown illustrates the electronic card writing method. This electronic card writing method may include steps S401-S412, which will be explained in detail below.

[0126] S401. The terminal device applies to the aggregation platform to activate the campus card.

[0127] In some examples, campus card users can apply to activate their campus card through a mobile wallet app on their terminal device, which in turn triggers the mobile wallet app to send user ID and other relevant user information to the aggregation platform.

[0128] S402, Aggregation platform obtains real-name information.

[0129] In some examples, the aggregation platform can obtain a user's real-name information based on user information provided by the client, such as the user ID.

[0130] S403. The aggregation platform and the campus card organizer conduct mutual authentication of user identities.

[0131] S404, the aggregation platform returns the authentication result to the terminal device.

[0132] S405, The terminal device sends a card writing request to the aggregation platform.

[0133] In some examples, the terminal device can send a write card request to the aggregation platform if the authentication result is successful.

[0134] S406, the aggregation platform performs data processing.

[0135] In some examples, the aggregation platform can process the information carried in the write request, such as encryption / decryption and logging.

[0136] S407. The aggregation platform forwards the card writing request to the campus card service provider.

[0137] S408, Campus Card Service Provider generates Campus Card data.

[0138] In some examples, the backend server corresponding to the campus card service provider can interface with the aggregation platform to receive the card writing request and obtain and generate campus card data that conforms to the data standards of the campus card service provider based on the data carried in the card writing request.

[0139] S409, Campus Card Service Direction Aggregation Platform returns campus card data.

[0140] S410 and the aggregation platform process campus card data.

[0141] In some examples, the aggregation platform can process campus card data, such as encrypting / decrypting and logging.

[0142] S411, the aggregation platform forwards campus card data to terminal devices.

[0143] S412. The terminal device uses a super applet to perform data conversion processing on the campus card data, and performs the campus card writing operation based on the converted campus card data.

[0144] Therefore, by utilizing an aggregation platform to forward card writing requests and acquire campus card data, and then using a super applet built into the terminal device to convert the campus card data into data conforming to the data standards of the corresponding mobile phone manufacturers, the card writing operation can be realized. In this way, the super applet can uniformly convert campus card data of different standards provided by different campus card service providers into campus card data conforming to the data standards adopted by the mobile phone manufacturers corresponding to the current mobile wallet app. Campus card service providers themselves do not need to change their original data standards; they can use the aggregation platform directly. This achieves interconnection and interoperability between multiple campus card carriers and multiple campus card service providers, reducing resource waste, lowering operational difficulty and costs, while meeting diverse user needs.

[0145] It should be noted that the application scenarios described in the above embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0146] Based on the same inventive concept, this application also provides a card writing device for electronic cards. (Specifically combined with...) Figure 5 and Figure 6 Please provide a detailed explanation.

[0147] Figure 5 This is a schematic diagram of a card writing device for an electronic card according to an embodiment of this application. The card writing device is configured on an aggregation platform, which is used to connect to multiple electronic card carrier providers and multiple electronic card service providers. The client corresponding to each electronic card carrier provider, or the electronic device containing that client, has a built-in target applet for data conversion.

[0148] like Figure 5 As shown, the electronic card writing device 500 may include:

[0149] The first receiving module 501 is used to receive a card writing request for a target electronic card sent by a target client. The target client is a client corresponding to the target electronic card carrier, and the target electronic card carrier is any one of the plurality of electronic card carriers.

[0150] The first determining module 502 is used to determine, in response to the card writing request, the target electronic card service provider corresponding to the target electronic card from the plurality of electronic card service providers;

[0151] The first forwarding module 503 is used to forward the card writing request to the target server corresponding to the target electronic card service provider. The card writing request is used to instruct the target server to generate first card data corresponding to the target electronic card.

[0152] The second forwarding module 504 is used to receive the first card data returned by the target server and forward the first card data to the target client, so that the target client can use the target applet to convert the first card data according to the target data standard to obtain the second card data, and perform a card writing operation based on the second card data to obtain the target electronic card, wherein the target data standard is the data standard corresponding to the target electronic card carrier.

[0153] The card writing device 500 for the above-mentioned electronic card will be described in detail below:

[0154] In some embodiments, the electronic card writing device 500 further includes:

[0155] The second receiving module is used to receive user identification information sent by the target client before receiving the card writing request for the target electronic card sent by the target client, wherein the user identification information is the user information corresponding to the user who applied for the target electronic card;

[0156] The first acquisition module is used to acquire the real-name information corresponding to the user based on the user identification information;

[0157] The identity authentication module is used to perform mutual authentication between the user's identity and the target electronic card organizer based on the real-name information, and obtain the authentication result, wherein the target electronic card organizer is the organizer of the target electronic card;

[0158] The result sending module is used to send the authentication result to the target client, so that if the target client determines that the authentication result is successful, it can send a card writing request for the target electronic card to the aggregation platform.

[0159] In some embodiments, the card writing request includes user identification information, which is the identification information corresponding to the user applying for the target electronic card;

[0160] The first determining module 502 includes:

[0161] The first determining submodule is used to determine the target electronic card organizer corresponding to the user from the pre-registered multiple electronic card organizers based on the user identification information;

[0162] The second determining submodule is used to determine, from the plurality of electronic card service providers, the electronic card service provider corresponding to the target electronic card organizer, and to designate it as the target electronic card service provider.

[0163] In some embodiments, the write request includes organizer information input by the user;

[0164] The first determining module 502 includes:

[0165] The third determining submodule is used to determine the target electronic card organizer corresponding to the organizer information from the pre-registered multiple electronic card organizers based on the organizer information;

[0166] The fourth determination submodule is used to determine, from the plurality of electronic card service providers, the electronic card service provider corresponding to the target electronic card organizer, and to designate it as the target electronic card service provider.

[0167] Therefore, by setting up an aggregation platform between electronic card carriers and electronic card service providers, the aggregation platform connects to multiple electronic card carriers and multiple electronic card service providers. It determines the target electronic card service provider corresponding to the desired electronic card and forwards the card writing request sent by the client of the target electronic card carrier to that service provider. It also forwards and converts the returned first card data. This eliminates the need for electronic card carriers to directly interface with multiple different electronic card service providers; they only need to interface with the aggregation platform to achieve business integration with these providers. This reduces resource waste and lowers operational complexity and costs. Furthermore, since the aggregation platform can connect to multiple electronic card carriers, users can add electronic cards to the client provided by any of these carriers, thus meeting diverse user needs.

[0168] in addition, Figure 6 This is a schematic diagram of a writing device for an electronic card according to another embodiment of this application. The writing device can be configured on a client device corresponding to the electronic card carrier. The client device or the electronic device containing the client has a built-in target applet for data conversion.

[0169] like Figure 6 As shown, the electronic card writing device 600 may include:

[0170] The input receiving module 601 is used to receive the first input from the user applying for the target electronic card in the client.

[0171] The request sending module 602 is used to send a card writing request for the target electronic card to the aggregation platform in response to the first input;

[0172] The third receiving module 603 is used to receive the first card data returned by the aggregation platform in response to the card writing request;

[0173] The data conversion module 604 is used to convert the first card data according to the target data standard using the target applet to obtain the second card data, wherein the target data standard is the data standard corresponding to the electronic card carrier.

[0174] The card writing module 605 is used to perform a card writing operation based on the second card data to obtain the target electronic card.

[0175] The card writing device 600 for the above-mentioned electronic card is described in detail below:

[0176] In some embodiments, the request sending module 602 includes:

[0177] The identifier sending submodule is used to send user identifier information corresponding to the user to the aggregation platform, so that the aggregation platform can obtain real-name information corresponding to the user based on the user identifier information, and perform mutual authentication between the user's identity and the target electronic card organizer based on the real-name information to obtain the authentication result;

[0178] The result receiving submodule is used to receive the authentication result returned by the aggregation platform;

[0179] The request sending submodule is used to send a card writing request for the target electronic card to the aggregation platform when the authentication result is successful.

[0180] In some embodiments, the target mini-program is provided with information templates corresponding to multiple electronic card service providers;

[0181] The data conversion module 604 includes:

[0182] The conversion submodule is used to convert the first card data into data that conforms to the target data standard according to the target information template using the target applet, so as to obtain the second card data;

[0183] The target information template is an information template corresponding to the target electronic card service provider, and the target electronic card service provider is the electronic card service provider that corresponds to the target electronic card among the plurality of electronic card service providers.

[0184] In some embodiments, the conversion submodule can specifically be used for:

[0185] Using the target mini-program, the first encryption and decryption algorithm used in the transmission of the first card data is converted according to the target information template to obtain the second card data encrypted and decrypted using the second encryption and decryption algorithm;

[0186] The target data standard includes the second encryption / decryption algorithm.

[0187] In some embodiments, the conversion submodule can also be used for:

[0188] Using the target mini-program and based on the target information template, the business data in the first card data is transformed to obtain second card data that conforms to the target business data standard; wherein the target data standard includes the target business data standard; and / or,

[0189] The target mini-program is used to perform data transformation on the permission data in the first card data according to the target information template to obtain the second card data that conforms to the target permission data standard, wherein the target data standard includes the target permission data standard.

[0190] In some embodiments, the conversion submodule can also be used for:

[0191] The target mini-program is used to convert the data pattern of the first card data according to the target information template to obtain the second card data that conforms to the target data pattern;

[0192] The target data standard includes the target data pattern.

[0193] In some embodiments, the conversion submodule can also be used for:

[0194] Using the target mini-program, the data arrangement order of the first card data is transformed according to the target information template to obtain the second card data that conforms to the target data arrangement order;

[0195] The target data standard includes the target data arrangement order.

[0196] Therefore, by setting up an aggregation platform between electronic card carrier providers and electronic card service providers, the platform connects to multiple electronic card carrier providers and multiple electronic card service providers. The aggregation platform forwards write requests and acquires the first card data. Then, a built-in target mini-program transforms the first card data to obtain second card data that conforms to the target data standard of the electronic card carrier provider, thus enabling the write operation on the target electronic card. In this way, the target mini-program can uniformly convert card data from different electronic card service providers with different standards into card data that conforms to the data standard adopted by the current electronic card carrier provider. The electronic card service providers themselves do not need to change their original data standards; they can use the aggregation platform directly. This achieves interconnectivity between multiple electronic card carrier providers and multiple electronic card service providers, reducing resource waste, lowering maintenance difficulty and costs, while meeting diverse user needs.

[0197] Figure 7 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application.

[0198] The electronic device 700 may include a processor 701 and a memory 702 storing computer program instructions.

[0199] Specifically, the processor 701 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0200] Memory 702 may include mass storage for data or instructions. For example, and not limitingly, memory 702 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 702 may include removable or non-removable (or fixed) media. Where appropriate, memory 702 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 702 is non-volatile solid-state memory.

[0201] In certain embodiments, the memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Thus, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this application.

[0202] The processor 701 reads and executes computer program instructions stored in the memory 702 to implement any of the electronic card writing methods in the above embodiments.

[0203] In some examples, the electronic device 700 may also include a communication interface 703 and a bus 710. For example, Figure 7 As shown, the processor 701, memory 702, and communication interface 703 are connected through bus 710 and complete communication with each other.

[0204] The communication interface 703 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0205] Bus 710 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not as a limitation, bus 710 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 710 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.

[0206] For example, the electronic device 700 can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc.

[0207] The electronic device 700 can execute the electronic card writing method in the embodiments of this application, thereby achieving the combination Figures 2 to 6 The method and apparatus for writing electronic cards are described.

[0208] Furthermore, in conjunction with the electronic card writing method in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the electronic card writing methods in the above embodiments. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, etc.

[0209] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0210] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0211] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0212] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0213] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A method for writing to an electronic card, characterized in that, The method is applied to an aggregation platform that connects to multiple electronic card carriers and multiple electronic card service providers. The client device corresponding to each electronic card carrier, or the electronic device containing that client, has a built-in target mini-program for data conversion. This target mini-program is configured with information templates corresponding to each of the multiple electronic card service providers. The system receives a write request for a target electronic card from a target client, where the target client is a client corresponding to the target electronic card carrier, and the target electronic card carrier is any one of the multiple electronic card carriers. The write request is triggered when the user enters the electronic card activation page or adds the target electronic card in the target client, and the request is generated by the target client and sent to the aggregation platform. In response to the card writing request, a target electronic card service provider corresponding to the target electronic card is determined from the plurality of electronic card service providers; The card writing request is forwarded to the target server corresponding to the target electronic card service provider. The card writing request is used to instruct the target server to generate first card data corresponding to the target electronic card. The first card data adopts the data standard of the target electronic card service provider. The system receives the first card data returned by the target server and forwards it to the target client. The target client then uses the target mini-program to convert the first card data according to the target data standard to obtain second card data. Based on the second card data, the system performs a card writing operation to obtain the target electronic card. The second card data conforms to the target data standard, which is the data standard corresponding to the target electronic card carrier. The target client uses the target mini-program to convert one or more of the encryption / decryption algorithms, business data, permission data, data patterns, and data arrangement order of the first card data according to the target information template to obtain the second card data. The target information template is an information template corresponding to the target electronic card service provider.

2. The method according to claim 1, characterized in that, Before receiving the write request for the target electronic card sent by the target client, the method further includes: Receive user identification information sent by the target client, wherein the user identification information is user information corresponding to the user who applied for the target electronic card; Obtain the real-name information corresponding to the user based on the user identification information; Based on the real-name information, the user's identity is mutually authenticated with the target electronic card organizer to obtain the authentication result, wherein the target electronic card organizer is the organizer of the target electronic card; The authentication result is sent to the target client, so that if the target client determines that the authentication result is successful, a card writing request for the target electronic card is sent to the aggregation platform.

3. The method according to claim 1, characterized in that, The card writing request includes user identification information, which is the identification information corresponding to the user applying for the target electronic card; The step of determining the target electronic card service provider corresponding to the target electronic card from the plurality of electronic card service providers includes: Based on the user identification information, the target electronic card organizer corresponding to the user is determined from a plurality of pre-registered electronic card organizers; The electronic card service provider corresponding to the target electronic card organizer is determined from the plurality of electronic card service providers and is designated as the target electronic card service provider.

4. The method according to claim 1, characterized in that, The card writing request includes the organizer information entered by the user; The step of determining the target electronic card service provider corresponding to the target electronic card from the plurality of electronic card service providers includes: Based on the organizer information, a target electronic card organizer corresponding to the organizer information is determined from a plurality of pre-registered electronic card organizers; The electronic card service provider corresponding to the target electronic card organizer is determined from the plurality of electronic card service providers and is designated as the target electronic card service provider.

5. A method for writing to an electronic card, characterized in that, The method is applied to a client corresponding to an electronic card carrier, wherein the client or the electronic device containing the client has a built-in target mini-program for data conversion, and the target mini-program is configured with information templates corresponding to multiple electronic card service providers. The method includes: Receive the user's first input in the client to apply for the target electronic card; In response to the first input, a write request for the target electronic card is sent to the aggregation platform. The write request is a request generated by the target client and sent to the aggregation platform when the user enters the electronic card activation page or adds the target electronic card in the target client. The aggregation platform receives the first card data returned in response to the card writing request, wherein the first card data adopts the data standard of the target electronic card service provider; The target mini-program is used to convert the first card data according to the target data standard to obtain the second card data, wherein the second card data is card data that conforms to the target data standard, and the target data standard is the data standard corresponding to the electronic card carrier. Based on the data from the second card, a card writing operation is performed to obtain the target electronic card; The step of using the target mini-program to convert the first card data according to the target data standard to obtain the second card data includes: The target mini-program is used to convert one or more of the encryption / decryption algorithms, business data, permission data, data patterns, and data arrangement order of the first card data according to the target information template to obtain the second card data. The target information template is an information template corresponding to the target electronic card service provider, and the target electronic card service provider is the electronic card service provider that corresponds to the target electronic card among the plurality of electronic card service providers.

6. The method according to claim 5, characterized in that, Sending a write request for the target electronic card to the aggregation platform includes: Send user identification information corresponding to the user to the aggregation platform, so that the aggregation platform can obtain real-name information corresponding to the user based on the user identification information, and perform mutual authentication between the user's identity and the target electronic card organizer based on the real-name information to obtain the authentication result; Receive the authentication result returned by the aggregation platform; If the authentication result is successful, a write request for the target electronic card is sent to the aggregation platform.

7. The method according to claim 5, characterized in that, Using the target mini-program based on the target information template, the first card data is converted into data conforming to the target data standard to obtain the second card data, including: Using the target mini-program, the first encryption and decryption algorithm used in the transmission of the first card data is converted according to the target information template to obtain the second card data encrypted and decrypted using the second encryption and decryption algorithm; The target data standard includes the second encryption / decryption algorithm.

8. The method according to claim 5, characterized in that, Using the target mini-program based on the target information template, the first card data is converted into data conforming to the target data standard to obtain the second card data, including: Using the target mini-program and based on the target information template, the business data in the first card data is transformed to obtain second card data that conforms to the target business data standard; wherein the target data standard includes the target business data standard; and / or, The target mini-program is used to perform data transformation on the permission data in the first card data according to the target information template to obtain the second card data that conforms to the target permission data standard, wherein the target data standard includes the target permission data standard.

9. The method according to claim 5, characterized in that, Using the target mini-program based on the target information template, the first card data is converted into data conforming to the target data standard to obtain the second card data, including: The target mini-program is used to convert the data pattern of the first card data according to the target information template to obtain the second card data that conforms to the target data pattern; The target data standard includes the target data pattern.

10. The method according to claim 5, characterized in that, Using the target mini-program based on the target information template, the first card data is converted into data conforming to the target data standard to obtain the second card data, including: Using the target mini-program, the data arrangement order of the first card data is transformed according to the target information template to obtain the second card data that conforms to the target data arrangement order; The target data standard includes the target data arrangement order.

11. A card writing device for an electronic card, characterized in that, Configured on an aggregation platform, the aggregation platform is used to connect to multiple electronic card carriers and multiple electronic card service providers. The client corresponding to each electronic card carrier, or the electronic device containing that client, has a built-in target mini-program for data conversion. The target mini-program is configured with information templates corresponding to each of the multiple electronic card service providers. The device includes: The first receiving module is used to receive a card writing request for a target electronic card sent by a target client. The target client is a client corresponding to the target electronic card carrier. The target electronic card carrier is any one of the multiple electronic card carriers. The card writing request is a request generated by the target client and sent to the aggregation platform when the user enters the electronic card activation page or adds the target electronic card in the target client. The first determining module is used to determine, in response to the card writing request, the target electronic card service provider corresponding to the target electronic card from the plurality of electronic card service providers; The first forwarding module is used to forward the card writing request to the target server corresponding to the target electronic card service provider. The card writing request is used to instruct the target server to generate first card data corresponding to the target electronic card. The first card data adopts the data standard of the target electronic card service provider. The second forwarding module is used to receive the first card data returned by the target server and forward the first card data to the target client, so that the target client uses the target applet to convert the first card data according to the target data standard to obtain the second card data, and performs a card writing operation based on the second card data to obtain the target electronic card. The second card data is card data that conforms to the target data standard, and the target data standard is the data standard corresponding to the target electronic card carrier. The target client uses the target applet to convert one or more of the encryption / decryption algorithm, business data, permission data, data mode, and data arrangement order of the first card data according to the target information template to obtain the second card data. The target information template is an information template corresponding to the target electronic card service provider.

12. A card writing device for an electronic card, characterized in that, A client device configured on the electronic card carrier, wherein the client or the electronic device containing the client has a built-in target mini-program for data conversion, and the target mini-program has information templates corresponding to multiple electronic card service providers, the device comprising: The input receiving module is used to receive the first input from the user applying for the target electronic card in the client. The request sending module is used to send a card writing request for the target electronic card to the aggregation platform in response to the first input. The card writing request is a request generated by the target client and sent to the aggregation platform when the user enters the electronic card activation page or adds the target electronic card in the target client. The third receiving module is used to receive the first card data returned by the aggregation platform in response to the card writing request, wherein the first card data adopts the data standard of the target electronic card service provider; The data conversion module is used to convert the first card data according to the target data standard using the target applet to obtain the second card data, wherein the second card data is card data that conforms to the target data standard, and the target data standard is the data standard corresponding to the electronic card carrier. The card writing module is used to perform a card writing operation based on the second card data to obtain the target electronic card; The data conversion module includes: The conversion submodule is used to use the target applet to convert one or more of the encryption / decryption algorithm, business data, permission data, data mode, and data arrangement order of the first card data according to the target information template, so as to obtain the second card data. The target information template is an information template corresponding to the target electronic card service provider, and the target electronic card service provider is the electronic card service provider that corresponds to the target electronic card among the plurality of electronic card service providers.

13. An electronic device, characterized in that, The device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the steps of the electronic card writing method as described in any one of claims 1-4 or 5-10.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the steps of the electronic card writing method as described in any one of claims 1-4 or 5-10.

15. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the steps of the electronic card writing method as described in any one of claims 1-4 or 5-10.

Citation Information

Patent Citations

  • Over-the-air card activating method based on SWP-SIM card of NFC mobile phone

    CN104602224A

  • All-purpose card aggregation recharging method, device and system

    CN110766399A

  • Opening method, using method and system of composite transportation card based on eID

    CN113194195A