CN112633932A - Method and device for determining card surface color of entity object membership card - Google Patents

Method and device for determining card surface color of entity object membership card Download PDF

Info

Publication number
CN112633932A
CN112633932A CN202011580826.1A CN202011580826A CN112633932A CN 112633932 A CN112633932 A CN 112633932A CN 202011580826 A CN202011580826 A CN 202011580826A CN 112633932 A CN112633932 A CN 112633932A
Authority
CN
China
Prior art keywords
membership card
information
entity object
target
card
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.)
Granted
Application number
CN202011580826.1A
Other languages
Chinese (zh)
Other versions
CN112633932B (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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information 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 Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN202011580826.1A priority Critical patent/CN112633932B/en
Publication of CN112633932A publication Critical patent/CN112633932A/en
Application granted granted Critical
Publication of CN112633932B publication Critical patent/CN112633932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0226Incentive systems for frequent usage, e.g. frequent flyer miles programs or point systems
    • G06Q30/0229Multi-merchant loyalty card systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The application provides a method for determining the card surface color of an entity object membership card, which comprises the following steps: obtaining card surface basic color information aiming at the entity object membership card; obtaining target color mode data corresponding to target membership card grade information according to basic color mode data corresponding to the card surface basic color information and the target membership card grade information, wherein the target membership card grade information is at least one membership card grade information in a plurality of membership card grade information set aiming at the entity object membership card; and obtaining target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data.

Description

Method and device for determining card surface color of entity object membership card
Technical Field
The application relates to the field of data processing, in particular to a method and a device for determining the card surface color of an entity object membership card, electronic equipment and a storage medium. The application also relates to a method and a device for determining the card surface color of the entity object membership card, electronic equipment and a storage medium, and also relates to a method and a device for outputting the card surface color of the entity object membership card, the electronic equipment and the storage medium, and also relates to a method and a device for obtaining the card surface color of the entity object membership card, the electronic equipment and the storage medium.
Background
With the continuous development of commercial markets, the lives of people are increasingly enriched, and in daily life, in order to attract consumers to consume for many times, merchants launch membership card mechanisms.
However, in the process of configuring the card surface of the membership card, merchants often have no ability to design card surfaces of membership cards with different grades, and for this reason, many merchants are reluctant to configure the membership grade, or after configuring multiple membership grades, users cannot feel different membership grades through the card surfaces of the membership cards. Therefore, how to configure different levels of membership card surfaces becomes a problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a method for determining the card surface color of a solid object membership card, a method for outputting a solid object electronic membership card, a method for outputting the card surface color of a solid object membership card, a method for obtaining the card surface color of a solid object membership card, a device, an electronic device and a storage medium, which are used for configuring card surfaces of membership cards with different grades.
The application provides a method for determining the card surface color of an entity object membership card, which comprises the following steps: obtaining card surface basic color information aiming at the entity object membership card; obtaining target color mode data corresponding to target membership card grade information according to basic color mode data corresponding to the card surface basic color information and the target membership card grade information, wherein the target membership card grade information is at least one membership card grade information in a plurality of membership card grade information set aiming at the entity object membership card; and obtaining target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data.
Optionally, the obtaining card surface basic color information for the entity object membership card includes: acquiring entity object identification information; according to the entity object identification information, color information corresponding to the entity object identification information is obtained; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the obtaining the entity object identification information includes: sending a first request message for requesting to acquire entity object identification information to a storage device for storing the entity object identification information; and acquiring the entity object identification information returned by the storage equipment.
Optionally, the obtaining the entity object identification information includes: sending a second request message for requesting to acquire the identification information of the entity object to a client corresponding to the entity object; and obtaining the entity object identification information returned by the client corresponding to the entity object.
Optionally, the entity object identification information includes color information of the entity object identification; the obtaining, according to the entity object identification information, color information corresponding to the entity object identification information includes: judging whether the color information of the entity object identifier contains other color information except the specified color information; and if the color information of the entity object identifier contains other color information except the designated color information, taking the other color information except the designated color information in the color information of the entity object identifier as the color information corresponding to the entity object.
Optionally, the determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card includes: judging whether the color information corresponding to the entity object identification information only contains one color information; and if the color information corresponding to the entity object identification information only contains one color information, taking the one color information as card surface basic color information aiming at the entity object membership card.
Optionally, the method further includes: if the color information corresponding to the entity object identification information contains multiple color information, obtaining the color distribution information of the entity object identification according to the color information of the entity object identification; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the basic color information of the candidate card surface to a client; and receiving the card surface basic color information selected from the candidate card surface basic color information returned by the client.
Optionally, the method further includes: and receiving the target membership card grade information sent by the client corresponding to the entity object.
Optionally, the obtaining, according to the basic color mode data corresponding to the card surface basic color information and the target membership card grade information, target color mode data corresponding to the target membership card grade information includes: obtaining color mode data corresponding to each membership card grade information according to basic color mode data corresponding to the card surface basic color information and the plurality of membership card grade information set aiming at the entity object; and determining color mode data corresponding to the target membership card grade information according to the color mode data corresponding to the grade information of each membership card.
Optionally, the basic color mode data corresponding to the card surface basic color information includes: basic chrominance data, basic saturation data and basic luminance data corresponding to the card surface basic color information;
optionally, the obtaining, according to the basic color mode data corresponding to the card surface basic color information and the multiple membership card level information set for the entity object, color mode data corresponding to each membership card level information includes: according to the multiple membership grades set for the entity object, presetting candidate saturation data and candidate brightness data corresponding to each membership card grade information; using the basic chromaticity data as chromaticity data corresponding to each member grade; determining saturation data corresponding to the grade information of each membership card according to the candidate saturation data and the basic saturation data; and determining the brightness data corresponding to the grade information of each membership card according to the candidate brightness data and the basic brightness data.
Optionally, the determining, according to the candidate saturation data and the basic saturation data, saturation data corresponding to each membership card level information includes: judging whether the basic saturation data is larger than the maximum value in the candidate saturation data; if the basic saturation data is less than or equal to the maximum value in the candidate saturation data, taking the candidate saturation data as saturation data corresponding to the membership card grade information; if the basic saturation data is larger than the maximum value in the candidate saturation data, determining the difference value between the maximum value and the minimum value in the candidate saturation data; and determining saturation data corresponding to the grade information of each membership card according to the difference between the maximum value and the minimum value in the basic saturation data and the candidate saturation data.
Optionally, the determining, according to the candidate luminance data and the basic luminance data, luminance data corresponding to each membership card level information includes: judging whether the basic brightness data is larger than the maximum value in the brightness data; if the basic brightness data is less than or equal to the maximum value in the candidate brightness data, taking the candidate brightness data as the brightness data corresponding to the grade information of each membership card; if the basic brightness data is larger than the maximum value in the candidate brightness data, determining the difference value between the maximum value and the minimum value in the candidate brightness data; and determining the brightness data corresponding to the grade information of each membership card according to the difference value between the maximum value and the minimum value in the basic brightness data and the candidate brightness data.
Optionally, the method further includes: receiving a third request message for requesting the electronic membership card sent by a client corresponding to a target user; acquiring member grade information corresponding to the target user; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: generating the electronic membership card according to the target membership card target card surface color information corresponding to the target membership card grade information; and returning the electronic membership card to the client corresponding to the target user.
The present application also provides a device for determining a card face color of a physical object membership card, comprising: a basic color determination unit for obtaining card surface basic color information for the entity object membership card; a data processing unit, configured to obtain target color mode data corresponding to target membership card level information according to basic color mode data corresponding to the card surface basic color information and the target membership card level information, where the target membership card level information is at least one of multiple membership card level information set for the entity object membership card; and the card surface color determining unit is used for obtaining target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data.
Optionally, the basic color determining unit includes: the identification acquisition subunit is used for acquiring the identification information of the entity object; the color obtaining subunit is configured to obtain, according to the entity object identification information, color information corresponding to the entity object identification information; a color determining subunit, configured to determine at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the obtaining the entity object identification information includes: a first request sending unit, configured to send a first request message for requesting to acquire entity object identification information to a storage device for storing the entity object identification information; a first identifier receiving unit, configured to obtain the entity object identifier information returned by the storage device.
Optionally, the obtaining the entity object identification information includes: a second request sending unit, configured to send a second request message for requesting to obtain the entity object identification information to a client corresponding to the entity object; and the second identification receiving unit is used for obtaining the entity object identification information returned by the client corresponding to the entity object.
Optionally, the entity object identification information includes color information of the entity object identification; the color obtaining subunit is specifically configured to determine whether the color information of the entity object identifier includes other color information besides the specified color information; and if the color information of the entity object identifier contains other color information except the designated color information, taking the other color information except the designated color information in the color information of the entity object identifier as the color information corresponding to the entity object.
Optionally, the color determination subunit includes: the information judgment subunit is configured to judge whether the color information corresponding to the entity object identification information only includes one color information; and the first information processing subunit is used for taking the color information as card surface basic color information for the entity object membership card if the color information corresponding to the entity object identification information only contains one color information.
Optionally, the method includes: the second information processing subunit is configured to, if the color information corresponding to the entity object identification information includes multiple color information, obtain color distribution information of the entity object identification according to the color information of the entity object identification; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the second information processing subunit is specifically configured to determine, according to the color distribution information of the entity object identifier, basic color information of candidate card surfaces for the entity object membership card in a preset number; sending the basic color information of the candidate card surface to a client; and receiving the card surface basic color information selected from the candidate card surface basic color information returned by the client.
Optionally, the method further includes: and the grade information receiving unit is used for receiving the grade information of the target membership card sent by the client corresponding to the entity object.
Optionally, the obtaining, according to the basic color mode data corresponding to the card surface basic color information and the target membership card grade information, target color mode data corresponding to the target membership card grade information includes: obtaining color mode data corresponding to each membership card grade information according to basic color mode data corresponding to the card surface basic color information and the plurality of membership card grade information set aiming at the entity object; and determining color mode data corresponding to the target membership card grade information according to the color mode data corresponding to the grade information of each membership card.
Optionally, the basic color mode data corresponding to the card surface basic color information includes: basic chrominance data, basic saturation data and basic luminance data corresponding to the card surface basic color information;
optionally, the obtaining, according to the basic color mode data corresponding to the card surface basic color information and the multiple membership card level information set for the entity object, color mode data corresponding to each membership card level information includes: according to the multiple membership grades set for the entity object, presetting candidate saturation data and candidate brightness data corresponding to each membership card grade information; using the basic chromaticity data as chromaticity data corresponding to each member grade; determining saturation data corresponding to the grade information of each membership card according to the candidate saturation data and the basic saturation data; and determining the brightness data corresponding to the grade information of each membership card according to the candidate brightness data and the basic brightness data.
Optionally, the determining, according to the candidate saturation data and the basic saturation data, saturation data corresponding to each membership card level information includes: judging whether the basic saturation data is larger than the maximum value in the candidate saturation data; if the basic saturation data is less than or equal to the maximum value in the candidate saturation data, taking the candidate saturation data as saturation data corresponding to the membership card grade information; if the basic saturation data is larger than the maximum value in the candidate saturation data, determining the difference value between the maximum value and the minimum value in the candidate saturation data; and determining saturation data corresponding to the grade information of each membership card according to the difference between the maximum value and the minimum value in the basic saturation data and the candidate saturation data.
Optionally, the determining, according to the candidate luminance data and the basic luminance data, luminance data corresponding to each membership card level information includes: judging whether the basic brightness data is larger than the maximum value in the brightness data; if the basic brightness data is less than or equal to the maximum value in the candidate brightness data, taking the candidate brightness data as the brightness data corresponding to the grade information of each membership card; if the basic brightness data is larger than the maximum value in the candidate brightness data, determining the difference value between the maximum value and the minimum value in the candidate brightness data; and determining the brightness data corresponding to the grade information of each membership card according to the difference value between the maximum value and the minimum value in the basic brightness data and the candidate brightness data.
Optionally, the method further includes: the membership card request receiving unit is used for receiving a third request message for requesting the electronic membership card, which is sent by a client corresponding to a target user; acquiring member grade information corresponding to the target user; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: the membership card issuing unit is used for generating the electronic membership card according to the target card surface color information of the target membership card corresponding to the target membership card grade information; and returning the electronic membership card to the client corresponding to the target user.
The application also provides an output method of the entity object electronic membership card, which comprises the following steps: obtaining a fourth request message sent by the client for requesting to obtain the electronic membership card of the target entity object; and sending a target electronic membership card of the target entity object to the client in response to the fourth request message, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the method further includes: sending a first request message for requesting to acquire target object identification information to a storage device for storing the target entity object identification information; and acquiring the entity object identification information returned by the storage equipment.
Optionally, the method further includes: sending a second request message for requesting to acquire the target entity object identification information to the client; and acquiring the entity object identification information returned by the client.
Optionally, the method further includes: according to the entity object identification information, color information corresponding to the entity object identification information is obtained; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the method further includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
Optionally, the method further includes: acquiring target membership card grade information sent by a client; and obtaining the target color mode data according to the basic color mode data corresponding to the card surface basic color information of the target entity object membership card and the grade information of the target membership card.
The present application also provides an output device of an entity object electronic membership card, comprising: the information receiving unit is used for obtaining a fourth request message sent by the client and used for requesting to obtain the electronic membership card of the target entity object; and the membership card issuing unit is used for responding to the fourth request message and sending a target electronic membership card of the target entity object to the client, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the apparatus further comprises: a first request sending unit, configured to send a first request message for requesting to acquire entity object identification information to a storage device for storing the entity object identification information;
a first identifier receiving unit, configured to obtain the entity object identifier information returned by the storage device.
Optionally, the apparatus further comprises: a second request sending unit, configured to send a second request message for requesting to obtain the entity object identification information to a client corresponding to the entity object; and the second identification receiving unit is used for obtaining the entity object identification information returned by the client corresponding to the entity object.
Optionally, the apparatus further comprises: the color obtaining subunit is configured to obtain, according to the entity object identification information, color information corresponding to the entity object identification information; a color determining subunit, configured to determine at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the method further includes: the candidate color sending unit is used for determining the basic color information of the candidate card surfaces of the entity object membership cards in preset quantity according to the color distribution information of the entity object identifiers; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and the candidate color receiving unit is used for receiving the card surface basic color information returned by the client.
Optionally, the method further includes: the target grade receiving unit is used for acquiring the grade information of the target membership card sent by the client; and the color mode data acquisition unit is used for acquiring the target color mode data according to the basic color mode data corresponding to the card surface basic color information of the target entity object membership card and the grade information of the target membership card.
The application also provides an output method of the entity object electronic membership card, which comprises the following steps: sending a fourth request message for requesting to obtain the electronic membership card of the target entity object to the server; and obtaining a target electronic membership card of the target entity object returned by the server, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the method further includes: obtaining a second request message which is sent by a server and used for requesting to obtain the identification information of the target entity object; and responding to the detection of the second request message, and sending the target entity object identification information to a server.
Optionally, the method further includes: obtaining basic color information of candidate card surfaces sent by a server; selecting the card surface basic color information according to the candidate card surface basic color information; and sending the card surface basic color information to a client.
Optionally, the method further includes: receiving a third request message for requesting the electronic membership card sent by a client corresponding to a target user; responding to the third request message, and obtaining member grade information corresponding to the target user; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: and sending the target membership card grade information to a server.
Optionally, the method further includes: and sending the target electronic membership card of the entity object returned by the server to the client corresponding to the target user.
The present application also provides an output device of an entity object electronic membership card, comprising: the membership card request sending unit is used for sending a fourth request message for requesting to obtain the electronic membership card of the target entity object to the server; and the membership card receiving unit is used for obtaining a target electronic membership card of the target entity object returned by the server, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the method further includes: a second request receiving unit, configured to obtain a second request message sent by a server and used for requesting to obtain the target entity object identification information; and the identification information sending unit is used for responding to the detection of the second request message and sending the identification information of the target entity object to a server.
Optionally, the method further includes: the basic color determining unit is used for obtaining basic color information of the candidate card surface sent by the server; selecting the card surface basic color information according to the candidate card surface basic color information; and sending the card surface basic color information to a client.
Optionally, the method further includes: a third request receiving unit, configured to receive a third request message requesting the electronic membership card, where the third request message is sent by a client corresponding to a target user; a level information determining unit, configured to obtain member level information corresponding to the target user in response to detecting the third request message; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: and the grade information sending unit is used for sending the grade information of the target membership card to a server.
Optionally, the method further includes: and the membership card sending unit is used for sending the target electronic membership card of the entity object returned by the server to the client corresponding to the target user.
The application also provides a method for determining the card surface color of the entity object membership card, which comprises the following steps: acquiring entity object identification information; obtaining color information corresponding to the entity object identification information according to the entity object identification information; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the obtaining the entity object identification information includes: responding to a request message sent by a client and determining the card surface color of the entity object membership card; and acquiring entity object identification information corresponding to the entity object from a database.
Optionally, the obtaining the entity object identification information includes: acquiring an entity object identifier sent by a client; and acquiring the entity object identification information according to the entity object identification.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier.
Optionally, the determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card includes: judging whether the color information corresponding to the entity object identification information only contains one color information; and if the color information corresponding to the entity object identification information only contains one color information, taking the entity object identification information as card surface basic color information aiming at the entity object membership card.
Optionally, the method further includes: if the color information corresponding to the entity object identification information contains multiple color information; obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
The present application also provides a device for determining a card face color of a physical object membership card, comprising: an identification information acquisition unit for acquiring entity object identification information; a color information obtaining unit, configured to obtain color information corresponding to the entity object identification information according to the entity object identification information; a color information determination unit for determining at least one color information corresponding to the entity object identification information as card surface base color information for an entity object membership card.
Optionally, the obtaining the entity object identification information includes: responding to a request message sent by a client and determining the card surface color of the entity object membership card; and acquiring entity object identification information corresponding to the entity object from a database.
Optionally, the obtaining the entity object identification information includes: acquiring an entity object identifier sent by a client; and acquiring the entity object identification information according to the entity object identification.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier.
Optionally, the color information determining unit includes: the information judgment subunit is configured to judge whether the color information corresponding to the entity object identification information only includes one color information; and the first information processing subunit is used for taking the entity object identification information as card surface basic color information aiming at the entity object membership card if the color information corresponding to the entity object identification information only contains one color information.
Optionally, the method further includes: the second information processing subunit is configured to, if the color information corresponding to the entity object identification information includes multiple color information; obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
The application also provides an output method of the card surface color of the entity object membership card, which comprises the following steps: acquiring entity object identification information sent by a client; and returning card surface basic color information aiming at the entity object membership card to the client, wherein the card surface basic color information is at least one piece of color information corresponding to the entity object identification information.
Optionally, the method further includes: according to the entity object identification information, color information corresponding to the entity object identification information is obtained; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier.
Optionally, the determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card includes: judging whether the color information corresponding to the entity object identification information only contains one color information; and if the color information corresponding to the entity object identification information only contains one color information, taking the entity object identification information as card surface basic color information aiming at the entity object membership card.
Optionally, the method further includes: if the color information corresponding to the entity object identification information contains multiple color information; obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
The present application also provides an output device of a card face color of a physical object membership card, comprising: the identification information receiving unit is used for acquiring the identification information of the entity object sent by the client; a basic color returning unit, configured to return card surface basic color information for an entity object membership card to the client, where the card surface basic color information is at least one color information corresponding to the entity object identification information.
Optionally, the method further includes: a basic color determining unit, configured to obtain color information corresponding to the entity object identification information according to the entity object identification information; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier. Optionally, the basic color determining unit includes:
the information judgment subunit is configured to judge whether the color information corresponding to the entity object identification information only includes one color information; and the first information processing subunit is used for taking the entity object identification information as card surface basic color information aiming at the entity object membership card if the color information corresponding to the entity object identification information only contains one color information.
Optionally, the method further includes: the second information processing subunit is configured to, if the color information corresponding to the entity object identification information includes multiple color information; obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
The application also provides a method for obtaining the card surface color of the entity object membership card, which comprises the following steps: sending entity object identification information to a server; and obtaining card surface basic color information which is returned by the server and aims at the entity object membership card, wherein the card surface basic color information is at least one color information corresponding to the entity object identification information.
Optionally, the method includes: selecting at least one color information from the candidate card surface basic color information as target card surface basic color information of the entity object membership card; and sending the basic color information of the target card surface to a server.
Optionally, the method further includes: sending a plurality of membership card grade information set aiming at the entity object membership card to a server; and obtaining card surface color information corresponding to the membership card grade information returned by the server.
Optionally, the method further includes: sending the grade information of the target membership card to a server; and obtaining the card surface color information of the entity object membership card corresponding to the target membership card grade information returned by the server.
Optionally, the card surface color information of the entity object membership card includes target color mode data corresponding to the target membership card grade information.
The present application also provides an apparatus for obtaining a card face color of a physical object membership card, comprising: the identification information sending unit is used for sending the entity object identification information to the server; and the basic color obtaining unit is used for obtaining card surface basic color information which is returned by the server and aims at the entity object membership card, and the card surface basic color information is at least one color information corresponding to the entity object identification information.
Optionally, the method includes: a basic color selecting unit for selecting at least one color information from the candidate card face basic color information as target card face basic color information of the entity object membership card; and the basic color sending unit is used for sending the basic color information of the target card surface to a server.
Optionally, the method further includes: a level transmitting unit for transmitting a plurality of membership card level information set for the entity object membership card to a server; and the grade color acquisition unit is used for acquiring card surface color information which is returned by the server and corresponds to the grade information of each membership card.
Optionally, the method further includes: the target grade sending unit is used for sending the grade information of the target membership card to the server; and the target grade color acquisition unit is used for acquiring the card surface color information of the entity object membership card corresponding to the target membership card grade information returned by the server.
Optionally, the card surface color information of the entity object membership card includes target color mode data corresponding to the target membership card grade information.
The present application further provides an electronic device, comprising: a processor; a memory for storing a program of a method, which when read and executed by the processor, performs the method of any one of the above.
The present application also provides a computer storage medium storing a computer program which, when executed, implements the method of any one of the above.
Compared with the prior art, the method has the following advantages:
the method for determining the card surface color of the entity object membership card comprises the following steps: obtaining card surface basic color information aiming at the entity object membership card; obtaining target color mode data corresponding to target membership card grade information according to basic color mode data corresponding to the card surface basic color information and the target membership card grade information, wherein the target membership card grade information is at least one membership card grade information in a plurality of membership card grade information set aiming at the entity object membership card; and obtaining target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data. According to the method for determining the card surface color of the entity object membership card, the color mode data corresponding to each grade membership card is reflected by the basic color mode data of the card surface basic color information, and then the card surface color information of the target membership card is further determined according to the grade information of the target membership card, so that the card surface of the target membership card can be configured according to the card surface color information of the target membership card, and card surface configuration aiming at different grade membership cards is realized.
Drawings
Fig. 1 is a schematic view of an application scenario of a card surface color determination method for a physical object membership card according to a first embodiment of the present application;
FIG. 2 is a flow chart of a method for determining a card face color of a membership card of a physical object according to a second embodiment of the present application;
FIG. 3 is a flow chart illustrating a method for determining color mode data corresponding to each membership card level information according to a first embodiment of the present application;
fig. 4A is a schematic diagram illustrating a calculation method for determining color mode data corresponding to each membership card level information according to a second embodiment of the present application;
FIG. 4B is a membership card presentation diagram generated according to the calculation method for determining color mode data corresponding to each membership card level information;
fig. 5 is a schematic structural diagram of an apparatus for determining a card surface color of a physical object membership card according to a third embodiment of the present application;
FIG. 6 is a flowchart illustrating a method for outputting a physical object electronic membership card according to a fourth embodiment of the present application;
FIG. 7 is a schematic structural diagram of an output device of a physical object electronic membership card according to a fifth embodiment of the present application;
FIG. 8 is a flowchart illustrating a method for outputting a physical object electronic membership card according to a sixth embodiment of the present application;
FIG. 9 is a schematic structural diagram of an output device of a physical object electronic membership card according to a seventh embodiment of the present application;
FIG. 10 is a flowchart illustrating a method for determining a card face color of a membership card of an entity object according to an eighth embodiment of the present application;
fig. 11 is a schematic structural diagram of an apparatus for determining a card surface color of a physical object membership card according to a ninth embodiment of the present application;
fig. 12 is a flowchart of a method for outputting a card face color of a physical object membership card according to a tenth embodiment of the present application;
FIG. 13 is a schematic structural diagram of an output device for outputting the card surface color of a physical object membership card according to an eleventh embodiment of the present application;
FIG. 14 is a flowchart illustrating a method for obtaining a color of a card surface of a membership card as an entity object according to a twelfth embodiment of the present application;
FIG. 15 is a flow chart of an apparatus for obtaining the card face color of a physical object membership card according to the thirteenth embodiment of the present application;
fig. 16 is a schematic view of an electronic device according to a fourteenth embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
In order to show the method for determining the card face color of the entity object membership card provided by the present application more clearly, the first embodiment of the present application first introduces an application scenario of the method for determining the card face color of the entity object membership card.
In this embodiment, a restaurant is taken as a specific application scenario, please refer to fig. 1, which is a schematic view of an application scenario of the card surface color determination method for an entity object membership card according to the first embodiment of the present application. The system architecture shown in fig. 1 includes: client 101, server 102.
In the first embodiment of the present application, the entity object may refer to a specific restaurant that needs to make a membership card. The client 101 may be a client corresponding to the restaurant, or may be a client corresponding to a user who desires to have a membership card of the restaurant. The server 102 is a server for processing the information sent by the client 101 and determining the card surface color of the restaurant member card. The server 102 may be deployed in the cloud, or may be deployed in a restaurant according to actual conditions.
The server 102 includes: a base color determination unit 1021, a data processing unit 1022, and a card face color determination unit 1023.
The basic color determination unit 1021 is configured to obtain card surface basic color information for the physical object membership card.
In the first embodiment of the present application, the card surface basic color of the entity object membership card is obtained according to the identification information of the entity object, where the identification information of the entity object refers to a mark corresponding to a restaurant store, for example: LOGO of a restaurant store, or other indicia that can represent the restaurant store.
In an optional implementation manner, an object initiating the request for determining the card surface color of the membership card to the server 102 is the client 101, and when the client 101 initiates the request for determining the card surface color of the membership card to the server 102, the object often carries the entity object identification information. After receiving the entity object identifier, the server 102 obtains color information corresponding to the entity object identifier information according to the entity object identifier information, and then determines card surface basic color information of the entity object membership card according to the color information.
It can be understood that, the present application does not limit the obtaining route of the entity object identification information, and the entity object identification information may also be obtained through other routes, for example: the server 102 may send a first request message for requesting to acquire entity object identification information to a storage device for storing the entity object identification information; and acquiring the entity object identification information returned by the storage equipment. These are intended to be included as simple alterations to the first embodiment of the application, without departing from the core of the application, and within the scope of protection of the application.
The color information corresponding to the entity object identification information refers to the color information in the entity object identification. For example: assuming that the entity object identifier is LOGO information of a restaurant, the color information in the entity object identifier is color information corresponding to the LOGO of the restaurant. It can be understood that the entity object identifier has a background color as a mark pattern, and in the practical application process, most of the background colors of different identifiers are the same and do not have the function of reflecting the characteristics of the restaurant, so that the card surface basic color information of the view object membership card determined based on the identifier background color also does not have the function of reflecting the specific characteristics of the restaurant.
For the above reasons, in a preferred embodiment of the present application, the base color of the entity object identifier is not used as the entity object identifier. In a specific application process, after receiving the entity object identification information sent by the client, the server 102 designates color information (e.g., white) as ground color information of the entity object identification. Further judging whether the color information of the entity object identifier contains other color information except the specified color information; and if the color information of the entity object identifier contains other color information except the designated color information, taking the other color information except the designated color information in the color information of the entity object identifier as the color information corresponding to the entity object.
After the basic color determining unit 1021 obtains the color information corresponding to the entity object, it further determines the card surface basic color information of the entity object membership card according to the color information corresponding to the entity object. That is, at least one color information is selected from the color information corresponding to the entity object as card surface basic color information of the entity object membership card.
For example: among the LOGO of dining store, contain: red and blue, selecting one color from red and blue as the basic color of the card surface of the restaurant member card; or the red and the blue are respectively used as the basic colors of the card surfaces of the restaurant membership cards.
In a preferred embodiment of the present application, if the color information corresponding to the entity object determined by the server 102 includes multiple color information, the card surface basic color information corresponding to the entity object may be determined according to a selection of a user.
Specifically, the server 102 determines a preset number of candidate card surface basic color information for the entity object membership card according to the color information distribution of the entity object identifier; sending the basic color information of the candidate card surface to the client 101; and receiving the card surface basic color information selected from the candidate card surface basic color information returned by the client 101.
The data processing unit 1022 is configured to obtain target color mode data corresponding to target membership card level information according to basic color mode data corresponding to the card surface basic color information and the target membership card level information, where the target membership card level information is at least one of multiple membership card level information set for the entity object membership card.
The color mode data refers to HSB color mode data, which is also called HSV, and describes three attributes of colorable colors based on the perception of colors by natural people, in the HSB color mode, h (hue) identifies the chroma of a color, s (saturation) represents the saturation of the color, B (Brightness/Value) represents the Brightness of the color, wherein the saturation and Brightness are expressed in percentage (0% -100%), and the chroma is expressed in angle (0 ° -360 °).
In the first embodiment of the present application, the basic color mode data corresponding to the card surface basic color information includes: and basic chrominance data, basic saturation data and basic luminance data corresponding to the card surface basic color.
In the practical application process, the restaurant often sets a plurality of membership card grades for stimulating the consumption of the user, so before determining the target card surface color of the target membership card corresponding to the target membership card grade information, the card surface colors of the membership cards at all the grades need to be further determined.
Specifically, after determining the card surface basic color information, the server 102 sends the card surface basic color to the data processing unit 1022, and the data processing unit obtains color mode data corresponding to each membership card level information according to basic color mode data corresponding to the card surface basic color information and the multiple membership card level information set for the entity object. And determining the color mode data corresponding to the target membership card grade information according to the color mode data corresponding to the membership card grade information.
The card surface color determining unit 1023 is configured to obtain the target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data.
Optionally, after determining the target card surface color information of the target membership card, the server 102 generates an electronic membership card corresponding to the target membership card grade information according to the target card surface color data of the target membership card, and sends the electronic membership card to the client.
It should be noted that, the application does not limit the specific application scenario provided in this embodiment, and the method for determining the card surface color of the entity object membership card may also be applied to other application scenarios, for example: the entity object corresponding to the membership card is KTV, a gymnasium, or certain social software, and the like. The application knowledge of the method for determining the card surface color of the entity object membership card in the restaurant is convenient for understanding the application, and is not used for limiting the application of the method provided by the application.
The foregoing embodiment describes a specific application of the method for determining the card surface color of the entity object membership card provided in the present application, and correspondingly, a second embodiment of the present application provides a method for determining the card surface color of the entity object membership card. Since the second embodiment of the present application is basically similar to the method embodiment described above, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the application scenario embodiment described above, and the second embodiment of the present application only introduces details of the parts not mentioned in the scenario embodiment described above.
Please refer to fig. 2, which is a flowchart illustrating a method for determining a card face color of a physical object membership card according to a second embodiment of the present application, including: step S201 to step S203.
In the second embodiment of the present application, an execution main body of the method for determining the card surface color of the entity object membership card is generally a server, and the server may be a cloud server, or a server cluster corresponding to an entity object in a specific application scenario. For example: assuming that a client corresponding to a restaurant requests a server to determine a card surface color of a membership card of the restaurant, the server may refer to the server corresponding to the restaurant.
In step S201, card surface basic color information for the entity object membership card is obtained.
Optionally, the obtaining card surface basic color information for the entity object membership card includes: entity object identification information is obtained.
The entity object identification information refers to flag information capable of representing the entity object, such as: LOGO information of entity objects.
The obtained entity object identification information can be obtained through a storage device for storing the entity object identification information, and can also receive the entity object identification information sent by a client of the entity object.
Specifically, the obtaining of the entity object identification information includes: sending a first request message for requesting to acquire entity object identification information to a storage device for storing the entity object identification information; and acquiring the entity object identification information returned by the storage equipment.
Or, sending a second request message for requesting to acquire the identification information of the entity object to a client corresponding to the entity object; and obtaining the entity object identification information returned by the client corresponding to the entity object.
Further, after obtaining the entity object identification information, the server obtains color information corresponding to the entity object identification according to the entity object identification information. That is, color information corresponding to the entity object identification information is obtained according to the entity object identification information.
Specifically, the obtaining, according to the entity object identification information, color information corresponding to the entity object identification information includes: judging whether the color information of the entity object identifier contains other color information except the specified color information; and if the color information of the entity object identifier contains other color information except the designated color information, taking the other color information except the designated color information in the color information of the entity object identifier as the color information corresponding to the entity object.
Wherein, the designated color information refers to the ground color information of the entity object identifier, such as: and assuming that the LOGO base color corresponding to the entity object is white, the specified color is white.
And after the color information corresponding to the entity object is determined, determining at least one piece of color information corresponding to the entity object identification information as card surface basic color information aiming at the entity object membership card.
Specifically, if the entity object identification information only contains one color information, the one color information is used as card surface basic color information for the entity object membership card.
If the color information corresponding to the entity object identification information contains multiple color information, obtaining the color distribution information of the entity object identification according to the color information of the entity object identification; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes:
determining basic color information of candidate card surfaces of a preset number of membership cards for the entity object according to the color information distribution of the entity object identifier; sending the basic color information of the candidate card surface to a client; and receiving the card surface basic color information selected from the candidate card surface basic color information returned by the client.
Step S202, obtaining target color mode data corresponding to target membership card grade information according to basic color mode data corresponding to the card surface basic color information and the target membership card grade information, wherein the target membership card grade information is at least one membership card grade information in a plurality of membership card grade information set aiming at the entity object membership card;
the membership card grade information set for the entity object membership card refers to different membership grades set by the entity object corresponding to the client. For example: the different membership grades may include: VIP1, VIP2, VIP3, and the like.
Before obtaining the card surface color information of the target membership card, firstly, obtaining color mode data corresponding to each membership card grade information according to the color mode data corresponding to the card surface basic color information and the plurality of membership card grade information set aiming at the entity object.
Please refer to fig. 3, which is a flowchart illustrating a color mode data flow chart for determining the corresponding information of each membership card level according to the first embodiment of the present application. The method comprises the following steps: step S301 to step S304.
Step S301, according to the multiple membership grades set for the entity object, presetting candidate saturation data and candidate brightness data corresponding to each membership card grade information.
Step S302, using the basic chromaticity data as chromaticity data corresponding to each member rank.
The candidate saturation data and the candidate brightness data refer to preset saturation data and preset brightness data, and in the process of practical application, the saturation data and the brightness data in the color mode information corresponding to the membership card grade information can be directly selected and used as the candidate saturation data and the candidate brightness data. And then, directly determining the color mode information corresponding to each membership card grade information according to the candidate saturation data, the candidate brightness data and the chromaticity data corresponding to each membership card grade information.
Step S303, determining saturation data corresponding to the grade information of each membership card according to the candidate saturation data and the basic saturation data.
Specifically, the method comprises the following steps: judging whether the basic saturation data is larger than the maximum value in the candidate saturation data; if the basic saturation data is less than or equal to the maximum value in the candidate saturation data, taking the candidate saturation data as saturation data corresponding to the membership card grade information; if the basic saturation data is larger than the maximum value in the candidate saturation data, determining the difference value between the maximum value and the minimum value in the candidate saturation data; and determining saturation data corresponding to the grade information of each membership card according to the difference between the maximum value and the minimum value in the basic saturation data and the candidate saturation data.
And step S304, determining brightness data corresponding to the grade information of each membership card according to the candidate brightness data and the basic brightness data.
Specifically, the method comprises the following steps: judging whether the basic brightness data is larger than the maximum value in the brightness data;
if the basic brightness data is less than or equal to the maximum value in the candidate brightness data, taking the candidate brightness data as the brightness data corresponding to the grade information of each membership card; if the basic brightness data is larger than the maximum value in the candidate brightness data, determining the difference value between the maximum value and the minimum value in the candidate brightness data; and determining the brightness data corresponding to the grade information of each membership card according to the difference value between the maximum value and the minimum value in the basic brightness data and the candidate brightness data.
The above process is a process of comparing the basic saturation data and the basic brightness data corresponding to the basic color mode data with the candidate brightness data and the basic brightness data to determine the brightness data corresponding to the grade information of each membership card. To facilitate understanding of the above process, a second embodiment of the present application provides a calculation method for determining color mode data corresponding to each membership card level information, please refer to fig. 4A, which is a calculation method for determining color mode data corresponding to each membership card level information provided in the second embodiment of the present application. The method includes steps S401 to S405.
Wherein, step S401 includes: step S401-1 to step S401-3; step S402 includes: step S402-1 and step S402-2; step S403 includes: step S403-1 to step S403-4; step S404 includes: step S404-1 to step S404-4.
In the calculation method, the candidate saturation data and the candidate brightness data are set to be 20-60, the number of grades of the membership card is set to be N, and the grades of the membership card are divided into a first-grade membership card, a second-grade membership card and an nth-grade membership card.
Step S401-1, obtaining basic saturation data beta0
Step S402-1, judging the basic saturation data beta0Whether greater than the candidate saturation data 60. If the determination result is yes, step S403-1 is executed, and if the determination result is no, step S403-2 is executed.
Step S403-1, the saturation data beta of the first-level membership card is processed1Is set to be beta0-40。
And step S404-1, calculating saturation data corresponding to each level of membership card according to a level progressive mode. The specific calculation formula is as follows: beta is an=(β0-40)+[40/(N-1)](n-1), wherein n is not equal to 1.
For example, assuming that the number of membership grade levels is 5, the saturation data corresponding to each level of membership card obtained by the above algorithm is:
β1=β0-40
β2=(β0-40)+[40/4]*(2-1)=(β0-40)+10;
β3=(β0-40)+[40/4]*(3-1)=(β0-40)+20;
β4=(β0-40)+[40/4]*(4-1)=(β0-40)+30;
β5=(β0-40)+[40/4]*(5-1)=(β0-40)+40;
step S403-2, saturation information beta of the first-level membership card1Is set to 20;
step S404-2, selecting candidate saturation data according to the membership card grade information, wherein a specific calculation formula is as follows: beta is an=20+[40/(N-1)]*(n-1)。
For example: assuming that the membership grade number is 5, the saturation data corresponding to each grade of membership card obtained according to the algorithm is respectively as follows:
β1=20;β2=30;β3=40;β4=50;β5=60。
step S401-2, obtaining basic brightness data gamma0
Step S402-2, judging the basic brightness data gamma0Whether greater than the candidate luminance data 60. If the determination result is yes, step S403-3 is executed, and if the determination result is no, step S403-4 is executed.
Step S403-3, the saturation data gamma of the first-level membership card is processed1Is set to be gamma0
And S404-3, calculating the brightness data corresponding to each level of membership card in a progressive installation level mode. The specific calculation formula is as follows: gamma rayn=γ0-[40/(N-1)](n-1), wherein n is not equal to 1.
For example, assuming that the member grade number is 5, the luminance data corresponding to each grade of the member card obtained by the above algorithm is:
γ1=γ0
γ2=γ0-[40/(N-1)]*(2-1)=γ0-10;
γ3=γ0-[40/(N-1)]*(3-1)=γ0-20;
γ4=γ0-[40/(N-1)]*(4-1)=γ0-30;
γ5=γ0-[40/(N-1)]*(5-1)=γ0-40。
step S403-4, the color number data gamma of the first-level membership card is processednSetting the value to 60, and determining candidate brightness data according to the membership card grade information, wherein a specific calculation formula is as follows: gamma rayn=60-[40/(N-1)]*(n-1)。
For example: assuming that the membership grade number is 5, the brightness data corresponding to each grade of membership card obtained according to the algorithm are respectively as follows:
γ1=60;γ2=50;γ3=40;γ4=30;γ5=20。
and step S401-3, obtaining basic chroma data alpha. In the practical application process, the basic chrominance data is used as the chrominance data in the color mode data corresponding to the grade information of each membership card.
Step S405, according to the saturation data beta corresponding to each level of membership cardnLuminance data gammanAnd chromaticity data alpha, which determines color mode data corresponding to each membership card grade information.
Please refer to fig. 4B, which is a membership card display diagram generated according to the calculation method for determining the color mode data corresponding to each membership card level information.
Wherein the color mode information of the first-level membership card is (alpha, beta)1=β0-40、γ1=γ0) (ii) a The color mode information of the second level membership card is (alpha, beta)1=(β0-40)+10、γ1=γ0-10); the color mode information of the third-level membership card is (alpha, beta)1=(β0-40)+20、γ1=γ0-20); the color mode information of the fourth-level membership card is (alpha, beta)1=(β0-40)+30、γ1=γ0-30); the color mode information of the fifth-level membership card is (alpha, beta)1=(β0-40)+40、γ1=γ0-40)。
Step S203, obtaining the target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data.
In a specific application process, if a client corresponding to the entity object responds to a request message sent by a user to request an electronic membership card, and sends a request to the server to determine card surface color information of the entity object membership card, the method for determining the card surface color of the entity object membership card provided in the first embodiment of the present application further includes:
receiving an Xth request message for requesting the electronic membership card sent by a client corresponding to a target user; acquiring member grade information corresponding to the target user; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: generating the electronic membership card according to the target membership card target card surface color information corresponding to the target membership card grade information; and returning the electronic membership card to the client corresponding to the target user.
In summary, the second embodiment of the present application provides a method for determining a card surface color of a physical object membership card. And reflecting the color mode data corresponding to each grade of the membership card through the basic color mode data of the card surface basic color information, and further determining the card surface color information of the target membership card according to the grade information of the target membership card. The problem of merchant unwilling to dispose different grades of membership card face colors among the prior art is solved.
The third embodiment of the present application provides a device for determining a card face color of a physical object membership card. Since the apparatus embodiments are substantially similar to the method embodiments described above, the description is relatively simple, and reference may be made to the description of the method embodiments described above for relevant points. The device embodiments described below are merely illustrative.
Please refer to fig. 5, which is a schematic structural diagram of an apparatus for determining a card surface color of a physical object membership card according to a third embodiment of the present application, the apparatus comprising:
a basic color determination unit 501 for obtaining card surface basic color information for the entity object membership card;
a data processing unit 502, configured to obtain target color mode data corresponding to target membership card level information according to basic color mode data corresponding to the card surface basic color information and the target membership card level information, where the target membership card level information is at least one of multiple membership card level information set for the entity object membership card;
and a card surface color determining unit 503, configured to obtain, according to the target color pattern data, target card surface color information of the target membership card corresponding to the target membership card level information.
Optionally, the basic color determining unit includes: the identification acquisition subunit is used for acquiring the identification information of the entity object; the color obtaining subunit is configured to obtain, according to the entity object identification information, color information corresponding to the entity object identification information; a color determining subunit, configured to determine at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the obtaining the entity object identification information includes: a first request sending unit, configured to send a first request message for requesting to acquire entity object identification information to a storage device for storing the entity object identification information; a first identifier receiving unit, configured to obtain the entity object identifier information returned by the storage device.
Optionally, the obtaining the entity object identification information includes: a second request sending unit, configured to send a second request message for requesting to obtain the entity object identification information to a client corresponding to the entity object; and the second identification receiving unit is used for obtaining the entity object identification information returned by the client corresponding to the entity object.
Optionally, the entity object identification information includes color information of the entity object identification; the color obtaining subunit is specifically configured to determine whether the color information of the entity object identifier includes other color information besides the specified color information; and if the color information of the entity object identifier contains other color information except the designated color information, taking the other color information except the designated color information in the color information of the entity object identifier as the color information corresponding to the entity object.
Optionally, the color determination subunit includes: the information judgment subunit is configured to judge whether the color information corresponding to the entity object identification information only includes one color information; and the first information processing subunit is used for taking the color information as card surface basic color information for the entity object membership card if the color information corresponding to the entity object identification information only contains one color information.
Optionally, the method includes: the second information processing subunit is configured to, if the color information corresponding to the entity object identification information includes multiple color information, obtain color distribution information of the entity object identification according to the color information of the entity object identification; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the second information processing subunit is specifically configured to determine, according to the color distribution information of the entity object identifier, basic color information of candidate card surfaces for the entity object membership card in a preset number; sending the basic color information of the candidate card surface to a client; and receiving the card surface basic color information selected from the candidate card surface basic color information returned by the client.
Optionally, the method further includes: and the grade information receiving unit is used for receiving the grade information of the target membership card sent by the client corresponding to the entity object.
Optionally, the obtaining, according to the basic color mode data corresponding to the card surface basic color information and the target membership card grade information, target color mode data corresponding to the target membership card grade information includes: obtaining color mode data corresponding to each membership card grade information according to basic color mode data corresponding to the card surface basic color information and the plurality of membership card grade information set aiming at the entity object; and determining color mode data corresponding to the target membership card grade information according to the color mode data corresponding to the grade information of each membership card.
Optionally, the basic color mode data corresponding to the card surface basic color information includes: basic chrominance data, basic saturation data and basic luminance data corresponding to the card surface basic color information;
optionally, the obtaining, according to the basic color mode data corresponding to the card surface basic color information and the multiple membership card level information set for the entity object, color mode data corresponding to each membership card level information includes: according to the multiple membership grades set for the entity object, presetting candidate saturation data and candidate brightness data corresponding to each membership card grade information; using the basic chromaticity data as chromaticity data corresponding to each member grade; determining saturation data corresponding to the grade information of each membership card according to the candidate saturation data and the basic saturation data; and determining the brightness data corresponding to the grade information of each membership card according to the candidate brightness data and the basic brightness data.
Optionally, the determining, according to the candidate saturation data and the basic saturation data, saturation data corresponding to each membership card level information includes: judging whether the basic saturation data is larger than the maximum value in the candidate saturation data; if the basic saturation data is less than or equal to the maximum value in the candidate saturation data, taking the candidate saturation data as saturation data corresponding to the membership card grade information; if the basic saturation data is larger than the maximum value in the candidate saturation data, determining the difference value between the maximum value and the minimum value in the candidate saturation data; and determining saturation data corresponding to the grade information of each membership card according to the difference between the maximum value and the minimum value in the basic saturation data and the candidate saturation data.
Optionally, the determining, according to the candidate luminance data and the basic luminance data, luminance data corresponding to each membership card level information includes: judging whether the basic brightness data is larger than the maximum value in the brightness data; if the basic brightness data is less than or equal to the maximum value in the candidate brightness data, taking the candidate brightness data as the brightness data corresponding to the grade information of each membership card; if the basic brightness data is larger than the maximum value in the candidate brightness data, determining the difference value between the maximum value and the minimum value in the candidate brightness data; and determining the brightness data corresponding to the grade information of each membership card according to the difference value between the maximum value and the minimum value in the basic brightness data and the candidate brightness data.
Optionally, the method further includes: the membership card request receiving unit is used for receiving a third request message for requesting the electronic membership card, which is sent by a client corresponding to a target user; acquiring member grade information corresponding to the target user; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: the membership card issuing unit is used for generating the electronic membership card according to the target card surface color information of the target membership card corresponding to the target membership card grade information; and returning the electronic membership card to the client corresponding to the target user.
The fourth embodiment of the present application provides an output method for an electronic membership card of a physical object. Since the method embodiment is basically similar to the method embodiment and the device embodiment, the description is simple, and the relevant points can be referred to the description of the embodiment part. The method embodiments described below are merely illustrative.
Please refer to fig. 6, which is a flowchart illustrating a method for outputting a physical object electronic membership card according to a fourth embodiment of the present application, the method comprising: step S601 and step S602.
Step S601, a fourth request message sent by the client for requesting to obtain the electronic membership card of the target entity object is obtained;
step S602, in response to the fourth request message, sending a target electronic membership card of the target entity object to the client, where card surface color information of the target electronic membership card is obtained according to target color pattern data corresponding to the target electronic membership card, and the target color pattern data is determined according to basic color pattern data corresponding to card surface basic color information of the target entity object membership card and target membership card level information to which the target electronic membership card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the method further includes: sending a first request message for requesting to acquire target object identification information to a storage device for storing the target entity object identification information; and acquiring the entity object identification information returned by the storage equipment.
Optionally, the method further includes: sending a second request message for requesting to acquire the target entity object identification information to the client; and acquiring the entity object identification information returned by the client.
Optionally, the method further includes: according to the entity object identification information, color information corresponding to the entity object identification information is obtained; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the method further includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
Optionally, the method further includes: acquiring target membership card grade information sent by a client; and obtaining the target color mode data according to the basic color mode data corresponding to the card surface basic color information of the target entity object membership card and the grade information of the target membership card.
The foregoing embodiments describe a method for outputting a physical object electronic membership card, and accordingly, a fifth embodiment of the present application provides an output device for a physical object electronic membership card. Since the apparatus embodiments are substantially similar to the method embodiments described above, the description is relatively simple, and reference may be made to the description of the method embodiments described above for relevant points. The device embodiments described below are merely illustrative.
Please refer to fig. 7, which is a schematic structural diagram of an output device of an entity object electronic membership card according to a fifth embodiment of the present application.
The device includes:
an information receiving unit 701, configured to obtain a fourth request message sent by the client for requesting to obtain the electronic membership card of the target entity object;
a membership card issuing unit 702, configured to send, in response to the fourth request message, a target electronic membership card of the target entity object to the client, where card surface color information of the target electronic membership card is obtained according to target color pattern data corresponding to the target electronic membership card, and the target color pattern data is determined according to basic color pattern data corresponding to card surface basic color information for the target entity object membership card and target membership card level information to which the target electronic membership card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the apparatus further comprises: a first request sending unit, configured to send a first request message for requesting to acquire entity object identification information to a storage device for storing the entity object identification information;
a first identifier receiving unit, configured to obtain the entity object identifier information returned by the storage device.
Optionally, the apparatus further comprises: a second request sending unit, configured to send a second request message for requesting to obtain the entity object identification information to a client corresponding to the entity object; and the second identification receiving unit is used for obtaining the entity object identification information returned by the client corresponding to the entity object.
Optionally, the apparatus further comprises: the color obtaining subunit is configured to obtain, according to the entity object identification information, color information corresponding to the entity object identification information; a color determining subunit, configured to determine at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the method further includes: the candidate color sending unit is used for determining the basic color information of the candidate card surfaces of the entity object membership cards in preset quantity according to the color distribution information of the entity object identifiers; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and the candidate color receiving unit is used for receiving the card surface basic color information returned by the client.
Optionally, the method further includes: the target grade receiving unit is used for acquiring the grade information of the target membership card sent by the client; and the color mode data acquisition unit is used for acquiring the target color mode data according to the basic color mode data corresponding to the card surface basic color information of the target entity object membership card and the grade information of the target membership card.
The sixth embodiment of the present application further provides an output method of an electronic membership card for physical objects. Since the method embodiment is basically similar to the method embodiment and the device embodiment, the description is simple, and the relevant points can be referred to the description of the method embodiment. The method embodiments described below are merely illustrative.
Please refer to fig. 8, which is a flowchart illustrating a method for outputting a physical object electronic membership card according to a sixth embodiment of the present application, the method comprising: step S801 and step S802.
Step S801, sending a fourth request message for requesting to obtain the electronic membership card of the target entity object to the server;
step S802, a target electronic membership card of the target entity object returned by the server is obtained, card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the method further includes: obtaining a second request message which is sent by a server and used for requesting to obtain the identification information of the target entity object; and responding to the detection of the second request message, and sending the target entity object identification information to a server.
Optionally, the method further includes: obtaining basic color information of candidate card surfaces sent by a server; selecting the card surface basic color information according to the candidate card surface basic color information; and sending the card surface basic color information to a client.
Optionally, the method further includes: receiving a third request message for requesting the electronic membership card sent by a client corresponding to a target user; responding to the third request message, and obtaining member grade information corresponding to the target user; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: and sending the target membership card grade information to a server.
Optionally, the method further includes: and sending the target electronic membership card of the entity object returned by the server to the client corresponding to the target user.
The seventh embodiment of the present application further provides an output device for an entity object electronic membership card. Since the embodiment of the apparatus is basically similar to the embodiment of the method and the embodiment of the apparatus, the description is simple, and the relevant points can be referred to the description of the embodiment of the method. The device embodiments described below are merely illustrative.
Please refer to fig. 9, which is a schematic structural diagram of an output device of an entity object electronic membership card according to a seventh embodiment of the present application, the device comprising:
a membership card request transmitting unit 901, configured to send a fourth request message for requesting to obtain an electronic membership card of a target entity object to a server;
a member card receiving unit 902, configured to obtain a target electronic member card of the target entity object returned by the server, where card surface color information of the target electronic member card is obtained according to target color mode data corresponding to the target electronic member card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object member card and target member card level information to which the target electronic member card belongs.
Optionally, the card surface basic color information of the target entity object membership card is obtained according to the target entity object identification information.
Optionally, the method further includes: a second request receiving unit, configured to obtain a second request message sent by a server and used for requesting to obtain the target entity object identification information; and the identification information sending unit is used for responding to the detection of the second request message and sending the identification information of the target entity object to a server.
Optionally, the method further includes: the basic color determining unit is used for obtaining basic color information of the candidate card surface sent by the server; selecting the card surface basic color information according to the candidate card surface basic color information; and sending the card surface basic color information to a client.
Optionally, the method further includes: a third request receiving unit, configured to receive a third request message requesting the electronic membership card, where the third request message is sent by a client corresponding to a target user; a level information determining unit, configured to obtain member level information corresponding to the target user in response to detecting the third request message; and determining the target membership card grade information according to the membership grade information corresponding to the target user.
Optionally, the method further includes: and the grade information sending unit is used for sending the grade information of the target membership card to a server.
Optionally, the method further includes: and the membership card sending unit is used for sending the target electronic membership card of the entity object returned by the server to the client corresponding to the target user.
The above embodiment introduces a method for determining a card surface color of a physical object membership card, and correspondingly, an eighth embodiment of the present application further provides a method for determining a card surface color of a physical object membership card. Since the method embodiment is basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the description of the method embodiment. The method embodiments described below are merely illustrative.
Please refer to fig. 10, which is a flowchart illustrating a method for determining a card face color of a physical object membership card according to an eighth embodiment of the present application, the method comprising: step S1001 to step S1003.
Step S1001, obtaining entity object identification information;
step S1002, obtaining color information corresponding to the entity object identification information according to the entity object identification information;
and step S1003, determining at least one piece of color information corresponding to the entity object identification information as card surface basic color information aiming at the entity object membership card.
Optionally, the obtaining the entity object identification information includes:
responding to a request message sent by a client and determining the card surface color of the entity object membership card;
and acquiring entity object identification information corresponding to the entity object from a database.
Optionally, the obtaining the entity object identification information includes:
acquiring an entity object identifier sent by a client;
and acquiring the entity object identification information according to the entity object identification.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier.
Optionally, the determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card includes:
judging whether the color information corresponding to the entity object identification information only contains one color information;
and if the color information corresponding to the entity object identification information only contains one color information, taking the entity object identification information as card surface basic color information aiming at the entity object membership card.
Optionally, the method further includes:
if the color information corresponding to the entity object identification information contains multiple color information;
obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier;
and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes:
determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier;
sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information;
and receiving the card surface basic color information returned by the client.
The ninth embodiment of the present application further provides a device for determining the card surface color of the physical object membership card. Since the embodiment of the apparatus is basically similar to the embodiment of the method, the description is simple, and the relevant points can be referred to the description of the embodiment of the method. The device embodiments described below are merely illustrative.
Please refer to fig. 11, which is a schematic structural diagram of an apparatus for determining a card surface color of a physical object membership card according to a ninth embodiment of the present application, the apparatus comprising:
an identification information acquisition unit 1101 for acquiring entity object identification information;
a color information obtaining unit 1102 configured to obtain color information corresponding to the entity object identification information according to the entity object identification information;
a color information determining unit 1103 for determining at least one color information corresponding to the entity object identification information as card surface basic color information for the entity object membership card.
Optionally, the obtaining the entity object identification information includes: responding to a request message sent by a client and determining the card surface color of the entity object membership card; and acquiring entity object identification information corresponding to the entity object from a database.
Optionally, the obtaining the entity object identification information includes: acquiring an entity object identifier sent by a client; and acquiring the entity object identification information according to the entity object identification.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier.
Optionally, the color information determining unit includes: the information judgment subunit is configured to judge whether the color information corresponding to the entity object identification information only includes one color information; and the first information processing subunit is used for taking the entity object identification information as card surface basic color information aiming at the entity object membership card if the color information corresponding to the entity object identification information only contains one color information.
Optionally, the method further includes: the second information processing subunit is configured to, if the color information corresponding to the entity object identification information includes multiple color information; obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
The above embodiment introduces a method for determining a card surface color of a physical object membership card, and accordingly, a tenth embodiment of the present application further provides a method for outputting a card surface color of a physical object membership card. Since the method embodiment is basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the description of the method embodiment. The method embodiments described below are merely illustrative.
Please refer to fig. 12, which is a flowchart illustrating a method for outputting a card face color of a physical object membership card according to a tenth embodiment of the present application, the method comprising: step S1201 and step S1202.
Step S1201, obtaining entity object identification information sent by a client;
step S1202, returning card surface basic color information for an entity object membership card to the client, where the card surface basic color information is at least one color information corresponding to the entity object identification information.
Optionally, the method further includes: according to the entity object identification information, color information corresponding to the entity object identification information is obtained; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier.
Optionally, the determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card includes: judging whether the color information corresponding to the entity object identification information only contains one color information; and if the color information corresponding to the entity object identification information only contains one color information, taking the entity object identification information as card surface basic color information aiming at the entity object membership card.
Optionally, the method further includes: if the color information corresponding to the entity object identification information contains multiple color information; obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
The above embodiments describe a method for outputting a card surface color of a physical object membership card, and correspondingly, an eleventh embodiment of the present application further provides an apparatus for outputting a card surface color of a physical object membership card. Since the embodiment of the apparatus is basically similar to the embodiment of the method, the description is simple, and the relevant points can be referred to the description of the embodiment of the method. The device embodiments described below are merely illustrative.
Please refer to fig. 13, which is a schematic structural diagram of an output device for outputting a card surface color of a physical object membership card according to an eleventh embodiment of the present application. The device includes:
an identification information receiving unit 1301, configured to obtain entity object identification information sent by a client;
a basic color returning unit 1302, configured to return card surface basic color information for the entity object membership card to the client, where the card surface basic color information is at least one color information corresponding to the entity object identification information.
Optionally, the method further includes: a basic color determining unit, configured to obtain color information corresponding to the entity object identification information according to the entity object identification information; determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
Optionally, the color information corresponding to the entity object identification information includes: and other color information besides the ground color information of the entity object identifier.
Optionally, the basic color determining unit includes: the information judgment subunit is configured to judge whether the color information corresponding to the entity object identification information only includes one color information; and the first information processing subunit is used for taking the entity object identification information as card surface basic color information aiming at the entity object membership card if the color information corresponding to the entity object identification information only contains one color information.
Optionally, the method further includes: the second information processing subunit is configured to, if the color information corresponding to the entity object identification information includes multiple color information; obtaining color distribution information of the entity object identifier according to the color information of the entity object identifier; and determining at least one color information as card surface basic color information aiming at the entity object membership card according to the color distribution information of the entity object identifier.
Optionally, the determining, according to the color distribution information of the entity object identifier, at least one color information as card surface basic color information for the entity object membership card includes: determining basic color information of a preset number of candidate card surfaces aiming at the entity object membership card according to the color distribution information of the entity object identifier; sending the candidate card surface basic color information to a client side so that the client side can select card surface basic color information from the candidate card surface basic color information; and receiving the card surface basic color information returned by the client.
The above embodiment introduces a method for determining a card surface color of a physical object membership card, and accordingly, a twelfth embodiment of the present application further provides a method for obtaining a card surface color of a physical object membership card. Since the method embodiment is basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the description of the method embodiment. The method embodiments described below are merely illustrative.
Please refer to fig. 14, which is a flowchart illustrating a method for obtaining a card surface color of a physical object membership card according to a twelfth embodiment of the present application. The method comprises the following steps:
step S1401, sending entity object identification information to a server;
step S1402, obtaining card surface basic color information for the entity object membership card returned by the server, where the card surface basic color information is at least one color information corresponding to the entity object identification information.
Optionally, the method includes: selecting at least one color information from the candidate card surface basic color information as target card surface basic color information of the entity object membership card; and sending the basic color information of the target card surface to a server.
Optionally, the method further includes: sending a plurality of membership card grade information set aiming at the entity object membership card to a server; and obtaining card surface color information corresponding to the membership card grade information returned by the server.
Optionally, the method further includes: sending the grade information of the target membership card to a server; and obtaining the card surface color information of the entity object membership card corresponding to the target membership card grade information returned by the server.
Optionally, the card surface color information of the entity object membership card includes target color mode data corresponding to the target membership card grade information.
The thirteenth embodiment of the present application further provides an apparatus for obtaining a card face color of a physical object membership card. Since the embodiment of the apparatus is basically similar to the embodiment of the method, the description is simple, and the relevant points can be referred to the description of the embodiment of the method. The device embodiments described below are merely illustrative.
Please refer to fig. 15, which is a flowchart illustrating an apparatus for obtaining a card face color of a physical object membership card according to a thirteenth embodiment of the present application. The device includes:
an identification information sending unit 1501, configured to send entity object identification information to a server;
a basic color obtaining unit 1502, configured to obtain card surface basic color information for an entity object membership card returned by the server, where the card surface basic color information is at least one color information corresponding to the entity object identification information.
Optionally, the method includes: a basic color selecting unit for selecting at least one color information from the candidate card face basic color information as target card face basic color information of the entity object membership card; and the basic color sending unit is used for sending the basic color information of the target card surface to a server.
Optionally, the method further includes: a level transmitting unit for transmitting a plurality of membership card level information set for the entity object membership card to a server; and the grade color acquisition unit is used for acquiring card surface color information which is returned by the server and corresponds to the grade information of each membership card.
Optionally, the method further includes: the target grade sending unit is used for sending the grade information of the target membership card to the server; and the target grade color acquisition unit is used for acquiring the card surface color information of the entity object membership card corresponding to the target membership card grade information returned by the server.
Optionally, the card surface color information of the entity object membership card includes target color mode data corresponding to the target membership card grade information.
Corresponding to the above method embodiments provided in the present application, a fourteenth embodiment of the present application provides an electronic device, and since the fourteenth embodiment is substantially similar to the above method embodiments provided in the present application, the description is relatively simple, and for relevant points, reference may be made to the description of the above method embodiments provided in the present application. The fourteenth embodiment described below is merely illustrative.
Please refer to fig. 16, which is a schematic diagram of an electronic device according to a fourteenth embodiment of the present application.
The electronic device includes: a processor 1601;
a memory 1602 for storing a program of the method, which when read and executed by the processor performs the method provided by the above-mentioned method embodiments.
It should be noted that, for the detailed description of the electronic device provided in the fourteenth embodiment of the present application, reference may be made to the related description of the foregoing method embodiment provided in the present application, and details are not repeated here.
Corresponding to the above method embodiments provided by the present application, the fifteenth embodiment of the present application further provides a computer storage medium, and since the eighth embodiment is substantially similar to the above method embodiments provided by the present application, the description is relatively simple, and the relevant points can be referred to the description of the above method embodiments provided by the present application. The eighth embodiment described below is merely illustrative.
The computer storage medium stores a computer program that, when executed, implements the methods provided in the above-described method embodiments.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Claims (10)

1. A method for determining a color of a card face of a physical object membership card, comprising:
obtaining card surface basic color information aiming at the entity object membership card;
obtaining target color mode data corresponding to target membership card grade information according to basic color mode data corresponding to the card surface basic color information and the target membership card grade information, wherein the target membership card grade information is at least one membership card grade information in a plurality of membership card grade information set aiming at the entity object membership card;
and obtaining target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data.
2. An apparatus for determining a color of a card face of a physical object membership card, comprising:
a basic color determination unit for obtaining card surface basic color information for the entity object membership card;
a data processing unit, configured to obtain target color mode data corresponding to target membership card level information according to basic color mode data corresponding to the card surface basic color information and the target membership card level information, where the target membership card level information is at least one of multiple membership card level information set for the entity object membership card;
and the card surface color determining unit is used for obtaining target card surface color information of the target membership card corresponding to the target membership card grade information according to the target color mode data.
3. An output method of a physical object electronic membership card, comprising:
obtaining a fourth request message sent by the client for requesting to obtain the electronic membership card of the target entity object;
and sending a target electronic membership card of the target entity object to the client in response to the fourth request message, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
4. An output device for a physical object electronic membership card, comprising:
the information receiving unit is used for obtaining a fourth request message sent by the client and used for requesting to obtain the electronic membership card of the target entity object;
and the membership card issuing unit is used for responding to the fourth request message and sending a target electronic membership card of the target entity object to the client, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
5. An output method of a physical object electronic membership card, comprising:
sending a fourth request message for requesting to obtain the electronic membership card of the target entity object to the server;
and obtaining a target electronic membership card of the target entity object returned by the server, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
6. An output device for a physical object electronic membership card, comprising:
the membership card request sending unit is used for sending a fourth request message for requesting to obtain the electronic membership card of the target entity object to the server;
and the membership card receiving unit is used for obtaining a target electronic membership card of the target entity object returned by the server, wherein the card surface color information of the target electronic membership card is obtained according to target color mode data corresponding to the target electronic membership card, and the target color mode data is determined according to basic color mode data corresponding to card surface basic color information of the target entity object membership card and target membership card grade information to which the target electronic membership card belongs.
7. A method for determining a color of a card face of a physical object membership card, comprising:
acquiring entity object identification information;
obtaining color information corresponding to the entity object identification information according to the entity object identification information;
determining at least one color information corresponding to the entity object identification information as card surface basic color information for an entity object membership card.
8. An apparatus for determining a color of a card face of a physical object membership card, comprising:
an identification information acquisition unit for acquiring entity object identification information;
a color information obtaining unit, configured to obtain color information corresponding to the entity object identification information according to the entity object identification information;
a color information determination unit for determining at least one color information corresponding to the entity object identification information as card surface base color information for an entity object membership card.
9. A method for outputting a card face color of a physical object membership card, comprising:
acquiring entity object identification information sent by a client;
and returning card surface basic color information aiming at the entity object membership card to the client, wherein the card surface basic color information is at least one piece of color information corresponding to the entity object identification information.
10. A method for obtaining a card face color of a physical object membership card, comprising:
sending entity object identification information to a server;
and obtaining card surface basic color information which is returned by the server and aims at the entity object membership card, wherein the card surface basic color information is at least one color information corresponding to the entity object identification information.
CN202011580826.1A 2020-12-28 2020-12-28 Method and device for determining card surface color of physical object membership card Active CN112633932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011580826.1A CN112633932B (en) 2020-12-28 2020-12-28 Method and device for determining card surface color of physical object membership card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011580826.1A CN112633932B (en) 2020-12-28 2020-12-28 Method and device for determining card surface color of physical object membership card

Publications (2)

Publication Number Publication Date
CN112633932A true CN112633932A (en) 2021-04-09
CN112633932B CN112633932B (en) 2024-03-22

Family

ID=75325629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011580826.1A Active CN112633932B (en) 2020-12-28 2020-12-28 Method and device for determining card surface color of physical object membership card

Country Status (1)

Country Link
CN (1) CN112633932B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003316942A (en) * 2002-04-22 2003-11-07 Pfu Ltd Method and program for issuing member card
US20050132076A1 (en) * 2003-12-11 2005-06-16 Tawei Lin Method and system for showing web pages over internet and wireless communication networks in specific page designs and colors to indicate specific meanings of analytic information
KR20120025807A (en) * 2010-09-08 2012-03-16 주식회사 엔씨소프트 Method for supporting color weakness in computer game
CN103413221A (en) * 2012-07-01 2013-11-27 宾劲松 Member coding method with identity feature identification and application thereof
CN104392190A (en) * 2014-11-07 2015-03-04 北京智付融汇科技有限公司 Virtual card substantiating method and device through mobile terminal equipment
CN110097358A (en) * 2019-04-28 2019-08-06 北京小米支付技术有限公司 Virtual card generation method, device, equipment and storage medium
CN111861578A (en) * 2020-07-28 2020-10-30 上海仙豆智能机器人有限公司 Card and ticket issuing method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003316942A (en) * 2002-04-22 2003-11-07 Pfu Ltd Method and program for issuing member card
US20050132076A1 (en) * 2003-12-11 2005-06-16 Tawei Lin Method and system for showing web pages over internet and wireless communication networks in specific page designs and colors to indicate specific meanings of analytic information
KR20120025807A (en) * 2010-09-08 2012-03-16 주식회사 엔씨소프트 Method for supporting color weakness in computer game
CN103413221A (en) * 2012-07-01 2013-11-27 宾劲松 Member coding method with identity feature identification and application thereof
CN104392190A (en) * 2014-11-07 2015-03-04 北京智付融汇科技有限公司 Virtual card substantiating method and device through mobile terminal equipment
CN110097358A (en) * 2019-04-28 2019-08-06 北京小米支付技术有限公司 Virtual card generation method, device, equipment and storage medium
CN111861578A (en) * 2020-07-28 2020-10-30 上海仙豆智能机器人有限公司 Card and ticket issuing method and device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
原创力文档: "金穗信用卡卡面设计规范", Retrieved from the Internet <URL:https://max.book118.com/html/2019/0610/5100240303002043.shtm> *
吕连鹏: "视觉形象系统在酒店形象设计中的应用研究", 中国优秀硕士学位论文全文数据库, no. 1, pages 12 - 28 *
知乎: "银行卡知多少?卡等级篇", Retrieved from the Internet <URL:https://zhuanlan.zhihu.com/p/273673799> *

Also Published As

Publication number Publication date
CN112633932B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
US11107135B2 (en) Assessing shared vehicle popularities
US11568071B2 (en) Information provision apparatus and information provision method
US11669566B2 (en) Multi-resolution color-based image search
US20160364792A1 (en) Cloud service brokerage method and apparatus using service image store
CN108600399A (en) Information-pushing method and Related product
US20220374406A1 (en) KV Database Configuration Method, Query Method, Device, and Storage Medium
US8824778B2 (en) Systems and methods for depth map generation
Xia et al. Separate and simultaneous adjustment of light qualities in a real scene
CN110502716A (en) A kind of methods of exhibiting of information of vehicles, server, terminal device
CN107301550B (en) Acquisition method of credit information and establishment method and device of credit management and control rule
CN112633932B (en) Method and device for determining card surface color of physical object membership card
US9035996B1 (en) Multi-device video communication session
CN111049735B (en) Group head portrait display method, device, equipment and storage medium
CN110795184B (en) Information processing method, menu page display method, device and system
CN110928895B (en) Data query and data table establishment method, device and equipment
CN116680480A (en) Product recommendation method and device, electronic equipment and readable storage medium
WO2023124209A1 (en) Data directory generation method and apparatus, data retrieval method and apparatus, and electronic device
CN108256124A (en) Method for building website, device, server and storage medium
KR102303761B1 (en) Method for providing augmented reality-based photo album
CN104361047B (en) Data display method and device in client
WO2021097717A1 (en) Permission management method and apparatus for user portrait, server, and storage medium
Liu et al. Analyzing relationship between user‐generated content and local visual information with augmented reality‐based location‐based social networks
CN112099771A (en) Data processing method and device, electronic equipment and storage medium
KR102526426B1 (en) System of providing service for transacting creation based on non-fungible token
CN110675519A (en) Attendance checking method, device, equipment, system and computer 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