Card customization methods, devices, equipment, media and products
By pre-recording video clips and splicing them with user identity information and using blockchain for evidence storage, the problems of uniqueness of video content and anti-counterfeiting credibility in card customization are solved, realizing efficient personalized generation and anti-counterfeiting capabilities for batch card customization.
Patent Information
- Application Number
- CN202611475939.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-21
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, card customization cannot meet the personalized needs of mass production scenarios, cannot ensure the uniqueness of video content and the anti-counterfeiting credibility of card ownership certificates, especially since dynamic digital content cannot be mounted on physical cards.
By pre-recording video clips, combining them with user identity information, and using blockchain to generate a unique access point, the uniqueness and anti-counterfeiting credibility of the video content are ensured.
It enables efficient generation and personalized adaptation of video content in batch card customization scenarios, ensures the uniqueness and anti-counterfeiting capabilities of card ownership certificates, reduces computing power consumption and time consumption, and guarantees the authenticity of video content through the immutability of blockchain.
Smart Images

Figure CN123118092A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of financial technology and data processing technology, and in particular to a card customization method, apparatus, device, medium and product. Background Technology
[0002] Customized bank cards and other cards are gradually evolving from single-function tools to digital and scenario-based service carriers.
[0003] In related technologies, card customization often adopts static graphic design, which, limited by the physical card's form, cannot incorporate dynamic digital content such as video. Based on personalized customization needs, it cannot adapt to mass card customization scenarios, nor can it ensure the uniqueness of video content, thus compromising the uniqueness of the card's ownership certificate and its anti-counterfeiting credibility.
[0004] Therefore, how to improve video generation efficiency while ensuring card anti-counterfeiting in card customization scenarios has become an urgent technical problem to be solved. Summary of the Invention
[0005] This application provides a card customization method, apparatus, device, medium, and product to adapt to batch card customization scenarios based on personalized customization needs, ensure the uniqueness of video content, and guarantee the uniqueness and anti-counterfeiting credibility of card ownership certificates.
[0006] In a first aspect, embodiments of this application provide a card customization method, including:
[0007] Acquire pre-recorded video clips;
[0008] The user identity information obtained after authorization is spliced with video clips to generate a customized video;
[0009] Customized videos are stored on the blockchain and an access point for the customized videos is generated, which is then set on the card.
[0010] In one possible embodiment, the card includes a bank card, and the method further includes, prior to generating the access point for the customized video:
[0011] Based on a preset style transfer model, user spending data from bank cards is converted into target text that conforms to a preset style. The user spending data is obtained with authorization, and the target text is used to send to the user account linked to the bank card.
[0012] In one possible embodiment, the method further includes:
[0013] Determine user profiles based on user-related data obtained after authorization;
[0014] Adjusting model parameters of the style transfer model based on user profiles;
[0015] The updated target text is generated using a style transfer model with adjusted model parameters.
[0016] In one possible embodiment, the blockchain includes a main chain and side chains, and blockchain-based notarization of customized videos includes:
[0017] Extract the metadata of the customized video and generate the hash value of the customized video;
[0018] Storing metadata in the sidechain and hash values in the main chain.
[0019] In one possible embodiment, the method further includes:
[0020] Before a user accesses the corresponding access point, the user's identity is verified through biometric identification to obtain the biometric identification result;
[0021] If the biometric identification result indicates that the user's identity has been verified, the system will respond to the user by allowing them to access the corresponding access point.
[0022] If the biometric identification result indicates that the user's identity has not been verified, a prompt will be generated indicating that access to the corresponding access point is not supported.
[0023] In one possible embodiment, the process of splicing authorized user identity information with video clips to generate a customized video includes:
[0024] Extract target segments from video clips that contain generic placeholders;
[0025] The user identity information is matched and replaced with the common placeholders in the target segment to obtain a video sub-segment that includes the user identity information.
[0026] A customized video is generated by aligning a video segment containing user identity information with the rest of the video segment along the timeline.
[0027] In one possible embodiment, generating an access point includes one of the following:
[0028] Encode the short link of the customized video into a QR code pattern;
[0029] Generate a short link to the customized video as a Uniform Resource Locator;
[0030] Embed short links to custom videos into Hypertext Markup Language files.
[0031] In one possible embodiment, pre-recorded video clips and / or elements within pre-recorded video clips allow for user selection.
[0032] Secondly, embodiments of this application provide a card customization device, comprising:
[0033] The acquisition module is used to acquire pre-recorded video clips;
[0034] The splicing module is used to splice the authorized user identity information with video clips to generate a customized video;
[0035] The generation module is used to store customized videos on the blockchain and generate access points for the customized videos. These access points are set on the card.
[0036] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0037] The memory stores instructions that the computer executes;
[0038] The processor executes computer execution instructions stored in memory, causing the processor to perform the methods described above.
[0039] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided above.
[0040] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described above.
[0041] The card customization method, apparatus, device, medium, and product provided in this application embodiment can centrally produce general content in the early stage by acquiring pre-recorded video clips, so that subsequent production no longer depends on recording the entire video segment one by one. The video generation link is transformed into a material calling and splicing processing link, which meets the processing requirements of batch business requests and personalized output coexisting in customization scenarios.
[0042] By splicing user identity information obtained after authorization with video clips to generate customized videos, it is possible to create exclusive video content associated with specific users while maintaining the reuse of pre-recorded materials, and to maintain good content consistency in the output results during batch generation.
[0043] By storing customized videos on the blockchain and generating access points for those videos, these access points are set on the cards. Once output, the customized video becomes a verifiable on-chain record, and the access point on the card is uniquely linked to the card. This ensures that each card corresponds to only one access point and one customized video, guaranteeing the uniqueness of the card's ownership certificate. Furthermore, the immutability of the blockchain allows for verification of the original integrity of the customized video at any time, preventing tampering and replacement. This ensures the digital certificate accompanying the card is unforgeable, enhancing the uniqueness and anti-counterfeiting credibility of the card's ownership certificate.
[0044] This establishes a processing chain from content preparation, personalized generation, and credible evidence storage to card delivery. This chain transforms video content generation in customized services from full-segment recording to segment reuse and splicing, significantly reducing the computational power consumption and time required for personalized customization. Simultaneously, by binding a unique on-chain evidence video to the card's unique entry point, offline card verification and on-chain data anti-counterfeiting and rights confirmation are achieved, thereby ensuring the uniqueness of the card's ownership certificate and enhancing its anti-counterfeiting capabilities. Attached Figure Description
[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0046] Figure 1 A schematic diagram of the system architecture of the card customization method, apparatus, device, medium and product according to embodiments of this application;
[0047] Figure 2 A flowchart of a card customization method according to an embodiment of this application;
[0048] Figure 3 A flowchart illustrating a card customization method according to yet another embodiment of this application;
[0049] Figure 4 This is a schematic diagram of the card customization device according to an embodiment of this application;
[0050] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application.
[0051] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0052] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application.
[0053] It should be noted that the user-related information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of the relevant data all comply with the relevant laws, regulations, and standards of the relevant countries and regions, have taken necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation portals for users to choose to authorize or refuse.
[0054] This application relates to the field of data processing technology, specifically to card customization, digital content management technology, and fintech. It should also be noted that the video generation and recognition methods, apparatus, devices, media, and products provided in this application can be applied to the field of fintech, or to any other field outside of fintech, and no limitations are imposed herein.
[0055] The following explanation will use bank cards as an example. In related technologies, card customization often adopts static graphic design, which, due to the physical form of the card, cannot carry dynamic digital content such as video. For example, the chip storage capacity of a physical card is only a few KB to tens of KB, which, due to hardware physical parameters, cannot store large amounts of dynamic video data.
[0056] Due to the personalized customization needs, this approach cannot adapt to mass card customization scenarios and cannot ensure the uniqueness of video content, thus failing to guarantee the uniqueness of card ownership certificates and the credibility of anti-counterfeiting measures. For example, in related technologies, cards rely solely on external anti-counterfeiting labels, chip keys, and static card numbers for anti-counterfeiting verification. All anti-counterfeiting features are fixed to the card itself, resulting in vulnerabilities such as single anti-counterfeiting measures and the ability to be copied.
[0057] To address the aforementioned technical challenges, this application introduces video fragmentation generation and on-chain trusted recording into the card customization business. Pre-recorded video fragments retain general content, while user identity information is spliced with the video fragments during the generation phase. Customized content no longer relies on complete recording of each segment individually, thus simultaneously improving video content production efficiency and personalization adaptability to meet personalized customization needs and batch card customization scenarios.
[0058] For the generated digital content, the access point is set on the card. Users can access the corresponding video content through the access point on the physical card. The customized video is stored on the blockchain after output, and the source and integrity of the content have a verifiable basis, thereby ensuring the uniqueness and anti-counterfeiting credibility of the card ownership certificate.
[0059] Figure 1 This is a system architecture diagram of the card customization method, apparatus, device, medium, and product according to embodiments of this application.
[0060] like Figure 1 As shown, the system architecture includes: a video recording platform 1, electronic devices 2, a blockchain platform 3, and user terminals 4.
[0061] The video recording platform 1 is used to pre-record video clips. The electronic device 2 is used to execute the card customization method of this application embodiment based on the pre-recorded video clips. The blockchain platform 3 is used for customized video storage. The terminal device 4 is used to access the access portal on the card 5 to read and play the customized video.
[0062] It should be noted that, Figure 1 The system architecture shown is merely an example, and the embodiments of this application do not limit the specific form of the system architecture.
[0063] Figure 2 A flowchart illustrating a card customization method according to an embodiment of this application. (In conjunction with...) Figure 1 The system architecture allows the card customization method to be executed by electronic device 2.
[0064] like Figure 2 As shown, the card customization method of this application embodiment includes steps S201 to S203.
[0065] S201. Obtain a pre-recorded video clip.
[0066] Pre-recorded video clips can be understood as video materials that have been produced and stored before the generation of customized videos, and are used as the basis for the subsequent generation of customized videos.
[0067] In one possible embodiment, the pre-recorded video clips can be multi-dimensional data, such as image data, audio data, and text data, to support multi-dimensional personalized customization and improve the anti-counterfeiting capabilities of customized videos.
[0068] S202. The user identity information obtained after authorization is spliced with the video clips to generate a customized video.
[0069] User identity information can be understood as personalized content provided with the explicit authorization of the user, including at least information items that can reflect the user's unique characteristics.
[0070] For example, user identity information may include name, avatar, or authorized displayable nickname, anniversary text, membership identifier, or other information directly related to the card customization business.
[0071] For example, the authorization process for the user identity information mentioned here, as well as the authorization process for other data mentioned below, can be completed in applications, web application pages, self-service terminals, or counter auxiliary terminals. The authorization time, authorization method, and scope of authorized content can be recorded to generate an authorization credential identifier associated with this video generation task. After receiving the authorized user identity information, the electronic device can first perform format verification and content compliance verification. If the verification is successful, the user identity information can be used to splice the video segments.
[0072] In one possible embodiment, the electronic device can combine user identity information with video clips to associate the generated video content with the user, output a customized video, and generate a task number, file storage path, duration, resolution, and content summary corresponding to the customized video. The customized video is the final personalized video result generated by the card customization method of this application embodiment, and is used for subsequent evidence storage and access entry generation.
[0073] S203. Storing the customized video on the blockchain and generating an access point for the customized video, which is then set on the card.
[0074] A card can be understood as a physical medium that carries the access point.
[0075] In this embodiment, after the customized video is generated, it enters the trusted management and access publishing stage. Blockchain notarization is used to immutably record relevant information of the customized video, and the access portal allows users to access the corresponding customized video through a card. Specifically, the electronic device can perform blockchain notarization processing on the customized video to form a corresponding notarization result. In this way, when it is necessary to verify the authenticity of the video later, verification can be performed based on the on-chain record.
[0076] After blockchain notarization is completed, the electronic device generates an access point for the customized video. This access point serves as a identifiable identifier that allows users to access the customized video. Once generated, the access point can be set on a card through a card-making process.
[0077] In this embodiment of the application, a customized video is generated by splicing user identity information obtained after authorization with video clips.
[0078] The card customization method of this application embodiment can centrally produce general content in the early stage by acquiring pre-recorded video clips, so that subsequent production no longer depends on recording the entire video segment one by one. The video generation link is transformed into a material calling and splicing processing link, which meets the processing requirements of batch business requests and personalized output in the customization scenario.
[0079] By splicing user identity information obtained after authorization with video clips to generate customized videos, it is possible to create exclusive video content associated with specific users while maintaining the reuse of pre-recorded materials, and to maintain good content consistency in the output results during batch generation.
[0080] By storing customized videos on the blockchain and generating access points for those videos, these access points are set on the cards. Once output, the customized video becomes a verifiable on-chain record, and the access point on the card is uniquely linked to the card. This ensures that each card corresponds to only one access point and one customized video, guaranteeing the uniqueness of the card's ownership certificate. Furthermore, the immutability of the blockchain allows for verification of the original integrity of the customized video at any time, preventing tampering and replacement. This ensures the digital certificate accompanying the card is unforgeable, enhancing the uniqueness and anti-counterfeiting credibility of the card's ownership certificate.
[0081] This establishes a processing chain from content preparation, personalized generation, and credible evidence storage to card delivery. This chain transforms video content generation in customized services from full-segment recording to segment reuse and splicing, significantly reducing the computational power consumption and time required for personalized customization. Simultaneously, by binding a unique on-chain evidence video to the card's unique entry point, offline card verification and on-chain data anti-counterfeiting and rights confirmation are achieved, thereby ensuring the uniqueness of the card's ownership certificate and enhancing its anti-counterfeiting capabilities.
[0082] It should be understood that the above examples are for illustrative purposes only and are not intended to be limiting.
[0083] In one possible embodiment, the card includes a bank card. Prior to generating the access point for the customized video in step S203, the card customization method further includes step S204.
[0084] S204. Based on the preset style transfer model, the user consumption data of bank cards is converted into target text that conforms to the preset style.
[0085] User consumption data is obtained with authorization, and the target text is used to send to the user account linked to the bank card.
[0086] In one possible embodiment, after acquiring authorized user consumption data, the electronic device can structure and organize the data fields, and input information such as consumption amount, merchant name, and consumption time into a preset style transfer model. This style transfer model can semantically reorganize and adjust the tone of the input data based on a pre-trained text generation network, ensuring that the output target text maintains an expression consistent with the preset style. This expression could be, for example, emotional, blessing, or commemorative copy. For instance, it could generate target text like "A cup of coffee in the morning is a small happiness in life" for users who prefer coffee.
[0087] For example, the model parameters of the style transfer model can be adapted by combining the preference information of the user account linked to the bank card, so that the generated content matches the user's reading habits. The generated target text is output to the user account via a message sending interface and is displayed in conjunction with the subsequently generated customized video access entry.
[0088] In this embodiment, the electronic device first generates stylized target text from the authorized user's consumption data, and then sends the target text to the user's account, thereby ensuring that the bank card consumption information and the customized video content maintain a consistent and personalized expression. Because the user's consumption data is authorized before being generated, and the target text is transformed by the model before being sent, the content received by the account side can have both transaction relevance and stylistic consistency.
[0089] This allows bank card-related spending alerts to no longer be limited to the original transaction fields, but to be presented in target text that conforms to a preset style, so that the message content forms a consistent and personalized expression with customized videos and card services, while ensuring that the data source is authorized and the content output path is clear and controllable.
[0090] In one possible embodiment, the video clips could be recorded by public figures with authorization, giving the customized videos publicly identifiable features such as facial features and voiceprints to enhance their anti-counterfeiting capabilities. Additionally, having public figures record video clips can also increase user engagement.
[0091] In one possible embodiment, the card customization method further includes steps S205 to S207. Steps S205 to S207 may be performed before step S204.
[0092] S205. Determine the user profile based on the user-related data obtained after authorization.
[0093] For example, after obtaining authorization, the electronic device first cleans, denoises, and normalizes the user-related data, and then maps information such as consumption amount range, transaction type, common merchant categories, and content preferences into feature vectors through feature encoding, and generates corresponding user profiles accordingly.
[0094] S206. Adjust the model parameters of the style transfer model based on user profiles.
[0095] For example, electronic devices dynamically adjust the word vector weights, style control coefficients, or decoding temperature parameters of the style transfer model based on the preference intensity reflected in the user profile, so that the style transfer model with adjusted model parameters can adapt to the corresponding user's expression habits when outputting consumption reminder copy.
[0096] S207. Generate updated target text using the style transfer model with adjusted model parameters.
[0097] For example, after the model parameters of the style transfer model are adjusted, the electronic device can use the user's consumption data as input again, and the style transfer model with the adjusted model parameters can generate an updated target text. The updated target text is more in line with the usage scenario of the corresponding user account in terms of tone, vocabulary selection and scene matching compared with the target text before adjustment.
[0098] In this embodiment of the application, user-related data obtained after authorization is transformed into user profiles, and then the user profiles drive the changes in the model parameters of the style transfer model, so that the style transfer model can output target text of different styles for different users, thereby making the consumption reminder content consistent with user characteristics and improving user experience.
[0099] In one possible embodiment, the blockchain includes a main chain and side chains. Step S203, which involves blockchain-based notarization of the customized video, includes steps S2031 to S2032.
[0100] S2031. Extract the metadata of the customized video and generate the hash value of the customized video.
[0101] For example, after a customized video is generated, the electronic device can first parse the video file to read header information, encoding information, etc., and organize the information that can be used to characterize the video source and generation environment into metadata. Subsequently, the electronic device uses a preset hash algorithm to perform calculations on the entire customized video file and outputs the corresponding hash value.
[0102] S2032, Store metadata to the sidechain and hash values to the main chain.
[0103] For example, when metadata is written to the sidechain, it can be stored on the chain using a data record associated with the identifier of the customized video, allowing the sidechain to carry extended information about the customized video. When the hash value is written to the main chain, it is solidified into the main chain as core data for subsequent verification of the integrity of the customized video.
[0104] For example, the main chain can use a ledger with high consensus strength to store hash values, while the side chain can use a ledger with high scalability to store metadata. The two are linked by a custom video identifier.
[0105] In this embodiment, the integrity verification information and metadata of customized videos are respectively stored on the main chain and side chain through a hierarchical storage method of main chain and side chain. That is, the verification data and extended data of customized videos are stored separately. The main chain focuses on integrity verification, while the side chain focuses on information retention and management query. When verifying customized videos, it is only necessary to recalculate the video hash value and compare it with the record in the main chain to determine whether the video has been tampered with. When it is necessary to trace the source or generation environment of customized videos, the metadata in the side chain can be read for auxiliary verification. This not only preserves the source attributes of customized videos, but also enables content consistency verification through hash values, thereby making the on-chain evidence of customized videos have clear traceability and verifiability. This hierarchical on-chain method can also control on-chain storage costs to support efficient evidence storage and rapid verification of customized videos for a large number of users.
[0106] Unlike the previous embodiment, in another embodiment, metadata can be stored as evidence, that is, metadata is saved to an electronic device and its credentials are retained.
[0107] In one possible embodiment, the card customization method further includes steps S208 to S210. Steps S208 to S210 may be performed after step S203.
[0108] S208. Before a user accesses the corresponding access point, the user's identity is verified through biometric identification, and the biometric identification result is obtained.
[0109] In one possible embodiment, when a user initiates an access request by carrying a card with an access point or by scanning the access point with a terminal device, the electronic device can first use the terminal device's camera or other biometric acquisition components to acquire the user's facial image, fingerprint features, or iris features. The acquired features are then subjected to liveness detection, feature extraction, and feature encoding to generate a feature vector to be compared. The electronic device then matches this feature vector with template features in a pre-stored authorized feature library. These pre-stored features can be biometric templates that have been authorized and encrypted during user card application, account registration, or content binding. If the matching result reaches a set threshold, a biometric identification result indicating successful user identification is output; otherwise, a biometric identification result indicating unsuccessful user identification is output.
[0110] For example, electronic devices can use facial recognition algorithms, fingerprint recognition algorithms, or multimodal fusion recognition algorithms to perform comparisons. Of course, the embodiments of this application do not limit the biometric identification method.
[0111] S209. If the biometric identification result indicates that the user's identity has been verified, respond to the user's access to the corresponding access point.
[0112] S210. If the biometric recognition result indicates that the user's identity has not been verified, generate prompt data indicating that access to the corresponding access point is not supported.
[0113] In one possible embodiment, when the biometric identification result indicates that the user's identity has been verified, the electronic device can parse the access point into an access authorization instruction for the corresponding customized video and return a redirect link, playback token, or page authorization information to the terminal device, allowing the user to continue accessing the access point and enter the corresponding customized video page. When the biometric identification result indicates that the user's identity has not been verified, the electronic device can generate prompt data and output it to the terminal device. The prompt data can be in the form of an interface pop-up, text prompt, or message notification, clearly indicating that the current user does not support access to the access point and that the electronic device will not grant them video playback permissions. Through the above control method, the access point is only open to users who have completed biometric verification.
[0114] In this embodiment, the electronic device adds an identity verification step before accessing the customized video, binding the access point to the authorized user. Unverified access requests are blocked and a prompt is displayed, making access control for the customized video clearer and the correspondence between access permissions and user identity more stable. Furthermore, it prevents privacy leaks due to lost cards, adapts to complex scenarios, and improves verification robustness.
[0115] In one possible embodiment, step S202, which involves splicing the authorized user identity information with the video clip to generate a customized video, includes steps S2021 to S2023.
[0116] S2021. Extract the target segment containing a common placeholder from the video clip.
[0117] For example, an electronic device can first perform shot segmentation and layer parsing on the video clip, identify pre-set universal placeholders, and extract the corresponding target clip based on the time range of the universal placeholders. The universal placeholders can be set in the video clip in the form of transparent masks, text placeholders, etc., and their size and position can be predetermined for easy replacement later.
[0118] S2022. Match and replace the user identity information with the general placeholder in the target segment to obtain a video sub-segment that includes the user identity information.
[0119] For example, after the target segment is extracted, the electronic device can retrieve the user's identity information based on the authorization result, and map the user's identity information to the corresponding position of the general placeholder to generate a video sub-segment containing the user's identity information.
[0120] For text-based user identity information, the electronic device can render it according to preset font, font size, and character spacing; for avatar-based user identity information, the electronic device can crop, scale, and blend the avatar with transparent borders according to the size of the avatar placeholder frame. Of course, in practical applications, this universal placeholder can also choose other display formats, and this application does not limit it in this regard.
[0121] S2023. Align the video sub-segment containing user identity information with the other parts of the video segment on the timeline to generate a customized video.
[0122] For example, after generating video segments, the electronic device performs frame rate calibration and timing synchronization between the segments and their preceding and following content. It also adjusts transition frames, transition durations, and layer stacking relationships to ensure the insertion position of the replacement area matches the rhythm of the original video. If the video segment contains an audio track, the electronic device can also synchronize the audio timestamps to maintain the continuity and integrity of the customized video during playback. After timeline alignment, the output customized video forms a unified content in terms of both visuals and timing, which can be directly used for subsequent access point display or evidence storage.
[0123] In this embodiment, through the above operations, the generic placeholders in the video clips can be directly replaced by the authorized user's identity information. The generation process does not rely on re-recording the entire video, thus improving the efficiency of custom video production. Because the video sub-segments are time-aligned before being combined with other parts, the final custom video has stronger visual continuity and can provide a complete and verifiable content foundation for subsequent blockchain evidence storage.
[0124] In one possible embodiment, the generation of the access entry in step S203 includes one of the following: encoding the short link of the customized video into a QR code pattern; generating the short link of the customized video into a Uniform Resource Locator; or embedding the short link of the customized video into a Hypertext Markup Language file.
[0125] In one possible embodiment, after the customized video is generated and its notarization is completed, the electronic device obtains the corresponding short link and selects the output format according to different access scenarios. For example, when the access point is set on the card surface, the electronic device encodes the short link into a QR code pattern. The QR code pattern can be output in a black and white modular matrix format, and its size can match the printable area of the card, for example, set to a side length of 8mm to 20mm, so as to maintain recognizability within the limited space of the card surface. When the access point is used for online redirection, the electronic device can directly generate the short link as a Uniform Resource Locator (URL) and configure it as a clickable link or redirect address. When the access point is used for webpage display, the electronic device can write the short link into a hyperlink tag or button tag in a Hypertext Markup Language (HTML) file, so that an accessible access point is formed when the browsing page loads. All of the above forms are generated from the same short link, and the short link is associated with the notarization identifier of the customized video to ensure consistency of the access target.
[0126] In this embodiment, the access point generation method uses short links to uniformly carry different presentation formats, enabling the same customized video to adapt to scenarios such as physical card faces, browser access, and webpage embedding. This facilitates deployment on different devices and media, reduces the overhead of repeated generation and maintenance, and maintains consistency in content access methods between the card side and the online side. Because short links can be compressed for display, QR code patterns, URL text, and webpage embedding formats can all be presented within a smaller display space, thus adapting to the needs of card printing, APP (Application) display, and webpage in card customization scenarios.
[0127] In one possible embodiment, pre-recorded video clips and / or elements within pre-recorded video clips allow for user selection.
[0128] For example, the electronic device can display multiple pre-recorded video clip thumbnails to the user on the card application interface or content customization interface. After the user clicks on the corresponding thumbnail, the electronic device can record the identification information of the selected clip. When element-level selection is supported, the electronic device can also highlight selectable elements in the playback preview screen. The user can select the desired element by touch or checkbox, generating an element selection result. The selection result is associated with the user's identity information obtained after authorization and used as input data for splicing processing. The electronic device determines the base clip to be spliced or the target element to be replaced based on the input data for splicing processing, and then generates a customized video by combining it with the user's identity information.
[0129] In one possible embodiment, the electronic device can load a video clip, receive the user's selection of the video clip or elements within the video clip, and write the result to a customized task record. Subsequently, the electronic device performs matching processing based on the duration, frame rate, and positional relationships of the elements within the selected video clip, enabling the user's selection to coordinate with subsequent user identity information insertion, access entry generation, and blockchain notarization processes.
[0130] In this embodiment, users can flexibly select appropriate video clips based on the service scenarios corresponding to their bank cards, resulting in more personalized customized videos and improved reuse efficiency of pre-recorded video clips. Furthermore, the dual-layer selection mechanism at both the video clip level and the element level within the video clip makes it easier for subsequent customized videos to maintain consistency with user identity information. Additionally, differentiated customized videos can be generated based on the user-selected video clips or elements within those clips.
[0131] Figure 3 This is a flowchart of a card customization method according to another embodiment of this application.
[0132] like Figure 3 As shown, the card customization method includes steps S301 to S307.
[0133] S301. Public figures record video clips through video recording platforms.
[0134] S302. The electronic device acquires a video clip and splices the authorized user identity information with the video clip to generate a customized video.
[0135] S303. Electronic devices store customized videos on the blockchain and generate access portals for customized videos.
[0136] S304. The card-making equipment sets the access point on the bank card to create a bank card with the access point.
[0137] Card-making equipment refers to equipment used to manufacture physical cards. For example, card-making equipment can produce cards through printing, lamination, and other processes. Printing uses UV-cured inks (abrasion resistance rating: 3H), and lamination can employ a three-layer structure: base layer: PETG (0.8mm), printing layer: signature + QR code, and protective layer: nano-scratch-resistant film (92% light transmittance).
[0138] S305. Users can access customized videos by scanning the access point using their terminal devices.
[0139] When user spending data is generated through bank card transactions, proceed to step S306.
[0140] S306. Electronic devices convert user consumption data of bank cards into target text that conforms to a preset style based on a preset style transfer model.
[0141] S307. Electronic devices send target text to user accounts linked to bank cards.
[0142] exist Figure 3 In the example, the electronic device sends the target text to the terminal device.
[0143] The relevant operations of the embodiments of this application have been described in detail above and will not be repeated here.
[0144] Figure 4 This is a schematic diagram of the card customization device according to an embodiment of this application, as shown below. Figure 4 As shown, the card customization device provided in this embodiment includes:
[0145] The acquisition module 410 is used to acquire pre-recorded video clips.
[0146] The splicing module 420 is used to splice the authorized user identity information with video clips to generate a customized video.
[0147] The generation module 430 is used to perform blockchain notarization on customized videos and generate access points for customized videos. The access points are set on the card.
[0148] In one possible embodiment, the card includes a bank card, and the device further includes a conversion module for converting user consumption data of the bank card into target text that conforms to a preset style based on a preset style transfer model. The user consumption data is obtained after authorization, and the target text is used to send to the user account linked to the bank card.
[0149] In one possible embodiment, the apparatus further includes: a determination module, configured to determine a user profile based on user-related data obtained after authorization; adjust the model parameters of the style transfer model based on the user profile; and generate updated target text using the style transfer model with adjusted model parameters.
[0150] In one possible embodiment, the blockchain includes a main chain and a side chain, and the generation module is specifically used to: extract metadata of the customized video and generate a hash value of the customized video; store the metadata to the side chain and store the hash value to the main chain.
[0151] In one possible embodiment, the device further includes: an identification module, configured to verify the user's identity through biometric identification before the user accesses the corresponding access entry, and obtain a biometric identification result; if the biometric identification result indicates that the user's identity is verified, responding to the user's access to the corresponding access entry; if the biometric identification result indicates that the user's identity is not verified, generating prompt data, the prompt data indicating that access to the corresponding access entry is not supported.
[0152] In one possible embodiment, the generation module is specifically used to: extract a target segment containing a common placeholder from a video segment; match and replace the user identity information with the common placeholder in the target segment to obtain a video sub-segment containing the user identity information; and align the video sub-segment containing the user identity information with other parts of the video segment on the timeline to generate a customized video.
[0153] In one possible embodiment, the generation module is specifically used for one of the following: encoding the short link of the customized video as a QR code pattern; generating the short link of the customized video as a Uniform Resource Locator; and embedding the short link of the customized video into a Hypertext Markup Language file.
[0154] In one possible embodiment, pre-recorded video clips and / or elements within pre-recorded video clips allow for user selection.
[0155] The card customization device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0156] Figure 5 A schematic diagram of the structure of the electronic device provided in this application. Figure 5 As shown, the electronic device provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.
[0157] In the specific implementation process, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to execute the above-described card customization method.
[0158] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0159] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0160] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0161] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0162] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the card customization method described above.
[0163] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the card customization method described above.
[0164] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0165] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0166] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0167] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0168] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0169] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0170] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0171] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.
Claims
1. A method for customizing cards, characterized in that, include: Acquire pre-recorded video clips; The user identity information obtained after authorization is spliced with the video clips to generate a customized video; The customized video is stored on the blockchain and an access point for the customized video is generated. The access point is used to set on the card.
2. The method according to claim 1, characterized in that, The card includes a bank card, and before generating the access point for the customized video, the method further includes: Based on a preset style transfer model, the user consumption data of the bank card is converted into target text that conforms to a preset style. The user consumption data is obtained after authorization, and the target text is used to send to the user account bound to the bank card.
3. The method according to claim 2, characterized in that, The method further includes: Determine user profiles based on user-related data obtained after authorization; Adjust the model parameters of the style transfer model based on the user profile; The updated target text is generated using a style transfer model with adjusted model parameters.
4. The method according to claim 1, characterized in that, The blockchain includes a main chain and side chains, and the blockchain-based notarization of the customized video includes: Extract the metadata of the customized video and generate the hash value of the customized video; The metadata is stored in the sidechain and the hash value is stored in the main chain.
5. The method according to claim 2, characterized in that, The method further includes: Before a user accesses the access portal, the user's identity is verified through biometric identification, and the biometric identification result is obtained; If the biometric identification result indicates that the user's identity has been verified, the user is prompted to access the access portal. If the biometric identification result indicates that the user's identity has not been verified, a prompt is generated indicating that access to the access point is not supported.
6. The method according to any one of claims 1-5, characterized in that, The step of splicing the authorized user identity information with the video clips to generate a customized video includes: Extract the target segment containing the common placeholder from the video clip; The user identity information is matched and replaced with the common placeholder in the target segment to obtain a video sub-segment that includes the user identity information; The customized video is generated by aligning the video sub-segment containing the user's identity information with the other parts of the video segment along the timeline.
7. The method according to any one of claims 1-5, characterized in that, The generated access point includes one of the following: The short link of the customized video is encoded as a QR code pattern; Generate a Uniform Resource Locator (URL) for the short link of the customized video; The short link of the customized video is embedded into the Hypertext Markup Language file.
8. The method according to any one of claims 1-5, characterized in that, The pre-recorded video clips and / or elements within the pre-recorded video clips can be selected by the user.
9. A card customization device, characterized in that, include: The acquisition module is used to acquire pre-recorded video clips; The splicing module is used to splice the authorized user identity information with the video clips to generate a customized video; The generation module is used to perform blockchain notarization on the customized video and generate an access point for the customized video, which is used to be set on the card.
10. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-8.
12. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-8.
