WO2017219267A1 - Card display method and device - Google Patents

Card display method and device Download PDF

Info

Publication number
WO2017219267A1
WO2017219267A1 PCT/CN2016/086688 CN2016086688W WO2017219267A1 WO 2017219267 A1 WO2017219267 A1 WO 2017219267A1 CN 2016086688 W CN2016086688 W CN 2016086688W WO 2017219267 A1 WO2017219267 A1 WO 2017219267A1
Authority
WO
WIPO (PCT)
Prior art keywords
style
card
virtual card
picture
setting
Prior art date
Application number
PCT/CN2016/086688
Other languages
French (fr)
Chinese (zh)
Inventor
刘静
程雨
张旭
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2016/086688 priority Critical patent/WO2017219267A1/en
Priority to CN201680000691.2A priority patent/CN106104602A/en
Publication of WO2017219267A1 publication Critical patent/WO2017219267A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/351Virtual cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to a card display method and apparatus.
  • the payment client after the payment client generates the virtual bank card, the payment client obtains the style of the virtual bank card provided by the card issuer, and displays the content of the virtual bank card in the style in the payment client.
  • the present disclosure provides a card display method and apparatus.
  • a card display method comprising:
  • the virtual card being a virtual card generated by binding a card account of the physical card with a user account registered in the payment client ;
  • the content of the virtual card is filled into the generated style for display.
  • the constituent element includes at least one of a visual effect, a sound effect, a touch special effect, a content indication information, and a background image of the virtual card, where the content indication information is used to indicate the displayed virtual card.
  • a visual effect e.g., a sound effect
  • a touch special effect e.g., a touch special effect
  • a content indication information e.g., a background image of the virtual card
  • the content indication information is used to indicate the displayed virtual card.
  • Content the format of the content, and the display location of the content.
  • the method further includes:
  • the various constituent elements of the pattern are displayed according to the setting instruction, and the selection instruction carrying the setting result of each constituent element selected by the user is generated.
  • the constituent element includes a background image of the virtual card
  • the receiving a selection instruction, and generating a style of the virtual card according to a setting result of the constituent element selected by the selection instruction include:
  • the style is generated.
  • the method further includes:
  • the picture is obtained according to the shooting mode, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
  • the method further includes:
  • the picture selected from the picture provided by the gallery is used as the background picture of the virtual card, obtaining length and width information of the pattern, and adjusting an aspect ratio of the picture to the length and width The aspect ratio indicated by the information.
  • the method further includes:
  • the selection instruction of the setting result of the various constituent elements corresponding to the pattern, the setting result of the various constituent elements corresponding to the theme pattern has a common theme, and the correspondence relationship is used to indicate different identification of the theme style and different The relationship between the setting results of the constituent elements.
  • the method further includes:
  • the respective theme styles are generated in advance; or the respective theme styles are acquired from a server.
  • the filling the content of the virtual card into the generated style includes:
  • the method further includes:
  • the server is configured to acquire the request according to the first style when receiving the first style acquisition request sent by another payment client that logs in to the user account
  • the card account number carried in the phone determines the style and sends the style to the other payment client.
  • the method further includes:
  • the content of the virtual card is filled into a preset style of the payment client for display.
  • a card display device comprising:
  • the instruction receiving module is configured to receive a setting instruction for setting a style of the virtual card in the payment client, the virtual card is to bind the card account of the physical card with the user account registered in the payment client a virtual card generated after the decision;
  • a style generation module configured to receive a selection instruction, and generate a style of the virtual card according to a setting result of the selected constituent element of the selection instruction
  • the first display module is configured to fill the content of the virtual card into the style generated by the style generation module for display.
  • the constituent element includes at least one of a visual effect, a sound effect, a touch special effect, a content indication information, and a background image of the virtual card, where the content indication information is used to indicate the displayed virtual card.
  • a visual effect e.g., a sound effect
  • a touch special effect e.g., a touch special effect
  • a content indication information e.g., a background image of the virtual card
  • the content indication information is used to indicate the displayed virtual card.
  • Content the format of the content, and the display location of the content.
  • the device further includes:
  • the first generation module is configured to display various constituent elements of the pattern according to the setting instruction, and generate the selection instruction carrying a setting result of each constituent element selected by the user.
  • the style generating module includes:
  • a first generating submodule configured to receive a selection instruction for selecting a template picture from at least two template pictures displayed by the payment client, and using the template picture selected by the selection instruction Generating the pattern for the setting result of the background image of the virtual card;
  • a second generation submodule configured to receive a selection instruction for selecting a picture provided by the terminal, display a shooting control or a gallery control according to the selection instruction, and use the camera when receiving a trigger signal acting on the shooting control
  • the captured image is generated as a result of the setting of the background image of the virtual card, or the selected image is selected from the image provided by the gallery when a trigger signal is applied to the gallery control.
  • the picture is generated as a result of the setting of the background picture of the virtual card.
  • the style generating module further includes:
  • a first adjustment submodule configured to acquire length and width information of the style, and adjust a shooting mode of the camera according to the length and width information
  • the picture shooting sub-module is configured to capture the picture according to the shooting mode adjusted by the first adjustment sub-module, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
  • the style generating module further includes:
  • a second adjustment submodule configured to acquire length and width information of the style before the background image selected from the gallery is used as a background image of the virtual card, and the image is The aspect ratio is adjusted to the aspect ratio indicated by the length and width information.
  • the device further includes:
  • the second generation module is configured to display the identifiers of the preset theme styles according to the setting instructions, and determine the setting results of the various constituent elements corresponding to the theme style according to the identifiers and corresponding relationships of the theme styles selected by the user, And generating the selection instruction carrying the setting result of the various constituent elements corresponding to the theme style, wherein the setting result of the various constituent elements corresponding to the theme style has a common theme, and the corresponding relationship is used to indicate different topics The relationship between the identity of the style and the result of setting the different constituent elements.
  • the device further includes:
  • a style acquisition module configured to pre-generate the respective theme styles; or obtain the respective theme styles from a server.
  • the first display module is further configured to:
  • the device further includes:
  • a first sending module configured to send the style and the card account to a server, where the server is configured to receive, according to the first style obtaining request sent by another payment client that logs in to the user account, according to The card account number carried in the first style acquisition request determines the style, and sends the style to the other payment client.
  • the device further includes:
  • a second sending module configured to send a second style obtaining request carrying the card account to the server, where the second style obtaining request is used to request obtaining a style of the virtual card provided by the card issuer;
  • a second display module configured to: when receiving the style returned by the server, populate the content of the virtual card into a style returned by the server for display;
  • the third display module is configured to: when the style returned by the server is not received, fill the content of the virtual card into a preset style of the payment client for display.
  • a card display device comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the virtual card being a virtual card generated by binding a card account of the physical card with a user account registered in the payment client ;
  • the content of the virtual card is filled into the generated style for display.
  • the user can select the setting result of the constituent elements of the style according to his or her own preference, and the payment client selects the constituent element according to the user.
  • the setting result generation style solves the problem that the style of the virtual card provided by the card issuing party is single, and the effect of expanding the style of the virtual card is achieved.
  • the constituent elements include at least one of visual effects, sound effects, touch effects, content indication information, and background images of the virtual card, enriching the constituent elements of the style.
  • the selection instruction of the setting result of the constituent elements enables the user to customize the type of the constituent elements included in the style and the setting result of each constituent element, thereby improving the flexibility of the style setting and ensuring the personalization of the style.
  • the client determines various constituent elements corresponding to the theme style and a setting result of each constituent element of the various constituent elements according to the identifier of the theme style selected by the user. , generating a selection instruction carrying the setting result of various constituent elements corresponding to the theme style, so that the user only needs to select the identifier of the theme style, the client can generate the theme style, and the user does not need to manually configure multiple constituent elements and each
  • the result of setting the constituent elements simplifies the complexity of generating the theme style and improves the generation efficiency of the theme style; and the user can select the theme style of the favorite person or object as the style of the virtual card, thereby improving the user experience.
  • the user can customize the theme style according to the favorite person or object, thereby improving the user experience; or, by obtaining various theme styles from the server, the user does not need to manually configure various constituent elements and each constituent element.
  • the result of the setting simplifies the complexity of generating the theme style and improves the efficiency of the generation of the theme style.
  • Sending the style and card account to the server so that when the server receives the first style acquisition request sent by the other payment client that logs in the user account, the server determines the style of the card account carried in the request according to the first style, and The style is sent to other payment clients, so that the same virtual card in multiple payment clients logged into the same user account corresponds to the same style, which ensures the uniformity of the style of the same virtual card.
  • the picture By obtaining the length and width information of the style, and adjusting the shooting mode of the camera according to the length and width information; taking a picture according to the shooting mode, so that the aspect ratio of the captured picture is the aspect ratio indicated by the length and width information, thus,
  • the picture When the picture is used as the background image of the virtual card, the picture does not need to be adjusted, which simplifies the complexity of the setting operation and improves the efficiency of the setting operation.
  • the content of the virtual card is filled into the preset style of the payment client for display, so that the virtual card can be displayed normally.
  • FIG. 1 is a block diagram of an implementation environment, in accordance with various exemplary embodiments.
  • FIG. 2 is a flowchart of a card display method according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a card display method according to another exemplary embodiment.
  • FIG. 4 is a first schematic diagram of a virtual card list, according to another exemplary embodiment.
  • FIG. 5 is a first schematic diagram of a virtual card shown in accordance with another exemplary embodiment.
  • FIG. 6 is a second schematic diagram of a virtual card shown in accordance with another exemplary embodiment.
  • FIG. 7 is a second schematic diagram of a virtual card list, according to another exemplary embodiment.
  • FIG. 8 is a schematic diagram showing the use of a virtual card according to another exemplary embodiment.
  • FIG. 9 is a block diagram of a card display device, according to an exemplary embodiment.
  • FIG. 10 is a block diagram of a card display device, according to an exemplary embodiment.
  • FIG. 11 is a block diagram of an apparatus for card display, according to an exemplary embodiment.
  • the implementation environment includes a terminal 120, a server 140, and a card issuer 160.
  • the terminal 120 can be a mobile phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), and an MP4 (Moving Picture Experts Group Audio Layer IV). Standard audio level 3) Players, laptops and desktop computers, etc.
  • the terminal 120 can be installed with an application client or a web browser with a browser installed to access the application through a browser.
  • the application client and the web client are collectively referred to as a payment client in the embodiment of the present invention, and are not specifically stated below.
  • the payment client is a client with a payment function, and there is a binding relationship between the user account registered in the payment client and the card account of the entity card owned by the user, that is, the payment client has a virtual corresponding to the entity card. card.
  • the virtual card The slice may be a virtual bank card, a virtual loyalty card, a virtual recharge card, a virtual consuming card, a virtual card voucher, etc., which is not limited in this embodiment.
  • the card account is a bank account; when the virtual card is a virtual membership card, the card account is a member account; when the virtual card is a virtual recharge card, the card account is a recharge card account; when the virtual card is When the virtual card is used, the card account is the card account; when the virtual card is a virtual card, the card account is the card account.
  • Server 140 can be a server, or a cluster of servers consisting of several servers, or a cloud computing service center.
  • the server 140 is configured to interact with the terminal 120 to provide an electronic exchange type service.
  • Server 140 is typically set up by an internet service provider.
  • the card issuer 160 is a third party device that issues physical cards.
  • the third party 160 is a bank party device; when the entity card is a membership card, a recharge card, a consumer card, or a card coupon, the third party 160 is a merchant device.
  • the card issuer 160 may be a server or other electronic device. In FIG. 1, the issuer 160 is a server.
  • the terminal 120 and the server 140 can be connected through a wireless network or a wired network, and the server 140 and the card issuer 160 can be connected through a wireless network or a wired network.
  • FIG. 2 is a flowchart of a card display method applied to a payment client of a terminal according to an exemplary embodiment. As shown in FIG. 2, the card display method includes the following steps.
  • step 201 a setting instruction for setting a style of a virtual card in the payment client is obtained, and the virtual card is a virtual account generated by binding the card account of the entity card with the user account registered in the payment client. Card.
  • step 202 a selection instruction is received, and a style of the virtual card is generated based on the setting result of the constituent elements selected by the selection instruction.
  • step 203 the content of the virtual card is filled into the generated style for display.
  • the card display method provided by the present disclosure generates a virtual card style by receiving a selection instruction and according to a setting result of the selected constituent element of the selection instruction, so that the user can select a constituent element of the style according to his or her own preference.
  • the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuer is single, and achieves the effect of expanding the style of the virtual card.
  • FIG. 3 is a flowchart of a card display method according to another exemplary embodiment, the card The display method is applied to the payment client of the terminal. As shown in FIG. 3, the card display method includes the following steps.
  • step 301 a second style acquisition request carrying a card account is sent to the server, and the second style acquisition request is used to request the style of the virtual card provided by the card issuer.
  • the payment client needs to bind the user's entity card first, and generate a virtual card uniquely corresponding to the entity card. Take the binding bank card as an example.
  • the user enters the bank card number in the payment client, the mobile phone number reserved in the bank when the bank card is processed, and the verification code sent to the mobile phone number, and the bank card number, mobile phone number, and verification.
  • the code is sent to the server, the server determines the bank server corresponding to the bank card number, and sends the bank card number, the mobile phone number and the verification code to the bank server, and the bank server verifies the bank card number, the mobile phone number and the verification code, and after the verification is passed, the server is sent to the server.
  • Sending a confirmation message the server forwards the confirmation message to the payment client, and the payment client generates a virtual card.
  • the payment client After the payment client generates the virtual card, the payment client can display the virtual card. At this time, the payment client needs to acquire the style of the virtual card.
  • the display style of the virtual card is provided by the card issuing party to ensure that the style of the virtual card is consistent with the style of the physical card.
  • the style provided by the card issuer may include a background picture and length and width information, and the background picture is the same as the background picture of the physical card, and the aspect ratio indicated by the length and width information is the same as the aspect ratio of the physical card.
  • the card issuer directly returns the style of the virtual card to the server after the verification is passed, and the server directly sends the style to the payment client. Since some payment clients only need to use virtual cards for payment without displaying virtual cards, if the style of the virtual cards is directly sent to the payment client, resources are wasted, so in another implementation, payment is made.
  • the client needs to send a second style acquisition request to the server, and the server forwards the second style acquisition request to the card issuer to request the style of the virtual card from the card issuer. Since different card accounts may correspond to different styles, for example, the savings card and the credit card correspond to different styles, the payment client also needs to carry the virtual in the second style acquisition request when sending the second style acquisition request to the server. Card account number for the card.
  • step 302 when the style returned by the server is received, the content of the virtual card is filled into the style returned by the server for display, and step 304 is performed.
  • the card issuing party reads the card account carried in the received second style obtaining request, and searches for a style corresponding to the card account. When the style is found, the style is sent to the server, and the server stores the style and the style is stored. The payment is sent to the payment client, and the payment client acquires the content of the virtual card, and fills the content of the virtual card into the style returned by the server for display.
  • the content of the virtual card It can include a card issuer icon, a card issuer name, a card account number, and the like.
  • the server may further generate content indication information, and add the content indication information as a constituent element to the style to send to the payment client to indicate by the content
  • the information specifies the content of the virtual card displayed on the background picture, the format of the content, and the display position of the content.
  • the content displayed on the background image may include a bank icon, a bank name, a card account number, and the like.
  • the format of the content may include a font, a color, a font size, and the like, which is not limited in this embodiment.
  • the payment client After receiving the style returned by the server, the payment client displays the background image according to the aspect ratio indicated by the length and width information in the style. If the content indication information specifies the bank icon and the bank name displayed at the upper left of the background image, The card account is displayed below the background image, and the last four digits of the card account are displayed in digital form, and the remaining digits are replaced by “x”.
  • the payment client obtains the bank icon, bank name and card account of the virtual card according to the virtual card. Four digits, the bank icon and bank name are displayed in the upper left of the background image, the card account number is displayed below the background image, and the last four digits of the card account number are displayed in numbers, and the remaining digits are replaced by "x”.
  • the bank icon, the bank name, and the card account to which the virtual card belongs may be pre-stored in the payment client.
  • step 303 when the style returned by the server is not received, the content of the virtual card is filled into the preset style of the payment client for display.
  • the notification message is sent to the server.
  • the server instructs the payment client to fill the content of the virtual card into the preset style of the payment client for display according to the notification message.
  • step 304 is performed.
  • step 304 a setting instruction for setting a style of the virtual card in the payment client is obtained, and the virtual card is a virtual generated by binding the card account of the physical card with the user account registered in the payment client. Card.
  • the setting instruction may be generated when the user triggers the virtual card displayed in the payment client, or may be generated when the user triggers the predetermined control, which is not limited in this embodiment.
  • FIG. 4 there are three virtual cards displayed in the payment client in FIG. 4, and the card accounts of each virtual card are different. If the user clicks on the virtual card of the “8888” in the last four digits of the card account, the payment server Received a setup command.
  • the payment client displays the constituent elements of the style according to the setting instruction, and the root According to the user-selected constituent element generation style, step 305 is performed at this time; or, in another implementation manner, the payment client displays the preset theme style according to the setting instruction, and determines the theme style selected by the user, and then performs the step. 306.
  • step 305 various constituent elements of the style are displayed according to the setting instruction, and a selection instruction carrying the setting result of each constituent element selected by the user is generated, and step 307 is executed.
  • the style of the virtual card includes a plurality of constituent elements, and the constituent elements displayed by the payment client are constituent elements that can be customized by the user.
  • the constituent elements of the style include the background image and the length and width information, and the background image can be customized by the user, and the length and width information cannot be customized by the user, and the payment client displays the constituent elements of the background image, and does not display the length and width information.
  • Kind of constituent elements include the constituent elements of the background image and does not display the length and width information.
  • the constituent elements of the style displayed by the payment client include at least one of a visual effect of the virtual card, a sound effect, a touch effect, content indication information, and a background image.
  • the visual special effect is a combination of a live-action lens and a computer-generated image to create a virtual real scene, for example, when displaying a virtual card, the user is sprinkled with a picture of the coin.
  • the sound effect is a sound effect, for example, playing a coin collision sound when displaying a virtual card; or, when using a virtual card, using a cartoon character's voice to broadcast the amount of consumption or accumulating points.
  • the touch effect is a sound that is played when the user touches the virtual card, for example, when the user clicks on the virtual card, the sound of " ⁇ " is played.
  • the background image may be a still picture, a dynamic picture, a pseudo picture, or the like, and the pseudo picture is a picture representing a three-dimensional object.
  • the payment client may display at least one of the above constituent elements, and set a pull-down menu for each constituent element displayed, and display various setting options of the corresponding constituent elements in each drop-down menu, the user may Select a setting option under the constituent elements.
  • the setting option of the user to select a certain constituent element is “None”
  • the payment client determines, according to the setting result, that the user-defined style does not include the constituent element, and implements customization of the type of the constituent element;
  • the setting option of a certain constituent element is a setting option other than "None”
  • the setting option is used as a setting result of the constituent element, and a selection instruction carrying a setting result of each constituent element selected by the user is generated.
  • the setting option displayed in the drop-down menu of the background image is the name or thumbnail of a background image, and the user selects a setting option other than "None" from the pull-down menu to set the setting.
  • the background image corresponding to the option is used as the setting result.
  • each pull-down menu is used to set whether to display the item content. For example, when the user selects the "do not display” setting option in the pull-down menu of the card account, the card account is not displayed when the virtual card is displayed; when the user is in the drop-down menu of the card account When the setting option of "Display" is selected, the card account number is displayed when the virtual card is displayed.
  • the payment client can also display a drop-down menu for formatting the content of the item. For example, when displaying a card account, the payment client also displays a drop-down menu such as the font, color, and font size of the card account. For example, the user selects the font account's font as the setting option of the "body” in the drop-down menu of the font, and the color is " The setting option of "Black” and the setting option of the font size is “No. 4", and "Body", “Black” and “No. 4" are set as the result.
  • the payment client displays the names of various visual effects in the pull-down menu of the visual effects, and the user can select a visual effect from the drop-down menu as the setting result.
  • the payment client displays the names of various sound effects in the sound effect pull-down menu, and the user can select a sound effect from the pull-down menu as the setting result.
  • the constituent element is a touch effect
  • the payment client displays the names of various touch effects in the pull-down menu of the touch effect, and the user can select a touch effect from the pull-down menu as the setting result.
  • step 306 the preset identification of each theme style is displayed according to the setting instruction, and the setting result of the various constituent elements corresponding to the theme style is determined according to the identifier and the corresponding relationship of the theme style selected by the user, and the corresponding style corresponding to the theme style is generated.
  • the selection instruction of the setting result of each constituent element, the setting result of the various constituent elements corresponding to the theme style has a common theme, and the correspondence relationship is used to indicate the relationship between the identification of the different theme styles and the setting result of the different constituent elements. .
  • a plurality of theme styles are pre-set in the payment client, and the setting results of the various constituent elements corresponding to each theme style have a common theme.
  • the theme style is HelloKitty
  • HelloKitty corresponds to the three constituent elements of background image, sound effect and font color
  • the background image can be a picture with HelloKitty
  • the sound effect can be the sound of HelloKitty
  • the color of the font can be pink.
  • the theme pattern 1 corresponds to a background picture, content indication information, and touch effects; the theme pattern 2 corresponds to a background picture, a sound effect.
  • different theme styles may correspond to constituent elements of the same kind, but the setting results of at least one constituent element are different.
  • the theme style 1 corresponds to the background image and the content indication information
  • the theme style 2 also corresponds to the background image and the content indication information, but the setting result of the background image in the theme style 1 is different from the setting result of the background image in the theme style 2, the theme
  • the setting result of the content indication information in the style 1 and the setting result of the content indication information in the theme pattern 2 may be the same or different.
  • the payment client also generates each theme style in advance; or, obtains each theme style from the server. If each theme style is generated by the payment client, the various constituent elements of the client display style are paid, the setting result of at least one constituent element selected by the user is received, and the theme style is generated. And establishing a correspondence between the setting result of the at least one constituent element and the identifier of the theme style, so that when the user selects an identifier of the theme style, the payment client can find the identifier of the theme style in the correspondence relationship Corresponding at least one constituent element's setting result, thereby generating a theme style.
  • the payment client obtains each theme style from the server, the payment client obtains the identifier of each theme style from the server and the setting result of the at least one constituent element corresponding to the theme style, so that when the user selects an identifier of the theme style At the time, the payment client can read the setting result of the at least one constituent element corresponding to the identifier of the theme style, thereby generating the theme style.
  • the payment client can generate the theme style according to the identifier of the theme style selected by the user, and does not require the user to manually configure various constituent elements and the setting result of each constituent element, which simplifies the complexity of generating the theme style and improves the theme style. Generate efficiency.
  • step 307 a selection instruction is received, and a style of the virtual card is generated according to the setting result of the constituent elements selected by the selection instruction.
  • the present embodiment provides two generation manners of generating a virtual card style, and the following two generation modes are respectively introduced. .
  • a selection instruction for selecting a template picture from at least two template pictures displayed by the payment client is received, and the template picture selected by the selection instruction is used as a setting result of the background picture of the virtual card, and the generated result is generated. style.
  • the template picture may be a preset picture in the payment client, and the aspect ratio of the template picture is the same as the aspect ratio indicated by the length and width information of the style, so that when the user selects a template picture, the pair does not need to The picture is adjusted, and the picture can be directly used as the setting result of the background picture of the virtual card.
  • the template picture may be any one of a static picture, a dynamic picture, and a pseudo picture.
  • FIG. 5 and FIG. 6 wherein the constituent elements of the style to be set are used as background images (referred to as “styles” in FIG. 5 and FIG. 6 ), and the style preset by the client is referred to as a default style, and Currently displaying the virtual card in the default style, the preview of the virtual card displayed in the default style is displayed at the top of the interface. The default style, style A and style B are displayed below the interface. Since the default style is selected, the default style is The selected status flag " ⁇ " is displayed in the upper right corner. When the user wants to select the style B, he can click the style B. Please refer to FIG. 6.
  • the selected state identifier “ ⁇ ” in the upper right corner of the default style disappears, and the selected state identifier “ ⁇ ” is displayed in the upper right corner of the style B. And a preview of the virtual card displayed by the style B is displayed at the top of the interface.
  • the second generation mode receiving a selection instruction for selecting a picture provided by the terminal, according to the selection Selecting the command to display the shooting control or the gallery control.
  • the image taken by the camera is used as the setting result of the background image of the virtual card, and the style is generated, or when receiving the action on the gallery control
  • a picture selected from the pictures provided by the gallery is used as the setting result of the background picture of the virtual card to generate a style.
  • the user may also select a picture other than the template picture as the setting result of the background picture of the virtual card, and the picture may be a picture in the gallery of the terminal, or may be a picture taken by the camera to further reflect the style. Personalization.
  • the payment client receives the selection instruction.
  • the “shooting” control or the “gallery” control is displayed in the interface, and when the user clicks the “shooting” control, the payment client Start the camera in the terminal, and take the picture taken by the camera as the setting result of the background picture of the virtual card; when the user clicks the "gallery” control, the payment client opens the library of the terminal, displays all the pictures in the gallery, and clicks on the user The result of the setting of the background image as a virtual card.
  • the picture in the gallery may be obtained by the camera, or may be downloaded from the network, which is not limited in this embodiment.
  • the payment client since the aspect ratio of the picture obtained by the second generation method may be different from the aspect ratio indicated by the length and width information of the style, the payment client also needs to adjust the aspect ratio of the picture.
  • the adjustment of the picture may be the interception of the picture, or the scaling of the picture, which is not limited in this embodiment.
  • the length and width information of the pattern is obtained, and the aspect ratio of the image is adjusted to be indicated by the length and width information.
  • Aspect ratio For example, if the length-width information indicates an aspect ratio of 3:2, and the selected picture has an aspect ratio of 4:3, a partial picture having an aspect ratio of 3:2 can be intercepted from the selected picture.
  • the partial image is used as a background image of the virtual card.
  • the shooting mode can also be adjusted.
  • the length and width information of the style is acquired, and the shooting mode of the camera is adjusted according to the length and width information; the picture is captured according to the shooting mode, and the aspect ratio of the picture is the aspect ratio indicated by the length and width information.
  • the size of the finder frame in the shooting mode can be adjusted, and the aspect ratio of the adjusted finder frame is 3:2, or the adjusted finder frame It is 6cm long and 4cm wide.
  • a partial framing frame can be displayed in the screen displayed by the lens, and the standard Note that the scene displayed in the finder frame is the scene in the background image of the virtual card, so that the user can take a picture.
  • step 308 the content of the virtual card is populated into the generated style for display.
  • each content of the virtual card is acquired, and each content is filled in the display position indicated by the content indication information for display.
  • Different virtual cards can be set with different styles. Please refer to Figure 7, where the virtual card with the ending number "8888" is displayed in style B, and the virtual card with the ending number "0999” is displayed in style A, and the tail is displayed in the default style.
  • step 309 the style and the card account are sent to the server, and the server is configured to obtain the first style acquisition request sent by the other payment client that receives the login user account, according to the first style acquisition request.
  • the card account determines the style and sends the style to other payment clients.
  • the style can also be sent to the server.
  • the server stores the style set by the user, the server replaces the stored style with the newly received style.
  • the server When the server receives the first style acquisition request sent by the other payment client that logs in the user account, the server reads the card account carried in the first style acquisition request, searches for a style corresponding to the card account, and sends the style. For other payment clients, the same virtual card among the plurality of payment clients that log in to the same user account corresponds to the same style, and the style of the same virtual card is unified.
  • the card display method receives a selection instruction, and generates a virtual card style according to the setting result of the selected constituent element of the selection instruction, so that the user can select the constituent elements of the style according to his or her own preference.
  • the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuing party is single, and the effect of expanding the style of the virtual card is achieved.
  • the constituent elements include at least one of visual effects, sound effects, touch effects, content indication information, and background images of the virtual card, enriching the constituent elements of the style.
  • the user can customize the type of the constituent elements included in the style and the setting result of each constituent element. , to improve the flexibility of the style settings, but also to ensure the personalization of the style.
  • the client determines various constituent elements corresponding to the theme and a setting result of each constituent element of the various constituent elements according to the identifier of the theme style selected by the user,
  • the selection instruction for generating the setting result of the various constituent elements corresponding to the theme style is generated, so that the user only needs to select the identifier of the theme style, and the client can generate the theme style without the user manually configuring various constituent elements and each type.
  • the result of setting the constituent elements simplifies the complexity of generating the theme style and improves the efficiency of generating the theme style; and the user can select the theme style of the favorite person or object as the style of the virtual card, thereby improving the user experience.
  • the user can customize the theme style according to the favorite person or object, thereby improving the user experience; or, by obtaining various theme styles from the server, the user does not need to manually configure various constituent elements and each constituent element.
  • the result of the setting simplifies the complexity of generating the theme style and improves the efficiency of the generation of the theme style.
  • Sending the style and card account to the server so that when the server receives the first style acquisition request sent by the other payment client that logs in the user account, the server determines the style of the card account carried in the request according to the first style, and The style is sent to other payment clients, so that the same virtual card in multiple payment clients logged into the same user account corresponds to the same style, which ensures the uniformity of the style of the same virtual card.
  • the picture By obtaining the length and width information of the style, and adjusting the shooting mode of the camera according to the length and width information; taking a picture according to the shooting mode, so that the aspect ratio of the captured picture is the aspect ratio indicated by the length and width information, thus,
  • the picture When the picture is used as the background image of the virtual card, the picture does not need to be adjusted, which simplifies the complexity of the setting operation and improves the efficiency of the setting operation.
  • the content of the virtual card is filled into the preset style of the payment client for display, so that the virtual card can be displayed normally.
  • FIG. 9 is a block diagram of a card display device, which is applied to a payment client of a terminal.
  • the card display device includes: an instruction receiving module 910, a pattern, according to an exemplary embodiment.
  • the module 920 and the first display module 930 are generated.
  • the instruction receiving module 910 is configured to receive a setting instruction for setting a style of the virtual card in the payment client, where the virtual card is the card account of the entity card and the user account registered in the payment client. Generated virtual card;
  • the pattern generation module 920 is configured to receive a selection instruction and generate a style of the virtual card according to the setting result of the constituent element selected by the selection instruction;
  • the first display module 930 is configured to fill the content of the virtual card into the style generated by the pattern generation module 920 for display.
  • the card display device provided by the present disclosure generates a virtual card style by receiving a selection instruction and according to a setting result of the constituent elements selected by the selection instruction, so that the user can select a constituent element of the style according to his or her own preference.
  • the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuer is single, and achieves the effect of expanding the style of the virtual card.
  • FIG. 10 is a block diagram of a card display device, which is applied to a payment client of a terminal, as shown in FIG. 10, the card display device includes: an instruction receiving module 1010, a style, according to an exemplary embodiment.
  • the module 1020 and the first display module 1030 are generated.
  • the instruction receiving module 1010 is configured to receive a setting instruction for setting a style of a virtual card in the payment client, where the virtual card is to bind the card account of the entity card to the user account registered in the payment client. Generated virtual card;
  • the pattern generation module 1020 is configured to receive a selection instruction and generate a style of the virtual card according to the setting result of the constituent element selected by the selection instruction;
  • the first display module 1030 is configured to fill the content of the virtual card into the style generated by the pattern generation module 1020 for display.
  • the constituent element includes at least one of a visual effect, a sound effect, a touch special effect, a content indication information, and a background image of the virtual card, where the content indication information is used to indicate the content of the displayed virtual card, the format and content of the content. Show location.
  • the device further includes: a first generating module 1040;
  • the first generation module 1040 is configured to display various constituent elements of the style according to the setting instruction, and generate a selection instruction carrying a setting result of each constituent element selected by the user.
  • the style generating module 1020 includes: a first generating submodule 1021 or a second generating submodule 1022;
  • the first generation sub-module 1021 is configured to receive a selection instruction for selecting one template image from at least two template images displayed by the payment client, and use the template image selected by the selection instruction as the background image of the virtual card. Set the result, generate a style; or,
  • the second generation sub-module 1022 is configured to receive a selection instruction for selecting a picture provided by the terminal, display a shooting control or a gallery control according to the selection instruction, and receive a trigger that acts on the shooting control.
  • a selection instruction for selecting a picture provided by the terminal display a shooting control or a gallery control according to the selection instruction
  • receive a trigger that acts on the shooting control When the signal is used, the image taken by the camera is used as the setting result of the background image of the virtual card to generate a pattern, or when a trigger signal acting on the gallery control is received, a picture selected from the picture provided by the gallery is used as The setting result of the background image of the virtual card is generated.
  • the style generating module 1020 further includes: a first adjusting submodule 1023 and a picture capturing submodule 1024;
  • the first adjustment sub-module 1023 is configured to acquire length and width information of the style, and adjust a shooting mode of the camera according to the length and width information;
  • the picture capturing sub-module 1024 is configured to capture a picture according to the adjusted shooting mode of the first adjusting sub-module 1023, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
  • the style generating module 1020 further includes: a second adjusting submodule 1025;
  • the second adjustment sub-module 1025 is configured to obtain the length and width information of the style and adjust the aspect ratio of the image to the length and width information before using the image selected from the gallery to be the background image of the virtual card. The aspect ratio indicated.
  • the device further includes: a second generating module 1050;
  • the second generation module 1050 is configured to display the preset identifiers of the respective theme styles according to the setting instructions, and determine the setting result of the various constituent elements corresponding to the theme style according to the identifier and the corresponding relationship of the theme style selected by the user, and generate the carrying
  • the selection instruction of the setting result of the various constituent elements corresponding to the theme style, the setting result of the various constituent elements corresponding to the theme style has a common theme, and the correspondence relationship is used to indicate the identification of different theme styles and the setting of different constituent elements. The relationship between the results.
  • the device further includes: a style obtaining module 1060;
  • the style obtaining module 1060 is configured to generate each theme style in advance; or obtain each theme style from a server.
  • the first display module 1030 is further configured to:
  • the contents of the virtual card are obtained, and each item is filled in the display position indicated by the content indication information for display.
  • the device further includes: a first sending module 1070;
  • the first sending module 1070 is configured to send a style and a card account to the server, where the server is configured to acquire the request according to the first style when receiving the first style obtaining request sent by another payment client that logs in the user account.
  • the card account carried in the account determines the style and sends the style to other payment clients.
  • the device further includes: a second sending module 1080, a second display module 1090, and a third display Showing module 1091;
  • the second sending module 1080 is configured to send a second style obtaining request carrying a card account to the server, where the second style obtaining request is used to request obtaining a style of the virtual card provided by the card issuing party;
  • the second display module 1090 is configured to: when receiving the style returned by the server, fill the content of the virtual card into a style returned by the server for display;
  • the third display module 1091 is configured to fill the content of the virtual card into a preset style of the payment client for display when the style returned by the server is not received.
  • the card display device provided by the present disclosure generates a virtual card style by receiving a selection instruction and according to a setting result of the constituent elements selected by the selection instruction, so that the user can select a constituent element of the style according to his or her own preference.
  • the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuer is single, and achieves the effect of expanding the style of the virtual card.
  • the constituent elements include at least one of visual effects, sound effects, touch effects, content indication information, and background images of the virtual card, enriching the constituent elements of the style.
  • the user can customize the type of the constituent elements included in the style and the setting result of each constituent element. , to improve the flexibility of the style settings, but also to ensure the personalization of the style.
  • the client determines various constituent elements corresponding to the theme and a setting result of each constituent element of the various constituent elements according to the identifier of the theme style selected by the user,
  • the selection instruction for generating the setting result of the various constituent elements corresponding to the theme style is generated, so that the user only needs to select the identifier of the theme style, and the client can generate the theme style without the user manually configuring various constituent elements and each type.
  • the result of setting the constituent elements simplifies the complexity of generating the theme style and improves the efficiency of generating the theme style; and the user can select the theme style of the favorite person or object as the style of the virtual card, thereby improving the user experience.
  • the user can customize the theme style according to the favorite person or object, thereby improving the user experience; or, by obtaining various theme styles from the server, the user does not need to manually configure various constituent elements and each constituent element.
  • the result of the setting simplifies the complexity of generating the theme style and improves the efficiency of the generation of the theme style.
  • the card account determines the style and sends the style to other payment clients, so that the same virtual card in the plurality of payment clients logged into the same user account corresponds to the same style, which ensures the uniformity of the style of the same virtual card.
  • the picture By obtaining the length and width information of the style, and adjusting the shooting mode of the camera according to the length and width information; taking a picture according to the shooting mode, so that the aspect ratio of the captured picture is the aspect ratio indicated by the length and width information, thus,
  • the picture When the picture is used as the background image of the virtual card, the picture does not need to be adjusted, which simplifies the complexity of the setting operation and improves the efficiency of the setting operation.
  • the content of the virtual card is filled into the preset style of the payment client for display, so that the virtual card can be displayed normally.
  • An exemplary embodiment of the present disclosure provides a card display apparatus capable of implementing the card display method provided by the present disclosure, the card display apparatus comprising: a processor, a memory for storing processor executable instructions;
  • processor is configured to:
  • the virtual card being a virtual card generated by binding a card account of the physical card with a user account registered in the payment client;
  • FIG. 11 is a block diagram of an apparatus 1100 for card display, according to an exemplary embodiment.
  • device 1100 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 1100 can include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, And a communication component 1116.
  • Processing component 1102 typically controls the overall operation of device 1100, such as with display, telephone calls, Data communication, camera operations and operations associated with recording operations.
  • Processing component 1102 can include one or more processors 1118 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 1102 can include one or more modules to facilitate interaction between component 1102 and other components.
  • the processing component 1102 can include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
  • Memory 1104 is configured to store various types of data to support operation at device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1104 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.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1106 provides power to various components of device 1100.
  • Power component 1106 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1100.
  • the multimedia component 1108 includes a screen between the device 1100 and a user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1108 includes a front camera and/or a rear camera. When the device 1100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 1110 is configured to output and/or input an audio signal.
  • the audio component 1110 includes a microphone (MIC) that is configured to receive an external audio signal when the device 1100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 1104 or transmitted via communication component 1116.
  • the audio component 1110 also includes a speaker for outputting an audio signal.
  • the I/O interface 1112 provides an interface between the processing component 1102 and the peripheral interface module, the periphery
  • the interface module can be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1114 includes one or more sensors for providing a status assessment of various aspects to device 1100.
  • sensor assembly 1114 can detect an open/closed state of device 1100, relative positioning of components, such as the display and keypad of device 1100, and sensor component 1114 can also detect a change in position of one component of device 1100 or device 1100. The presence or absence of user contact with device 1100, device 1100 orientation or acceleration/deceleration and temperature change of device 1100.
  • Sensor assembly 1114 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1114 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1116 is configured to facilitate wired or wireless communication between device 1100 and other devices.
  • the device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 1116 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 1116 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 1100 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1104 comprising instructions executable by processor 1118 of apparatus 1100 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to the technical field of computers, and provides a card display method and device. The method comprises: receiving a setting instruction for setting the pattern of a virtual card of a payment client, the virtual card being generated by binding a card account of a real card and a user account that logs into the payment client; receiving a selection instruction, and generating the pattern of the virtual card according to the setting result of constituent elements selected by the selection instruction; and filling the generated pattern to be displayed with the content of the virtual card. By means of the present invention, a user can select the setting results of constituent elements for patterns according to personal preference, and the payment client can generate patterns according to the setting results of the constituent elements selected by the user, so that the problem that a virtual card provided by a card issuer only has one pattern is resolved, and the effect of broadening patterns of virtual cards is achieved.

Description

卡片显示方法及装置Card display method and device 技术领域Technical field
本公开涉及计算机技术领域,特别涉及一种卡片显示方法及装置。The present disclosure relates to the field of computer technologies, and in particular, to a card display method and apparatus.
背景技术Background technique
随着电子钱包的普及,越来越多的用户将实体银行卡的银行账号与支付客户端中登录的用户帐号进行绑定,这样,支付客户端生成与该实体银行卡唯一对应的虚拟银行卡,用户通过支付客户端调用该虚拟银行卡进行电子支付。With the popularity of electronic wallets, more and more users bind the bank account of the physical bank card to the user account registered in the payment client, so that the payment client generates a virtual bank card uniquely corresponding to the entity bank card. The user calls the virtual bank card to make an electronic payment through the payment client.
相关技术中,在支付客户端生成虚拟银行卡后,支付客户端获取发卡方提供的虚拟银行卡的样式,在支付客户端中以该样式显示该虚拟银行卡的内容。In the related art, after the payment client generates the virtual bank card, the payment client obtains the style of the virtual bank card provided by the card issuer, and displays the content of the virtual bank card in the style in the payment client.
发明内容Summary of the invention
为解决相关技术中的问题,本公开提供了一种卡片显示方法及装置。To solve the problems in the related art, the present disclosure provides a card display method and apparatus.
根据本公开实施例的第一方面,提供一种卡片显示方法,所述方法包括:According to a first aspect of an embodiment of the present disclosure, a card display method is provided, the method comprising:
接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,所述虚拟卡片是将实体卡片的卡片帐号与所述支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;Receiving a setting instruction for setting a style of a virtual card in the payment client, the virtual card being a virtual card generated by binding a card account of the physical card with a user account registered in the payment client ;
接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式;Receiving a selection instruction, and generating a style of the virtual card according to a setting result of the constituent elements selected by the selection instruction;
将所述虚拟卡片的内容填充到生成的所述样式中进行显示。The content of the virtual card is filled into the generated style for display.
可选的,所述构成元素包括所述虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,所述内容指示信息用于指示显示的所述虚拟卡片的内容、所述内容的格式和所述内容的显示位置。Optionally, the constituent element includes at least one of a visual effect, a sound effect, a touch special effect, a content indication information, and a background image of the virtual card, where the content indication information is used to indicate the displayed virtual card. Content, the format of the content, and the display location of the content.
可选的,所述方法还包括:Optionally, the method further includes:
根据所述设置指令显示所述样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的所述选择指令。The various constituent elements of the pattern are displayed according to the setting instruction, and the selection instruction carrying the setting result of each constituent element selected by the user is generated.
可选的,当所述构成元素包括虚拟卡片的背景图片时,所述接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式, 包括:Optionally, when the constituent element includes a background image of the virtual card, the receiving a selection instruction, and generating a style of the virtual card according to a setting result of the constituent element selected by the selection instruction, include:
接收用于从所述支付客户端显示的至少两张模板图片中选择一张模板图片的选择指令,将所述选择指令所选择的模板图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式;或者,Receiving a selection instruction for selecting a template picture from at least two template pictures displayed by the payment client, and using the template picture selected by the selection instruction as a setting result of a background picture of the virtual card, generating a Style; or,
接收用于选择终端提供的图片的选择指令,根据所述选择指令显示拍摄控件或图库控件,当接收到作用于所述拍摄控件的触发信号时,将利用摄像头拍摄得到的图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式,或者,当接收到作用于所述图库控件的触发信号时,将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式。Receiving a selection instruction for selecting a picture provided by the terminal, displaying a shooting control or a gallery control according to the selection instruction, and when receiving a trigger signal acting on the shooting control, using a picture taken by the camera as the virtual card a result of setting the background image, generating the pattern, or, when receiving a trigger signal acting on the gallery control, selecting a picture selected from the picture provided by the gallery as a background picture of the virtual card The result of the setting, the style is generated.
可选的,所述方法还包括:Optionally, the method further includes:
获取所述样式的长宽信息,并根据所述长宽信息调整所述摄像头的拍摄模式;Obtaining length and width information of the style, and adjusting a shooting mode of the camera according to the length and width information;
根据所述拍摄模式拍摄得到所述图片,所述图片的长宽比为所述长宽信息所指示的长宽比。The picture is obtained according to the shooting mode, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
可选的,所述方法还包括:Optionally, the method further includes:
在所述将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片之前,获取所述样式的长宽信息,将所述图片的长宽比调整至所述长宽信息所指示的长宽比。Before the picture selected from the picture provided by the gallery is used as the background picture of the virtual card, obtaining length and width information of the pattern, and adjusting an aspect ratio of the picture to the length and width The aspect ratio indicated by the information.
可选的,所述方法还包括:Optionally, the method further includes:
根据所述设置指令显示预设的各个主题样式的标识,并根据用户选择的主题样式的标识和对应关系确定所述主题样式的标识对应的各种构成元素的设置结果,生成携带有所述主题样式对应的各种构成元素的设置结果的所述选择指令,所述主题样式对应的各种构成元素的设置结果具有共同的主题,所述对应关系用于指示不同的主题样式的标识与不同的构成元素的设置结果之间的关系。And displaying, according to the setting instruction, a preset identifier of each theme style, and determining, according to the identifier and the corresponding relationship of the theme style selected by the user, setting results of various constituent elements corresponding to the identifier of the theme style, and generating the carried theme The selection instruction of the setting result of the various constituent elements corresponding to the pattern, the setting result of the various constituent elements corresponding to the theme pattern has a common theme, and the correspondence relationship is used to indicate different identification of the theme style and different The relationship between the setting results of the constituent elements.
可选的,所述方法还包括:Optionally, the method further includes:
预先生成所述各个主题样式;或者,从服务器获取所述各个主题样式。The respective theme styles are generated in advance; or the respective theme styles are acquired from a server.
可选的,当所述构成元素包括虚拟卡片的内容指示信息时,所述将所述虚拟卡片的内容填充到生成的所述样式中,包括:Optionally, when the constituent element includes the content indication information of the virtual card, the filling the content of the virtual card into the generated style includes:
获取所述虚拟卡片的各项内容,并将每项内容填充到所述内容指示信息所 指示的显示位置。Obtaining each content of the virtual card, and populating each content into the content indication information The display position of the indication.
可选的,所述方法还包括:Optionally, the method further includes:
将所述样式和所述卡片帐号发送给服务器,所述服务器用于在接收到登录所述用户帐号的其他支付客户端发送的第一样式获取请求时,根据所述第一样式获取请求中携带的所述卡片帐号确定所述样式,并将所述样式发送给所述其他支付客户端。And sending the style and the card account to the server, where the server is configured to acquire the request according to the first style when receiving the first style acquisition request sent by another payment client that logs in to the user account The card account number carried in the phone determines the style and sends the style to the other payment client.
可选的,所述方法还包括:Optionally, the method further includes:
向服务器发送携带有所述卡片帐号的第二样式获取请求,所述第二样式获取请求用于请求获取发卡方提供的所述虚拟卡片的样式;Sending, to the server, a second style obtaining request carrying the card account, the second style obtaining request for requesting acquiring a style of the virtual card provided by the card issuer;
当接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述服务器返回的样式中进行显示;When receiving the style returned by the server, filling the content of the virtual card into a style returned by the server for display;
当未接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述支付客户端预设的样式中进行显示。When the style returned by the server is not received, the content of the virtual card is filled into a preset style of the payment client for display.
根据本公开实施例的第二方面,提供一种卡片显示装置,所述装置包括:According to a second aspect of the embodiments of the present disclosure, a card display device is provided, the device comprising:
指令接收模块,被配置为接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,所述虚拟卡片是将实体卡片的卡片帐号与所述支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;The instruction receiving module is configured to receive a setting instruction for setting a style of the virtual card in the payment client, the virtual card is to bind the card account of the physical card with the user account registered in the payment client a virtual card generated after the decision;
样式生成模块,被配置为接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式;a style generation module configured to receive a selection instruction, and generate a style of the virtual card according to a setting result of the selected constituent element of the selection instruction;
第一显示模块,被配置为将所述虚拟卡片的内容填充到所述样式生成模块生成的所述样式中进行显示。The first display module is configured to fill the content of the virtual card into the style generated by the style generation module for display.
可选的,所述构成元素包括所述虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,所述内容指示信息用于指示显示的所述虚拟卡片的内容、所述内容的格式和所述内容的显示位置。Optionally, the constituent element includes at least one of a visual effect, a sound effect, a touch special effect, a content indication information, and a background image of the virtual card, where the content indication information is used to indicate the displayed virtual card. Content, the format of the content, and the display location of the content.
可选的,所述装置还包括:Optionally, the device further includes:
第一生成模块,被配置为根据所述设置指令显示所述样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的所述选择指令。The first generation module is configured to display various constituent elements of the pattern according to the setting instruction, and generate the selection instruction carrying a setting result of each constituent element selected by the user.
可选的,当所述构成元素包括虚拟卡片的背景图片时,所述样式生成模块,包括:Optionally, when the constituent element includes a background image of the virtual card, the style generating module includes:
第一生成子模块,被配置为接收用于从所述支付客户端显示的至少两张模板图片中选择一张模板图片的选择指令,将所述选择指令所选择的模板图片作 为所述虚拟卡片的背景图片的设置结果,生成所述样式;或者,a first generating submodule configured to receive a selection instruction for selecting a template picture from at least two template pictures displayed by the payment client, and using the template picture selected by the selection instruction Generating the pattern for the setting result of the background image of the virtual card; or,
第二生成子模块,被配置为接收用于选择终端提供的图片的选择指令,根据所述选择指令显示拍摄控件或图库控件,当接收到作用于所述拍摄控件的触发信号时,将利用摄像头拍摄得到的图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式,或者,当接收到作用于所述图库控件的触发信号时,将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式。a second generation submodule configured to receive a selection instruction for selecting a picture provided by the terminal, display a shooting control or a gallery control according to the selection instruction, and use the camera when receiving a trigger signal acting on the shooting control The captured image is generated as a result of the setting of the background image of the virtual card, or the selected image is selected from the image provided by the gallery when a trigger signal is applied to the gallery control. The picture is generated as a result of the setting of the background picture of the virtual card.
可选的,所述样式生成模块,还包括:Optionally, the style generating module further includes:
第一调整子模块,被配置为获取所述样式的长宽信息,并根据所述长宽信息调整所述摄像头的拍摄模式;a first adjustment submodule configured to acquire length and width information of the style, and adjust a shooting mode of the camera according to the length and width information;
图片拍摄子模块,被配置为根据所述第一调整子模块调整后的所述拍摄模式拍摄得到所述图片,所述图片的长宽比为所述长宽信息所指示的长宽比。The picture shooting sub-module is configured to capture the picture according to the shooting mode adjusted by the first adjustment sub-module, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
可选的,所述样式生成模块,还包括:Optionally, the style generating module further includes:
第二调整子模块,被配置为在所述将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片之前,获取所述样式的长宽信息,将所述图片的长宽比调整至所述长宽信息所指示的长宽比。a second adjustment submodule configured to acquire length and width information of the style before the background image selected from the gallery is used as a background image of the virtual card, and the image is The aspect ratio is adjusted to the aspect ratio indicated by the length and width information.
可选的,所述装置还包括:Optionally, the device further includes:
第二生成模块,被配置为根据所述设置指令显示预设的各个主题样式的标识,并根据用户选择的主题样式的标识和对应关系确定所述主题样式对应的各种构成元素的设置结果,生成携带有所述主题样式对应的各种构成元素的设置结果的所述选择指令,所述主题样式对应的各种构成元素的设置结果具有共同的主题,所述对应关系用于指示不同的主题样式的标识与不同的构成元素的设置结果之间的关系。The second generation module is configured to display the identifiers of the preset theme styles according to the setting instructions, and determine the setting results of the various constituent elements corresponding to the theme style according to the identifiers and corresponding relationships of the theme styles selected by the user, And generating the selection instruction carrying the setting result of the various constituent elements corresponding to the theme style, wherein the setting result of the various constituent elements corresponding to the theme style has a common theme, and the corresponding relationship is used to indicate different topics The relationship between the identity of the style and the result of setting the different constituent elements.
可选的,所述装置还包括:Optionally, the device further includes:
样式获取模块,被配置为预先生成所述各个主题样式;或者,从服务器获取所述各个主题样式。a style acquisition module configured to pre-generate the respective theme styles; or obtain the respective theme styles from a server.
可选的,当所述构成元素包括虚拟卡片的内容指示信息时,所述第一显示模块,还被配置为:Optionally, when the constituent element includes the content indication information of the virtual card, the first display module is further configured to:
获取所述虚拟卡片的各项内容,并将每项内容填充到所述内容指示信息所指示的显示位置进行显示。Acquiring each content of the virtual card, and filling each content into a display position indicated by the content indication information for display.
可选的,所述装置还包括: Optionally, the device further includes:
第一发送模块,被配置为将所述样式和所述卡片帐号发送给服务器,所述服务器用于在接收到登录所述用户帐号的其他支付客户端发送的第一样式获取请求时,根据所述第一样式获取请求中携带的所述卡片帐号确定所述样式,并将所述样式发送给所述其他支付客户端。a first sending module, configured to send the style and the card account to a server, where the server is configured to receive, according to the first style obtaining request sent by another payment client that logs in to the user account, according to The card account number carried in the first style acquisition request determines the style, and sends the style to the other payment client.
可选的,所述装置还包括:Optionally, the device further includes:
第二发送模块,被配置为向服务器发送携带有所述卡片帐号的第二样式获取请求,所述第二样式获取请求用于请求获取发卡方提供的所述虚拟卡片的样式;a second sending module, configured to send a second style obtaining request carrying the card account to the server, where the second style obtaining request is used to request obtaining a style of the virtual card provided by the card issuer;
第二显示模块,被配置为当接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述服务器返回的样式中进行显示;a second display module, configured to: when receiving the style returned by the server, populate the content of the virtual card into a style returned by the server for display;
第三显示模块,被配置为当未接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述支付客户端预设的样式中进行显示。The third display module is configured to: when the style returned by the server is not received, fill the content of the virtual card into a preset style of the payment client for display.
根据本公开实施例的第三方面,提供一种卡片显示装置,所述装置包括:According to a third aspect of the embodiments of the present disclosure, a card display device is provided, the device comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,所述虚拟卡片是将实体卡片的卡片帐号与所述支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;Receiving a setting instruction for setting a style of a virtual card in the payment client, the virtual card being a virtual card generated by binding a card account of the physical card with a user account registered in the payment client ;
接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式;Receiving a selection instruction, and generating a style of the virtual card according to a setting result of the constituent elements selected by the selection instruction;
将所述虚拟卡片的内容填充到生成的所述样式中进行显示。The content of the virtual card is filled into the generated style for display.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
通过接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式,使得用户可以根据自己的喜好自行选择样式的构成元素的设置结果,支付客户端根据用户选择的构成元素的设置结果生成样式,解决了由发卡方提供的虚拟卡片的样式单一的问题,达到了扩展虚拟卡片的样式的效果。By receiving the selection instruction and generating the style of the virtual card according to the setting result of the selected constituent elements of the selection instruction, the user can select the setting result of the constituent elements of the style according to his or her own preference, and the payment client selects the constituent element according to the user. The setting result generation style solves the problem that the style of the virtual card provided by the card issuing party is single, and the effect of expanding the style of the virtual card is achieved.
构成元素包括虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,丰富了样式的构成元素。The constituent elements include at least one of visual effects, sound effects, touch effects, content indication information, and background images of the virtual card, enriching the constituent elements of the style.
通过根据设置指令显示样式的各种构成元素,并生成携带有用户选择的每 种构成元素的设置结果的选择指令,使得用户可以自定义样式包括的构成元素的种类以及每种构成元素的设置结果,提高了样式设置的灵活性,也保证了样式的个性化。By displaying various constituent elements of the style according to the setting instructions, and generating each of the user-selected The selection instruction of the setting result of the constituent elements enables the user to customize the type of the constituent elements included in the style and the setting result of each constituent element, thereby improving the flexibility of the style setting and ensuring the personalization of the style.
当客户端提供主题样式的标识供用户选择时,客户端根据用户选择的主题样式的标识确定与该主题样式对应的各种构成元素以及该各种构成元素中每种构成元素的一种设置结果,生成携带有主题样式对应的各种构成元素的设置结果的选择指令,这样,用户只需要选择主题样式的标识,客户端就可以生成该主题样式,不需要用户手动配置多种构成元素以及每种构成元素的设置结果,简化了生成主题样式的复杂性,提高了主题样式的生成效率;并且,用户可以选择喜欢的人或物对应的主题样式作为虚拟卡片的样式,提升了用户体验。When the client provides the identifier of the theme style for the user to select, the client determines various constituent elements corresponding to the theme style and a setting result of each constituent element of the various constituent elements according to the identifier of the theme style selected by the user. , generating a selection instruction carrying the setting result of various constituent elements corresponding to the theme style, so that the user only needs to select the identifier of the theme style, the client can generate the theme style, and the user does not need to manually configure multiple constituent elements and each The result of setting the constituent elements simplifies the complexity of generating the theme style and improves the generation efficiency of the theme style; and the user can select the theme style of the favorite person or object as the style of the virtual card, thereby improving the user experience.
通过预先生成各个主题样式,可以由用户根据喜欢的人或物自定义主题样式,提升了用户体验;或者,通过从服务器获取各个主题样式,不需要用户手动配置多种构成元素以及每种构成元素的设置结果,简化了生成主题样式的复杂性,提高了主题样式的生成效率。By pre-generating each theme style, the user can customize the theme style according to the favorite person or object, thereby improving the user experience; or, by obtaining various theme styles from the server, the user does not need to manually configure various constituent elements and each constituent element. The result of the setting simplifies the complexity of generating the theme style and improves the efficiency of the generation of the theme style.
通过将样式和卡片帐号发送给服务器,使得服务器在接收到登录用户帐号的其他支付客户端发送的第一样式获取请求时,根据第一样式获取请求中携带的卡片帐号确定样式,并将样式发送给其他支付客户端,这样,登录同一用户帐号的多个支付客户端中的同一虚拟卡片对应于同一样式,保证了同一张虚拟卡片的样式的统一。Sending the style and card account to the server, so that when the server receives the first style acquisition request sent by the other payment client that logs in the user account, the server determines the style of the card account carried in the request according to the first style, and The style is sent to other payment clients, so that the same virtual card in multiple payment clients logged into the same user account corresponds to the same style, which ensures the uniformity of the style of the same virtual card.
通过获取样式的长宽信息,并根据长宽信息调整摄像头的拍摄模式;根据拍摄模式拍摄得到图片,使得拍摄得到的图片的长宽比即为长宽信息所指示的长宽比,这样,在将该图片作为虚拟卡片的背景图片时,不需要再对该图片进行调整,简化了设置操作的复杂性,提高了设置操作的效率。By obtaining the length and width information of the style, and adjusting the shooting mode of the camera according to the length and width information; taking a picture according to the shooting mode, so that the aspect ratio of the captured picture is the aspect ratio indicated by the length and width information, thus, When the picture is used as the background image of the virtual card, the picture does not need to be adjusted, which simplifies the complexity of the setting operation and improves the efficiency of the setting operation.
通过在未接收到服务器返回的样式时,将虚拟卡片的内容填充到支付客户端预设的样式中进行显示,保证虚拟卡片可以正常显示。When the style returned by the server is not received, the content of the virtual card is filled into the preset style of the payment client for display, so that the virtual card can be displayed normally.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。The above general description and the following detailed description are merely exemplary and are not intended to limit the disclosure.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本公开说明书的一部分,示出了符合本 公开的实施例,并与说明书一起用于解释本公开的原理。The drawings herein are incorporated into the specification and constitute a part of the present specification, showing The disclosed embodiments, together with the specification, are used to explain the principles of the disclosure.
图1是根据各个示例性实施例示出的一种实施环境的框图。FIG. 1 is a block diagram of an implementation environment, in accordance with various exemplary embodiments.
图2是根据一示例性实施例示出的一种卡片显示方法的流程图。FIG. 2 is a flowchart of a card display method according to an exemplary embodiment.
图3是根据另一示例性实施例示出的一种卡片显示方法的流程图。FIG. 3 is a flowchart of a card display method according to another exemplary embodiment.
图4是根据另一示例性实施例示出的一种虚拟卡片列表的第一种示意图。FIG. 4 is a first schematic diagram of a virtual card list, according to another exemplary embodiment.
图5是根据另一示例性实施例示出的一种虚拟卡片的第一种设置示意图。FIG. 5 is a first schematic diagram of a virtual card shown in accordance with another exemplary embodiment.
图6是根据另一示例性实施例示出的一种虚拟卡片的第二种设置示意图。FIG. 6 is a second schematic diagram of a virtual card shown in accordance with another exemplary embodiment.
图7是根据另一示例性实施例示出的一种虚拟卡片列表的第二种示意图。FIG. 7 is a second schematic diagram of a virtual card list, according to another exemplary embodiment.
图8是根据另一示例性实施例示出的一种虚拟卡片的使用示意图。FIG. 8 is a schematic diagram showing the use of a virtual card according to another exemplary embodiment.
图9是根据一示例性实施例示出的一种卡片显示装置的框图。FIG. 9 is a block diagram of a card display device, according to an exemplary embodiment.
图10是根据一示例性实施例示出的一种卡片显示装置的框图。FIG. 10 is a block diagram of a card display device, according to an exemplary embodiment.
图11是根据一示例性实施例示出的一种用于卡片显示的装置的框图。FIG. 11 is a block diagram of an apparatus for card display, according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with aspects of the present disclosure as detailed in the appended claims.
图1是根据本发明各个实施例示出的一种实施环境的框图。该实施环境包括:终端120、服务器140和发卡方160。1 is a block diagram of an implementation environment, in accordance with various embodiments of the present invention. The implementation environment includes a terminal 120, a server 140, and a card issuer 160.
终端120可以是手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、膝上型便携计算机和台式计算机等等。The terminal 120 can be a mobile phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), and an MP4 (Moving Picture Experts Group Audio Layer IV). Standard audio level 3) Players, laptops and desktop computers, etc.
终端120可以安装有应用程序客户端,或者安装有浏览器,通过浏览器访问应用程序的网页客户端。本发明实施例将应用程序客户端和网页客户端统称为支付客户端,下文不再特别声明。支付客户端是具有支付功能的客户端,且支付客户端中登录的用户帐号和用户拥有的实体卡片的卡片帐号之间存在绑定关系,即,支付客户端中设置有与实体卡片对应的虚拟卡片。其中,虚拟卡 片可以是虚拟银行卡、虚拟会员卡、虚拟充值卡、虚拟消费卡、虚拟卡券等等,本实施例不作限定。当虚拟卡片是虚拟银行卡时,卡片帐号是银行账号;当虚拟卡片是虚拟会员卡时,卡片帐号是会员帐号;当虚拟卡片是虚拟充值卡时,卡片帐号是充值卡帐号;当虚拟卡片是虚拟消费卡时,卡片帐号是消费卡帐号;当虚拟卡片是虚拟卡券时,卡片帐号是卡券帐号。The terminal 120 can be installed with an application client or a web browser with a browser installed to access the application through a browser. The application client and the web client are collectively referred to as a payment client in the embodiment of the present invention, and are not specifically stated below. The payment client is a client with a payment function, and there is a binding relationship between the user account registered in the payment client and the card account of the entity card owned by the user, that is, the payment client has a virtual corresponding to the entity card. card. Among them, the virtual card The slice may be a virtual bank card, a virtual loyalty card, a virtual recharge card, a virtual consuming card, a virtual card voucher, etc., which is not limited in this embodiment. When the virtual card is a virtual bank card, the card account is a bank account; when the virtual card is a virtual membership card, the card account is a member account; when the virtual card is a virtual recharge card, the card account is a recharge card account; when the virtual card is When the virtual card is used, the card account is the card account; when the virtual card is a virtual card, the card account is the card account.
服务器140可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心。服务器140用于与终端120交互提供电子兑换类业务。服务器140通常由互联网服务商来设立。 Server 140 can be a server, or a cluster of servers consisting of several servers, or a cloud computing service center. The server 140 is configured to interact with the terminal 120 to provide an electronic exchange type service. Server 140 is typically set up by an internet service provider.
发卡方160是发放实体卡片的第三方的设备。当实体卡片是银行卡时,第三方160是银行方的设备;当实体卡片是会员卡、充值卡、消费卡、卡券时,第三方160是商家的设备。其中,发卡方160可以是服务器,也可以是其他电子设备,图1中以发卡方160是服务器来举例说明。The card issuer 160 is a third party device that issues physical cards. When the physical card is a bank card, the third party 160 is a bank party device; when the entity card is a membership card, a recharge card, a consumer card, or a card coupon, the third party 160 is a merchant device. The card issuer 160 may be a server or other electronic device. In FIG. 1, the issuer 160 is a server.
终端120与服务器140之间可以通过无线网络或者有线网络相连,服务器140与发卡方160之间可以通过无线网络或者有线网络相连。The terminal 120 and the server 140 can be connected through a wireless network or a wired network, and the server 140 and the card issuer 160 can be connected through a wireless network or a wired network.
图2是根据一示例性实施例示出的一种卡片显示方法的流程图,该卡片显示方法应用于终端的支付客户端中,如图2所示,该卡片显示方法包括以下步骤。FIG. 2 is a flowchart of a card display method applied to a payment client of a terminal according to an exemplary embodiment. As shown in FIG. 2, the card display method includes the following steps.
在步骤201中,接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,该虚拟卡片是将实体卡片的卡片帐号与支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片。In step 201, a setting instruction for setting a style of a virtual card in the payment client is obtained, and the virtual card is a virtual account generated by binding the card account of the entity card with the user account registered in the payment client. Card.
在步骤202中,接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式。In step 202, a selection instruction is received, and a style of the virtual card is generated based on the setting result of the constituent elements selected by the selection instruction.
在步骤203中,将虚拟卡片的内容填充到生成的样式中进行显示。In step 203, the content of the virtual card is filled into the generated style for display.
综上所述,本公开提供的卡片显示方法,通过接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式,使得用户可以根据自己的喜好自行选择样式的构成元素的设置结果,支付客户端根据用户选择的构成元素的设置结果生成样式,解决了由发卡方提供的虚拟卡片的样式单一的问题,达到了扩展虚拟卡片的样式的效果。In summary, the card display method provided by the present disclosure generates a virtual card style by receiving a selection instruction and according to a setting result of the selected constituent element of the selection instruction, so that the user can select a constituent element of the style according to his or her own preference. As a result of the setting, the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuer is single, and achieves the effect of expanding the style of the virtual card.
图3是根据另一示例性实施例示出的一种卡片显示方法的流程图,该卡片 显示方法应用于终端的支付客户端中,如图3所示,该卡片显示方法包括如下步骤。FIG. 3 is a flowchart of a card display method according to another exemplary embodiment, the card The display method is applied to the payment client of the terminal. As shown in FIG. 3, the card display method includes the following steps.
在步骤301中,向服务器发送携带有卡片帐号的第二样式获取请求,该第二样式获取请求用于请求获取发卡方提供的虚拟卡片的样式。In step 301, a second style acquisition request carrying a card account is sent to the server, and the second style acquisition request is used to request the style of the virtual card provided by the card issuer.
支付客户端需要先绑定用户的实体卡片,生成与该实体卡片唯一对应的虚拟卡片。以绑定银行卡为例进行说明,用户在支付客户端中输入银行卡号、办理该银行卡时在银行预留的手机号和向该手机号发送的验证码,将银行卡号、手机号和验证码发送给服务器,服务器确定该银行卡号对应的银行服务器,将银行卡号、手机号和验证码发送给银行服务器,银行服务器对银行卡号、手机号和验证码进行验证,在验证通过后,向服务器发送确认消息,服务器向支付客户端转发该确认消息,支付客户端生成虚拟卡片。The payment client needs to bind the user's entity card first, and generate a virtual card uniquely corresponding to the entity card. Take the binding bank card as an example. The user enters the bank card number in the payment client, the mobile phone number reserved in the bank when the bank card is processed, and the verification code sent to the mobile phone number, and the bank card number, mobile phone number, and verification. The code is sent to the server, the server determines the bank server corresponding to the bank card number, and sends the bank card number, the mobile phone number and the verification code to the bank server, and the bank server verifies the bank card number, the mobile phone number and the verification code, and after the verification is passed, the server is sent to the server. Sending a confirmation message, the server forwards the confirmation message to the payment client, and the payment client generates a virtual card.
在支付客户端生成虚拟卡片后,支付客户端可以对虚拟卡片进行显示,此时,支付客户端需要获取虚拟卡片的样式。相关技术中,虚拟卡片的显示样式是由发卡方提供的,以保证虚拟卡片的样式与实体卡片的样式一致。比如,发卡方提供的样式可以包括一张背景图片和长宽信息,且该背景图片与实体卡片的背景图片相同,且长宽信息所指示的长宽比和实体卡片的长宽比相同。After the payment client generates the virtual card, the payment client can display the virtual card. At this time, the payment client needs to acquire the style of the virtual card. In the related art, the display style of the virtual card is provided by the card issuing party to ensure that the style of the virtual card is consistent with the style of the physical card. For example, the style provided by the card issuer may include a background picture and length and width information, and the background picture is the same as the background picture of the physical card, and the aspect ratio indicated by the length and width information is the same as the aspect ratio of the physical card.
在一种实现方式中,发卡方在验证通过后直接向服务器返回该虚拟卡片的样式,服务器直接将该样式发送给支付客户端。由于某些支付客户端只需要利用虚拟卡片进行支付,而不需要显示虚拟卡片,如果直接将虚拟卡片的样式发送给支付客户端,会造成资源浪费,因此,在另一种实现方式中,支付客户端需要向服务器发送第二样式获取请求,服务器将该第二样式获取请求转发给发卡方,以向发卡方请求虚拟卡片的样式。由于不同的卡片帐号可能对应于不同的样式,比如,储蓄卡和信用卡对应不同的样式,因此,支付客户端在向服务器发送第二样式获取请求时,还需要在第二样式获取请求中携带虚拟卡片的卡片帐号。In an implementation manner, the card issuer directly returns the style of the virtual card to the server after the verification is passed, and the server directly sends the style to the payment client. Since some payment clients only need to use virtual cards for payment without displaying virtual cards, if the style of the virtual cards is directly sent to the payment client, resources are wasted, so in another implementation, payment is made. The client needs to send a second style acquisition request to the server, and the server forwards the second style acquisition request to the card issuer to request the style of the virtual card from the card issuer. Since different card accounts may correspond to different styles, for example, the savings card and the credit card correspond to different styles, the payment client also needs to carry the virtual in the second style acquisition request when sending the second style acquisition request to the server. Card account number for the card.
在步骤302中,当接收到服务器返回的样式时,将虚拟卡片的内容填充到服务器返回的样式中进行显示,执行步骤304。In step 302, when the style returned by the server is received, the content of the virtual card is filled into the style returned by the server for display, and step 304 is performed.
发卡方读取接收到的第二样式获取请求中携带的卡片帐号,查找与该卡片帐号对应的样式,在查找到该样式时,将该样式发送给服务器,服务器存储该样式,并将该样式发送给支付客户端,支付客户端再获取虚拟卡片的内容,将虚拟卡片的内容填充到服务器返回的样式中进行显示。其中,虚拟卡片的内容 可以包括发卡方图标、发卡方名称、卡片帐号等等。The card issuing party reads the card account carried in the received second style obtaining request, and searches for a style corresponding to the card account. When the style is found, the style is sent to the server, and the server stores the style and the style is stored. The payment is sent to the payment client, and the payment client acquires the content of the virtual card, and fills the content of the virtual card into the style returned by the server for display. Among them, the content of the virtual card It can include a card issuer icon, a card issuer name, a card account number, and the like.
若发卡方提供的样式的构成元素包括背景图片和长宽信息,服务器还可以生成内容指示信息,并将该内容指示信息作为构成元素添加到该样式中发送给支付客户端,以通过该内容指示信息指定在该背景图片上所显示的虚拟卡片的内容、内容的格式和内容的显示位置。其中,在背景图片上所显示的内容可以包括银行图标、银行名称、卡片帐号等等,内容的格式可以包括字体、颜色、字号等等,本实施例不作限定。If the constituent elements of the style provided by the card issuer include the background picture and the length and width information, the server may further generate content indication information, and add the content indication information as a constituent element to the style to send to the payment client to indicate by the content The information specifies the content of the virtual card displayed on the background picture, the format of the content, and the display position of the content. The content displayed on the background image may include a bank icon, a bank name, a card account number, and the like. The format of the content may include a font, a color, a font size, and the like, which is not limited in this embodiment.
例如,支付客户端在接收到服务器返回的样式后,以样式中的长宽信息所指示的长宽比显示背景图片,若内容指示信息指定在背景图片的左上方显示银行图标和银行名称,在背景图片的下方显示卡片帐号,且卡片帐号的最后四位以数字形式显示,其余位以“x”代替,则支付客户端根据虚拟卡片获取虚拟卡片所属的银行图标、银行名称和卡片帐号的后四位,在背景图片的左上方显示银行图标和银行名称,在背景图片的下方显示卡片帐号,且卡片帐号的最后四位以数字形式显示,其余位以“x”代替。其中,虚拟卡片的所属的银行图标、银行名称和卡片帐号可以是支付客户端中预存的。For example, after receiving the style returned by the server, the payment client displays the background image according to the aspect ratio indicated by the length and width information in the style. If the content indication information specifies the bank icon and the bank name displayed at the upper left of the background image, The card account is displayed below the background image, and the last four digits of the card account are displayed in digital form, and the remaining digits are replaced by “x”. After the payment client obtains the bank icon, bank name and card account of the virtual card according to the virtual card. Four digits, the bank icon and bank name are displayed in the upper left of the background image, the card account number is displayed below the background image, and the last four digits of the card account number are displayed in numbers, and the remaining digits are replaced by "x". The bank icon, the bank name, and the card account to which the virtual card belongs may be pre-stored in the payment client.
在步骤303中,当未接收到服务器返回的样式时,将虚拟卡片的内容填充到支付客户端预设的样式中进行显示。In step 303, when the style returned by the server is not received, the content of the virtual card is filled into the preset style of the payment client for display.
在发卡方未查找到该样式时,向服务器发送通知消息,此时,服务器根据该通知消息指示支付客户端将虚拟卡片的内容填充到支付客户端预设的样式中进行显示。When the card issuer does not find the style, the notification message is sent to the server. At this time, the server instructs the payment client to fill the content of the virtual card into the preset style of the payment client for display according to the notification message.
由于发卡方或支付客户端预设的样式比较单一,因此,若用户想要自定义卡片的样式,执行步骤304。Since the style of the card issuer or the payment client is relatively simple, if the user wants to customize the style of the card, step 304 is performed.
在步骤304中,接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,该虚拟卡片是将实体卡片的卡片帐号与支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片。In step 304, a setting instruction for setting a style of the virtual card in the payment client is obtained, and the virtual card is a virtual generated by binding the card account of the physical card with the user account registered in the payment client. Card.
设置指令可以是用户触发在支付客户端中显示的虚拟卡片时生成的,也可以是用户触发预定控件时生成的,本实施例不作限定。The setting instruction may be generated when the user triggers the virtual card displayed in the payment client, or may be generated when the user triggers the predetermined control, which is not limited in this embodiment.
请参考图4,图4中的支付客户端中显示有3张虚拟卡片,且每张虚拟卡片的卡片帐号不同,若用户点击卡片帐号的后四位为“8888”的虚拟卡片,则支付服务器接收到设置指令。Referring to FIG. 4, there are three virtual cards displayed in the payment client in FIG. 4, and the card accounts of each virtual card are different. If the user clicks on the virtual card of the “8888” in the last four digits of the card account, the payment server Received a setup command.
在一种实现方式中,支付客户端根据设置指令显示样式的构成元素,并根 据用户选择的构成元素生成样式,此时执行步骤305;或者,在另一种实现方式中,支付客户端根据设置指令显示预设的主题样式,并确定用户选择的主题样式,此时执行步骤306。In an implementation manner, the payment client displays the constituent elements of the style according to the setting instruction, and the root According to the user-selected constituent element generation style, step 305 is performed at this time; or, in another implementation manner, the payment client displays the preset theme style according to the setting instruction, and determines the theme style selected by the user, and then performs the step. 306.
在步骤305中,根据设置指令显示样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的选择指令,执行步骤307。In step 305, various constituent elements of the style are displayed according to the setting instruction, and a selection instruction carrying the setting result of each constituent element selected by the user is generated, and step 307 is executed.
其中,虚拟卡片的样式包括多种构成元素,支付客户端显示的构成元素是能够由用户自定义的构成元素。比如,样式的构成元素包括背景图片和长宽信息,且背景图片能够由用户自定义,长宽信息不能由用户自定义,则支付客户端显示背景图片这种构成元素,不显示长宽信息这种构成元素。The style of the virtual card includes a plurality of constituent elements, and the constituent elements displayed by the payment client are constituent elements that can be customized by the user. For example, the constituent elements of the style include the background image and the length and width information, and the background image can be customized by the user, and the length and width information cannot be customized by the user, and the payment client displays the constituent elements of the background image, and does not display the length and width information. Kind of constituent elements.
本实施例中,支付客户端显示的样式的构成元素包括虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种。其中,视觉特效是真人镜头和计算机生成图像的合成以创造虚拟的真实场景,比如,在显示虚拟卡片时,播放用户向外撒钱币的画面。声效是声音特效,比如,在显示虚拟卡片时,播放钱币碰撞的声音;或者,在使用虚拟卡片时,用卡通人物的声音播报消费金额或积累积分。触碰特效是在用户触碰虚拟卡片时播放的声音,比如,在用户点击虚拟卡片时,播放“叮”的声音。背景图片可以是静态图片、动态图片、拟物图片等等,拟物图片是表示三维物体的图片。In this embodiment, the constituent elements of the style displayed by the payment client include at least one of a visual effect of the virtual card, a sound effect, a touch effect, content indication information, and a background image. Among them, the visual special effect is a combination of a live-action lens and a computer-generated image to create a virtual real scene, for example, when displaying a virtual card, the user is sprinkled with a picture of the coin. The sound effect is a sound effect, for example, playing a coin collision sound when displaying a virtual card; or, when using a virtual card, using a cartoon character's voice to broadcast the amount of consumption or accumulating points. The touch effect is a sound that is played when the user touches the virtual card, for example, when the user clicks on the virtual card, the sound of "叮" is played. The background image may be a still picture, a dynamic picture, a pseudo picture, or the like, and the pseudo picture is a picture representing a three-dimensional object.
支付客户端可以对上述构成元素中的至少一种进行显示,并对显示的每种构成元素设置一个下拉菜单,在每个下拉菜单中显示对应的构成元素的多种设置选项,用户可以在每种构成元素下选择一种设置选项。当用户对某种构成元素选择的设置选项是“无”时,支付客户端根据该设置结果确定用户自定义的样式中不包括该构成元素,实现对构成元素的种类的自定义;当用户对某种构成元素的设置选项是除“无”之外的设置选项时,将该设置选项作为该构成元素的设置结果,生成携带有用户选择的每种构成元素的设置结果的选择指令。The payment client may display at least one of the above constituent elements, and set a pull-down menu for each constituent element displayed, and display various setting options of the corresponding constituent elements in each drop-down menu, the user may Select a setting option under the constituent elements. When the setting option of the user to select a certain constituent element is “None”, the payment client determines, according to the setting result, that the user-defined style does not include the constituent element, and implements customization of the type of the constituent element; When the setting option of a certain constituent element is a setting option other than "None", the setting option is used as a setting result of the constituent element, and a selection instruction carrying a setting result of each constituent element selected by the user is generated.
当构成元素是背景图片时,在背景图片的下拉菜单中显示的设置选项为一张背景图片的名称或缩略图,用户从下拉菜单中选择除“无”之外的一个设置选项,将该设置选项所对应的背景图片作为设置结果。When the constituent element is a background image, the setting option displayed in the drop-down menu of the background image is the name or thumbnail of a background image, and the user selects a setting option other than "None" from the pull-down menu to set the setting. The background image corresponding to the option is used as the setting result.
当构成元素是内容指示信息时,在内容指示信息对应的显示区域中显示发卡方图标、发卡方名称和卡片帐号这三个下拉菜单,每个下拉菜单用于设置是否显示该项内容。例如,当用户在卡片帐号的下拉菜单中选择“不显示”的设置选项时,在显示虚拟卡片时不显示卡片帐号;当用户在卡片帐号的下拉菜单 中选择“显示”的设置选项时,在显示虚拟卡片时显示卡片帐号。When the constituent element is the content indication information, three pull-down menus of the card issuer icon, the issuer name, and the card account number are displayed in the display area corresponding to the content indication information, and each pull-down menu is used to set whether to display the item content. For example, when the user selects the "do not display" setting option in the pull-down menu of the card account, the card account is not displayed when the virtual card is displayed; when the user is in the drop-down menu of the card account When the setting option of "Display" is selected, the card account number is displayed when the virtual card is displayed.
当用户设置显示某项内容时,支付客户端还可以显示用于设置该项内容的格式的下拉菜单。例如,当显示卡片帐号时,支付客户端还显示卡片帐号的字体、颜色和字号等下拉菜单,例如,用户在字体的下拉菜单中选择卡片帐号的字体为“楷体”的设置选项、颜色为“黑色”的设置选项、字号为“四号”的设置选项,将“楷体”、“黑色”和“四号”作为设置结果。When the user sets to display an item, the payment client can also display a drop-down menu for formatting the content of the item. For example, when displaying a card account, the payment client also displays a drop-down menu such as the font, color, and font size of the card account. For example, the user selects the font account's font as the setting option of the "body" in the drop-down menu of the font, and the color is " The setting option of "Black" and the setting option of the font size is "No. 4", and "Body", "Black" and "No. 4" are set as the result.
当构成元素是视觉特效时,支付客户端在视觉特效的下拉菜单中显示各种视觉特效的名称,用户可以从下拉菜单中选择一种视觉效果作为设置结果。当构成元素是声效时,支付客户端在声效的下拉菜单中显示各种声效的名称,用户可以从下拉菜单中选择一种声效作为设置结果。当构成元素是触碰特效时,支付客户端在触碰特效的下拉菜单中显示各种触碰特效的名称,用户可以从下拉菜单中选择一种触碰特效作为设置结果。When the constituent elements are visual effects, the payment client displays the names of various visual effects in the pull-down menu of the visual effects, and the user can select a visual effect from the drop-down menu as the setting result. When the constituent elements are sound effects, the payment client displays the names of various sound effects in the sound effect pull-down menu, and the user can select a sound effect from the pull-down menu as the setting result. When the constituent element is a touch effect, the payment client displays the names of various touch effects in the pull-down menu of the touch effect, and the user can select a touch effect from the pull-down menu as the setting result.
在步骤306中,根据设置指令显示预设的各个主题样式的标识,并根据用户选择的主题样式的标识和对应关系确定主题样式对应的各种构成元素的设置结果,生成携带有主题样式对应的各种构成元素的设置结果的选择指令,主题样式对应的各种构成元素的设置结果具有共同的主题,对应关系用于指示不同的主题样式的标识与不同的构成元素的设置结果之间的关系。In step 306, the preset identification of each theme style is displayed according to the setting instruction, and the setting result of the various constituent elements corresponding to the theme style is determined according to the identifier and the corresponding relationship of the theme style selected by the user, and the corresponding style corresponding to the theme style is generated. The selection instruction of the setting result of each constituent element, the setting result of the various constituent elements corresponding to the theme style has a common theme, and the correspondence relationship is used to indicate the relationship between the identification of the different theme styles and the setting result of the different constituent elements. .
支付客户端中预设有多个主题样式,每个主题样式所对应的各种构成元素的设置结果具有共同的主题。例如,当主题样式是HelloKitty,且HelloKitty对应于背景图片、声效和字体的颜色这三种构成元素时,背景图片可以是带有HelloKitty的图片,声效可以是HelloKitty的声音、字体的颜色可以是粉色。A plurality of theme styles are pre-set in the payment client, and the setting results of the various constituent elements corresponding to each theme style have a common theme. For example, when the theme style is HelloKitty, and HelloKitty corresponds to the three constituent elements of background image, sound effect and font color, the background image can be a picture with HelloKitty, the sound effect can be the sound of HelloKitty, and the color of the font can be pink. .
不同的主题样式可以对应于不同种类的构成元素。例如,主题样式1对应于背景图片、内容指示信息和触碰特效;主题样式2对应于背景图片、声效。或者,不同的主题样式可以对应于同种类的构成元素,但至少一种构成元素的设置结果不同。例如,主题样式1对应于背景图片和内容指示信息,主题样式2也对应于背景图片和内容指示信息,但主题样式1中背景图片的设置结果和主题样式2中背景图片的设置结果不同,主题样式1中内容指示信息的设置结果和主题样式2中内容指示信息的设置结果可以相同,也可以不同。Different theme styles can correspond to different kinds of constituent elements. For example, the theme pattern 1 corresponds to a background picture, content indication information, and touch effects; the theme pattern 2 corresponds to a background picture, a sound effect. Alternatively, different theme styles may correspond to constituent elements of the same kind, but the setting results of at least one constituent element are different. For example, the theme style 1 corresponds to the background image and the content indication information, and the theme style 2 also corresponds to the background image and the content indication information, but the setting result of the background image in the theme style 1 is different from the setting result of the background image in the theme style 2, the theme The setting result of the content indication information in the style 1 and the setting result of the content indication information in the theme pattern 2 may be the same or different.
其中,支付客户端还预先生成各个主题样式;或者,从服务器获取各个主题样式。若由支付客户端生成各个主题样式,则支付客户端显示样式的各种构成元素,接收用户选择的至少一种构成元素的设置结果,并生成主题样式的标 识,建立该至少一种构成元素的设置结果与主题样式的标识的对应关系,这样,当用户选择一种主题样式的标识时,支付客户端能够在该对应关系中查找与该主题样式的标识对应的至少一种构成元素的设置结果,从而生成主题样式。若支付客户端从服务器获取各个主题样式,则支付客户端从服务器获取每种主题样式的标识和该主题样式对应的至少一种构成元素的设置结果,这样,当用户选择一种主题样式的标识时,支付客户端能够读取与该主题样式的标识对应的至少一种构成元素的设置结果,从而生成主题样式。The payment client also generates each theme style in advance; or, obtains each theme style from the server. If each theme style is generated by the payment client, the various constituent elements of the client display style are paid, the setting result of at least one constituent element selected by the user is received, and the theme style is generated. And establishing a correspondence between the setting result of the at least one constituent element and the identifier of the theme style, so that when the user selects an identifier of the theme style, the payment client can find the identifier of the theme style in the correspondence relationship Corresponding at least one constituent element's setting result, thereby generating a theme style. If the payment client obtains each theme style from the server, the payment client obtains the identifier of each theme style from the server and the setting result of the at least one constituent element corresponding to the theme style, so that when the user selects an identifier of the theme style At the time, the payment client can read the setting result of the at least one constituent element corresponding to the identifier of the theme style, thereby generating the theme style.
这样,支付客户端可以根据用户选择的主题样式的标识生成主题样式,不需要用户手动配置多种构成元素以及每种构成元素的设置结果,简化了生成主题样式的复杂性,提高了主题样式的生成效率。In this way, the payment client can generate the theme style according to the identifier of the theme style selected by the user, and does not require the user to manually configure various constituent elements and the setting result of each constituent element, which simplifies the complexity of generating the theme style and improves the theme style. Generate efficiency.
在步骤307中,接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式。In step 307, a selection instruction is received, and a style of the virtual card is generated according to the setting result of the constituent elements selected by the selection instruction.
例如,当构成元素是背景图片时,由于在下拉菜单显示的背景图片可能不清楚,因此,本实施例提供了两种生成虚拟卡片的样式的生成方式,下面分别对这两种生成方式进行介绍。For example, when the constituent element is a background image, since the background image displayed in the drop-down menu may be unclear, the present embodiment provides two generation manners of generating a virtual card style, and the following two generation modes are respectively introduced. .
在第一种方式中,接收用于从支付客户端显示的至少两张模板图片中选择一张模板图片的选择指令,将选择指令所选择的模板图片作为虚拟卡片的背景图片的设置结果,生成样式。In the first mode, a selection instruction for selecting a template picture from at least two template pictures displayed by the payment client is received, and the template picture selected by the selection instruction is used as a setting result of the background picture of the virtual card, and the generated result is generated. style.
其中,模板图片可以是支付客户端中预先设置的图片,且模板图片的长宽比与样式的长宽信息所指示的长宽比相同,这样,当用户选择一张模板图片时,不需要对该图片进行调整,就可以直接将该图片作为虚拟卡片的背景图片的设置结果。其中,模板图片可以是静态图片、动态图片和拟物图片中的任意一种。The template picture may be a preset picture in the payment client, and the aspect ratio of the template picture is the same as the aspect ratio indicated by the length and width information of the style, so that when the user selects a template picture, the pair does not need to The picture is adjusted, and the picture can be directly used as the setting result of the background picture of the virtual card. The template picture may be any one of a static picture, a dynamic picture, and a pseudo picture.
请参考图5和图6,其中以待设置的样式的构成元素为背景图片(图5和图6中简称为“样式”)进行举例说明,将客户端预设的样式称为默认样式,且当前以默认样式显示虚拟卡片,则在界面的上方显示以默认样式显示的虚拟卡片的预览图,界面的下方显示默认样式、样式A和样式B,由于默认样式处于选中状态,因此,默认样式的右上角显示有选中的状态标识“√”。当用户想要选择样式B时,可以点击样式B,请参考图6,此时,默认样式右上角的选中的状态标识“√”消失,样式B的右上角显示有选中的状态标识“√”,且界面的上方显示有样式B显示的虚拟卡片的预览图。Please refer to FIG. 5 and FIG. 6 , wherein the constituent elements of the style to be set are used as background images (referred to as “styles” in FIG. 5 and FIG. 6 ), and the style preset by the client is referred to as a default style, and Currently displaying the virtual card in the default style, the preview of the virtual card displayed in the default style is displayed at the top of the interface. The default style, style A and style B are displayed below the interface. Since the default style is selected, the default style is The selected status flag "√" is displayed in the upper right corner. When the user wants to select the style B, he can click the style B. Please refer to FIG. 6. At this time, the selected state identifier “√” in the upper right corner of the default style disappears, and the selected state identifier “√” is displayed in the upper right corner of the style B. And a preview of the virtual card displayed by the style B is displayed at the top of the interface.
在第二种生成方式中,接收用于选择终端提供的图片的选择指令,根据选 择指令显示拍摄控件或图库控件,当接收到作用于拍摄控件的触发信号时,将利用摄像头拍摄得到的图片作为虚拟卡片的背景图片的设置结果,生成样式,或者,当接收到作用于图库控件的触发信号时,将从图库提供的图片中选择的一张图片作为虚拟卡片的背景图片的设置结果,生成样式。In the second generation mode, receiving a selection instruction for selecting a picture provided by the terminal, according to the selection Selecting the command to display the shooting control or the gallery control. When receiving the trigger signal applied to the shooting control, the image taken by the camera is used as the setting result of the background image of the virtual card, and the style is generated, or when receiving the action on the gallery control When the trigger signal is used, a picture selected from the pictures provided by the gallery is used as the setting result of the background picture of the virtual card to generate a style.
本实施例中,用户还可以选择除模板图片之外的图片作为虚拟卡片的背景图片的设置结果,该图片可以是终端的图库中的图片,也可以是摄像头拍摄得到的图片,以进一步体现样式的个性化。In this embodiment, the user may also select a picture other than the template picture as the setting result of the background picture of the virtual card, and the picture may be a picture in the gallery of the terminal, or may be a picture taken by the camera to further reflect the style. Personalization.
请参考图5,当用户点击“手机照片”时,支付客户端接收到选择指令,此时,界面中显示“拍摄”控件或“图库”控件,当用户点击“拍摄”控件时,支付客户端启动终端中的摄像头,将摄像头拍摄得到的图片作为虚拟卡片的背景图片的设置结果;当用户点击“图库”控件时,支付客户端打开终端的图库,显示图库中的所有图片,将用户点击的图片作为虚拟卡片的背景图片的设置结果。其中,图库中的图片可以是通过摄像头拍摄得到的,也可以是从网络中下载的,本实施例不作限定。Referring to FIG. 5, when the user clicks “Mobile Photo”, the payment client receives the selection instruction. At this time, the “shooting” control or the “gallery” control is displayed in the interface, and when the user clicks the “shooting” control, the payment client Start the camera in the terminal, and take the picture taken by the camera as the setting result of the background picture of the virtual card; when the user clicks the "gallery" control, the payment client opens the library of the terminal, displays all the pictures in the gallery, and clicks on the user The result of the setting of the background image as a virtual card. The picture in the gallery may be obtained by the camera, or may be downloaded from the network, which is not limited in this embodiment.
由于通过第二种生成方式得到的图片的长宽比可能与样式的长宽信息所指示的长宽比不同,因此,支付客户端还需要对图片的长宽比进行调整。其中,对图片进行调整可以是对图片进行截取,也可以是对图片进行缩放,本实施例不作限定。Since the aspect ratio of the picture obtained by the second generation method may be different from the aspect ratio indicated by the length and width information of the style, the payment client also needs to adjust the aspect ratio of the picture. The adjustment of the picture may be the interception of the picture, or the scaling of the picture, which is not limited in this embodiment.
在第一种实现方式中,在将从图库提供的图片中选择的一张图片作为虚拟卡片的背景图片之前,获取样式的长宽信息,将图片的长宽比调整至长宽信息所指示的长宽比。比如,长宽信息所指示的长宽比为3∶2,且选出的图片的长宽比为4∶3,则可以从选出的图片中截取长宽比为3∶2的局部图片,将该局部图片作为虚拟卡片的背景图片。In the first implementation manner, before the background image selected from the image provided by the gallery is used as the background image of the virtual card, the length and width information of the pattern is obtained, and the aspect ratio of the image is adjusted to be indicated by the length and width information. Aspect ratio. For example, if the length-width information indicates an aspect ratio of 3:2, and the selected picture has an aspect ratio of 4:3, a partial picture having an aspect ratio of 3:2 can be intercepted from the selected picture. The partial image is used as a background image of the virtual card.
为了避免对图片的调整,以减少设置操作的复杂性,提高设置操作的效率,还可以对拍摄模式进行调整。在第二种实现方式中,获取样式的长宽信息,并根据长宽信息调整摄像头的拍摄模式;根据拍摄模式拍摄得到图片,图片的长宽比为长宽信息所指示的长宽比。In order to avoid adjustment of the picture, to reduce the complexity of the setting operation, and to improve the efficiency of the setting operation, the shooting mode can also be adjusted. In the second implementation manner, the length and width information of the style is acquired, and the shooting mode of the camera is adjusted according to the length and width information; the picture is captured according to the shooting mode, and the aspect ratio of the picture is the aspect ratio indicated by the length and width information.
比如,长宽信息所指示的长宽比为3∶2,则可以调整拍摄模式中的取景框的大小,调整后的取景框的长宽比为3∶2,或者,调整后的取景框的长为6cm,宽为4cm。For example, if the aspect ratio indicated by the length and width information is 3:2, the size of the finder frame in the shooting mode can be adjusted, and the aspect ratio of the adjusted finder frame is 3:2, or the adjusted finder frame It is 6cm long and 4cm wide.
在实际实现时,可以在镜头所显示的画面内显示一个局部的取景框,且标 注该取景框内显示的景物即为虚拟卡片的背景图片内的景物,以便于用户拍摄图片。In actual implementation, a partial framing frame can be displayed in the screen displayed by the lens, and the standard Note that the scene displayed in the finder frame is the scene in the background image of the virtual card, so that the user can take a picture.
在步骤308中,将虚拟卡片的内容填充到生成的样式中进行显示。In step 308, the content of the virtual card is populated into the generated style for display.
其中,当构成元素包括虚拟卡片的内容指示信息时,获取虚拟卡片的各项内容,并将每项内容填充到内容指示信息所指示的显示位置进行显示。不同的虚拟卡片可以设置不同的样式,请参考图7,其中,以样式B显示尾号为“8888”的虚拟卡片,以样式A显示尾号为“0999”的虚拟卡片,以默认样式显示尾号为“7890”的虚拟卡片。Wherein, when the constituent element includes the content indication information of the virtual card, each content of the virtual card is acquired, and each content is filled in the display position indicated by the content indication information for display. Different virtual cards can be set with different styles. Please refer to Figure 7, where the virtual card with the ending number "8888" is displayed in style B, and the virtual card with the ending number "0999" is displayed in style A, and the tail is displayed in the default style. The virtual card numbered "7890".
请参考图8,在使用虚拟卡片时,在虚拟卡片的背景图片上显示视觉特效和触碰特效,并利用终端中的扬声器播放声效。Referring to FIG. 8, when a virtual card is used, visual effects and touch effects are displayed on the background image of the virtual card, and the sound is played by the speaker in the terminal.
在步骤309中,将样式和卡片帐号发送给服务器,该服务器用于在接收到登录用户帐号的其他支付客户端发送的第一样式获取请求时,根据该第一样式获取请求中携带的卡片帐号确定样式,并将样式发送给其他支付客户端。In step 309, the style and the card account are sent to the server, and the server is configured to obtain the first style acquisition request sent by the other payment client that receives the login user account, according to the first style acquisition request. The card account determines the style and sends the style to other payment clients.
支付客户端在生成样式后,还可以将该样式发送给服务器,当服务器中存储有用户之前设置的样式时,服务器利用新接收到的样式替换存储的样式。After the payment client generates the style, the style can also be sent to the server. When the server stores the style set by the user, the server replaces the stored style with the newly received style.
当服务器接收到登录用户帐号的其他支付客户端发送的第一样式获取请求时,服务器读取第一样式获取请求中携带的卡片帐号,查找与该卡片帐号对应的样式,将该样式发送给其他支付客户端,使得登录同一用户帐号的多个支付客户端中的同一虚拟卡片对应于同一样式,保证了同一张虚拟卡片的样式的统一。When the server receives the first style acquisition request sent by the other payment client that logs in the user account, the server reads the card account carried in the first style acquisition request, searches for a style corresponding to the card account, and sends the style. For other payment clients, the same virtual card among the plurality of payment clients that log in to the same user account corresponds to the same style, and the style of the same virtual card is unified.
综上所述,本公开提供的卡片显示方法,接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式,使得用户可以根据自己的喜好自行选择样式的构成元素的设置结果,支付客户端根据用户选择的构成元素的设置结果生成样式,解决了由发卡方提供的虚拟卡片的样式单一的问题,达到了扩展虚拟卡片的样式的效果。In summary, the card display method provided by the present disclosure receives a selection instruction, and generates a virtual card style according to the setting result of the selected constituent element of the selection instruction, so that the user can select the constituent elements of the style according to his or her own preference. As a result of the setting, the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuing party is single, and the effect of expanding the style of the virtual card is achieved.
构成元素包括虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,丰富了样式的构成元素。The constituent elements include at least one of visual effects, sound effects, touch effects, content indication information, and background images of the virtual card, enriching the constituent elements of the style.
通过根据设置指令显示样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的选择指令,使得用户可以自定义样式包括的构成元素的种类以及每种构成元素的设置结果,提高了样式设置的灵活性,也保证了样式的个性化。 By displaying various constituent elements of the style according to the setting instruction, and generating a selection instruction carrying the setting result of each constituent element selected by the user, the user can customize the type of the constituent elements included in the style and the setting result of each constituent element. , to improve the flexibility of the style settings, but also to ensure the personalization of the style.
当客户端提供主题样式的标识供用户选择时,客户端根据用户选择的主题样式的标识确定与该主题对应的各种构成元素以及该各种构成元素中每种构成元素的一种设置结果,生成携带有主题样式对应的各种构成元素的设置结果的选择指令,这样,用户只需要选择主题样式的标识,客户端就可以生成该主题样式,不需要用户手动配置多种构成元素以及每种构成元素的设置结果,简化了生成主题样式的复杂性,提高了主题样式的生成效率;并且,用户可以选择喜欢的人或物对应的主题样式作为虚拟卡片的样式,提升了用户体验。When the client provides the identifier of the theme style for the user to select, the client determines various constituent elements corresponding to the theme and a setting result of each constituent element of the various constituent elements according to the identifier of the theme style selected by the user, The selection instruction for generating the setting result of the various constituent elements corresponding to the theme style is generated, so that the user only needs to select the identifier of the theme style, and the client can generate the theme style without the user manually configuring various constituent elements and each type. The result of setting the constituent elements simplifies the complexity of generating the theme style and improves the efficiency of generating the theme style; and the user can select the theme style of the favorite person or object as the style of the virtual card, thereby improving the user experience.
通过预先生成各个主题样式,可以由用户根据喜欢的人或物自定义主题样式,提升了用户体验;或者,通过从服务器获取各个主题样式,不需要用户手动配置多种构成元素以及每种构成元素的设置结果,简化了生成主题样式的复杂性,提高了主题样式的生成效率。By pre-generating each theme style, the user can customize the theme style according to the favorite person or object, thereby improving the user experience; or, by obtaining various theme styles from the server, the user does not need to manually configure various constituent elements and each constituent element. The result of the setting simplifies the complexity of generating the theme style and improves the efficiency of the generation of the theme style.
通过将样式和卡片帐号发送给服务器,使得服务器在接收到登录用户帐号的其他支付客户端发送的第一样式获取请求时,根据第一样式获取请求中携带的卡片帐号确定样式,并将样式发送给其他支付客户端,这样,登录同一用户帐号的多个支付客户端中的同一虚拟卡片对应于同一样式,保证了同一张虚拟卡片的样式的统一。Sending the style and card account to the server, so that when the server receives the first style acquisition request sent by the other payment client that logs in the user account, the server determines the style of the card account carried in the request according to the first style, and The style is sent to other payment clients, so that the same virtual card in multiple payment clients logged into the same user account corresponds to the same style, which ensures the uniformity of the style of the same virtual card.
通过获取样式的长宽信息,并根据长宽信息调整摄像头的拍摄模式;根据拍摄模式拍摄得到图片,使得拍摄得到的图片的长宽比即为长宽信息所指示的长宽比,这样,在将该图片作为虚拟卡片的背景图片时,不需要再对该图片进行调整,简化了设置操作的复杂性,提高了设置操作的效率。By obtaining the length and width information of the style, and adjusting the shooting mode of the camera according to the length and width information; taking a picture according to the shooting mode, so that the aspect ratio of the captured picture is the aspect ratio indicated by the length and width information, thus, When the picture is used as the background image of the virtual card, the picture does not need to be adjusted, which simplifies the complexity of the setting operation and improves the efficiency of the setting operation.
通过在未接收到服务器返回的样式时,将虚拟卡片的内容填充到支付客户端预设的样式中进行显示,保证虚拟卡片可以正常显示。When the style returned by the server is not received, the content of the virtual card is filled into the preset style of the payment client for display, so that the virtual card can be displayed normally.
图9是根据一示例性实施例示出的一种卡片显示装置的框图,该卡片显示装置应用于终端的支付客户端中,如图9所示,该卡片显示装置包括:指令接收模块910、样式生成模块920和第一显示模块930。FIG. 9 is a block diagram of a card display device, which is applied to a payment client of a terminal. As shown in FIG. 9, the card display device includes: an instruction receiving module 910, a pattern, according to an exemplary embodiment. The module 920 and the first display module 930 are generated.
该指令接收模块910,被配置为接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,虚拟卡片是将实体卡片的卡片帐号与支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;The instruction receiving module 910 is configured to receive a setting instruction for setting a style of the virtual card in the payment client, where the virtual card is the card account of the entity card and the user account registered in the payment client. Generated virtual card;
该样式生成模块920,被配置为接收选择指令,并根据选择指令所选择的构成元素的设置结果生成虚拟卡片的样式; The pattern generation module 920 is configured to receive a selection instruction and generate a style of the virtual card according to the setting result of the constituent element selected by the selection instruction;
该第一显示模块930,被配置为将虚拟卡片的内容填充到样式生成模块920生成的样式中进行显示。The first display module 930 is configured to fill the content of the virtual card into the style generated by the pattern generation module 920 for display.
综上所述,本公开提供的卡片显示装置,通过接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式,使得用户可以根据自己的喜好自行选择样式的构成元素的设置结果,支付客户端根据用户选择的构成元素的设置结果生成样式,解决了由发卡方提供的虚拟卡片的样式单一的问题,达到了扩展虚拟卡片的样式的效果。In summary, the card display device provided by the present disclosure generates a virtual card style by receiving a selection instruction and according to a setting result of the constituent elements selected by the selection instruction, so that the user can select a constituent element of the style according to his or her own preference. As a result of the setting, the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuer is single, and achieves the effect of expanding the style of the virtual card.
图10是根据一示例性实施例示出的一种卡片显示装置的框图,该卡片显示装置应用于终端的支付客户端中,如图10所示,该卡片显示装置包括:指令接收模块1010、样式生成模块1020和第一显示模块1030。FIG. 10 is a block diagram of a card display device, which is applied to a payment client of a terminal, as shown in FIG. 10, the card display device includes: an instruction receiving module 1010, a style, according to an exemplary embodiment. The module 1020 and the first display module 1030 are generated.
该指令接收模块1010,被配置为接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,虚拟卡片是将实体卡片的卡片帐号与支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;The instruction receiving module 1010 is configured to receive a setting instruction for setting a style of a virtual card in the payment client, where the virtual card is to bind the card account of the entity card to the user account registered in the payment client. Generated virtual card;
该样式生成模块1020,被配置为接收选择指令,并根据选择指令所选择的构成元素的设置结果生成虚拟卡片的样式;The pattern generation module 1020 is configured to receive a selection instruction and generate a style of the virtual card according to the setting result of the constituent element selected by the selection instruction;
该第一显示模块1030,被配置为将虚拟卡片的内容填充到样式生成模块1020生成的样式中进行显示。The first display module 1030 is configured to fill the content of the virtual card into the style generated by the pattern generation module 1020 for display.
可选的,构成元素包括虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,内容指示信息用于指示显示的虚拟卡片的内容、内容的格式和内容的显示位置。Optionally, the constituent element includes at least one of a visual effect, a sound effect, a touch special effect, a content indication information, and a background image of the virtual card, where the content indication information is used to indicate the content of the displayed virtual card, the format and content of the content. Show location.
可选的,装置还包括:第一生成模块1040;Optionally, the device further includes: a first generating module 1040;
该第一生成模块1040,被配置为根据设置指令显示样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的选择指令。The first generation module 1040 is configured to display various constituent elements of the style according to the setting instruction, and generate a selection instruction carrying a setting result of each constituent element selected by the user.
可选的,当构成元素包括虚拟卡片的背景图片时,样式生成模块1020,包括:第一生成子模块1021或第二生成子模块1022;Optionally, when the constituent element includes a background image of the virtual card, the style generating module 1020 includes: a first generating submodule 1021 or a second generating submodule 1022;
该第一生成子模块1021,被配置为接收用于从支付客户端显示的至少两张模板图片中选择一张模板图片的选择指令,将选择指令所选择的模板图片作为虚拟卡片的背景图片的设置结果,生成样式;或者,The first generation sub-module 1021 is configured to receive a selection instruction for selecting one template image from at least two template images displayed by the payment client, and use the template image selected by the selection instruction as the background image of the virtual card. Set the result, generate a style; or,
该第二生成子模块1022,被配置为接收用于选择终端提供的图片的选择指令,根据选择指令显示拍摄控件或图库控件,当接收到作用于拍摄控件的触发 信号时,将利用摄像头拍摄得到的图片作为虚拟卡片的背景图片的设置结果,生成样式,或者,当接收到作用于图库控件的触发信号时,将从图库提供的图片中选择的一张图片作为虚拟卡片的背景图片的设置结果,生成样式。The second generation sub-module 1022 is configured to receive a selection instruction for selecting a picture provided by the terminal, display a shooting control or a gallery control according to the selection instruction, and receive a trigger that acts on the shooting control. When the signal is used, the image taken by the camera is used as the setting result of the background image of the virtual card to generate a pattern, or when a trigger signal acting on the gallery control is received, a picture selected from the picture provided by the gallery is used as The setting result of the background image of the virtual card is generated.
可选的,样式生成模块1020,还包括:第一调整子模块1023和图片拍摄子模块1024;Optionally, the style generating module 1020 further includes: a first adjusting submodule 1023 and a picture capturing submodule 1024;
该第一调整子模块1023,被配置为获取样式的长宽信息,并根据长宽信息调整摄像头的拍摄模式;The first adjustment sub-module 1023 is configured to acquire length and width information of the style, and adjust a shooting mode of the camera according to the length and width information;
该图片拍摄子模块1024,被配置为根据第一调整子模块1023调整后的拍摄模式拍摄得到图片,图片的长宽比为长宽信息所指示的长宽比。The picture capturing sub-module 1024 is configured to capture a picture according to the adjusted shooting mode of the first adjusting sub-module 1023, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
可选的,样式生成模块1020,还包括:第二调整子模块1025;Optionally, the style generating module 1020 further includes: a second adjusting submodule 1025;
该第二调整子模块1025,被配置为在将从图库提供的图片中选择的一张图片作为虚拟卡片的背景图片之前,获取样式的长宽信息,将图片的长宽比调整至长宽信息所指示的长宽比。The second adjustment sub-module 1025 is configured to obtain the length and width information of the style and adjust the aspect ratio of the image to the length and width information before using the image selected from the gallery to be the background image of the virtual card. The aspect ratio indicated.
可选的,装置还包括:第二生成模块1050;Optionally, the device further includes: a second generating module 1050;
该第二生成模块1050,被配置为根据设置指令显示预设的各个主题样式的标识,并根据用户选择的主题样式的标识和对应关系确定主题样式对应的各种构成元素的设置结果,生成携带有主题样式对应的各种构成元素的设置结果的选择指令,主题样式对应的各种构成元素的设置结果具有共同的主题,对应关系用于指示不同的主题样式的标识与不同的构成元素的设置结果之间的关系。The second generation module 1050 is configured to display the preset identifiers of the respective theme styles according to the setting instructions, and determine the setting result of the various constituent elements corresponding to the theme style according to the identifier and the corresponding relationship of the theme style selected by the user, and generate the carrying The selection instruction of the setting result of the various constituent elements corresponding to the theme style, the setting result of the various constituent elements corresponding to the theme style has a common theme, and the correspondence relationship is used to indicate the identification of different theme styles and the setting of different constituent elements. The relationship between the results.
可选的,装置还包括:样式获取模块1060;Optionally, the device further includes: a style obtaining module 1060;
该样式获取模块1060,被配置为预先生成各个主题样式;或者,从服务器获取各个主题样式。The style obtaining module 1060 is configured to generate each theme style in advance; or obtain each theme style from a server.
可选的,当构成元素是内容指示信息时,第一显示模块1030,还被配置为:Optionally, when the constituent element is the content indication information, the first display module 1030 is further configured to:
获取虚拟卡片的各项内容,并将每项内容填充到内容指示信息所指示的显示位置进行显示。The contents of the virtual card are obtained, and each item is filled in the display position indicated by the content indication information for display.
可选的,装置还包括:第一发送模块1070;Optionally, the device further includes: a first sending module 1070;
该第一发送模块1070,被配置为将样式和卡片帐号发送给服务器,服务器用于在接收到登录用户帐号的其他支付客户端发送的第一样式获取请求时,根据第一样式获取请求中携带的卡片帐号确定样式,并将样式发送给其他支付客户端。The first sending module 1070 is configured to send a style and a card account to the server, where the server is configured to acquire the request according to the first style when receiving the first style obtaining request sent by another payment client that logs in the user account. The card account carried in the account determines the style and sends the style to other payment clients.
可选的,装置还包括:第二发送模块1080、第二显示模块1090和第三显 示模块1091;Optionally, the device further includes: a second sending module 1080, a second display module 1090, and a third display Showing module 1091;
该第二发送模块1080,被配置为向服务器发送携带有卡片帐号的第二样式获取请求,第二样式获取请求用于请求获取发卡方提供的虚拟卡片的样式;The second sending module 1080 is configured to send a second style obtaining request carrying a card account to the server, where the second style obtaining request is used to request obtaining a style of the virtual card provided by the card issuing party;
该第二显示模块1090,被配置为当接收到服务器返回的样式时,将虚拟卡片的内容填充到服务器返回的样式中进行显示;The second display module 1090 is configured to: when receiving the style returned by the server, fill the content of the virtual card into a style returned by the server for display;
该第三显示模块1091,被配置为当未接收到服务器返回的样式时,将虚拟卡片的内容填充到支付客户端预设的样式中进行显示。The third display module 1091 is configured to fill the content of the virtual card into a preset style of the payment client for display when the style returned by the server is not received.
综上所述,本公开提供的卡片显示装置,通过接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式,使得用户可以根据自己的喜好自行选择样式的构成元素的设置结果,支付客户端根据用户选择的构成元素的设置结果生成样式,解决了由发卡方提供的虚拟卡片的样式单一的问题,达到了扩展虚拟卡片的样式的效果。In summary, the card display device provided by the present disclosure generates a virtual card style by receiving a selection instruction and according to a setting result of the constituent elements selected by the selection instruction, so that the user can select a constituent element of the style according to his or her own preference. As a result of the setting, the payment client generates a style according to the setting result of the constituent elements selected by the user, and solves the problem that the style of the virtual card provided by the card issuer is single, and achieves the effect of expanding the style of the virtual card.
构成元素包括虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,丰富了样式的构成元素。The constituent elements include at least one of visual effects, sound effects, touch effects, content indication information, and background images of the virtual card, enriching the constituent elements of the style.
通过根据设置指令显示样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的选择指令,使得用户可以自定义样式包括的构成元素的种类以及每种构成元素的设置结果,提高了样式设置的灵活性,也保证了样式的个性化。By displaying various constituent elements of the style according to the setting instruction, and generating a selection instruction carrying the setting result of each constituent element selected by the user, the user can customize the type of the constituent elements included in the style and the setting result of each constituent element. , to improve the flexibility of the style settings, but also to ensure the personalization of the style.
当客户端提供主题样式的标识供用户选择时,客户端根据用户选择的主题样式的标识确定与该主题对应的各种构成元素以及该各种构成元素中每种构成元素的一种设置结果,生成携带有主题样式对应的各种构成元素的设置结果的选择指令,这样,用户只需要选择主题样式的标识,客户端就可以生成该主题样式,不需要用户手动配置多种构成元素以及每种构成元素的设置结果,简化了生成主题样式的复杂性,提高了主题样式的生成效率;并且,用户可以选择喜欢的人或物对应的主题样式作为虚拟卡片的样式,提升了用户体验。When the client provides the identifier of the theme style for the user to select, the client determines various constituent elements corresponding to the theme and a setting result of each constituent element of the various constituent elements according to the identifier of the theme style selected by the user, The selection instruction for generating the setting result of the various constituent elements corresponding to the theme style is generated, so that the user only needs to select the identifier of the theme style, and the client can generate the theme style without the user manually configuring various constituent elements and each type. The result of setting the constituent elements simplifies the complexity of generating the theme style and improves the efficiency of generating the theme style; and the user can select the theme style of the favorite person or object as the style of the virtual card, thereby improving the user experience.
通过预先生成各个主题样式,可以由用户根据喜欢的人或物自定义主题样式,提升了用户体验;或者,通过从服务器获取各个主题样式,不需要用户手动配置多种构成元素以及每种构成元素的设置结果,简化了生成主题样式的复杂性,提高了主题样式的生成效率。By pre-generating each theme style, the user can customize the theme style according to the favorite person or object, thereby improving the user experience; or, by obtaining various theme styles from the server, the user does not need to manually configure various constituent elements and each constituent element. The result of the setting simplifies the complexity of generating the theme style and improves the efficiency of the generation of the theme style.
通过将样式和卡片帐号发送给服务器,使得服务器在接收到登录用户帐号的其他支付客户端发送的第一样式获取请求时,根据第一样式获取请求中携带 的卡片帐号确定样式,并将样式发送给其他支付客户端,这样,登录同一用户帐号的多个支付客户端中的同一虚拟卡片对应于同一样式,保证了同一张虚拟卡片的样式的统一。Sending the style and card account to the server, so that the server carries the first style acquisition request sent by the other payment client that receives the login user account, according to the first style acquisition request. The card account determines the style and sends the style to other payment clients, so that the same virtual card in the plurality of payment clients logged into the same user account corresponds to the same style, which ensures the uniformity of the style of the same virtual card.
通过获取样式的长宽信息,并根据长宽信息调整摄像头的拍摄模式;根据拍摄模式拍摄得到图片,使得拍摄得到的图片的长宽比即为长宽信息所指示的长宽比,这样,在将该图片作为虚拟卡片的背景图片时,不需要再对该图片进行调整,简化了设置操作的复杂性,提高了设置操作的效率。By obtaining the length and width information of the style, and adjusting the shooting mode of the camera according to the length and width information; taking a picture according to the shooting mode, so that the aspect ratio of the captured picture is the aspect ratio indicated by the length and width information, thus, When the picture is used as the background image of the virtual card, the picture does not need to be adjusted, which simplifies the complexity of the setting operation and improves the efficiency of the setting operation.
通过在未接收到服务器返回的样式时,将虚拟卡片的内容填充到支付客户端预设的样式中进行显示,保证虚拟卡片可以正常显示。When the style returned by the server is not received, the content of the virtual card is filled into the preset style of the payment client for display, so that the virtual card can be displayed normally.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。With regard to the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment relating to the method, and will not be explained in detail herein.
本公开一示例性实施例提供了一种卡片显示装置,能够实现本公开提供的卡片显示方法,该卡片显示装置包括:处理器、用于存储处理器可执行指令的存储器;An exemplary embodiment of the present disclosure provides a card display apparatus capable of implementing the card display method provided by the present disclosure, the card display apparatus comprising: a processor, a memory for storing processor executable instructions;
其中,处理器被配置为:Wherein the processor is configured to:
接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,该虚拟卡片是将实体卡片的卡片帐号与支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;Receiving a setting instruction for setting a style of a virtual card in the payment client, the virtual card being a virtual card generated by binding a card account of the physical card with a user account registered in the payment client;
根据设置指令显示样式的构成元素;Displaying the constituent elements of the style according to the setting instructions;
接收选择指令,并根据该选择指令所选择的构成元素的设置结果生成虚拟卡片的样式;Receiving a selection instruction, and generating a pattern of the virtual card according to a setting result of the constituent elements selected by the selection instruction;
将虚拟卡片的内容填充到生成的样式中进行显示。Fill the contents of the virtual card into the generated style for display.
图11是根据一示例性实施例示出的一种用于卡片显示的装置1100的框图。例如,装置1100可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 11 is a block diagram of an apparatus 1100 for card display, according to an exemplary embodiment. For example, device 1100 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图11,装置1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电源组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)的接口1112,传感器组件1114,以及通信组件1116。Referring to Figure 11, apparatus 1100 can include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, And a communication component 1116.
处理组件1102通常控制装置1100的整体操作,诸如与显示,电话呼叫, 数据通信,相机操作和记录操作相关联的操作。处理组件1102可以包括一个或多个处理器1118来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理组件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。 Processing component 1102 typically controls the overall operation of device 1100, such as with display, telephone calls, Data communication, camera operations and operations associated with recording operations. Processing component 1102 can include one or more processors 1118 to execute instructions to perform all or part of the steps of the above described methods. Moreover, processing component 1102 can include one or more modules to facilitate interaction between component 1102 and other components. For example, the processing component 1102 can include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
存储器1104被配置为存储各种类型的数据以支持在装置1100的操作。这些数据的示例包括用于在装置1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 1104 is configured to store various types of data to support operation at device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phone book data, messages, pictures, videos, and the like. The memory 1104 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 Memory, Flash Memory, Disk or Optical Disk.
电源组件1106为装置1100的各种组件提供电力。电源组件1106可以包括电源管理系统,一个或多个电源,及其他与为装置1100生成、管理和分配电力相关联的组件。 Power component 1106 provides power to various components of device 1100. Power component 1106 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1100.
多媒体组件1108包括在所述装置1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当装置1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1108 includes a screen between the device 1100 and a user that provides an output interface. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front camera and/or a rear camera. When the device 1100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当装置1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1116发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。The audio component 1110 is configured to output and/or input an audio signal. For example, the audio component 1110 includes a microphone (MIC) that is configured to receive an external audio signal when the device 1100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in memory 1104 or transmitted via communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting an audio signal.
I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围 接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1112 provides an interface between the processing component 1102 and the peripheral interface module, the periphery The interface module can be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
传感器组件1114包括一个或多个传感器,用于为装置1100提供各个方面的状态评估。例如,传感器组件1114可以检测到装置1100的打开/关闭状态,组件的相对定位,例如所述组件为装置1100的显示器和小键盘,传感器组件1114还可以检测装置1100或装置1100一个组件的位置改变,用户与装置1100接触的存在或不存在,装置1100方位或加速/减速和装置1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 1114 includes one or more sensors for providing a status assessment of various aspects to device 1100. For example, sensor assembly 1114 can detect an open/closed state of device 1100, relative positioning of components, such as the display and keypad of device 1100, and sensor component 1114 can also detect a change in position of one component of device 1100 or device 1100. The presence or absence of user contact with device 1100, device 1100 orientation or acceleration/deceleration and temperature change of device 1100. Sensor assembly 1114 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件1116被配置为便于装置1100和其他设备之间有线或无线方式的通信。装置1100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1116还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 1116 is configured to facilitate wired or wireless communication between device 1100 and other devices. The device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, communication component 1116 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
在示例性实施例中,装置1100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1100 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由装置1100的处理器1118执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium comprising instructions, such as a memory 1104 comprising instructions executable by processor 1118 of apparatus 1100 to perform the above method. For example, the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
本领域技术人员在考虑说明书及实践这里的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的 本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present disclosure, which are in accordance with the general principles of the present disclosure and include those not disclosed in the present disclosure. Common knowledge or conventional techniques in the art. The specification and examples are to be regarded as illustrative only,
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details and The scope of the disclosure is to be limited only by the appended claims.

Claims (23)

  1. 一种卡片显示方法,其特征在于,所述方法包括:A card display method, characterized in that the method comprises:
    接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,所述虚拟卡片是将实体卡片的卡片帐号与所述支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;Receiving a setting instruction for setting a style of a virtual card in the payment client, the virtual card being a virtual card generated by binding a card account of the physical card with a user account registered in the payment client ;
    接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式;Receiving a selection instruction, and generating a style of the virtual card according to a setting result of the constituent elements selected by the selection instruction;
    将所述虚拟卡片的内容填充到生成的所述样式中进行显示。The content of the virtual card is filled into the generated style for display.
  2. 根据权利要求1所述的方法,其特征在于,所述构成元素包括所述虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,所述内容指示信息用于指示显示的所述虚拟卡片的内容、所述内容的格式和所述内容的显示位置。The method according to claim 1, wherein the constituent element comprises at least one of a visual effect, a sound effect, a touch special effect, content indication information, and a background image of the virtual card, wherein the content indication information is The content of the virtual card displayed, the format of the content, and the display position of the content are indicated.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    根据所述设置指令显示所述样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的所述选择指令。The various constituent elements of the pattern are displayed according to the setting instruction, and the selection instruction carrying the setting result of each constituent element selected by the user is generated.
  4. 根据权利要求3所述的方法,其特征在于,当所述构成元素包括虚拟卡片的背景图片时,所述接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式,包括:The method according to claim 3, wherein when said constituent element includes a background image of a virtual card, said receiving a selection instruction, and generating said virtual based on a setting result of said constituent element selected by said selection instruction The style of the card, including:
    接收用于从所述支付客户端显示的至少两张模板图片中选择一张模板图片的选择指令,将所述选择指令所选择的模板图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式;或者,Receiving a selection instruction for selecting a template picture from at least two template pictures displayed by the payment client, and using the template picture selected by the selection instruction as a setting result of a background picture of the virtual card, generating a Style; or,
    接收用于选择终端提供的图片的选择指令,根据所述选择指令显示拍摄控件或图库控件,当接收到作用于所述拍摄控件的触发信号时,将利用摄像头拍摄得到的图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式,或者,当接收到作用于所述图库控件的触发信号时,将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式。 Receiving a selection instruction for selecting a picture provided by the terminal, displaying a shooting control or a gallery control according to the selection instruction, and when receiving a trigger signal acting on the shooting control, using a picture taken by the camera as the virtual card a result of setting the background image, generating the pattern, or, when receiving a trigger signal acting on the gallery control, selecting a picture selected from the picture provided by the gallery as a background picture of the virtual card The result of the setting, the style is generated.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    获取所述样式的长宽信息,并根据所述长宽信息调整所述摄像头的拍摄模式;Obtaining length and width information of the style, and adjusting a shooting mode of the camera according to the length and width information;
    根据所述拍摄模式拍摄得到所述图片,所述图片的长宽比为所述长宽信息所指示的长宽比。The picture is obtained according to the shooting mode, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    在所述将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片之前,获取所述样式的长宽信息,将所述图片的长宽比调整至所述长宽信息所指示的长宽比。Before the picture selected from the picture provided by the gallery is used as the background picture of the virtual card, obtaining length and width information of the pattern, and adjusting an aspect ratio of the picture to the length and width The aspect ratio indicated by the information.
  7. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    根据所述设置指令显示预设的各个主题样式的标识,并根据用户选择的主题样式的标识和对应关系确定所述主题样式对应的各种构成元素的设置结果,生成携带有所述主题样式对应的各种构成元素的设置结果的所述选择指令,所述主题样式对应的各种构成元素的设置结果具有共同的主题,所述对应关系用于指示不同的主题样式的标识与不同的构成元素的设置结果之间的关系。And displaying, according to the setting instruction, a preset identifier of each theme style, and determining, according to the identifier and the corresponding relationship of the theme style selected by the user, a setting result of the various constituent elements corresponding to the theme style, and generating, carrying the theme style corresponding The selection instruction of the setting result of the various constituent elements, the setting result of the various constituent elements corresponding to the theme pattern has a common theme, and the correspondence relationship is used to indicate the identification of different theme styles and different constituent elements The relationship between the settings results.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, wherein the method further comprises:
    预先生成所述各个主题样式;或者,从服务器获取所述各个主题样式。The respective theme styles are generated in advance; or the respective theme styles are acquired from a server.
  9. 根据权利要求1至8任一所述的方法,其特征在于,当所述构成元素包括虚拟卡片的内容指示信息时,所述将所述虚拟卡片的内容填充到生成的所述样式中,包括:The method according to any one of claims 1 to 8, wherein when the constituent element includes content indication information of the virtual card, the content of the virtual card is filled into the generated style, including :
    获取所述虚拟卡片的各项内容,并将每项内容填充到所述内容指示信息所指示的显示位置进行显示。Acquiring each content of the virtual card, and filling each content into a display position indicated by the content indication information for display.
  10. 根据权利要求1至8任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    将所述样式和所述卡片帐号发送给服务器,所述服务器用于在接收到登录所述用户帐号的其他支付客户端发送的第一样式获取请求时,根据所述第一样式获取请求中携带的所述卡片帐号确定所述样式,并将所述样式发送给所述其 他支付客户端。And sending the style and the card account to the server, where the server is configured to acquire the request according to the first style when receiving the first style acquisition request sent by another payment client that logs in to the user account The card account number carried in the card determines the style and sends the style to the card He pays for the client.
  11. 根据权利要求1至8任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    向服务器发送携带有所述卡片帐号的第二样式获取请求,所述第二样式获取请求用于请求获取发卡方提供的所述虚拟卡片的样式;Sending, to the server, a second style obtaining request carrying the card account, the second style obtaining request for requesting acquiring a style of the virtual card provided by the card issuer;
    当接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述服务器返回的样式中进行显示;When receiving the style returned by the server, filling the content of the virtual card into a style returned by the server for display;
    当未接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述支付客户端预设的样式中进行显示。When the style returned by the server is not received, the content of the virtual card is filled into a preset style of the payment client for display.
  12. 一种卡片显示装置,其特征在于,所述装置包括:A card display device, characterized in that the device comprises:
    指令接收模块,被配置为接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,所述虚拟卡片是将实体卡片的卡片帐号与所述支付客户端中登录的用户帐号进行绑定后生成的虚拟的卡片;The instruction receiving module is configured to receive a setting instruction for setting a style of the virtual card in the payment client, the virtual card is to bind the card account of the physical card with the user account registered in the payment client a virtual card generated after the decision;
    样式生成模块,被配置为接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式;a style generation module configured to receive a selection instruction, and generate a style of the virtual card according to a setting result of the selected constituent element of the selection instruction;
    第一显示模块,被配置为将所述虚拟卡片的内容填充到所述样式生成模块生成的所述样式中进行显示。The first display module is configured to fill the content of the virtual card into the style generated by the style generation module for display.
  13. 根据权利要求12所述的装置,其特征在于,所述构成元素包括所述虚拟卡片的视觉特效、声效、触碰特效、内容指示信息、背景图片中的至少一种,所述内容指示信息用于指示显示的所述虚拟卡片的内容、所述内容的格式和所述内容的显示位置。The device according to claim 12, wherein the constituent element comprises at least one of a visual effect, a sound effect, a touch effect, a content indication information, and a background image of the virtual card, wherein the content indication information is The content of the virtual card displayed, the format of the content, and the display position of the content are indicated.
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:
    第一生成模块,被配置为根据所述设置指令显示所述样式的各种构成元素,并生成携带有用户选择的每种构成元素的设置结果的所述选择指令。The first generation module is configured to display various constituent elements of the pattern according to the setting instruction, and generate the selection instruction carrying a setting result of each constituent element selected by the user.
  15. 根据权利要求14所述的装置,其特征在于,当所述构成元素包括虚拟卡片的背景图片时,所述样式生成模块,包括:The device according to claim 14, wherein when the constituent element comprises a background image of a virtual card, the pattern generating module comprises:
    第一生成子模块,被配置为接收用于从所述支付客户端显示的至少两张模 板图片中选择一张模板图片的选择指令,将所述选择指令所选择的模板图片作为所述虚拟卡片的背景图片的设置结果,生成所述样式;或者,a first generation submodule configured to receive at least two modules for display from the payment client Selecting a template picture selection instruction in the board picture, and using the template picture selected by the selection instruction as a setting result of the background picture of the virtual card to generate the pattern; or
    第二生成子模块,被配置为接收用于选择终端提供的图片的选择指令,根据所述选择指令显示拍摄控件或图库控件,当接收到作用于所述拍摄控件的触发信号时,将利用摄像头拍摄得到的图片作为所述虚拟卡片的背景图片的选择指令,生成所述样式,或者,当接收到作用于所述图库控件的触发信号时,将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片的选择指令,生成所述样式。a second generation submodule configured to receive a selection instruction for selecting a picture provided by the terminal, display a shooting control or a gallery control according to the selection instruction, and use the camera when receiving a trigger signal acting on the shooting control Taking the captured image as a selection instruction of the background image of the virtual card, generating the pattern, or selecting a selected one of the images provided from the gallery when receiving a trigger signal acting on the gallery control The picture is generated as a selection instruction of the background picture of the virtual card.
  16. 根据权利要求15所述的装置,其特征在于,所述样式生成模块,还包括:The device according to claim 15, wherein the pattern generation module further comprises:
    第一调整子模块,被配置为获取所述样式的长宽信息,并根据所述长宽信息调整所述摄像头的拍摄模式;a first adjustment submodule configured to acquire length and width information of the style, and adjust a shooting mode of the camera according to the length and width information;
    图片拍摄子模块,被配置为根据所述第一调整子模块调整后的所述拍摄模式拍摄得到所述图片,所述图片的长宽比为所述长宽信息所指示的长宽比。The picture shooting sub-module is configured to capture the picture according to the shooting mode adjusted by the first adjustment sub-module, and the aspect ratio of the picture is an aspect ratio indicated by the length and width information.
  17. 根据权利要求15所述的装置,其特征在于,所述样式生成模块,还包括:The device according to claim 15, wherein the pattern generation module further comprises:
    第二调整子模块,被配置为在所述将从所述图库提供的图片中选择的一张图片作为所述虚拟卡片的背景图片之前,获取所述样式的长宽信息,将所述图片的长宽比调整至所述长宽信息所指示的长宽比。a second adjustment submodule configured to acquire length and width information of the style before the background image selected from the gallery is used as a background image of the virtual card, and the image is The aspect ratio is adjusted to the aspect ratio indicated by the length and width information.
  18. 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:
    第二生成模块,被配置为根据所述设置指令显示预设的各个主题样式的标识,并根据用户选择的主题样式的标识和对应关系确定所述主题样式对应的各种构成元素的设置结果,生成携带有所述主题样式对应的各种构成元素的设置结果的所述选择指令,所述主题样式对应的各种构成元素的设置结果具有共同的主题,所述对应关系用于指示不同的主题样式的标识与不同的构成元素的设置结果之间的关系。The second generation module is configured to display the identifiers of the preset theme styles according to the setting instructions, and determine the setting results of the various constituent elements corresponding to the theme style according to the identifiers and corresponding relationships of the theme styles selected by the user, And generating the selection instruction carrying the setting result of the various constituent elements corresponding to the theme style, wherein the setting result of the various constituent elements corresponding to the theme style has a common theme, and the corresponding relationship is used to indicate different topics The relationship between the identity of the style and the result of setting the different constituent elements.
  19. 根据权利要求18所述的装置,其特征在于,所述装置还包括: The device of claim 18, wherein the device further comprises:
    样式获取模块,被配置为预先生成所述各个主题样式;或者,从服务器获取所述各个主题样式。a style acquisition module configured to pre-generate the respective theme styles; or obtain the respective theme styles from a server.
  20. 根据权利要求12至19任一所述的装置,其特征在于,当所述构成元素包括虚拟卡片的内容指示信息时,所述第一显示模块,还被配置为:The device according to any one of claims 12 to 19, wherein when the constituent element includes the content indication information of the virtual card, the first display module is further configured to:
    获取所述虚拟卡片的各项内容,并将每项内容填充到所述内容指示信息所指示的显示位置进行显示。Acquiring each content of the virtual card, and filling each content into a display position indicated by the content indication information for display.
  21. 根据权利要求12至19任一所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 12 to 19, wherein the device further comprises:
    第一发送模块,被配置为将所述样式和所述卡片帐号发送给服务器,所述服务器用于在接收到登录所述用户帐号的其他支付客户端发送的第一样式获取请求时,根据所述第一样式获取请求中携带的所述卡片帐号确定所述样式,并将所述样式发送给所述其他支付客户端。a first sending module, configured to send the style and the card account to a server, where the server is configured to receive, according to the first style obtaining request sent by another payment client that logs in to the user account, according to The card account number carried in the first style acquisition request determines the style, and sends the style to the other payment client.
  22. 根据权利要求12至19任一所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 12 to 19, wherein the device further comprises:
    第二发送模块,被配置为向服务器发送携带有所述卡片帐号的第二样式获取请求,所述第二样式获取请求用于请求获取发卡方提供的所述虚拟卡片的样式;a second sending module, configured to send a second style obtaining request carrying the card account to the server, where the second style obtaining request is used to request obtaining a style of the virtual card provided by the card issuer;
    第二显示模块,被配置为当接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述服务器返回的样式中进行显示;a second display module, configured to: when receiving the style returned by the server, populate the content of the virtual card into a style returned by the server for display;
    第三显示模块,被配置为当未接收到所述服务器返回的样式时,将所述虚拟卡片的内容填充到所述支付客户端预设的样式中进行显示。The third display module is configured to: when the style returned by the server is not received, fill the content of the virtual card into a preset style of the payment client for display.
  23. 一种卡片显示装置,其特征在于,所述装置包括:A card display device, characterized in that the device comprises:
    处理器;processor;
    用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
    其中,所述处理器被配置为:Wherein the processor is configured to:
    接收用于对支付客户端中的虚拟卡片的样式进行设置的设置指令,所述虚拟卡片是将实体卡片的卡片帐号与所述支付客户端中登录的用户帐号进行绑定 后生成的虚拟的卡片;Receiving a setting instruction for setting a style of a virtual card in the payment client, the virtual card binding the card account of the physical card with the user account registered in the payment client After the generated virtual card;
    接收选择指令,并根据所述选择指令所选择的构成元素的设置结果生成所述虚拟卡片的样式;Receiving a selection instruction, and generating a style of the virtual card according to a setting result of the constituent elements selected by the selection instruction;
    将所述虚拟卡片的内容填充到生成的所述样式中进行显示。 The content of the virtual card is filled into the generated style for display.
PCT/CN2016/086688 2016-06-22 2016-06-22 Card display method and device WO2017219267A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/086688 WO2017219267A1 (en) 2016-06-22 2016-06-22 Card display method and device
CN201680000691.2A CN106104602A (en) 2016-06-22 2016-06-22 Card display packing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/086688 WO2017219267A1 (en) 2016-06-22 2016-06-22 Card display method and device

Publications (1)

Publication Number Publication Date
WO2017219267A1 true WO2017219267A1 (en) 2017-12-28

Family

ID=57224197

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086688 WO2017219267A1 (en) 2016-06-22 2016-06-22 Card display method and device

Country Status (2)

Country Link
CN (1) CN106104602A (en)
WO (1) WO2017219267A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297684A (en) * 2019-06-28 2019-10-01 腾讯科技(深圳)有限公司 Theme display methods, device and storage medium based on virtual portrait
CN110599158A (en) * 2019-08-08 2019-12-20 威富通科技有限公司 Virtual card combination method, virtual card combination device and terminal equipment
US11966911B1 (en) * 2022-12-12 2024-04-23 Truist Bank System and method for displaying customized graphic content on a mobile device

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106104602A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Card display packing and device
CN106973096B (en) * 2017-03-27 2021-02-12 腾讯科技(深圳)有限公司 Data pushing method and device
CN109147164A (en) * 2017-06-16 2019-01-04 北京橙鑫数据科技有限公司 Safety certifying method, device and the mobile terminal of more cards
CN109842605B (en) * 2017-11-29 2020-07-07 华为技术有限公司 Card binding method and terminal
CN108665265B (en) * 2018-05-21 2021-08-31 北京小米移动软件有限公司 Virtual card display method and device
CN110069302A (en) * 2019-03-15 2019-07-30 平安普惠企业管理有限公司 Page configuration method, apparatus, computer equipment and storage medium
CN112416218B (en) * 2020-09-08 2023-12-29 上海哔哩哔哩科技有限公司 Virtual card display method and device, computer equipment and storage medium
CN113835684A (en) * 2021-09-16 2021-12-24 支付宝(杭州)信息技术有限公司 Method and device for automatically generating picture configuration file
CN114239241B (en) * 2021-11-30 2023-02-28 北京百度网讯科技有限公司 Card generation method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890794A (en) * 2011-07-21 2013-01-23 梁露露 Method and system for realizing integration of multiple cards for mobile terminal
CN105139252A (en) * 2015-10-14 2015-12-09 北京邻和科技有限公司 Transaction and consumption system based on network platform and method thereof
CN106104602A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Card display packing and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256702C (en) * 2003-12-31 2006-05-17 马堃 Method for synthesizing digital image
US8464938B2 (en) * 2007-06-22 2013-06-18 Intelispend Prepaid Solutions, Llc Client customized virtual or physical card for use with selected merchants
US20100076833A1 (en) * 2008-09-19 2010-03-25 Giftango Corporation Systems and methods for managing and using a virtual card
US8442866B2 (en) * 2008-10-27 2013-05-14 Cashstar, Inc. Systems and methods for implementing and managing virtual gift cards
CN103365663B (en) * 2013-07-18 2016-09-28 腾讯科技(深圳)有限公司 It is used for developing terminal and the method for intention

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890794A (en) * 2011-07-21 2013-01-23 梁露露 Method and system for realizing integration of multiple cards for mobile terminal
CN105139252A (en) * 2015-10-14 2015-12-09 北京邻和科技有限公司 Transaction and consumption system based on network platform and method thereof
CN106104602A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Card display packing and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297684A (en) * 2019-06-28 2019-10-01 腾讯科技(深圳)有限公司 Theme display methods, device and storage medium based on virtual portrait
CN110297684B (en) * 2019-06-28 2023-06-30 腾讯科技(深圳)有限公司 Theme display method and device based on virtual character and storage medium
CN110599158A (en) * 2019-08-08 2019-12-20 威富通科技有限公司 Virtual card combination method, virtual card combination device and terminal equipment
US11966911B1 (en) * 2022-12-12 2024-04-23 Truist Bank System and method for displaying customized graphic content on a mobile device

Also Published As

Publication number Publication date
CN106104602A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
WO2017219267A1 (en) Card display method and device
CN113015012B (en) Live broadcast data processing method, device, computer equipment and storage medium
CN106028166B (en) Live broadcast room switching method and device in live broadcast process
EP3929922A1 (en) Method and device for generating multimedia resources
CN112561632B (en) Information display method, device, terminal and storage medium
WO2018035729A1 (en) Resource transfer method and device
CN112118477B (en) Virtual gift display method, device, equipment and storage medium
CN111045568B (en) Virtual article processing method, device, equipment and storage medium based on block chain
CN109167937B (en) Video distribution method, device, terminal and storage medium
CN107526591B (en) Method and device for switching types of live broadcast rooms
CN112181573A (en) Media resource display method, device, terminal, server and storage medium
WO2022134684A1 (en) Interaction method and apparatus based on live streaming application program, and device and storage medium
CN112612439B (en) Bullet screen display method and device, electronic equipment and storage medium
US11949979B2 (en) Image acquisition method with augmented reality anchor, device, apparatus and storage medium
WO2023050737A1 (en) Resource presentation method based on live streaming room, and terminal
US20220377157A1 (en) Method for displaying data, and computer device
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
CN112363660B (en) Method and device for determining cover image, electronic equipment and storage medium
CN104917672B (en) Mail signature setting method and device
CN110932963A (en) Multimedia resource sharing method, system, device, terminal, server and medium
WO2023061414A1 (en) File generation method and apparatus, and electronic device
CN112764607A (en) Timing message processing method, device, terminal and storage medium
CN113157172A (en) Barrage information display method, transmission method, device, terminal and storage medium
CN112788359A (en) Live broadcast processing method and device, electronic equipment and storage medium
CN116745795A (en) License-based media composition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16905809

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16905809

Country of ref document: EP

Kind code of ref document: A1