CN113159847A - Trading method and device for intelligently locking price - Google Patents

Trading method and device for intelligently locking price Download PDF

Info

Publication number
CN113159847A
CN113159847A CN202110434245.5A CN202110434245A CN113159847A CN 113159847 A CN113159847 A CN 113159847A CN 202110434245 A CN202110434245 A CN 202110434245A CN 113159847 A CN113159847 A CN 113159847A
Authority
CN
China
Prior art keywords
buyer
specified
price
appointed
commodity
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.)
Pending
Application number
CN202110434245.5A
Other languages
Chinese (zh)
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.)
China World Digital Technology Shenzhen Co ltd
Original Assignee
China World Digital Technology Shenzhen 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 China World Digital Technology Shenzhen Co ltd filed Critical China World Digital Technology Shenzhen Co ltd
Priority to CN202110434245.5A priority Critical patent/CN113159847A/en
Publication of CN113159847A publication Critical patent/CN113159847A/en
Pending legal-status Critical Current

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/0283Price estimation or determination
    • G06Q30/0284Time or distance, e.g. usage of parking meters or taximeters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to an intelligent business technology, and provides a trading method, a trading device, a trading computer device and a trading storage medium for intelligently locking prices, wherein the method comprises the following steps: receiving payment information of a specified buyer for prepayment of a specified commodity, and recording the payment time of the prepayment; determining the payment unit price of the appointed goods according to the payment time, wherein the corresponding unit prices of the appointed goods are different in different time; associating a payment unit price for the specified item with the id of the specified buyer; when receiving ordering information of an appointed commodity ordered by a buyer, judging whether the id of the buyer is the id of the appointed buyer or not; if so, acquiring a payment unit price according to the id of the appointed buyer, and completing the transaction with the appointed buyer based on the payment unit price; according to the invention, the buyer pays a pre-payment in advance in the system, and the price of the commodity to be purchased is locked, so that the price of the commodity obtained by the buyer is determined and is not floated any more, the increase of the commodity cost caused by the increase of the later market price is avoided, and the user experience is improved.

Description

Trading method and device for intelligently locking price
Technical Field
The invention relates to the technical field of intelligent commerce, in particular to a trading method and a trading device for intelligently locking prices, computer equipment and a storage medium.
Background
Electronic commerce refers to various commerce and trade activities performed by buyers and sellers without conspiracy under an internet open network environment based on a client/server application mode, for example, consumers perform online shopping and online transactions among merchants, and electronic commerce activities are usually implemented based on shopping websites, in a conventional electronic commerce purchasing relationship, generally, after a seller replenishes goods and puts the goods on a corresponding website, the buyer performs payment and purchase based on the current price of the goods, but the prices of some current goods fluctuate with fluctuation of market conditions, for example, in the building material industry, the same goods are different in daily price, correspondingly, the shopping website also adjusts the price of the goods according to fluctuation of the market conditions, so that the price of the goods displayed to the buyer is difficult to be determined within a certain time, so that when the buyer purchases the goods online, it is difficult to estimate the purchase cost, and the increase of the later market price can lead to the increase of the commodity cost, even the buyer of many hot goods can not be purchased, and the user experience is very poor.
Disclosure of Invention
The main object of the present invention is to provide a transaction method, apparatus, computer device and storage medium that improves the user experience and locks prices intelligently for a constant buyer price.
Based on the above purpose, the present invention provides a trading method for intelligently locking prices, comprising:
receiving payment information of a specified buyer for prepayment of a specified commodity, and recording the payment time of the prepayment;
determining the payment unit price of the specified commodity according to the payment time, wherein the unit prices of the specified commodity are different in different time;
associating a payment unit price for the specified item with the id of the specified buyer;
when receiving ordering information of an appointed commodity ordered by a buyer, judging whether the id of the buyer is the id of the appointed buyer or not;
if yes, obtaining the payment unit price according to the id of the appointed buyer, and completing the transaction with the appointed buyer based on the payment unit price.
Further, the step of associating the payment unit price of the specified item with the id of the specified buyer is followed by:
acquiring the pre-purchase information of the appointed buyer for pre-purchasing the appointed commodity, and generating the purchase information of the appointed buyer by the pre-purchase information and the payment unit price;
encrypting the purchase information according to a preset encryption algorithm to obtain a corresponding commodity ciphertext, and associating a secret key of the encrypted purchase information with the id of the specified buyer;
when receiving ordering information of an order of the appointed commodity ordered by a buyer and judging that the id of the buyer is the id of the appointed buyer, acquiring the secret key according to the id of the appointed buyer;
and decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information.
Further, after the step of encrypting the purchase information according to a preset encryption algorithm, the method includes:
when a request for checking the payment unit price of the appointed buyer is received, judging whether the id of the buyer for checking is the id of the appointed buyer or not;
if so, acquiring the secret key, decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and displaying the payment unit price to the appointed buyer;
otherwise, when the buyer checks the payment unit price of the appointed buyer, the commodity ciphertext is displayed.
Further, the step of obtaining the key according to the id of the specified buyer when the id of the buyer is determined to be the id of the specified buyer includes:
acquiring the payment information and a buyer grade table, wherein the buyer grade table is used for representing the corresponding relation between the amount prepaid by a buyer and the buyer grade, different appointed purchase time periods corresponding to different buyer grades are obtained, and the appointed purchase time period is longer when the buyer grade is higher;
determining the current buyer grade of the appointed buyer and the corresponding appointed purchasing time period according to the payment information and a buyer grade table;
judging whether the ordering time of the appointed buyer is within the appointed purchasing time period of the appointed buyer or not;
and if so, acquiring the secret key according to the id of the specified buyer.
Further, the determining whether the id of the buyer viewing the specified commodity is the id of the specified buyer or not when the viewing information for viewing the payment unit price is received, comprises:
receiving request information for a buyer to check the price of the specified commodity;
calling a price table of the specified commodity according to the request information, wherein the price table records the current price and the corresponding price of the specified commodity at each time within the historical specified time;
acquiring commodity information of the specified commodity, and predicting the predicted price of the next time node according to the commodity information and the price table;
and displaying the price table and the predicted price to the buyer.
Further, the step of obtaining the payment unit price according to the id of the specified buyer is preceded by:
calculating the designated information according to a preset hash function to obtain a corresponding first hash value;
encrypting the first hash value by adopting a preset private key to obtain an encrypted digital signature, and sending a public key corresponding to the private key and the digital signature to the appointed buyer;
receiving a second hash value returned by the specified buyer and comparing the first hash value with the second hash value;
if the first hash value is the same as the second hash value, determining that the appointed buyer is a real appointed buyer, and triggering an instruction for acquiring the payment unit price;
and if the first hash value is different from the second hash value, judging that the designated buyer is a false designated buyer, and sending an alarm prompt.
The invention also provides a trading device for intelligently locking prices, which comprises:
the receiving information unit is used for receiving payment information of the specified buyer for the specified commodity in advance and recording the payment time of the advance payment;
a unit price determining unit, configured to determine a payment unit price of the specified item according to the payment time, where unit prices of the specified item are different in different times;
an association unit price for associating the payment unit price of the specified item with the id of the specified buyer;
a buyer judging unit, configured to judge whether an id of a buyer is an id of the specified buyer when receiving order placing information that the buyer places an order for the specified commodity;
and the unit price obtaining unit is used for obtaining the payment unit price according to the id of the appointed buyer if the payment unit price is positive, and completing the transaction with the appointed buyer based on the payment unit price.
Further, still include:
the generation information unit is used for acquiring the pre-purchase information of the appointed commodity pre-purchased by the appointed buyer and generating the purchase information of the appointed buyer by the pre-purchase information and the payment unit price;
the encryption information unit is used for encrypting the purchase information according to a preset encryption algorithm to obtain a corresponding commodity ciphertext and associating a secret key of the encrypted purchase information with the id of the specified buyer;
the acquiring key unit is used for acquiring the key according to the id of the specified buyer when receiving the ordering information of the buyer ordering the specified commodity and judging that the id of the buyer is the id of the specified buyer;
and the decryption ciphertext unit is used for decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory stores computer programs, and the processor realizes the steps of the intelligent price locking trading method when executing the computer programs.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-described intelligent price-locked transaction method.
The invention has the beneficial effects that: the buyer pays a pre-payment in advance in the system, and the price of the commodity to be purchased is locked, so that the commodity price of the buyer is determined and is not floated any more, the increase of the commodity cost caused by the increase of the later market price is avoided, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram illustrating the steps of a transaction method for intelligently locking prices according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating a transaction device for intelligently locking prices according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating the structure of one embodiment of a storage medium of the present application;
FIG. 4 is a block diagram illustrating the structure of one embodiment of a computer device of the present application.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the trading method for intelligently locking prices in the present embodiment includes:
step S1: receiving payment information of a specified buyer for prepayment of a specified commodity, and recording the payment time of the prepayment;
step S2: determining the payment unit price of the specified commodity according to the payment time, wherein the unit prices of the specified commodity are different in different time;
step S3: associating a payment unit price for the specified item with the id of the specified buyer;
step S4: when receiving ordering information of an appointed commodity ordered by a buyer, judging whether the id of the buyer is the id of the appointed buyer or not;
step S5: if yes, obtaining the payment unit price according to the id of the appointed buyer, and completing the transaction with the appointed buyer based on the payment unit price.
The transaction method for intelligently locking the price is realized based on a transaction system and can be applied to various shopping websites, a prepayment channel is provided for the buyer in the embodiment, when the appointed buyer selects the commodity and performs prepayment, the system can receive payment information of the prepayment of the appointed buyer for the appointed commodity and record the payment time of the prepayment of the appointed merchant. Because the unit price of the commodity may fluctuate and each time may be different, that is, the unit prices of the specified commodity corresponding to the payment time are different in different time, the price of the specified commodity corresponding to the payment time can be searched, and the unit price for purchasing the specified commodity of the specified buyer is obtained and recorded as the payment unit price when the specified buyer places an order subsequently.
As described in the above steps S3-S5, in order to ensure that the designated buyer can purchase the specified item at the payment unit price when placing the order, the payment unit price of the specified item is first associated with the id of the designated buyer, i.e. it is marked that the designated buyer can purchase the specified item at the payment unit price. When a buyer places an order for the specified commodity on the system, the system receives the ordering information of the buyer, and then the buyer can be judged whether to be the specified buyer or not, if the buyer is judged through the id, the id of the buyer is compared with the id of the specified buyer, if the two are the same, the buyer is judged to be the specified buyer, then a payment unit price can be obtained according to the id of the specified buyer, the payment unit price and the specified buyer complete the transaction basically, and if the buyer is judged not to be the specified buyer, the transaction can be directly completed with the buyer according to the current price of the specified commodity.
According to the transaction method for intelligently locking the price, provided by the invention, the corresponding commodity price is recorded after the payment information of the advance payment of the buyer is received, the commodity price is associated with the id of the appointed buyer, the payment unit price is obtained according to the id during subsequent ordering, and the transaction is completed based on the payment unit price, so that the buyer can pay an advance payment to an online upper platform of a seller in advance, the price of the commodity to be purchased is locked in advance, the commodity price is determined, the increase of the commodity cost caused by the increase of the later market price is avoided, and the user experience is improved.
In one embodiment, when the specific goods are in a small amount, for example, less than a certain amount, the specific buyer that has been prepaid is first found, the specific buyer may have a plurality of buyers, the information of the specific goods is displayed to the specific buyer, and the selling space information is shielded or displayed for the rest of buyers, so that the specific buyer does not buy the goods due to the shortage of seller materials, and the buyer advances a fund in advance by the buyer and simultaneously records, when the market situation price fluctuates, the price of the goods rises, the supply of the goods is insufficient, and the buyer that advances the fund in advance can take priority to purchase the goods according to the agreed price of the goods.
In one embodiment, to further improve security, the identity of the specified buyer may be further verified, specifically, before the step S5, the method includes:
step S41: calculating the designated information according to a preset hash function to obtain a corresponding first hash value;
step S42: encrypting the first hash value by adopting a preset private key to obtain an encrypted digital signature, and sending a public key corresponding to the private key and the digital signature to the appointed buyer;
step S43: receiving a second hash value returned by the specified buyer and comparing the first hash value with the second hash value;
step S44: if the first hash value is the same as the second hash value, determining that the appointed buyer is a real appointed buyer, and triggering an instruction for acquiring the payment unit price;
step S45: and if the first hash value is different from the second hash value, judging that the designated buyer is a false designated buyer, and sending an alarm prompt.
In this embodiment, the identity verification for the designated buyer is implemented by using a digital signature, and specifically, the designated information is first calculated according to a preset hash function to obtain a corresponding hash value, that is, a corresponding information digest, and for convenience of distinguishing and marking as the first hash value, the designated information may be any data information or buyer information of the designated buyer, and then the first hash value is encrypted by using a private key according to a preset signature algorithm to obtain a corresponding digital signature, and specifically, an asymmetric encryption, such as an RSA algorithm or an ECC algorithm, is used. The resulting digital signature and corresponding public key are then transmitted to the designated buyer.
When the designated buyer logs in or needs to verify the identity, the digital signature can be decrypted by the public key to finally obtain a corresponding hash value, which is marked as a second hash value and returned, at this time, after receiving the second hash value returned by the designated buyer, the first hash value is compared with the second hash value, if the two are the same, the buyer is determined as the real designated buyer, an instruction of obtaining the payment unit price can be triggered, and the step S5 is executed; if the received second hash value is different from the first hash value, the fact that the buyer is the designated buyer which is real from time to time and possibly counterfeited by people or illegally invaded by the first hash value is shown, the execution of the subsequent steps can be stopped, and an alarm prompt is sent out so as to take effective measures.
In one embodiment, after step S3, the method includes:
step S4': acquiring the pre-purchase information of the appointed buyer for pre-purchasing the appointed commodity, and generating the purchase information of the appointed buyer by the pre-purchase information and the payment unit price;
step S5': encrypting the purchase information according to a preset encryption algorithm to obtain a corresponding commodity ciphertext, and associating a secret key of the encrypted purchase information with the id of the specified buyer;
step S6': when receiving ordering information of an order of the appointed commodity ordered by a buyer and judging that the id of the buyer is the id of the appointed buyer, acquiring the secret key according to the id of the appointed buyer;
step S7': and decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information.
In this embodiment, in order to ensure that the payment unit price is not tampered, information such as the payment unit price corresponding to the designated buyer may be encrypted, specifically, after the payment unit price is associated with the id of the designated buyer, the pre-purchase information of the designated buyer for pre-purchasing the designated commodity, such as the number, type, time, address, pre-payment amount, etc. of the designated commodity is obtained, the pre-purchase information and the payment unit price are combined to obtain the purchase information, then the purchase information is encrypted according to a preset encryption algorithm to obtain a corresponding ciphertext, which is recorded as a commodity ciphertext, where the encryption method may be a symmetric or asymmetric encryption method, then a key for encrypting the purchase information is associated with the id of the designated buyer and stored, and when receiving order placing information for placing the designated commodity from the buyer, the buyer is determined to be the designated buyer by the id, if so, acquiring a secret key according to the id of the appointed buyer, then decrypting the commodity ciphertext according to the secret key to obtain purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information; if not, the buyer corresponding to the received order placing information is not the designated buyer, the buyer is directly transacted with the received order placing information according to the current price without acquiring a secret key, so that the commodity price is encrypted when the buyer pays the prepayment, the price is ensured not to be falsified, and the price of the designated buyer is ensured to be locked and not to be disclosed.
In one embodiment, after step S5', the method includes:
step S6: when a request for checking the payment unit price of the appointed buyer is received, judging whether the id of the buyer for checking is the id of the appointed buyer or not;
step S6: if so, acquiring the secret key, decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and displaying the payment unit price to the appointed buyer;
step S6: otherwise, when the buyer checks the payment unit price of the appointed buyer, the commodity ciphertext is displayed.
In this embodiment, the payment unit price or/and the purchase information for the specified buyer can be hidden and not viewed by other buyers, specifically, when receiving a request to view the payment unit price of the specified buyer, it is determined whether the buyer who sent the request is the specified buyer, that is, whether the id of the buyer is consistent with the id of the specified buyer or not is first determined, if yes, the specified buyer is instructed to view the payment unit price of the buyer, at this time, the secret key can be obtained, then the commodity ciphertext is decrypted according to the secret key to obtain the purchase information, and the payment unit price is displayed; if not, the buyer requesting to view is not the designated buyer, and in order to ensure confidentiality, the payment unit price is not displayed, only the product ciphertext is simply acquired and displayed, or only partial information capable of being displayed is acquired, for example, information approved to be disclosed by the designated buyer, such as name and the like, and important information such as the payment unit price is shielded from other buyers, so that other buyers cannot view the information.
In another embodiment, if the id of the buyer viewing the specified good is not the id of the specified buyer, the buyer is directly prompted to have no review rights.
In one embodiment, the step S6' includes:
step S61: acquiring the payment information and a buyer grade table, wherein the buyer grade table is used for representing the corresponding relation between the amount prepaid by a buyer and the buyer grade, different appointed purchase time periods corresponding to different buyer grades are obtained, and the appointed purchase time period is longer when the buyer grade is higher;
step S62: determining the current buyer grade of the appointed buyer and the corresponding appointed purchasing time period according to the payment information and a buyer grade table;
step S63: judging whether the ordering time of the appointed buyer is within the appointed purchasing time period of the appointed buyer or not;
step S64: and if so, acquiring the secret key according to the id of the specified buyer.
In the embodiment, the prepaid amount is different and the privilege of the purchase is different, specifically, a buyer level table is set, the buyer level table is used for representing the corresponding relation between the prepaid amount of the buyer and the buyer level, different specified purchase time periods corresponding to different buyer levels are set, the specified purchase time period is longer as the buyer level is higher, for example, the buyer level has three levels, the first level keeps the payment unit price unchanged for one, the second level keeps the payment unit price unchanged for two months, and so on, of course, the prepaid amount and the buyer level can be set to be different for different commodities, and the prepaid amount and the buyer level can be set to be specific according to actual conditions.
When a secret key needs to be acquired, firstly acquiring payment information and a buyer grade table so as to determine the buyer grade of a designated buyer and obtain a corresponding designated purchase time period, then judging whether the ordering time of the designated buyer is in the designated purchase time period, if so, acquiring the secret key according to the id of the designated buyer, otherwise, indicating that the ordering time of the buyer is too long from the pre-payment time, not acquiring the secret key, directly carrying out transaction based on the current unit price of the designated commodity, wherein the pre-payment amount can be returned through an original channel, and can also be directly used for deducting transaction payment.
In one embodiment, before the step S6, the method includes:
step S51: receiving request information for a buyer to check the price of the specified commodity;
step S52: calling a price table of the specified commodity according to the request information, wherein the price table records the current price and the corresponding price of the specified commodity at each time within the historical specified time;
step S53: acquiring commodity information of the specified commodity, and predicting the predicted price of the next time node according to the commodity information and the price table;
step S54: and displaying the price table and the predicted price to the buyer.
In the embodiment, after receiving request information for checking the price of a specified commodity from a buyer, a price table of the specified commodity is called according to the request information, the price table records the current price, the price corresponding to each time of the specified commodity in historical specified time, and commodity information of the specified commodity, the commodity information can be information such as specific attributes of the commodity and market conditions, rules of the commodity price are found out based on the commodity information and the historical price of the commodity, then the predicted price of a next time node is predicted, and the predicted price is displayed to the buyer.
Referring to fig. 2, in this embodiment, an intelligent price locking transaction apparatus is provided, which corresponds to the above intelligent price locking transaction method, and the apparatus includes:
a receiving information unit 1 for receiving payment information of a pre-payment of a specified commodity by a specified buyer and recording the payment time of the pre-payment;
a unit price determining unit 2, configured to determine a payment unit price of the specified item according to the payment time, where unit prices of the specified item are different in different times;
an association unit price unit 3 for associating a payment unit price of the specified item with the id of the specified buyer;
a buyer judging unit 4, configured to judge whether an id of the buyer is an id of the specified buyer when receiving order placing information that the buyer places an order for the specified commodity;
and the unit price obtaining unit 5 is configured to obtain the payment unit price according to the id of the specified buyer when determining that the id of the buyer is the id of the specified buyer, and complete a transaction with the specified buyer based on the payment unit price.
The transaction device capable of intelligently locking the price is realized based on a transaction system and can be applied to various shopping websites, a prepayment channel is provided for the buyer in the embodiment, when the appointed buyer selects the commodity and performs prepayment, the system can receive payment information of the prepayment of the appointed buyer for the appointed commodity and record the payment time of the prepayment of the appointed merchant. Because the unit price of the commodity may fluctuate and each time may be different, that is, the unit prices of the specified commodity corresponding to the payment time are different in different time, the price of the specified commodity corresponding to the payment time can be searched, and the unit price for purchasing the specified commodity of the specified buyer is obtained and recorded as the payment unit price when the specified buyer places an order subsequently.
As described above in the association unit price unit 3, the buyer determining unit 4, and the unit price acquiring unit 5, in order to ensure that the designated buyer can purchase at the payment unit price when placing the order, the payment unit price of the designated commodity is first associated with the id of the designated buyer, that is, the designated buyer is marked to purchase the designated commodity at the payment unit price. When a buyer places an order for the specified commodity on the system, the system receives the ordering information of the buyer, and then the buyer can be judged whether to be the specified buyer or not, if the buyer is judged by the id, the id of the buyer is compared with the id of the specified buyer, if the two are the same, the buyer is judged to be the specified buyer, then a payment unit price can be obtained according to the id of the specified buyer, the payment unit price and the specified buyer complete the transaction basically, and if the buyer is judged not to be the specified buyer, the transaction can be directly completed with the buyer based on the current price of the specified commodity.
According to the transaction device for intelligently locking the price, provided by the invention, after payment information of pre-payment of a buyer is received, the corresponding commodity price is recorded, the commodity price is associated with the id of the appointed buyer, the payment unit price is obtained according to the id during subsequent ordering, and the transaction is completed based on the payment unit price, so that the buyer can pay a pre-payment to an online upper platform of a seller in advance, the price of the commodity to be purchased is locked in advance, the commodity price is determined, the commodity cost increase caused by the increase of the later market price is avoided, and the user experience is improved.
In one embodiment, when the specific goods are in a small amount, for example, less than a certain amount, the specific buyer that has been prepaid is first found, the specific buyer may have a plurality of buyers, the information of the specific goods is displayed to the specific buyer, and the selling space information is shielded or displayed for the rest of buyers, so that the specific buyer does not buy the goods due to the shortage of seller materials, and the buyer advances a fund in advance by the buyer and simultaneously records, when the market situation price fluctuates, the price of the goods rises, the supply of the goods is insufficient, and the buyer that advances the fund in advance can take priority to purchase the goods according to the agreed price of the goods.
In an embodiment, to further improve security, the identity of the specified buyer may be further verified, and in particular, the apparatus further includes:
the calculating dispersion value unit is used for calculating the designated information according to a preset hash function to obtain a corresponding first hash value;
the digital signature unit is used for encrypting the first hash value by adopting a preset private key to obtain an encrypted digital signature and sending a public key corresponding to the private key and the digital signature to the appointed buyer;
a unit for receiving a hash value, configured to receive a second hash value returned by the specified buyer, and compare the first hash value with the second hash value;
a trigger obtaining unit, configured to determine that the designated buyer is a real designated buyer when the first hash value is the same as the second hash value, and trigger an instruction for obtaining the payment unit price;
and an alarm unit for judging the designated buyer as a false designated buyer and sending an alarm prompt when the first hash value is different from the second hash value.
In this embodiment, the identity verification for the designated buyer is implemented by using a digital signature, and specifically, the designated information is first calculated according to a preset hash function to obtain a corresponding hash value, that is, a corresponding information digest, and for convenience of distinguishing and marking as the first hash value, the designated information may be any data information or buyer information of the designated buyer, and then the first hash value is encrypted by using a private key according to a preset signature algorithm to obtain a corresponding digital signature, and specifically, an asymmetric encryption, such as an RSA algorithm or an ECC algorithm, is used. The resulting digital signature and corresponding public key are then transmitted to the designated buyer.
When the appointed buyer logs in or needs to verify the identity, the digital signature can be decrypted through the public key to finally obtain a corresponding hash value, the corresponding hash value is marked as a second hash value and returned, the first hash value is compared with the second hash value after the second hash value returned by the appointed buyer is received, if the first hash value and the second hash value are the same, the buyer is determined as the real appointed buyer, an instruction of obtaining the payment unit price can be triggered, and the step of obtaining the payment unit price is executed; if the received second hash value is different from the first hash value, the fact that the buyer is the designated buyer which is real from time to time and possibly counterfeited by people or illegally invaded by the first hash value is shown, the execution of the subsequent steps can be stopped, and an alarm prompt is sent out so as to take effective measures.
In one embodiment, the above apparatus further comprises:
the generation information unit is used for acquiring the pre-purchase information of the appointed commodity pre-purchased by the appointed buyer and generating the purchase information of the appointed buyer by the pre-purchase information and the payment unit price;
the encryption information unit is used for encrypting the purchase information according to a preset encryption algorithm to obtain a corresponding commodity ciphertext and associating a secret key of the encrypted purchase information with the id of the specified buyer;
the acquiring key unit is used for acquiring the key according to the id of the specified buyer when receiving the ordering information of the buyer ordering the specified commodity and judging that the id of the buyer is the id of the specified buyer;
and the decryption ciphertext unit is used for decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information.
In this embodiment, in order to ensure that the payment unit price is not tampered, information such as the payment unit price corresponding to the designated buyer may be encrypted, specifically, after the payment unit price is associated with the id of the designated buyer, the pre-purchase information of the designated buyer for pre-purchasing the designated commodity, such as the number, type, time, address, pre-payment amount, etc. of the designated commodity is obtained, the pre-purchase information and the payment unit price are combined to obtain the purchase information, then the purchase information is encrypted according to a preset encryption algorithm to obtain a corresponding ciphertext, which is recorded as a commodity ciphertext, where the encryption method may be a symmetric or asymmetric encryption method, then a key for encrypting the purchase information is associated with the id of the designated buyer and stored, and when receiving order placing information for placing the designated commodity from the buyer, the buyer is determined to be the designated buyer by the id, if so, acquiring a secret key according to the id of the appointed buyer, then decrypting the commodity ciphertext according to the secret key to obtain purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information; if not, the buyer corresponding to the received order placing information is not the designated buyer, the buyer is directly transacted with the received order placing information according to the current price without acquiring a secret key, so that the commodity price is encrypted when the buyer pays the prepayment, the price is ensured not to be falsified, and the price of the designated buyer is ensured to be locked and not to be disclosed.
In one embodiment, the above apparatus further comprises:
a receiving request unit, configured to, when a request to view a payment unit price of the specified buyer is received, determine whether an id of the buyer for viewing is an id of the specified buyer;
the unit price display unit is used for acquiring the secret key when the id of the buyer for checking is judged to be the id of the appointed buyer, decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and displaying the payment unit price to the appointed buyer;
and the display ciphertext unit is used for displaying the commodity ciphertext when the buyer checks the payment unit price of the specified buyer when judging that the id of the buyer for checking is not the id of the specified buyer.
In this embodiment, the payment unit price or/and the purchase information for the specified buyer can be hidden and not viewed by other buyers, specifically, when receiving a request to view the payment unit price of the specified buyer, it is determined whether the buyer who sent the request is the specified buyer, that is, whether the id of the buyer is consistent with the id of the specified buyer or not is first determined, if yes, the specified buyer is instructed to view the payment unit price of the buyer, at this time, the secret key can be obtained, then the commodity ciphertext is decrypted according to the secret key to obtain the purchase information, and the payment unit price is displayed; if not, the buyer requesting to view is not the designated buyer, and in order to ensure confidentiality, the payment unit price is not displayed, only the product ciphertext is simply acquired and displayed, or only partial information capable of being displayed is acquired, for example, information approved to be disclosed by the designated buyer, such as name and the like, and important information such as the payment unit price is shielded from other buyers, so that other buyers cannot view the information.
In another embodiment, if the id of the buyer viewing the specified good is not the id of the specified buyer, the buyer is directly prompted to have no review rights.
In one embodiment, the key obtaining unit includes:
the acquiring grade subunit is used for acquiring the payment information and a buyer grade table, wherein the buyer grade table is used for representing the corresponding relation between the amount prepaid by a buyer and the buyer grade, different appointed purchasing time periods corresponding to different buyer grades are provided, and the appointed purchasing time period is longer when the buyer grade is higher;
a grade determining subunit, configured to determine, according to the payment information and a buyer grade table, a current buyer grade of the specified buyer and a corresponding specified purchasing time period;
the judging time subunit is used for judging whether the ordering time of the appointed buyer is within the appointed purchasing time period of the appointed buyer or not;
and the key obtaining subunit is used for obtaining the key according to the id of the specified buyer when judging that the ordering time of the specified buyer is within the specified purchasing time period of the specified buyer.
In the embodiment, the prepaid amount is different and the privilege of the purchase is different, specifically, a buyer level table is set, the buyer level table is used for representing the corresponding relation between the prepaid amount of the buyer and the buyer level, different specified purchase time periods corresponding to different buyer levels are set, the specified purchase time period is longer as the buyer level is higher, for example, the buyer level has three levels, the first level keeps the payment unit price unchanged for one, the second level keeps the payment unit price unchanged for two months, and so on, of course, the prepaid amount and the buyer level can be set to be different for different commodities, and the prepaid amount and the buyer level can be set to be specific according to actual conditions.
When a secret key needs to be acquired, firstly acquiring payment information and a buyer grade table so as to determine the buyer grade of a designated buyer and obtain a corresponding designated purchase time period, then judging whether the ordering time of the designated buyer is in the designated purchase time period, if so, acquiring the secret key according to the id of the designated buyer, otherwise, indicating that the ordering time of the buyer is too long from the pre-payment time, not acquiring the secret key, directly carrying out transaction based on the current unit price of the designated commodity, wherein the pre-payment amount can be returned through an original channel, and can also be directly used for deducting transaction payment.
In one embodiment, the above apparatus includes:
a receiving and viewing unit for receiving request information for a buyer to view the price of the specified commodity;
the price calling unit is used for calling a price list of the specified commodity according to the request information, and the price list records the current price and the corresponding price of the specified commodity at each time in the historical specified time;
the price predicting unit is used for acquiring commodity information of the specified commodity and predicting the predicted price of the next time node according to the commodity information and the price table;
and the price display unit is used for displaying the price table and the predicted price to the buyer.
In the embodiment, after receiving request information for checking the price of a specified commodity from a buyer, a price table of the specified commodity is called according to the request information, the price table records the current price, the price corresponding to each time of the specified commodity in historical specified time, and commodity information of the specified commodity, the commodity information can be information such as specific attributes of the commodity and market conditions, rules of the commodity price are found out based on the commodity information and the historical price of the commodity, then the predicted price of a next time node is predicted, and the predicted price is displayed to the buyer.
Referring to fig. 3, the present application also provides a computer-readable storage medium 10, in which a computer program 20 is stored in the storage medium 10, and when the computer program runs on a computer, the computer is caused to execute the intelligent price-locked transaction method described in the above embodiment.
Referring to fig. 4, the present application further provides a computer device 40 containing instructions, the computer device comprising a memory 30 and a processor 50, the memory 30 storing a computer program 20, the processor 30 implementing the intelligent price-locked transaction method described in the above embodiments when executing the computer program 20.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method of intelligently locking a price for a transaction, comprising:
receiving payment information of a specified buyer for prepayment of a specified commodity, and recording the payment time of the prepayment;
determining the payment unit price of the specified commodity according to the payment time, wherein the unit prices of the specified commodity are different in different time;
associating a payment unit price for the specified item with the id of the specified buyer;
when receiving ordering information of an appointed commodity ordered by a buyer, judging whether the id of the buyer is the id of the appointed buyer or not;
if yes, obtaining the payment unit price according to the id of the appointed buyer, and completing the transaction with the appointed buyer based on the payment unit price.
2. The smart locked price transaction method of claim 1, wherein the step of associating the payment unit price for the specified good with the id of the specified buyer is followed by the step of:
acquiring the pre-purchase information of the appointed buyer for pre-purchasing the appointed commodity, and generating the purchase information of the appointed buyer by the pre-purchase information and the payment unit price;
encrypting the purchase information according to a preset encryption algorithm to obtain a corresponding commodity ciphertext, and associating a secret key of the encrypted purchase information with the id of the specified buyer;
when receiving ordering information of an order of the appointed commodity ordered by a buyer and judging that the id of the buyer is the id of the appointed buyer, acquiring the secret key according to the id of the appointed buyer;
and decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information.
3. The smart locked price transaction method of claim 2, wherein the step of encrypting the purchase information according to a preset encryption algorithm is followed by:
when a request for checking the payment unit price of the appointed buyer is received, judging whether the id of the buyer for checking is the id of the appointed buyer or not;
if so, acquiring the secret key, decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and displaying the payment unit price to the appointed buyer;
otherwise, when the buyer checks the payment unit price of the appointed buyer, the commodity ciphertext is displayed.
4. The smart locked price transaction method of claim 2, wherein the step of obtaining the secret key according to the id of the specified buyer when the id of the buyer is determined to be the id of the specified buyer comprises:
acquiring the payment information and a buyer grade table, wherein the buyer grade table is used for representing the corresponding relation between the amount prepaid by a buyer and the buyer grade, different appointed purchase time periods corresponding to different buyer grades are obtained, and the appointed purchase time period is longer when the buyer grade is higher;
determining the current buyer grade of the appointed buyer and the corresponding appointed purchasing time period according to the payment information and a buyer grade table;
judging whether the ordering time of the appointed buyer is within the appointed purchasing time period of the appointed buyer or not;
and if so, acquiring the secret key according to the id of the specified buyer.
5. The smart locked price transaction method according to claim 3, wherein the step of determining whether the id of the buyer viewing the specified commodity is the id of the specified buyer or not upon receiving the viewing information for viewing the payment unit price comprises:
receiving request information for a buyer to check the price of the specified commodity;
calling a price table of the specified commodity according to the request information, wherein the price table records the current price and the corresponding price of the specified commodity at each time within the historical specified time;
acquiring commodity information of the specified commodity, and predicting the predicted price of the next time node according to the commodity information and the price table;
and displaying the price table and the predicted price to the buyer.
6. The smart locked price transaction method according to claim 1, wherein the step of obtaining the payment unit price according to the id of the specified buyer is preceded by:
calculating the designated information according to a preset hash function to obtain a corresponding first hash value;
encrypting the first hash value by adopting a preset private key to obtain an encrypted digital signature, and sending a public key corresponding to the private key and the digital signature to the appointed buyer;
receiving a second hash value returned by the specified buyer and comparing the first hash value with the second hash value;
if the first hash value is the same as the second hash value, determining that the appointed buyer is a real appointed buyer, and triggering an instruction for acquiring the payment unit price;
and if the first hash value is different from the second hash value, judging that the designated buyer is a false designated buyer, and sending an alarm prompt.
7. An intelligent price-locked transaction device, comprising:
the receiving information unit is used for receiving payment information of the specified buyer for the specified commodity in advance and recording the payment time of the advance payment;
a unit price determining unit, configured to determine a payment unit price of the specified item according to the payment time, where unit prices of the specified item are different in different times;
an association unit price for associating the payment unit price of the specified item with the id of the specified buyer;
a buyer judging unit, configured to judge whether an id of a buyer is an id of the specified buyer when receiving order placing information that the buyer places an order for the specified commodity;
and the unit price obtaining unit is used for obtaining the payment unit price according to the id of the appointed buyer if the payment unit price is positive, and completing the transaction with the appointed buyer based on the payment unit price.
8. The smart locked price transaction device of claim 7, further comprising:
the generation information unit is used for acquiring the pre-purchase information of the appointed commodity pre-purchased by the appointed buyer and generating the purchase information of the appointed buyer by the pre-purchase information and the payment unit price;
the encryption information unit is used for encrypting the purchase information according to a preset encryption algorithm to obtain a corresponding commodity ciphertext and associating a secret key of the encrypted purchase information with the id of the specified buyer;
the acquiring key unit is used for acquiring the key according to the id of the specified buyer when receiving the ordering information of the buyer ordering the specified commodity and judging that the id of the buyer is the id of the specified buyer;
and the decryption ciphertext unit is used for decrypting the commodity ciphertext according to the secret key to obtain the purchase information, and completely transacting with the appointed buyer based on the payment unit price in the purchase information.
9. A computer arrangement comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, carries out the steps of the smart locked price trading method of any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the smart price-locked transaction method according to any one of claims 1 to 6.
CN202110434245.5A 2021-04-21 2021-04-21 Trading method and device for intelligently locking price Pending CN113159847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110434245.5A CN113159847A (en) 2021-04-21 2021-04-21 Trading method and device for intelligently locking price

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110434245.5A CN113159847A (en) 2021-04-21 2021-04-21 Trading method and device for intelligently locking price

Publications (1)

Publication Number Publication Date
CN113159847A true CN113159847A (en) 2021-07-23

Family

ID=76869245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110434245.5A Pending CN113159847A (en) 2021-04-21 2021-04-21 Trading method and device for intelligently locking price

Country Status (1)

Country Link
CN (1) CN113159847A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1985271A (en) * 2004-07-09 2007-06-20 须田将启 Buyer terminal, buying representative method, consignment buying system and consignment buying method
CN101506834A (en) * 2006-03-03 2009-08-12 穆凯什·查特 Method, system and apparatus for automatic real-time iterative commercial transactions over the internet
US20140244413A1 (en) * 2000-03-15 2014-08-28 Rodney Senior Electronic quantity purchasing system
CN106570740A (en) * 2016-10-20 2017-04-19 北京小米移动软件有限公司 Commodity order placing and purchasing method, device and server
CN107679963A (en) * 2017-10-17 2018-02-09 北京迅邦润泽物流有限公司 A kind of presell method based on B2B
CN108027927A (en) * 2015-05-19 2018-05-11 市场信息公司 For using real-time sale amount come the method, equipment and computer-readable medium that are purchased by group
CN109829755A (en) * 2019-01-15 2019-05-31 珠海天燕科技有限公司 A kind of processing method of information, device
CN112036984A (en) * 2020-09-04 2020-12-04 烟台冰兔网络科技有限公司 E-commerce operation big data management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140244413A1 (en) * 2000-03-15 2014-08-28 Rodney Senior Electronic quantity purchasing system
CN1985271A (en) * 2004-07-09 2007-06-20 须田将启 Buyer terminal, buying representative method, consignment buying system and consignment buying method
CN101506834A (en) * 2006-03-03 2009-08-12 穆凯什·查特 Method, system and apparatus for automatic real-time iterative commercial transactions over the internet
CN108027927A (en) * 2015-05-19 2018-05-11 市场信息公司 For using real-time sale amount come the method, equipment and computer-readable medium that are purchased by group
CN106570740A (en) * 2016-10-20 2017-04-19 北京小米移动软件有限公司 Commodity order placing and purchasing method, device and server
CN107679963A (en) * 2017-10-17 2018-02-09 北京迅邦润泽物流有限公司 A kind of presell method based on B2B
CN109829755A (en) * 2019-01-15 2019-05-31 珠海天燕科技有限公司 A kind of processing method of information, device
CN112036984A (en) * 2020-09-04 2020-12-04 烟台冰兔网络科技有限公司 E-commerce operation big data management system

Similar Documents

Publication Publication Date Title
JP2783971B2 (en) How to issue a credit card
US7937312B1 (en) Facilitating electronic commerce transactions through binding offers
JP3367675B2 (en) Open network sales system and method for real-time approval of transaction transactions
CN109034795B (en) Credit barter platform based on block chain
BRPI0609996A2 (en) ecommerce system, computer program product, and remote merchant transaction brokerage method
US20210158339A1 (en) A method of facilitating transactions between users
US20050080638A1 (en) Product marketing system and method
JP2002269425A (en) Electronic coupon method, electronic coupon system, sales server, orderer terminal, order receiver terminal and program
KR20220008598A (en) Method of dealing used goods therefor
JP3137052B2 (en) Internet payment method
US20120078757A1 (en) Portable Computing Device for Posting Goods to an Electronic Marketplace
JP2002342688A (en) Method for electric commerce, settlement proxy method, information issuing method of disposable and post-paying system and settlement requesting method
US20070094097A1 (en) System and method for secured authorized user-initiated transactions
JP6486527B1 (en) Determination apparatus, determination method, and program
CN113159847A (en) Trading method and device for intelligently locking price
CN115082050A (en) Transaction method, system, device, equipment and medium for third party payment
CA2995899C (en) Merchandise order generation method, device, and system
JP2002140590A (en) Electronic commerce system
KR20010085205A (en) System for managing electronic receipt according to electronic commerce and method for managing thereof
TW202025067A (en) Order checkout device, recording medium and order checkout method capable of simplifying order checkout and improving user convenience
US20190258827A1 (en) Authentication servers that authenticate items provided by source computer servers
TW201513008A (en) Method for protecting network transaction security for both seller and buyer
US11790338B2 (en) Transaction system and method
CN116091049B (en) Payment method and device based on big data and blockchain and cloud platform
CN109191094A (en) A kind of payment system based on block chain

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