Disclosure of Invention
The invention mainly aims to provide a tracing and controlling system and a tracing and controlling method for bulk commodities, and aims to solve the technical problems that in the prior art, the transaction risk of bulk commodities is high, the tracing information of the bulk commodities is high, and the control is difficult.
In order to achieve the above object, the present invention provides a tracing control system for bulk commodities, which comprises: a user terminal and a background server;
the user terminal is used for receiving a source tracing access request input by a user and sending the source tracing access request to the background server;
the background server is used for verifying the traceability access request in a digital signature mode, and if the traceability access request passes the verification, acquiring the corresponding planting area of the bulk commodity product and the bulk commodity distribution information according to the traceability access request;
the user terminal is further used for displaying the bulk commodity product planting areas and the bulk commodity distribution information fed back by the background server.
Preferably, the user terminal is further configured to receive a tracing access request input by a user, generate a first message digest from the tracing access request according to a hash function, encrypt the first message digest by using a user private key, and send the encrypted digest to the backend server as a digital signature and the tracing access request;
the background server is further configured to calculate a second message digest from the received traceability access request according to the hash function, decrypt the digital signature according to a public key to obtain a first message digest, and obtain corresponding bulk commodity product planting places and bulk commodity distribution information according to the traceability access request if the first message digest is identical to the second message digest and the verification is passed.
Preferably, the user terminal is further configured to receive identity authentication information input by a user, and send the identity authentication information to the background server;
the background server is also used for verifying the identity of the user according to the identity authentication information, and when the identity authentication information passes the verification, the identity authentication passing information is fed back to the user terminal;
the user terminal is further configured to display a traceability access request list when the identity authentication passing information is received, so that a user inputs the traceability access request based on the traceability access request list.
Preferably, the user terminal is further configured to receive bulk commodity trading information input by a user, and send the bulk commodity trading information to the background server;
the background server is further used for acquiring corresponding stock information of the bulk commodities according to the purchase and sale information of the bulk commodities, and judging whether to carry out bulk commodity transaction according to the stock information of the bulk commodities and the purchase and sale information of the bulk commodities;
the background server is also used for carrying out bulk commodity transaction and updating the bulk commodity distribution information when the bulk commodity inventory information and the bulk commodity purchase and sale information meet transaction conditions.
Preferably, the user terminal is further configured to receive a bulk commodity manifest application input by a shipper, extract a bulk commodity asset number from the bulk commodity manifest application, audit the bulk commodity asset number to obtain an audit result, and send the bulk commodity manifest application, the bulk commodity asset number, and the audit result to the background server;
the background server is also used for carrying out quality inspection on the stock of the bulk commodity to obtain a quality inspection result, and carrying out audit confirmation on the quantity of the assets of the bulk commodity to obtain an audit opinion;
the background server is also used for storing the bulk commodity warehouse receipt application and judging whether the warehouse receipt application is passed according to the audit result and the audit opinion;
the background server is also used for generating warehouse receipt information when the warehouse receipt application is approved, and generating bulk commodity distribution information according to the warehouse receipt information.
In addition, in order to achieve the above object, the present invention further provides a bulk commodity traceability management and control method, which is based on the bulk commodity traceability management and control system, wherein the system comprises a user terminal and a background server;
the tracing control method for the bulk commodities comprises the following steps:
the user terminal receives a source tracing access request input by a user and sends the source tracing access request to the background server;
the background server verifies the traceability access request in a digital signature mode, and if the traceability access request passes the verification, corresponding bulk product planting areas and bulk product distribution information are obtained according to the traceability access request;
and the user terminal displays the planting places of the bulk commodity products and the distribution information of the bulk commodity fed back by the background server.
Preferably, the receiving, by the user terminal, a source tracing access request input by a user, and sending the source tracing access request to the background server specifically includes:
the user terminal receives a tracing access request input by a user, generates a first message abstract from the tracing access request according to a hash function, encrypts the first message abstract through a user private key, and sends the encrypted abstract to the background server as a digital signature and the tracing access request;
correspondingly, the background server verifies the traceability access request in a digital signature mode, and if the traceability access request passes the verification, acquires the corresponding planting area of the bulk commodity product and the corresponding distribution information of the bulk commodity according to the traceability access request, and specifically comprises the following steps:
and the background server calculates a second message abstract from the received traceability access request according to the hash function, decrypts the digital signature according to a public key to obtain a first message abstract, and if the first message abstract is consistent with the second message abstract, if the verification is passed, acquires the corresponding bulk commodity product planting area and bulk commodity distribution information according to the traceability access request.
Preferably, before the step of the user terminal receiving a source-tracing access request input by a user and sending the source-tracing access request to the background server, the method further includes:
the user terminal receives identity authentication information input by a user and sends the identity authentication information to the background server;
the background server verifies the identity of the user according to the identity authentication information, and feeds back identity verification passing information to the user terminal when the verification passes;
and when the user terminal receives the identity authentication passing information, displaying a traceability access request list so that a user inputs the traceability access request based on the traceability access request list.
Preferably, after the step of displaying the bulk commodity product planting area and the bulk commodity distribution information fed back by the background server by the user terminal, the method further comprises:
the user terminal receives bulk commodity buying and selling information input by a user and sends the bulk commodity buying and selling information to the background server;
the background server acquires corresponding stock information of the bulk commodity according to the purchase and sale information of the bulk commodity, and judges whether to carry out bulk commodity transaction according to the stock information of the bulk commodity and the purchase and sale information of the bulk commodity;
and the background server carries out bulk commodity transaction and updates the bulk commodity distribution information when the bulk commodity inventory information and the bulk commodity purchase and sale information meet transaction conditions.
Preferably, before the step of verifying the traceability access request by the backend server in a digital signature manner, and if the traceability access request passes the verification, acquiring the corresponding planting area of the bulk commodity product and the corresponding distribution information of the bulk commodity according to the traceability access request, the method further includes:
the user terminal receives a bulk commodity warehouse receipt application input by a shipper, extracts the quantity of bulk commodity assets from the bulk commodity warehouse receipt application, audits the quantity of bulk commodity assets to obtain an audit result, and sends the bulk commodity warehouse receipt application, the quantity of bulk commodity assets and the audit result to the background server;
the background server performs quality inspection on the stock of the bulk commodity to obtain a quality inspection result, and performs audit confirmation on the quantity of the bulk commodity assets to obtain an audit opinion;
the background server stores the bulk commodity warehouse receipt application and judges whether the warehouse receipt application is passed according to the audit result and the audit opinion;
and the background server generates warehouse receipt information when the warehouse receipt application is approved, and generates bulk commodity distribution information according to the warehouse receipt information.
In the invention, the tracing management and control system for bulk commodities comprises: the system comprises a user terminal and a background server, wherein the user terminal is used for receiving a traceability access request input by a user and sending the traceability access request to the background server, the background server is used for verifying the traceability access request in a digital signature mode, if the traceability access request passes the verification, corresponding bulk commodity product planting places and bulk commodity distribution information are obtained according to the traceability access request, and the verification is carried out based on the digital signature mode, so that the reliability and convenience of data interaction are improved, and the transaction risk of bulk commodities is reduced; the user terminal is further used for displaying the bulk commodity product planting places and the bulk commodity distribution information fed back by the background server, the traceability information of various bulk commodities can be conveniently and accurately searched through the bulk commodity traceability management and control system, a user can conveniently master the traceability of the bulk commodities in time, and convenience is brought to transaction.
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, a tracing management and control system for bulk commodities according to a first embodiment of the present invention is provided.
In a first embodiment, the traceability management system for a large volume of commodities includes: a user terminal 10 and a background server 20;
the user terminal 10 is configured to receive a source tracing access request input by a user, and send the source tracing access request to the background server 20.
It should be understood that the user may be the owner of the bulk good or the buyer of the transaction. The user inputs the tracing access request through the display interface of the user terminal, and in order to ensure the security of data interaction, the sent tracing access request can be encrypted, and the tracing access request can be encrypted in a digital signature manner and then sent to the background server 20.
Further, in this embodiment, the user terminal 10 is further configured to receive a tracing access request input by a user, generate a first message digest from the tracing access request according to a hash function, encrypt the first message digest by using a user private key, and send the encrypted digest to the background server as a digital signature and the tracing access request.
Understandably, the digital signature is encrypted and is not easy to be tampered. Keywords can be extracted from the traceable access request according to the hash function, and a first message abstract is generated according to the keywords. Performing word segmentation processing on the traceability access request to obtain all corresponding words, calculating a keyword index, keyword relevance, keyword search volume and keyword commercial value of each word, distributing different weights to the keyword index, the keyword relevance, the keyword search volume and the keyword commercial value, sequencing each word based on the keyword index, the keyword relevance, the keyword search volume, the keyword commercial value and the weights of each word, and taking the words arranged in the front in a preset number as the keywords. The preset number is set according to an empirical value, such as 3.
The background server 20 is configured to verify the traceability access request in a digital signature manner, and if the traceability access request passes the verification, obtain a corresponding planting place of the bulk commodity product and the bulk commodity distribution information according to the traceability access request.
It should be noted that, in order to improve the security of data interaction, the backend server verifies the traceability access request in a digital signature manner, and if the verification fails, the planting area of the bulk commodity product and the distribution information of the bulk commodity are not acquired.
Correspondingly, the background server 20 is further configured to calculate a second message digest from the received traceability access request according to the hash function, decrypt the digital signature according to a public key to obtain a first message digest, and obtain corresponding bulk commodity product planting areas and bulk commodity distribution information according to the traceability access request if the first message digest is identical to the second message digest and the verification is passed.
It should be noted that, according to the hash function, keywords are extracted from the tracing access request, and a second message digest is generated according to the keywords. The keyword extraction method is the same as that of the user terminal, and is not described herein again. And when the first message abstract is consistent with the second message abstract, the tracing access request is not forged or tampered, and is data sent by the user, and the verification is passed. And when the first message abstract is inconsistent with the second message abstract, if the verification fails, the acquisition of the planting area of the bulk commodity product and the distribution information of the bulk commodity is not carried out.
In a specific implementation, in order to improve the security of the user logging in the system, the identity of the user may be controlled, the user logging in the system each time may be tracked, the user may be scored, and the user with the score exceeding a preset value may be regarded as a safe user, and may perform data interaction with the background server 20 through the user terminal 10.
Further, in this embodiment, the user terminal 10 is further configured to receive identity authentication information input by a user, and send the identity authentication information to the background server 20;
the background server 20 is further configured to verify the identity of the user according to the identity authentication information, and when the identity authentication passes, feed back identity authentication passing information to the user terminal 10;
the user terminal 10 is further configured to display a traceability access request list when receiving the authentication pass information, so that the user inputs the traceability access request based on the traceability access request list.
It can be understood that the identity authentication information may be a user name and a password of the user, a score and a password corresponding to the user are searched according to the user name, and the user with the correct password and the score exceeding a preset value is identified as a safe user and passes the verification.
The user terminal 10 is further configured to display the planting area of the bulk commodity product and the bulk commodity distribution information fed back by the backend server 20.
It should be understood that the bulk goods distribution information includes: at least one of time of each transaction, transaction mode, basic information of both transaction parties, transaction price and commodity quantity of the bulk commodity. The user terminal 10 displays the planting area of the bulk commodity product and the distribution information of the bulk commodity for the user to view.
In this embodiment, the traceability management and control system for bulk commodities includes: the system comprises a user terminal and a background server, wherein the user terminal is used for receiving a traceability access request input by a user and sending the traceability access request to the background server, the background server is used for verifying the traceability access request in a digital signature mode, if the traceability access request passes the verification, corresponding bulk commodity product planting places and bulk commodity distribution information are obtained according to the traceability access request, and the verification is carried out based on the digital signature mode, so that the reliability and convenience of data interaction are improved, and the transaction risk of bulk commodities is reduced; the user terminal is further used for displaying the bulk commodity product planting places and the bulk commodity distribution information fed back by the background server, the traceability information of various bulk commodities can be conveniently and accurately searched through the bulk commodity traceability management and control system, a user can conveniently master the traceability of the bulk commodities in time, and convenience is brought to transaction.
With reference to fig. 1, a tracing management and control system for bulk commodities according to a second embodiment of the present invention is provided.
In this embodiment, the user terminal 10 is further configured to receive bulk commodity buying and selling information input by a user, and send the bulk commodity buying and selling information to the backend server 20;
the background server 20 is further configured to obtain inventory information of the corresponding bulk goods according to the purchase and sale information of the bulk goods, and determine whether to perform a transaction of the bulk goods according to the inventory information of the bulk goods and the purchase and sale information of the bulk goods;
the background server 20 is further configured to perform a bulk commodity transaction and update the bulk commodity distribution information when the bulk commodity inventory information and the bulk commodity purchase and sale information satisfy transaction conditions.
It should be understood that the bulk commodity sales information includes buyer basic information, the type and quantity of bulk commodity to be purchased, the purchase unit price, the quality requirement for the commodity, and the like. Matching the stock information of the bulk commodity with the purchase and sale information of the bulk commodity, if the stock information of the bulk commodity can be matched with the stock information of the bulk commodity, performing bulk commodity transaction, sending the purchase and sale information of the bulk commodity to a user terminal of a buyer corresponding to the stock information of the bulk commodity, performing online communication between the buyer and the buyer, and if the transaction condition is met, achieving bulk commodity transaction, updating the distribution information of the bulk commodity according to the transaction information.
Further, the user terminal 10 is further configured to receive a bulk commodity warehouse receipt application input by a shipper, extract a bulk commodity asset number from the bulk commodity warehouse receipt application, audit the bulk commodity asset number to obtain an audit result, and send the bulk commodity warehouse receipt application, the bulk commodity asset number, and the audit result to the background server 20;
the background server 20 is further configured to perform quality inspection on the inventory of the bulk commodity to obtain a quality inspection result, and perform audit confirmation on the quantity of the assets of the bulk commodity to obtain an audit opinion;
the background server 20 is further configured to store the bulk commodity warehouse receipt application, and determine whether the warehouse receipt application is passed according to the audit result and the audit opinion;
the background server 20 is further configured to generate warehouse receipt information when the warehouse receipt application is approved, and generate bulk commodity distribution information according to the warehouse receipt information.
Understandably, the manifest application includes information on the type of the bulk commodity, the quantity of assets, the quality of the commodity, the planting place of the bulk commodity product, and the like. In order to ensure the success rate of the trading, data analysis can be carried out on a large commodity order which is successfully traded in advance to obtain the minimum commodity trading quantity, and the minimum trading quantity is set to be the minimum asset quantity applied by a large commodity warehouse bill in the system. And auditing the quantity of the assets of the bulk commodity to obtain an auditing result, wherein the auditing result comprises the requirement of meeting the quantity of the assets and the requirement of not meeting the quantity of the warehouse bill assets. And when the quantity of the assets of the bulk commodity is more than or equal to the minimum quantity of the assets, the auditing result is that the quantity of the assets is met.
It should be noted that, the quality inspection of the inventory of the bulk goods can be performed by analyzing various product parameters of the bulk goods to obtain a quality inspection result. The stock of the bulk goods can be further shot in real time, and the appearance quality inspection of the color, the size and the like of the stock of the bulk goods is carried out according to the shot picture, so that the obtained appearance quality inspection result is used as one content of the quality inspection result.
In specific implementation, when the quality inspection result does not meet the product quality requirement, the warehouse receipt application is refused, and when the audit opinion of the quantity of the large commodity assets does not meet the warehouse receipt asset quantity requirement, the warehouse receipt application is refused. And when the quality inspection result meets the product quality requirement and the auditing opinion of the large commodity asset quantity meets the requirement of the quantity of the warehouse bill assets, approving the warehouse bill application. And generating warehouse receipt information, and generating bulk commodity distribution information according to the warehouse receipt information.
In this embodiment, the user terminal receives bulk commodity purchase and sale information input by a user, and sends the bulk commodity purchase and sale information to the background server, the background server obtains corresponding bulk commodity inventory information according to the bulk commodity purchase and sale information, and judges whether bulk commodity transaction is performed according to the bulk commodity inventory information and the bulk commodity purchase and sale information, and when the bulk commodity inventory information and the bulk commodity purchase and sale information satisfy transaction conditions, the background server performs bulk commodity transaction, updates the bulk commodity sales information, tracks each transaction of bulk commodities, updates the bulk commodity sales information in time, realizes whole traceability management and control of bulk commodities, and improves data timeliness and accuracy of traceability management and control of bulk commodities.
Referring to fig. 2, a tracing management and control method for a bulk commodity according to a first embodiment of the present invention is provided.
In this embodiment, based on the tracing and controlling system for bulk commodities, the tracing and controlling system for bulk commodities includes: a user terminal and a background server; the tracing control method for the bulk commodities comprises the following steps:
step S10: and the user terminal receives a source tracing access request input by a user and sends the source tracing access request to the background server.
It should be understood that the user may be the owner of the bulk good or the buyer of the transaction. The user inputs the source tracing access request through a display interface of the user terminal, and in order to ensure the security of data interaction, the sent source tracing access request can be encrypted, and the source tracing access request can be encrypted in a digital signature mode and then sent to the background server.
Further, in this embodiment, the step S10 specifically includes: the user terminal receives a source tracing access request input by a user, generates a first message abstract from the source tracing access request according to a hash function, encrypts the first message abstract through a user private key, and sends the encrypted abstract serving as a digital signature and the source tracing access request to the background server.
Understandably, the digital signature is encrypted and is not easy to be tampered. Keywords can be extracted from the traceable access request according to the hash function, and a first message abstract is generated according to the keywords. Performing word segmentation processing on the traceability access request to obtain all corresponding words, calculating a keyword index, keyword relevance, keyword search volume and keyword commercial value of each word, distributing different weights to the keyword index, the keyword relevance, the keyword search volume and the keyword commercial value, sequencing each word based on the keyword index, the keyword relevance, the keyword search volume, the keyword commercial value and the weights of each word, and taking the words arranged in the front in a preset number as the keywords. The preset number is set according to an empirical value, such as 3.
Step S20: and the background server verifies the traceability access request in a digital signature mode, and if the traceability access request passes the verification, the corresponding bulk product planting area and bulk product distribution information are obtained according to the traceability access request.
It should be noted that, in order to improve the security of data interaction, the backend server verifies the traceability access request in a digital signature manner, and if the verification fails, the planting area of the bulk commodity product and the distribution information of the bulk commodity are not acquired.
Correspondingly, the step S20 specifically includes: and the background server calculates a second message abstract from the received traceability access request according to the hash function, decrypts the digital signature according to a public key to obtain a first message abstract, and if the first message abstract is consistent with the second message abstract, if the verification is passed, acquires the corresponding bulk commodity product planting area and bulk commodity distribution information according to the traceability access request.
It should be noted that, according to the hash function, keywords are extracted from the tracing access request, and a second message digest is generated according to the keywords. The keyword extraction method is the same as that of the user terminal, and is not described herein again. And when the first message abstract is consistent with the second message abstract, the tracing access request is not forged or tampered, and is data sent by the user, and the verification is passed. And when the first message abstract is inconsistent with the second message abstract, if the verification fails, the acquisition of the planting area of the bulk commodity product and the distribution information of the bulk commodity is not carried out.
In a specific implementation, in order to improve the security of a user logging in the system, the identity of the user can be controlled, the user logging in the system at each time can be tracked, the user can be scored, the user with the score exceeding a preset value is identified as a safe user, and data interaction can be performed with the background server through the user terminal.
Further, in this embodiment, before the step S10, the method further includes:
the user terminal receives identity authentication information input by a user and sends the identity authentication information to the background server;
the background server verifies the identity of the user according to the identity authentication information, and feeds back identity verification passing information to the user terminal when the verification passes;
and when the user terminal receives the identity authentication passing information, displaying a traceability access request list so that a user inputs the traceability access request based on the traceability access request list.
It can be understood that the identity authentication information may be a user name and a password of the user, a score and a password corresponding to the user are searched according to the user name, and the user with the correct password and the score exceeding a preset value is identified as a safe user and passes the verification.
Step S30: and the user terminal displays the planting places of the bulk commodity products and the distribution information of the bulk commodity fed back by the background server.
It should be understood that the bulk goods distribution information includes: at least one of time of each transaction, transaction mode, basic information of both transaction parties, transaction price and commodity quantity of the bulk commodity. And the user terminal displays the planting places of the bulk commodity products and the bulk commodity distribution information for the user to view.
In this embodiment, the method is based on the traceability management and control system for a large commodity, and the system includes: the system comprises a user terminal and a background server, wherein the user terminal receives a traceability access request input by a user and sends the traceability access request to the background server, the background server verifies the traceability access request in a digital signature mode, if the traceability access request passes the verification, corresponding bulk commodity product planting places and bulk commodity distribution information are obtained according to the traceability access request, and the verification is carried out based on the digital signature mode, so that the reliability and convenience of data interaction are improved, and the transaction risk of bulk commodities is reduced; the user terminal displays the planting places of the bulk commodity products and the distribution information of the bulk commodity, which are fed back by the background server, and the traceability information of various bulk commodities can be conveniently and accurately searched through the traceability management and control system of the bulk commodity, so that a user can conveniently master the traceability of the bulk commodity in time, and convenience is provided for transaction.
Further, referring to fig. 3, a second embodiment of the tracing management and control method for bulk commodities is provided.
In this embodiment, after step S30, the method further includes:
step S40: the user terminal receives bulk commodity buying and selling information input by a user and sends the bulk commodity buying and selling information to the background server;
step S50: the background server acquires corresponding stock information of the bulk commodity according to the purchase and sale information of the bulk commodity, and judges whether to carry out bulk commodity transaction according to the stock information of the bulk commodity and the purchase and sale information of the bulk commodity;
step S60: and the background server carries out bulk commodity transaction and updates the bulk commodity distribution information when the bulk commodity inventory information and the bulk commodity purchase and sale information meet transaction conditions.
It should be understood that the bulk commodity sales information includes buyer basic information, the type and quantity of bulk commodity to be purchased, the purchase unit price, the quality requirement for the commodity, and the like. Matching the stock information of the bulk commodity with the purchase and sale information of the bulk commodity, if the stock information of the bulk commodity can be matched with the stock information of the bulk commodity, performing bulk commodity transaction, sending the purchase and sale information of the bulk commodity to a user terminal of a buyer corresponding to the stock information of the bulk commodity, performing online communication between the buyer and the buyer, and if the transaction condition is met, achieving bulk commodity transaction, updating the distribution information of the bulk commodity according to the transaction information.
Further, before the step S20, the method further includes:
the user terminal receives a bulk commodity warehouse receipt application input by a shipper, extracts the quantity of bulk commodity assets from the bulk commodity warehouse receipt application, audits the quantity of bulk commodity assets to obtain an audit result, and sends the bulk commodity warehouse receipt application, the quantity of bulk commodity assets and the audit result to the background server;
the background server performs quality inspection on the stock of the bulk commodity to obtain a quality inspection result, and performs audit confirmation on the quantity of the bulk commodity assets to obtain an audit opinion;
the background server stores the bulk commodity warehouse receipt application and judges whether the warehouse receipt application is passed according to the audit result and the audit opinion;
and the background server generates warehouse receipt information when the warehouse receipt application is approved, and generates bulk commodity distribution information according to the warehouse receipt information.
Understandably, the manifest application includes information on the type of the bulk commodity, the quantity of assets, the quality of the commodity, the planting place of the bulk commodity product, and the like. In order to ensure the success rate of the trading, data analysis can be carried out on a large commodity order which is successfully traded in advance to obtain the minimum commodity trading quantity, and the minimum trading quantity is set to be the minimum asset quantity applied by a large commodity warehouse bill in the system. And auditing the quantity of the assets of the bulk commodity to obtain an auditing result, wherein the auditing result comprises the requirement of meeting the quantity of the assets and the requirement of not meeting the quantity of the warehouse bill assets. And when the quantity of the assets of the bulk commodity is more than or equal to the minimum quantity of the assets, the auditing result is that the quantity of the assets is met.
It should be noted that, the quality inspection of the inventory of the bulk goods can be performed by analyzing various product parameters of the bulk goods to obtain a quality inspection result. The stock of the bulk goods can be further shot in real time, and the appearance quality inspection of the color, the size and the like of the stock of the bulk goods is carried out according to the shot picture, so that the obtained appearance quality inspection result is used as one content of the quality inspection result.
In specific implementation, when the quality inspection result does not meet the product quality requirement, the warehouse receipt application is refused, and when the audit opinion of the quantity of the large commodity assets does not meet the warehouse receipt asset quantity requirement, the warehouse receipt application is refused. And when the quality inspection result meets the product quality requirement and the auditing opinion of the large commodity asset quantity meets the requirement of the quantity of the warehouse bill assets, approving the warehouse bill application. And generating warehouse receipt information, and generating bulk commodity distribution information according to the warehouse receipt information.
In this embodiment, the user terminal receives bulk commodity purchase and sale information input by a user, and sends the bulk commodity purchase and sale information to the background server, the background server obtains corresponding bulk commodity inventory information according to the bulk commodity purchase and sale information, and judges whether bulk commodity transaction is performed according to the bulk commodity inventory information and the bulk commodity purchase and sale information, and when the bulk commodity inventory information and the bulk commodity purchase and sale information satisfy transaction conditions, the background server performs bulk commodity transaction, updates the bulk commodity sales information, tracks each transaction of bulk commodities, updates the bulk commodity sales information in time, realizes whole traceability management and control of bulk commodities, and improves data timeliness and accuracy of traceability management and control of bulk commodities.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third and the like do not denote any order, but rather the words first, second and the like may be interpreted as indicating any order.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.