CN114239241B - Card generation method and device and electronic equipment - Google Patents

Card generation method and device and electronic equipment Download PDF

Info

Publication number
CN114239241B
CN114239241B CN202111443446.8A CN202111443446A CN114239241B CN 114239241 B CN114239241 B CN 114239241B CN 202111443446 A CN202111443446 A CN 202111443446A CN 114239241 B CN114239241 B CN 114239241B
Authority
CN
China
Prior art keywords
client
target
card
virtual image
module
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202111443446.8A
Other languages
Chinese (zh)
Other versions
CN114239241A (en
Inventor
柳佳莹
付钰
丁春晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111443446.8A priority Critical patent/CN114239241B/en
Publication of CN114239241A publication Critical patent/CN114239241A/en
Application granted granted Critical
Publication of CN114239241B publication Critical patent/CN114239241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/16Customisation or personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure discloses a card generation method and device and electronic equipment, relates to the technical field of data processing, and particularly relates to the fields of artificial intelligence such as big data, deep learning, enhancement/virtual reality and the like. The specific implementation scheme is as follows: receiving a card application request sent by a client, wherein the application request comprises an identifier of the client; acquiring a target virtual image corresponding to the client according to the identification of the client; determining decorative elements corresponding to the cards to be generated according to the target virtual images; based on the decorative elements, a target card is generated. Therefore, the cards of different users of the same service have different decorative elements, the card styles are enriched, the card individuation is realized, and the card distinguishing performance is improved.

Description

Card generation method and device and electronic equipment
Technical Field
The disclosure relates to the technical field of data processing, in particular to the fields of artificial intelligence such as big data, deep learning, enhancement/virtual reality and the like, and specifically relates to a card generation method and device and electronic equipment.
Background
With the development of computer technology, people have higher and higher requirements for individualization of products.
In the related art, the style of the service card provided by each service party is generally related to the service of the service party, and the card has a single style and poor resolution.
Disclosure of Invention
The disclosure provides a card generation method and device.
According to an aspect of the present disclosure, there is provided a card generation method including:
receiving a card application request sent by a client, wherein the application request comprises an identifier of the client;
acquiring a target virtual image corresponding to the client according to the identification of the client;
determining a decorative element corresponding to the card to be generated according to the target virtual image;
and generating a target card based on the decoration elements.
According to another aspect of the present disclosure, there is provided a card generation apparatus including:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a card application request sent by a client, and the application request comprises an identifier of the client;
the acquisition module is used for acquiring a target virtual image corresponding to the client according to the identification of the client;
the determining module is used for determining the decorative elements corresponding to the cards to be generated according to the target virtual images;
and the first generation module is used for generating a target card based on the decoration elements.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the above embodiments.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method according to the above-described embodiments.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method of the above embodiment.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic flowchart of a card generation method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another card generation method provided in the embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another card generation method provided in the embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another card generation method provided in the embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another card generation apparatus provided in the embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device for implementing a card generation method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of embodiments of the present disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Artificial intelligence is a subject of research that uses computers to simulate some human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and has both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, and the like; the artificial intelligence software technology comprises a computer vision technology, a voice recognition technology, a natural language processing technology, deep learning, a big data processing technology, a knowledge map technology and the like.
Big data, or mass data, refers to the data that is too large to be captured, managed, processed and organized into information that can help enterprise business decision more actively within a reasonable time through the current mainstream software tools.
Deep learning is a new research direction in the field of machine learning. Deep learning is the intrinsic law and expression level of the learning sample data, and the information obtained in the learning process is very helpful for the interpretation of data such as characters, images and sounds. The final aim of the method is to enable a machine to have analysis and learning capabilities like a human, and to recognize data such as characters, images and sounds.
Augmented reality is a technology for calculating the position and angle of a camera image in real time and adding a corresponding image, and is a new technology for seamlessly integrating real world information and virtual world information, and the aim of the technology is to sleeve a virtual world on a screen in the real world and perform interaction.
A card generation method, apparatus, electronic device, and storage medium according to an embodiment of the present disclosure are described below with reference to the drawings.
Fig. 1 is a schematic flowchart of a card generation method according to an embodiment of the present disclosure.
As shown in fig. 1, the method includes:
step 101, receiving a card application request sent by a client, wherein the application request includes an identifier of the client.
Wherein the card can be any type of service card available to the service provider. For example, if the service party is a financial institution, the card may be a savings card, credit card, or the like provided by the financial institution. Or, if the service party is a business, the card may be an access card, a meal card, or the like issued by the business for employees or visitors, which is not limited in this disclosure. The identifier of the client may be any information that can uniquely identify the card applicant, such as a client number, and the like, which is not limited in this disclosure.
In the method, the user can trigger the card application request by clicking the card application button on the client, and then the server can receive the card application request.
And 102, acquiring a target virtual image corresponding to the client according to the identification of the client.
In the present disclosure, a plurality of avatars may be preset in the service system, and then the corresponding avatars may be determined according to client information, such as gender, age, and the like, in the process of providing services to the client. Or the avatar stored by the server and corresponding to each client may also be automatically generated according to the user operation corresponding to the client, which is not limited in this disclosure.
And 103, determining the decorative elements corresponding to the cards to be generated according to the target virtual images.
The decoration element may refer to any element that can be used to decorate the card to be generated. Such as colors, patterns, etc.
In the present disclosure, different avatars may correspond to different decorative elements. For example, the decorative element corresponding to the male avatar may be different from the decorative element corresponding to the female avatar. Or the decorative element corresponding to the virtual image of the family cat is different from the decorative element corresponding to the virtual image of the family dog. Or, if the hairstyles of the avatar a and the avatar B are different, the corresponding decorative elements are different, and so on.
And 104, generating a target card based on the decoration elements.
In the present disclosure, after the decoration element is determined, the card to be generated may be decorated based on the decoration element to generate the target card.
For example, according to the target avatar, the determined decoration elements are: the pattern 1 may be used to decorate the card to be generated, for example, the pattern 1 is printed on one side of the card to be generated to generate the target card.
The pattern 1 may be a two-dimensional pattern corresponding to the target avatar, or any part of the target avatar, such as a two-dimensional pattern corresponding to the head, and the like, which is not limited in this disclosure.
Optionally, the style of the decoration element may be determined according to the service type included in the application request, and the target card may be generated based on the style of the decoration element and the decoration element.
For example, if the service system is a financial institution system, the service type may include a credit card service, a deposit card service, or a joint card service, etc.
In the present disclosure, the styles of the decoration elements corresponding to different services may be different, for example, a savings card may correspond to a city life style, a credit card service may correspond to a business style, and the like. In addition, the decorative elements corresponding to different styles or background pictures can be different. For example, in the urban living wind, the basic hue of the background picture may be yellow, and then an urban living wind target card with the yellow basic hue may be generated. Thus, the card style can be further enriched.
It should be noted that, in the technical solution of the present disclosure, the acquisition, storage, application, and the like of the personal information of the related user all meet the regulations of the relevant laws and regulations, and do not violate the common customs of the public order.
In the method, the decoration elements corresponding to the card to be generated are determined based on the virtual image corresponding to the user, and then the card is decorated by the decoration elements to generate the target card. Therefore, the cards of different users of the same service have different decorative elements, the card styles are enriched, the card individuation is realized, and the card distinguishing performance is improved.
Fig. 2 is a schematic flowchart of another card generation method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes:
step 201, receiving a card application request sent by a client, wherein the application request includes an identifier of the client.
In this embodiment, reference may be made to the detailed description of the above embodiment for a specific implementation process of step 201, which is not described herein again.
Step 202, receiving an avatar creating request, wherein the creating request includes a reference picture.
The reference picture can be any picture uploaded by a user and used for generating the virtual image. The reference picture may be a personal photograph of the user, or a picture provided by the user and containing any reference object.
According to the method and the device, after a user clicks a button for creating the virtual image on a client, a window for uploading a reference picture can be popped up on a client interface, the user can upload the reference picture, and after the button for uploading is clicked, a virtual image creating request can be triggered.
Step 203, generating a target virtual image according to the image of the reference object contained in the reference picture.
In the disclosure, after the server acquires the reference image, the server may extract a reference object picture from the reference picture by using an image segmentation technology, and then may generate a corresponding target avatar by using an avatar generation algorithm based on an avatar of the reference object. Wherein. The reference object may be a human or an animal, which is not limited by the present disclosure.
In addition, after the reference object is determined, the type of the reference object can be determined by using an image recognition technology. The type of the reference object may be male, female, small animal, etc., which is not limited by the present disclosure. It is understood that the type to which the reference object belongs is the same as the type of the target avatar corresponding thereto.
Therefore, the server side can generate the target virtual image in a personalized mode based on the reference picture, the card style is further enriched, and the card distinguishing performance is improved.
It should be noted that, the steps 201 to 203 may be sequentially executed according to the above sequence, or the steps 202 and 203 may be executed first, and then the step 201 is executed, or the step 201 and the steps 202 and 203 may also be executed in parallel, which is not limited in this disclosure.
And 204, determining the decorative elements corresponding to the cards to be generated according to the target virtual images.
Step 205, generating a target card based on the decoration elements.
For a specific implementation process of the step 204 and the step 205, reference may be made to the detailed description of the above embodiments, which is not repeated herein.
And step 206, returning a target card browsing interface to the client, wherein the browsing interface comprises an adjusting control associated with the decorative element.
The adjusting control can include a control for adjusting attributes such as color, size, position, direction and the like of the decorative element, or can also include a control for adjusting the action of the avatar.
In the disclosure, after the server generates the target card, a browsing interface can be generated based on each decorative element in the target card and the associated adjustment control thereof, and the browsing interface is returned to the client. Therefore, a user can select any decorative element and operate the related adjusting control to trigger the adjusting instruction.
And step 207, responding to the received adjustment instruction of the adjustment control returned by the client, and adjusting the decoration elements associated with the adjustment control according to the adjustment instruction.
The adjustment instruction may include associated decoration element information and a specific adjustment operation.
In the present disclosure, after receiving the adjustment instruction, the server may determine the decoration element associated with the adjustment control, and then adjust the decoration element according to a specific adjustment operation. Therefore, the server side can further perform personalized adjustment on the decorative elements based on the adjustment instruction of the adjustment control returned by the client side, so that a target virtual image is generated in a personalized manner, the card style is further enriched, and the card resolution is improved.
According to the method and the device, a target virtual image is generated based on a reference picture in a virtual image creating request, then a target decoration element corresponding to a card to be generated is determined according to the target virtual image, the card is decorated by the target decoration element to generate a target card, then a target card browsing interface is returned to a client, and in response to receiving an adjusting instruction of an adjusting control returned by the client, the decoration element related to the adjusting control is adjusted according to the adjusting instruction. Therefore, the cards of different users of the same service have different decorative elements, so that the card styles are enriched, the card individuation is realized, and the card resolution is improved.
Fig. 3 is a schematic flowchart of another card generation method according to an embodiment of the present disclosure.
As shown in fig. 3, the method further comprises:
step 301, receiving an avatar update instruction sent by a client, wherein the update instruction includes a target update element.
In the present disclosure, after the server generates the target avatar, the server may return the target avatar to the client, so that the user may update the elements of the target avatar. For example, the avatar may be a garment, pose, accessory, etc., and the present disclosure is not limited thereto.
In the present disclosure, the number and types of elements available for user selection may vary, for example, a female avatar accessory may include hair clips, earrings, sunglasses, etc., and a male avatar accessory may include collar clips, sunglasses, etc. A user can pop up an optional element list by clicking a button for updating an element in a client, when the user selects any element, the element can be determined as a target updating element, and then when the user clicks a determination button, an updating instruction can be triggered.
And step 302, updating the target virtual image according to the target updating element.
In the disclosure, after receiving the update instruction sent by the client, the server may update the corresponding element in the target avatar by using the target update element.
Step 303, determining a task set corresponding to the target avatar.
In the present disclosure, the user can acquire more avatar elements by completing the task. Specifically, the server may assign different task sets to different avatars, for example, when the target avatar is a person, the task sets may include various virtual workplace events, virtual financing events, and the like. When the target avatar is an animal, the set of tasks may include feeding tasks, cleaning tasks, punch-cards tasks, and the like, to which the present disclosure is not limited.
In the present disclosure, different task sets may be preset in the server, and set tasks corresponding to the target avatar may be determined by user selection, or may be distributed through the system, which is not limited in the present disclosure.
Optionally, the task set corresponding to the target avatar may be determined according to historical use data of the client.
For example, if the service system is a financial institution system, the historical usage data may be transfer times, consumption times, posting times, and the like, which is not limited by the present disclosure.
In the disclosure, when the historical usage data of the client is less, the server may allocate a task set with a smaller task amount to the client. When the historical use data of the client is more, the server can allocate a task set with a larger task amount to the client.
And step 304, returning the tasks in the task set to the client.
In this disclosure, after determining the task set, the task that needs to be completed at present may be returned to the client, or all tasks in the task set may also be returned to the client, which is not limited in this disclosure.
Optionally, when all tasks in the task set are returned to the client, different labels may be performed on the tasks according to the task completion condition in the task set. For example, icons of completed tasks may be displayed in gray and icons of uncompleted tasks may be displayed in color.
In the method and the system, the user can jump to the interface of the corresponding task by clicking any icon of the uncompleted task in the client to complete the task operation.
And 305, responding to the received task execution result returned by the client, and updating the number and/or the type of the interactive controls related to the target virtual image according to the task execution result.
The interactive control may include a change-over control, an action control, and the like, which is not limited by the present solution. For example, the target avatar may be dressed with a change control, and the action of the target avatar may be changed with an action control.
In the present disclosure, the server may update the corresponding interactive control according to the completion condition of the task. For example, the greater the number of tasks completed by the client, or the greater the difficulty level of the tasks, the greater the number of interactive controls available for use.
It should be noted that, the steps 301 to 305 may be sequentially executed according to the above sequence, or the steps 303 to 305 may be executed first, and then the steps 301 to 302 are executed, or the steps 301 to 302 and the steps 303 to 305 may also be executed in parallel, which is not limited in this disclosure.
In the disclosure, after receiving an avatar update instruction including a target update element sent by a client, a server updates a target avatar according to the target update element. Therefore, the target virtual image is generated in an individualized mode, the card styles are further enriched, and the card resolution is improved. And after determining the task set corresponding to the target virtual image, the server returns the tasks in the task set to the client, and then responds to the received task execution result returned by the client and updates the number and/or the type of the interactive controls related to the target virtual image according to the task execution result. Therefore, the system functions are further enriched by providing different interaction controls for different users.
Fig. 4 is a schematic flowchart of another card generation method according to an embodiment of the present disclosure.
As shown in fig. 4, the method further includes:
step 401, obtaining the business data volume associated with the target card.
For example, if the service system is a financial institution system, the amount of the business data may be the number of times of card usage, or the total amount of transactions, etc., which is not limited in this disclosure.
In the disclosure, the server may obtain the service data volume associated with the target card by querying the transaction history information corresponding to the target card.
And 402, updating the number and/or the type of the interactive controls of the target virtual image associated with the client according to the service data volume.
In the present disclosure, the available interactive controls may be different for different traffic data volumes, or the avatar decoration may be available for user selection, or the unlocking action may be different.
Step 403, receiving a virtual space entry request sent by a client, where the entry request includes an identifier of the client.
The virtual space is a simulated environment generated by a computer, and a user can simulate activities in real life in the environment and experience real feelings.
In this disclosure, the user may also trigger the virtual space entry request by clicking a button of the client that enters the virtual space.
And step 404, acquiring the target virtual image and the interactive control information associated with the identification of the client.
In the disclosure, after receiving a virtual space entry request sent by a client, a server may determine a target avatar and an interactive control associated with the client according to a correspondence between an identifier of the client in the virtual space entry request and the target avatar and the interactive control.
And 405, returning the target virtual image and the interactive control information to the client so that the client generates a virtual space based on the target virtual image and the interactive control information.
In the present disclosure, after the client generates the virtual space, the user can interact with the target avatar in the virtual space by using the provided interaction control. Therefore, the personalized virtual space can be created by providing different interaction controls for different users.
According to the method and the system, the server side updates the number and/or types of interactive controls of the target virtual image associated with the client side according to the business data volume, receives a virtual space entering request sent by the client side, acquires the target virtual image and the interactive control information associated with the identification of the client side, and returns the target virtual image and the interactive control information to the client side, so that the client side generates the virtual space based on the target virtual image and the interactive control information. Therefore, the system functions are further enriched by providing different interaction controls for different users.
In order to implement the above embodiments, the embodiments of the present disclosure further provide a card generation device. Fig. 5 is a schematic structural diagram of a card generation apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the service request processing device 500 includes: a receiving module 510, an obtaining module 520, a determining module 530, and a first generating module 540.
A receiving module 510, configured to receive a card application request sent by a client, where the application request includes an identifier of the client;
an obtaining module 520, configured to obtain a target avatar corresponding to the client according to the identifier of the client;
a determining module 530, configured to determine, according to the target avatar, a decorative element corresponding to the card to be generated;
a first generating module 540, configured to generate a target card based on the decoration element.
In a possible implementation manner of the embodiment of the present disclosure, the first generating module 540 is specifically configured to:
determining the style of the decorative element according to the service type included in the application request;
and generating the target card based on the style of the decorative elements and the decorative elements.
In a possible implementation manner of the embodiment of the present disclosure, the receiving module 510 is further configured to:
receiving an avatar creating request, wherein the creating request comprises a reference picture;
the device also includes:
and the second generation module is used for generating the target virtual image according to the image of the reference object contained in the reference picture.
In a possible implementation manner of the embodiment of the present disclosure, the apparatus may further include:
the returning module is used for returning the target card browsing interface to the client, wherein the browsing interface comprises an adjusting control related to the decorative element;
and the adjusting module is used for responding to an adjusting instruction of the adjusting control returned by the client and adjusting the decoration elements associated with the adjusting control according to the adjusting instruction.
In a possible implementation manner of the embodiment of the present disclosure, the obtaining module 520 is further configured to:
acquiring the business data volume associated with the target card;
the device also includes:
and the updating module is used for updating the number and/or the type of the interactive controls of the target virtual image associated with the client according to the service data volume.
In a possible implementation manner of the embodiment of the present disclosure, the receiving module 510 is further configured to:
receiving a virtual space entering request sent by the client, wherein the entering request comprises an identifier of the client;
the obtaining module 520 is further configured to obtain a target avatar and interactive control information associated with the identifier of the client;
the return module is further configured to return the target avatar and the interactive control information to the client, so that the client generates a virtual space based on the target avatar and the interactive control information.
In a possible implementation manner of the embodiment of the present disclosure, the receiving module 510 is further configured to:
receiving an avatar updating instruction sent by the client, wherein the updating instruction comprises a target updating element;
the device further comprises:
and the updating module is used for updating the target virtual image according to the target updating element.
In a possible implementation manner of the embodiment of the present disclosure, the determining module 530 is further configured to:
determining a task set corresponding to the target virtual image;
the device further comprises:
the return module is used for returning the tasks in the task set to the client;
and the updating module is used for responding to the received task execution result returned by the client and updating the number and/or the type of the interactive controls related to the target virtual image according to the task execution result.
In a possible implementation manner of the embodiment of the present disclosure, the determining module 530 is further configured to:
and determining a task set corresponding to the target virtual image according to the historical use data of the client.
It should be noted that the explanation of the embodiment of the card generation method is also applicable to the apparatus of the embodiment, and therefore, the explanation is not repeated herein.
According to the method and the device, the target decoration element corresponding to the card to be generated is determined based on the virtual image corresponding to the user, and then the card is decorated by the target decoration element to generate the target card. Therefore, the card styles of different users of the same service are different, the card styles are enriched, and the card resolution is improved.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes in accordance with a computer program stored in a ROM (Read-Only Memory) 602 or a computer program loaded from a storage unit 608 into a RAM (Random Access Memory) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An I/O (Input/Output) interface 605 is also connected to the bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, and the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing Unit 601 include, but are not limited to, a CPU (Central Processing Unit), a GPU (graphics Processing Unit), various dedicated AI (Artificial Intelligence) computing chips, various computing Units running machine learning model algorithms, a DSP (Digital Signal Processor), and any suitable Processor, controller, microcontroller, and the like. The calculation unit 601 executes the respective methods and processes described above, such as the generation method of the card. For example, in some embodiments, the generation method for the card may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the above described card generation method may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured by any other suitable means (e.g. by means of firmware) to perform the card generation method.
Various implementations of the systems and techniques described here above may be realized in digital electronic circuitry, integrated circuitry, FPGAs (Field Programmable Gate arrays), ASICs (Application-Specific Integrated circuits), ASSPs (Application Specific Standard products), SOCs (System On Chip, system On a Chip), CPLDs (Complex Programmable Logic devices), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, causes the functions/acts specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or flash Memory, an optical fiber, a CD-ROM (Compact Disc Read-Only-Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a Display device (e.g., a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), internet, and blockchain Network.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service extensibility in a conventional physical host and VPS service (Virtual Private Server). The server may also be a server of a distributed system, or a server incorporating a blockchain.
According to an embodiment of the present disclosure, the present disclosure further provides a computer program product, which when executed by an instruction processor in the computer program product, performs the method for generating a card according to the above-mentioned embodiment of the present disclosure.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A method of generating a card, comprising:
receiving a card application request sent by a client, wherein the application request comprises an identifier of the client;
acquiring a target virtual image corresponding to the client according to the identification of the client;
determining decorative elements corresponding to the cards to be generated according to the target virtual images, wherein different virtual images correspond to different decorative elements;
generating a target card based on the decoration elements;
before the obtaining of the target avatar corresponding to the client according to the identifier of the client, the method further includes:
receiving an avatar creating request, wherein the creating request comprises a reference picture;
generating the target virtual image according to the image of the reference object contained in the reference picture;
after the generating the target card, further comprising:
acquiring the business data volume associated with the target card, wherein the business data volume associated with the target card is acquired by inquiring the transaction history information corresponding to the target card;
updating the number and/or the type of interactive controls of the target virtual image associated with the client according to the service data volume;
receiving a virtual space entering request sent by the client, wherein the entering request comprises an identifier of the client;
acquiring a target virtual image and interactive control information associated with the identification of the client;
returning the target virtual image and the interactive control information to the client so that the client generates a virtual space based on the target virtual image and the interactive control information;
after the virtual space is generated, the method further includes: and the user interacts with the target virtual image in the virtual space by utilizing the provided interaction control.
2. The method of claim 1, wherein generating a target card based on the decorative element comprises:
determining the style of the decorative element according to the service type included in the application request;
and generating the target card based on the style of the decorative elements and the decorative elements.
3. The method of claim 1, wherein after said generating the target avatar, further comprising:
receiving an avatar updating instruction sent by the client, wherein the updating instruction comprises a target updating element;
and updating the target virtual image according to the target updating element.
4. The method of claim 1, wherein after said generating the target avatar, further comprising:
determining a task set corresponding to the target virtual image;
returning the tasks in the task set to the client;
and responding to a received task execution result returned by the client, and updating the number and/or the type of the interactive controls related to the target virtual image according to the task execution result.
5. The method of claim 4, wherein the determining the set of tasks to which the target avatar corresponds comprises:
and determining a task set corresponding to the target virtual image according to the historical use data of the client.
6. The method of claim 1, wherein after the generating a target card, further comprising:
returning the target card browsing interface to the client, wherein the browsing interface comprises an adjusting control associated with the decorative element;
and responding to an adjustment instruction of the adjustment control returned by the client, and adjusting the decoration elements associated with the adjustment control according to the adjustment instruction.
7. A card generation apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a card application request sent by a client, and the application request comprises an identifier of the client;
the acquisition module is used for acquiring a target virtual image corresponding to the client according to the identification of the client, wherein different virtual images correspond to different decorative elements;
the determining module is used for determining the decorative elements corresponding to the cards to be generated according to the target virtual images;
the first generation module is used for generating a target card based on the decoration elements;
the receiving module is further configured to:
receiving an avatar creating request, wherein the creating request comprises a reference picture;
the device further comprises:
the second generation module is used for generating the target virtual image according to the image of the reference object contained in the reference picture;
the obtaining module is further configured to:
acquiring the business data volume associated with the target card, wherein the business data volume associated with the target card is acquired by inquiring the transaction history information corresponding to the target card;
the updating module is used for updating the number and/or the type of the interactive controls of the target virtual image associated with the client according to the service data volume;
the receiving module is further configured to:
receiving a virtual space entering request sent by the client, wherein the entering request comprises an identifier of the client;
the acquisition module is also used for acquiring a target virtual image and interactive control information associated with the identification of the client;
the return module is also used for returning the target virtual image and the interactive control information to the client so as to enable the client to generate a virtual space based on the target virtual image and the interactive control information;
after the virtual space is generated, the method further includes: and the user interacts with the target virtual image in the virtual space by utilizing the provided interaction control.
8. The apparatus of claim 7, wherein the first generating module is specifically configured to:
determining the style of the decorative element according to the service type included in the application request;
and generating the target card based on the style of the decorative elements and the decorative elements.
9. The apparatus of claim 7, the receiving means further configured to:
receiving an avatar updating instruction sent by the client, wherein the updating instruction comprises a target updating element;
the device further comprises:
and the updating module is used for updating the target virtual image according to the target updating element.
10. The apparatus of claim 7, the determination module further configured to:
determining a task set corresponding to the target virtual image;
the device further comprises:
a return module, configured to return the tasks in the task set to the client;
and the updating module is used for responding to the received task execution result returned by the client and updating the number and/or the type of the interactive controls related to the target virtual image according to the task execution result.
11. The apparatus of claim 10, the determination module further configured to:
and determining a task set corresponding to the target virtual image according to the historical use data of the client.
12. The apparatus of claim 7, the return module further to:
returning the target card browsing interface to the client, wherein the browsing interface comprises an adjusting control related to the decorative element;
the device further comprises:
and the adjusting module is used for responding to an adjusting instruction of the adjusting control returned by the client and adjusting the decoration elements associated with the adjusting control according to the adjusting instruction.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202111443446.8A 2021-11-30 2021-11-30 Card generation method and device and electronic equipment Active CN114239241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111443446.8A CN114239241B (en) 2021-11-30 2021-11-30 Card generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111443446.8A CN114239241B (en) 2021-11-30 2021-11-30 Card generation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114239241A CN114239241A (en) 2022-03-25
CN114239241B true CN114239241B (en) 2023-02-28

Family

ID=80752145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111443446.8A Active CN114239241B (en) 2021-11-30 2021-11-30 Card generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114239241B (en)

Citations (8)

* 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
CN107451274A (en) * 2017-08-04 2017-12-08 百度在线网络技术(北京)有限公司 Aid in method for pushing, device, equipment and the storage medium of customer service information
CN110139170A (en) * 2019-04-08 2019-08-16 顺丰科技有限公司 Video greeting card generation method, device, system, equipment and storage medium
CN111596838A (en) * 2020-04-24 2020-08-28 腾讯科技(深圳)有限公司 Service processing method and device, computer equipment and computer readable storage medium
CN112423022A (en) * 2020-11-20 2021-02-26 北京字节跳动网络技术有限公司 Video generation and display method, device, equipment and medium
CN112541963A (en) * 2020-11-09 2021-03-23 北京百度网讯科技有限公司 Three-dimensional virtual image generation method and device, electronic equipment and storage medium
CN113240778A (en) * 2021-04-26 2021-08-10 北京百度网讯科技有限公司 Virtual image generation method and device, electronic equipment and storage medium
CN113407850A (en) * 2021-07-15 2021-09-17 北京百度网讯科技有限公司 Method and device for determining and acquiring virtual image and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10181986B2 (en) * 2015-11-02 2019-01-15 International Business Machines Corporation Action records in virtual space
CN112891939B (en) * 2021-03-12 2022-11-25 腾讯科技(深圳)有限公司 Contact information display method and device, computer equipment and storage medium

Patent Citations (8)

* 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
CN107451274A (en) * 2017-08-04 2017-12-08 百度在线网络技术(北京)有限公司 Aid in method for pushing, device, equipment and the storage medium of customer service information
CN110139170A (en) * 2019-04-08 2019-08-16 顺丰科技有限公司 Video greeting card generation method, device, system, equipment and storage medium
CN111596838A (en) * 2020-04-24 2020-08-28 腾讯科技(深圳)有限公司 Service processing method and device, computer equipment and computer readable storage medium
CN112541963A (en) * 2020-11-09 2021-03-23 北京百度网讯科技有限公司 Three-dimensional virtual image generation method and device, electronic equipment and storage medium
CN112423022A (en) * 2020-11-20 2021-02-26 北京字节跳动网络技术有限公司 Video generation and display method, device, equipment and medium
CN113240778A (en) * 2021-04-26 2021-08-10 北京百度网讯科技有限公司 Virtual image generation method and device, electronic equipment and storage medium
CN113407850A (en) * 2021-07-15 2021-09-17 北京百度网讯科技有限公司 Method and device for determining and acquiring virtual image and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
VirtualizeMe: Real-time avatar creation for Tele-Immersion environments;Daniel Knoblauch et al;《 2010 IEEE Virtual Reality Conference (VR)》;20100408;全文 *
使用Illustrator实现证卡个性化制作;王湛 等;《印刷技术》;20110630;全文 *

Also Published As

Publication number Publication date
CN114239241A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US11587300B2 (en) Method and apparatus for generating three-dimensional virtual image, and storage medium
CN113643412B (en) Virtual image generation method and device, electronic equipment and storage medium
US10255681B2 (en) Image matting using deep learning
CN113050795A (en) Virtual image generation method and device
CN111860167B (en) Face fusion model acquisition method, face fusion model acquisition device and storage medium
CN110517080A (en) Outdoor advertising put-on method, device, equipment and computer readable storage medium
CN113240778B (en) Method, device, electronic equipment and storage medium for generating virtual image
CN114245155A (en) Live broadcast method and device and electronic equipment
CN111709875A (en) Image processing method, image processing device, electronic equipment and storage medium
CN114723888A (en) Three-dimensional hair model generation method, device, equipment, storage medium and product
CN111523467A (en) Face tracking method and device
CN115170819A (en) Target identification method and device, electronic equipment and medium
CN113313048B (en) Facial expression recognition method and device
CN116245998B (en) Rendering map generation method and device, and model training method and device
CN114239241B (en) Card generation method and device and electronic equipment
CN112508127A (en) Data labeling method and device, electronic equipment, medium and product
CN115661375B (en) Three-dimensional hair style generation method and device, electronic equipment and storage medium
CN115359171B (en) Virtual image processing method and device, electronic equipment and storage medium
US11748880B2 (en) Augmented reality systems and methods for fingernail detection and tracking
CN114120412B (en) Image processing method and device
CN114638919A (en) Virtual image generation method, electronic device, program product and user terminal
CN114547426A (en) Dressing method, device, system, electronic apparatus, and storage medium
CN114119154A (en) Virtual makeup method and device
CN115328385A (en) Virtual keyboard display method and device, electronic equipment, storage medium and product
CN112163843B (en) Transfer method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant