WO2024087597A1 - 目标对象交易凭证的管理方法、电子设备及存储介质 - Google Patents

目标对象交易凭证的管理方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2024087597A1
WO2024087597A1 PCT/CN2023/095528 CN2023095528W WO2024087597A1 WO 2024087597 A1 WO2024087597 A1 WO 2024087597A1 CN 2023095528 W CN2023095528 W CN 2023095528W WO 2024087597 A1 WO2024087597 A1 WO 2024087597A1
Authority
WO
WIPO (PCT)
Prior art keywords
target object
institution
information
electronic certificate
transaction
Prior art date
Application number
PCT/CN2023/095528
Other languages
English (en)
French (fr)
Inventor
林文都
胡晶莹
范立
焦站静
王美蓉
葛元丽
Original Assignee
浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) filed Critical 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心)
Publication of WO2024087597A1 publication Critical patent/WO2024087597A1/zh

Links

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/018Certifying business or products
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • the present application relates to the field of digital information processing technology, and in particular to a management method and device for target object transaction vouchers, an electronic device and a storage medium.
  • the production enterprises Before commodities, especially agricultural and sideline products, enter the circulation link, the production enterprises will fill in the corresponding contents of the commodities in the issuing institution according to the relevant rules and obtain the paper certificate issued by the issuing institution. The paper certificate will enter the subsequent circulation link with the commodities.
  • the embodiments of the present application provide a method and device for managing transaction vouchers of a target object, an electronic device and a storage medium, so as to realize that a transaction voucher of a target object can be generated based on a certificate of conformity, so that whether the target object is qualified can be represented based on the transaction voucher, thereby overcoming the disadvantages of paper certificates of conformity.
  • an embodiment of the present application provides a method for managing transaction vouchers of a target object, which is applied to a distributed server and may include the following steps: performing structured content recognition on the received filing information to determine the processing type of the target object processed by the first institution and the electronic certificate of the target object; the filing information is information generated by the first institution in response to the filing invitation information, and the filing invitation information is generated based on designated trigger information, and the designated trigger information is determined according to the login status of the first institution or the issuance process of the electronic certificate generation end; using the processing type and the electronic certificate, a transaction voucher of the target object is generated.
  • an embodiment of the present application provides a method for managing transaction vouchers of a target object, which may include the following steps: generating an electronic certificate in response to a request from a source organization to generate an electronic certificate for a target object; and storing the source organization, the target object, and the electronic certificate in association with each other.
  • an embodiment of the present application provides a management device for target object transaction vouchers, which may include: an information determination module, which uses the received registration information to determine the processing type of the target object processed by the first institution and the electronic certificate of the target object; a transaction voucher generation module, which is used to perform structured content recognition on the received registration information to determine the processing type of the target object processed by the first institution and the electronic certificate of the target object; the registration information is information generated by the first institution in response to the registration invitation information, and the registration invitation information is generated based on the specified trigger information, and the specified trigger information is determined according to the login status of the first institution or the certificate issuance process of the electronic certificate generation end.
  • an embodiment of the present application provides a management device for target object transaction vouchers, which may include: an information recording module for generating an electronic certificate in response to a request from a source organization to generate an electronic certificate for a target object; and a storage module for storing the source organization, the target object, and the electronic certificate in association with each other.
  • an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor implements any of the methods described above when executing the computer program.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the methods described above is implemented.
  • the target object can be used as the basis to record the circulation process of the target object, so that the traceability chain of the target object can be obtained.
  • Each mechanism on the traceability chain that processes the target object can be used as a node on the traceability chain.
  • the target object has quality problems or safety problems, etc., it can be traced using transaction vouchers. Therefore, the use of transaction vouchers can overcome the defects of paper certificates that are easy to forge and lose, and eliminate safety hazards.
  • transaction vouchers can realize the transparency of the circulation process of the target object, so that the source and destination of the target object can be verified, and finally a traceability chain traceability system is formed.
  • FIG1 is a schematic diagram of a scenario of a method for managing target object transaction vouchers provided by the present application
  • Figure 2 is one of the flow charts of a method for managing target object transaction vouchers according to an embodiment of the present application
  • Figure 3 is a schematic diagram of filing information of an embodiment of the present application.
  • Figure 4 is a second flowchart of a method for managing target object transaction vouchers according to an embodiment of the present application
  • Figure 5 is one of the structural block diagrams of a device for managing target object transaction vouchers according to an embodiment of the present application
  • Figure 6 is a second structural block diagram of a target object transaction voucher management device according to an embodiment of the present application.
  • Figure 7 is a block diagram of an electronic device used to implement an embodiment of the present application.
  • FIG1 is a schematic diagram of an exemplary application scenario for implementing the method of an embodiment of the present application.
  • the execution entity of the management method of the target object transaction voucher may include an issuance system and a traceability system.
  • the issuance system is responsible for issuing the electronic certificate.
  • the traceability system is responsible for recording the circulation of the target object based on the electronic certificate in the circulation link of the target object.
  • the target object can be agricultural and sideline products such as vegetables, dairy products, meat products, or other products such as clothing and electrical appliances.
  • the working principle of the certificate issuance system is briefly described as follows: in response to the electronic certificate generation request from the source institution, the corresponding electronic certificate is generated.
  • the source institution can be a manufacturer or a first-level distributor, etc.
  • the source institution produces a batch of target objects, and can issue a request to generate an electronic certificate for the current batch of target objects.
  • the certificate issuance system can generate an electronic certificate.
  • the electronic certificate can be sent to the source institution, thereby realizing the transmission of the electronic certificate.
  • a designated query interface can be opened for query by various institutions.
  • the electronic certificate is forwarded through the traceability system and finally sent to the source institution.
  • the source institution can file it in the traceability system.
  • the transaction voucher of the target object is generated.
  • the association between the processing agency and the electronic certificate can be recorded, thereby indicating that the target object processed by the processing agency is a target object with an electronic certificate.
  • the processing agency can be merchant A and merchant B shown in Figure 1.
  • Merchant A and merchant B can correspond to transportation agencies or retailers, etc.
  • the traceability system can receive the filing information of the processing agency of the corresponding link.
  • the processing agency is the agency that processes the target object for which the electronic certificate has been issued.
  • the processing may include sales, purchase, transportation, etc.
  • the traceability system uses the filing information to inspect and circulate the electronic certificate, thereby realizing the recording of the circulation of the target object based on the electronic certificate.
  • the embodiment of the present application provides a method for managing target object transaction vouchers, and the execution subject of the method can be a traceability system, which can be specifically applied to a distributed server.
  • Step S201 Perform structured content recognition on the received filing information to determine the processing type of the target object processed by the first institution and the electronic certificate of the target object; the filing information is information generated by the first institution in response to the filing invitation information, and the filing invitation information is generated based on the specified trigger information, and the specified trigger information is determined according to the login status of the first institution or the issuance process of the electronic certificate generation end.
  • the filing information may be information sent by the first organization and received through a designated interface.
  • the filing information may include the type of processing performed by the first organization on the target object, relevant information of the first organization, and relevant information of the target object.
  • the first institution may be an institution that processes the target object.
  • the target object may be agricultural and sideline products such as vegetables, dairy products, and meat products, or other commodities or products such as clothing, electrical appliances, and accessories.
  • the first institution may be a manufacturer, a distributor, a transporter, etc.
  • the processing type of the target object processed by the first institution may be production, wholesale sales, retail, purchase, transportation, etc.
  • the relevant information of the first institution may include identification information of the first institution.
  • the identification information may be information such as the identification code, registration code, and qualification certificate of the first institution.
  • the relevant information of the first institution may also include communication interface information of the first institution, so that communication between the traceability system and the first institution can be realized.
  • the relevant information of the target object may include the name, place of origin, production date, weight, etc. of the target object.
  • the relevant information of the target object may also include an electronic certificate of the target object.
  • the traceability system When the traceability system receives the filing information, it can perform structured content recognition on the received filing information, thereby parsing the processing type of the target object processed by the first institution and the electronic certificate of the target object. Thus, the electronic certificate indicates that the target object processed by the first institution is qualified.
  • the first institution may send an electronic certificate generation request to the certificate issuance system.
  • the certificate issuance system may generate an electronic certificate for characterizing the qualified target object.
  • the electronic certificate may contain relevant information of the first institution and relevant information of the target object.
  • the electronic certificate may be sent to the traceability system through an application programming interface (API). Based on this, the receipt of the electronic certificate may be used as designated trigger information.
  • the electronic certificate may be transmitted in the form of signature verification.
  • the signature verification method may include a message digest algorithm (MD5). Transmission in the form of signature verification can prevent tampering and forgery of the transmitted data, thereby ensuring the authenticity and validity of the electronic certificate.
  • MD5 message digest algorithm
  • the traceability system can parse the electronic certificate to generate a filing invitation message.
  • the filing invitation message is used to inform the first institution that it can file the target object.
  • the first institution can learn that the target object has obtained the electronic certificate, and thus can file the record.
  • the filing information shown in Figure 3 can be generated based on the relevant information of the first institution, the relevant information of the target object, and the type of processing performed by the first institution on the target object, and the filing information can be uploaded to the traceability system.
  • the traceability system can receive the filing information of the first institution in response to the filing invitation message.
  • the first institution is a distributor
  • the target object purchased from the upper-level distributor is Hami melon.
  • Figure 3 shows the filing information based on Hami melon.
  • the filing information may also be generated by the first institution using other methods.
  • the user terminal corresponding to the first institution may log in to the traceability system.
  • the login status may be used as the designated trigger information, so that the filing invitation information may be displayed on the login interface.
  • the user terminal corresponding to the first institution may generate relevant information of the target object by scanning a code or entering a registration code.
  • the relevant information of the target object may be in the form of structured data.
  • the user terminal corresponding to the first institution may also generate relevant information of the target object by using short-range wireless communication technology, radio frequency identification technology, etc.
  • the first institution may generate filing information using its own relevant information, relevant information of the target object, and the type of processing of the target object.
  • the manufacturer of the target object may report to the management department corresponding to the target object to obtain the corresponding identification, which records the origin, weight, production date and other relevant information of the target object.
  • the identification may be a QR code, etc.
  • the origin, weight, production date and other relevant information of the target object may be obtained by scanning a code or using short-range wireless communication technology, radio frequency identification technology, etc.
  • Step S202 Generate a transaction voucher for the target object using the processing type and the electronic certificate.
  • the processing status of the target object by the first organization can be known. For example, in the case where the processing type is purchasing, it can be determined that the processing status includes the first organization as a purchaser, and the target object is obtained from the source organization or other organizations. For another example, in the case where the processing type is wholesale sales, it can be determined that the processing status includes the first organization as a manufacturer or distributor, and the target object is sold to other organizations. Since the electronic certificate of the target object can indicate whether the target object is qualified. Therefore, in the case where the target object is qualified, the processing type of the target object processed by the first organization can be used to generate a transaction voucher for the target object.
  • the transaction voucher can be a QR code or a code, etc., which is used to indicate whether the target object is qualified, and to indicate whether the first organization processes the target object.
  • the target object can be used as the basis to record the circulation process of the target object, so that the traceability chain of the target object can be obtained.
  • Each organization that processes the target object on the traceability chain can be used as a node on the traceability chain.
  • the transaction voucher can be used for traceability. Therefore, the use of transaction vouchers can overcome the defects of paper certificates that are easy to forge and lose, and eliminate safety hazards.
  • transaction vouchers can realize the transparency of the circulation process of the target object, so that the source and destination of the target object can be checked, and finally a traceability system is formed.
  • FIG1 is a schematic diagram of an exemplary application scenario for implementing the method of an embodiment of the present application.
  • the execution entity of the management method of the target object transaction voucher may include an issuance system and a traceability system.
  • the issuance system is responsible for issuing the electronic certificate.
  • the traceability system is responsible for recording the circulation of the target object based on the electronic certificate in the circulation link of the target object.
  • the target object can be agricultural and sideline products such as vegetables, dairy products, meat products, or other products such as clothing and electrical appliances.
  • the working principle of the certificate issuance system is briefly described as follows: in response to the electronic certificate generation request from the source institution, the corresponding electronic certificate is generated.
  • the source institution can be a manufacturer or a first-level distributor, etc.
  • the source institution produces a batch of target objects, and can issue a request to generate an electronic certificate for the current batch of target objects.
  • the certificate issuance system can generate an electronic certificate.
  • the electronic certificate can be sent to the source institution, thereby realizing the transmission of the electronic certificate.
  • a designated query interface can be opened for query by various institutions.
  • the electronic certificate is forwarded through the traceability system and finally sent to the source institution.
  • the source institution can file it in the traceability system.
  • the transaction voucher of the target object is generated.
  • the association between the processing agency and the electronic certificate can be recorded, thereby indicating that the target object processed by the processing agency is a target object with an electronic certificate.
  • the processing agency can be merchant A and merchant B shown in Figure 1.
  • Merchant A and merchant B can correspond to transportation agencies or retailers, etc.
  • the traceability system can receive the filing information of the processing agency of the corresponding link.
  • the processing agency is the agency that processes the target object for which the electronic certificate has been issued.
  • the processing may include sales, purchase, transportation, etc.
  • the traceability system uses the filing information to inspect and circulate the electronic certificate, thereby realizing the recording of the circulation of the target object based on the electronic certificate.
  • the embodiment of the present application provides a method for managing target object transaction vouchers, and the execution subject of the method can be a traceability system, which can be specifically applied to a distributed server.
  • Step S201 Perform structured content recognition on the received filing information to determine the processing type of the target object processed by the first institution and the electronic certificate of the target object; the filing information is information generated by the first institution in response to the filing invitation information, and the filing invitation information is generated based on the specified trigger information, and the specified trigger information is determined according to the login status of the first institution or the issuance process of the electronic certificate generation end.
  • the filing information may be information sent by the first organization and received through a designated interface.
  • the filing information may include the type of processing performed by the first organization on the target object, relevant information of the first organization, and relevant information of the target object.
  • the first institution may be an institution that processes the target object.
  • the target object may be agricultural and sideline products such as vegetables, dairy products, and meat products, or other commodities or products such as clothing, electrical appliances, and accessories.
  • the first institution may be a manufacturer, a distributor, a transporter, etc.
  • the processing type of the target object processed by the first institution may be production, wholesale sales, retail, purchase, transportation, etc.
  • the relevant information of the first institution may include identification information of the first institution.
  • the identification information may be information such as the identification code, registration code, and qualification certificate of the first institution.
  • the relevant information of the first institution may also include communication interface information of the first institution, so that communication between the traceability system and the first institution can be realized.
  • the relevant information of the target object may include the name, place of origin, production date, weight, etc. of the target object.
  • the relevant information of the target object may also include an electronic certificate of the target object.
  • the traceability system When the traceability system receives the filing information, it can perform structured content recognition on the received filing information, thereby parsing the processing type of the target object processed by the first institution and the electronic certificate of the target object. Thus, the electronic certificate indicates that the target object processed by the first institution is qualified.
  • the first institution may send an electronic certificate generation request to the certificate issuance system.
  • the certificate issuance system may generate an electronic certificate for characterizing the qualified target object.
  • the electronic certificate may contain relevant information of the first institution and relevant information of the target object.
  • the electronic certificate may be sent to the traceability system through an application programming interface (API). Based on this, the receipt of the electronic certificate may be used as designated trigger information.
  • the electronic certificate may be transmitted in the form of signature verification.
  • the signature verification method may include a message digest algorithm (MD5). Transmission in the form of signature verification can prevent tampering and forgery of the transmitted data, thereby ensuring the authenticity and validity of the electronic certificate.
  • MD5 message digest algorithm
  • the traceability system can parse the electronic certificate to generate a filing invitation message.
  • the filing invitation message is used to inform the first institution that it can file the target object.
  • the first institution can learn that the target object has obtained the electronic certificate, and thus can file the record.
  • the filing information shown in Figure 3 can be generated based on the relevant information of the first institution, the relevant information of the target object, and the type of processing performed by the first institution on the target object, and the filing information can be uploaded to the traceability system.
  • the traceability system can receive the filing information of the first institution in response to the filing invitation message.
  • the first institution is a distributor
  • the target object purchased from the upper-level distributor is Hami melon.
  • Figure 3 shows the filing information based on Hami melon.
  • the filing information may also be generated by the first institution using other methods.
  • the user terminal corresponding to the first institution may log in to the traceability system.
  • the login status may be used as the designated trigger information, so that the filing invitation information may be displayed on the login interface.
  • the user terminal corresponding to the first institution may generate relevant information of the target object by scanning a code or entering a registration code.
  • the relevant information of the target object may be in the form of structured data.
  • the user terminal corresponding to the first institution may also generate relevant information of the target object by using short-range wireless communication technology, radio frequency identification technology, etc.
  • the first institution may generate filing information using its own relevant information, relevant information of the target object, and the type of processing of the target object.
  • the manufacturer of the target object may report to the management department corresponding to the target object to obtain the corresponding identification, which records the origin, weight, production date and other relevant information of the target object.
  • the identification may be a QR code, etc.
  • the origin, weight, production date and other relevant information of the target object may be obtained by scanning a code or using short-range wireless communication technology, radio frequency identification technology, etc.
  • Step S202 Generate a transaction voucher for the target object using the processing type and the electronic certificate.
  • the processing status of the target object by the first organization can be known. For example, in the case where the processing type is purchasing, it can be determined that the processing status includes the first organization as a purchaser, and the target object is obtained from the source organization or other organizations. For another example, in the case where the processing type is wholesale sales, it can be determined that the processing status includes the first organization as a manufacturer or distributor, and the target object is sold to other organizations. Since the electronic certificate of the target object can indicate whether the target object is qualified. Therefore, in the case where the target object is qualified, the processing type of the target object processed by the first organization can be used to generate a transaction voucher for the target object.
  • the transaction voucher can be a QR code or a code, etc., which is used to indicate whether the target object is qualified, and to indicate whether the first organization processes the target object.
  • the target object can be used as the basis to record the circulation process of the target object, so that the traceability chain of the target object can be obtained.
  • Each organization that processes the target object on the traceability chain can be used as a node on the traceability chain.
  • the transaction voucher can be used for traceability. Therefore, the use of transaction vouchers can overcome the defects of paper certificates that are easy to forge and lose, and eliminate safety hazards.
  • transaction vouchers can realize the transparency of the circulation process of the target object, so that the source and destination of the target object can be checked, and finally a traceability system is formed.
  • performing structured content recognition on the received filing information may further include: S1011: using a pre-trained content determination model to determine the template content in the filing information.
  • the filing information is structured content.
  • the filing information template will have a fixed content part and an entity content part to be filled in.
  • the content of the fixed content part is the same, such as "product name”, “product weight”, etc., so it can be called template content.
  • the entity content can be variable, such as “cantaloupe”, “bayberry”, “3 kilograms”, “5 kilograms”, etc.
  • the template content can be determined using a pre-trained content determination model. It is not difficult to understand that the content determination model can be trained using labeled template content samples.
  • the content sample can be a sample that has undergone data enhancement processing such as random rotation and random occlusion. Using data enhancement samples, various types of filing information can be identified, thereby providing a higher recognition rate for the recognition of template content.
  • S1012 Based on the template content, determine the entity content corresponding to the template content.
  • the content following the template content can be determined as the entity content. For example, when the template content is determined to be "product name”, “cantaloupe” or “bayberry” following the "product name” can be determined as the entity content corresponding to the template content.
  • S1013 Perform structured content recognition based on entity content.
  • the text recognition technology Optical Character Recognition, OCR
  • OCR Optical Character Recognition
  • step S202 may further include: step S2021: using the processing type, determining the associated institutions of the first institution, the associated institutions including the upstream institutions and/or downstream institutions of the first institution.
  • the processing type of the first institution on the target object can be determined. Based on the processing type, the associated institution of the first institution can be determined. For example, in the case where the processing type is wholesale sales, retail or transportation, the associated institution is the downstream institution of the first institution. In the case where the processing type is purchase, the associated institution can be the upstream institution of the first institution.
  • the downstream institution of the first institution can be determined.
  • the upstream institution of the first institution can be determined. If the first institution is an institution between the source institution and the end institution, the upstream institution and the downstream institution of the first institution can be determined.
  • Step S2022 Based on the circulation of the target object between the first institution and the affiliated institution and the electronic certificate, generate the transaction voucher for the current batch of the target object; the circulation situation includes the circulation direction and the time when the circulation occurs.
  • the flow situation may include the flow direction and the time when the flow occurs.
  • the flow direction may be that the target object flows from the first institution to the associated institution; or the flow direction may be that the target object flows from the associated institution to the first institution.
  • the flow direction can be represented by a 13-bit code.
  • the 13-bit code can be represented as N13N12N11...N1.
  • N13N12 can be used as a prefix code.
  • the prefix code ranges from 20 to 28, and for natural persons, the prefix code takes a value of 29.
  • N11 ⁇ N4 can be used as the identification information of the first institution.
  • the identification information can be the registration number or unified credit code of the first institution.
  • N11 ⁇ N4 can be the registration code of the natural person or the identification code agreed upon by the natural person and the traceability system.
  • N3N2 can be used as the code of the target object, which can distinguish 100 types of target objects.
  • N1 can be used as a check code.
  • the time when the flow occurs can be represented by a 20-bit code, for example, it can be composed of a 14-bit time code and a 6-bit random code.
  • the 14-bit time code can be expressed as YYYYMMDDHHMMSS, which corresponds to year (YYYY) month (MM) day (DD) hour (HH) minute (MM) second (SS).
  • the 6-bit random code can be used to distinguish different flow directions at the same time. For example, there are n target objects, and at the same time, part of the n target objects are transferred from the first organization to the first associated organization, and the other part is transferred from the first organization to the second associated organization, which can be distinguished by a 6-bit random code.
  • the transaction voucher of the current batch of the target object can be generated by using the circulation direction and the time when the circulation occurs. For example, when the first institution sells the target object to an affiliated institution, the first batch of transaction vouchers can be generated based on the sales time. When the affiliated institution receives the target object, the second batch of transaction vouchers can be generated based on the collection time. Each batch of transaction vouchers can be attached with an electronic certificate of the target object to ensure that the target object is qualified. Based on this, each node in the traceability chain of the target object can be determined by using the time when the circulation occurs. That is, the first institution and the affiliated institution existing in the traceability chain are determined.
  • Step S2023 Use the transaction vouchers of the current batch as the transaction vouchers of the target object.
  • the transaction vouchers of the current batch can be used as the transaction vouchers of the target object. It is not difficult to understand that when the target object is circulated multiple times, there may be multiple transaction vouchers. With multiple transaction vouchers, when there is a problem with the target object, the problem node can be traced back in time.
  • Step S301 Determine the transaction voucher of the original batch based on the time when the circulation occurs.
  • Each transfer of the target object corresponds to a processing agency and the time when the transfer occurs.
  • the transfer times can be compared to determine the earlier transfer time.
  • the batch corresponding to the earliest transfer time is the first transfer.
  • the transaction voucher corresponding to the first transfer is the transaction voucher of the original batch.
  • Step S302 Associating the transaction voucher of the original batch with the transaction voucher of the current batch to obtain a traceability chain.
  • each new batch of transaction vouchers When each new batch of transaction vouchers appears, it can be associated with the original batch of transaction vouchers. Based on this, each batch of transaction vouchers can be used as a node in the traceability chain. Any batch of transaction vouchers can be used for traceability.
  • Step S303 Classify the transaction vouchers of the current batch based on the audit information, and the corresponding categories include at least one risk level.
  • the first institution when the first institution is a shop, there may also be a regulatory agency for the first institution.
  • the regulatory agency may be responsible for conducting qualification inspections on the first institution and inspecting the target objects handled by the first institution.
  • the qualification inspection may be whether the registration information of the first institution is complete, whether the safety and sanitation are qualified, whether the epidemic prevention measures are implemented in accordance with regulations, etc.
  • the inspection of the target object may be whether the origin information of the target object is complete, whether the epidemic prevention inspection is completed, etc. Based on the inspection results, audit information may be generated.
  • the audit information may be a component of the filing information.
  • audit information of qualified inspection can be generated.
  • the audit information of qualified inspection can be expressed in text, code, color, etc. Taking color as an example, green can indicate that all inspections are qualified.
  • audit information of incomplete qualified inspection or target object inspection can be generated.
  • the audit information of incomplete qualified inspection can be indicated in yellow.
  • it can also include the situation that both the qualification inspection and the target object inspection are unqualified, for which audit information of unqualified inspection can be generated.
  • the unqualified inspection can be indicated in red.
  • the current batch of transaction vouchers can also be classified.
  • the classification category can include one of high risk, medium risk, and low risk. For example, when the audit information is fully qualified, it can correspond to low risk. When the audit information is not fully qualified in the inspection, it can correspond to medium risk. When the audit information is unqualified in the inspection, it can correspond to high risk. Alternatively, it can also correspond to high risk when the specified inspection item fails the inspection. Correspondingly, the corresponding color can be assigned to the current batch of transaction vouchers according to the classification category.
  • Step S304 Issue an early warning based on the category.
  • the early warning method may include prohibition of circulation. For example, it may include prohibition of trading, prohibition of transportation, etc.
  • the early warning method may also include reporting to the corresponding management agency to notify the corresponding management agency to perform corresponding management.
  • the early warning method may also include reporting to the corresponding management agency to notify the corresponding management agency to perform corresponding management.
  • relevant reminders can be made. For example, when a user scans the code of the target object's credential, a pop-up window can be displayed to inform the user that the current batch of target objects may be risky.
  • a corresponding reminder can also be made.
  • they can be circulated normally.
  • the following steps may also be included: sending the transaction voucher to a designated terminal; the designated terminal includes a user terminal corresponding to the first institution and a generating terminal for the electronic certificate.
  • the generated transaction voucher can be sent to a designated terminal. For example, it can be sent to the user terminal corresponding to the first institution. Thus, the relevant staff working in the first institution can be informed of the successful generation of the transaction voucher.
  • the generated transaction voucher can be sent to the generating terminal of the electronic certificate, so that the generating terminal of the electronic certificate can file the institution that obtained the transaction voucher.
  • the target object is a commodity.
  • the first organization includes at least one of a commodity production organization, a commodity distribution organization, and a commodity transportation organization.
  • the goods can be agricultural and sideline products such as vegetables, dairy products, meat products, etc., or other products such as clothing and electrical appliances.
  • the first institution can be the manufacturer, distributor, etc. of the goods.
  • the first institution can also be the transporter of the goods.
  • the affiliated institutions of the first institution can also be the goods production institution, goods distribution institution, goods transportation institution, etc.
  • the embodiment of the present application provides a method for managing target object transaction vouchers, and the execution subject of the method can be a certificate issuance system.
  • a flow chart of the method for managing target object transaction vouchers of an embodiment of the present application can include: Step S401: In response to a request for the source institution to generate an electronic certificate for the target object, generate an electronic certificate.
  • the source organization can be a manufacturer or a first-level distributor, etc.
  • the source organization can be the organization that processes the target object for the first time.
  • the certificate issuance system will receive an electronic certificate generation request sent by the source organization.
  • an electronic certificate can be generated if the inspection is qualified.
  • the electronic certificate can be used to indicate that the target object is qualified.
  • a designated query interface can be opened for query by various organizations.
  • Step S402 Store the source organization, target object and electronic certificate in association with each other.
  • the electronic certificate can be associated with the source organization, the target object, and the target object's electronic certificate and stored. This indicates that the target object processed by the source organization has an electronic certificate. Since the target object's electronic certificate indicates that the target object is qualified, the certificate issuance system can store and record the target object processing organization that has passed the inspection.
  • Step S403 Using the filing information, record the processing type of the target object processed by the second agency and the electronic certificate of the target object; the second agency is a downstream agency of the source agency, and the downstream agency is determined using the flow of the target object, the flow including the direction of flow and the time when the flow occurs, and the filing information is generated by the second agency.
  • the downstream institution of the source institution can be determined, that is, the second institution can be determined.
  • the second institution processes the target object, it needs to generate filing information.
  • the filing information can be sent directly to the issuance system by the second institution, or forwarded to the issuance system through the traceability system.
  • the filing information can include the processing type of the second institution for the target object, relevant information of the second institution, and relevant information of the target object.
  • the target object can be agricultural and sideline products such as vegetables, dairy products, meat products, etc., or other products such as clothing, electrical appliances, etc.
  • the second institution can be a distributor, a transporter, etc.
  • the processing type of the target object by the second institution can be production, wholesale sales, retail, purchase, transportation, etc.
  • the relevant information of the second institution may include identification information of the second institution.
  • the identification information may be information such as the identification code, registration code, and qualification certificate of the second institution.
  • the relevant information of the target object may include the name, origin, production date, weight, and other relevant information of the target object.
  • the electronic certificate of the target object may indicate that the target object is qualified.
  • Step S404 Store the second institution processing in association with the electronic certificate.
  • the target object processed by the second institution and the electronic certificate of the target object can be recorded, so that the target object with the electronic certificate can be filed, and the institution that processes the target object can also be filed.
  • S405 performing authority confirmation on the received query request to obtain the authority level of the query request sender.
  • the query request sender can be a source agency, a second agency, or the like that processes the target object. It can also be a consumer, or it can be a management agency, etc. Different objects can have different permission levels. For example, a consumer can be a first permission level. A source agency, a second agency, or the like that processes the target object can be a second permission level. A management agency can be a third permission level. The permission level can be determined at the time of registration, and the permission level of the query request sender can be determined based on the query request sent by the query request sender.
  • S406 Perform corresponding desensitization processing on the electronic certificate according to the authority level to obtain a desensitized electronic certificate.
  • the query request senders of different levels can query different contents.
  • the management agency can query the entire content of the electronic certificate.
  • the entities that process the target object such as the source agency and the second agency, they can query the content related to the target object, the content related to themselves, and the content related to the upstream agency or the subordinate agency in the electronic certificate. Consumers can query the content related to the target object in the electronic certificate. Therefore, for different query request senders, the electronic certificate can be desensitized accordingly.
  • S407 Use the desensitized electronic certificate as the response content of the query request.
  • the desensitized electronic certificate is used as the response content of the query request, and the desensitized electronic certificate can be directly displayed, or the desensitized electronic certificate can be sent to the query request sending end.
  • data confidentiality can be effectively achieved.
  • the embodiment of the present application also provides a management device for target object transaction vouchers.
  • a structural block diagram of the management device for target object transaction vouchers in one embodiment of the present application the management device for target object transaction vouchers may include:
  • the information determination module 501 is used to perform structured content recognition on the received filing information, determine the processing type of the target object processed by the first institution and the electronic certificate of the target object; the filing information is information generated by the first institution in response to the filing invitation information, and the filing invitation information is generated based on the specified trigger information, and the specified trigger information is determined according to the login status of the first institution or the issuance process of the electronic certificate generation end; the transaction voucher generation module 502 is used to generate a transaction voucher for the target object using the processing type and the electronic certificate.
  • the information determination module 501 may include: a template content determination submodule, which is used to determine the template content in the filing information using a pre-trained content determination model; an entity content determination submodule, which is used to determine the entity content corresponding to the template content based on the template content; and an identification submodule, which is used to perform structured content identification based on the entity content.
  • the transaction voucher generation module 502 may include: an associated institution determination submodule, used to determine the associated institutions of the first institution by using the processing type, the associated institutions including the upstream institutions and/or downstream institutions of the first institution; a transaction voucher generation execution submodule, used to generate the transaction vouchers of the current batch of the target object based on the flow status of the target object between the first institution and the associated institutions and the electronic certificate; the flow status includes the flow direction and the time when the flow occurs; and the transaction vouchers of the current batch are used as the transaction vouchers of the target object.
  • an associated institution determination submodule used to determine the associated institutions of the first institution by using the processing type, the associated institutions including the upstream institutions and/or downstream institutions of the first institution
  • a transaction voucher generation execution submodule used to generate the transaction vouchers of the current batch of the target object based on the flow status of the target object between the first institution and the associated institutions and the electronic certificate; the flow status includes the flow direction and the time when the flow occurs; and the transaction vouchers of the current batch are used as
  • it may also include: a transaction voucher determination module for the original batch, which is used to determine the transaction voucher of the original batch based on the time of circulation; and a traceability chain generation module, which is used to associate the transaction voucher of the original batch with the transaction voucher of the current batch to obtain a traceability chain.
  • a transaction voucher determination module for the original batch which is used to determine the transaction voucher of the original batch based on the time of circulation
  • a traceability chain generation module which is used to associate the transaction voucher of the original batch with the transaction voucher of the current batch to obtain a traceability chain.
  • the filing information when the filing information includes audit information on the target object, it may also include: a classification module for classifying the current batch of transaction vouchers based on the audit information; the classification corresponding to the category includes at least one risk level; and an early warning module for issuing early warnings based on the category.
  • a classification module for classifying the current batch of transaction vouchers based on the audit information
  • the classification corresponding to the category includes at least one risk level
  • an early warning module for issuing early warnings based on the category.
  • it may also include: a sending module, used to send the transaction voucher to a designated terminal; the designated terminal includes a user terminal corresponding to the first institution and a generating terminal of the electronic certificate.
  • the target object is a commodity
  • the first organization includes at least one of a commodity production organization, a commodity sales organization, and a commodity transportation organization.
  • the embodiment of the present application also provides a management device based on the target object transaction voucher.
  • a management device based on the target object transaction voucher.
  • FIG 6 it is a structural block diagram of the management device of the target object transaction voucher of an embodiment of the present application, which may include: an electronic certificate generation module 601, which is used to generate an electronic certificate in response to the source institution's request for generating an electronic certificate for the target object; and a first associated storage module 602, which is used to associate and store the source institution, the target object and the electronic certificate.
  • it may also include: a recording module, which is used to use the filing information to record the processing type of the target object processed by the second agency and the electronic certificate of the target object; the second agency is a downstream agency of the source agency, and the downstream agency is determined by the flow of the target object.
  • the flow situation includes the flow direction and the time when the flow occurs, and the filing information is generated by the second agency; a second associated storage module, which is used to associate the second agency's processing with the electronic certificate of the target object for storage.
  • it may also include: an authority confirmation module, used to confirm the authority of the received query request and obtain the authority level of the query request sender; a desensitization processing module, used to perform corresponding desensitization processing on the electronic certificate according to the authority level to obtain a desensitized electronic certificate; a response module, used to use the desensitized electronic certificate as the response content of the query request.
  • an authority confirmation module used to confirm the authority of the received query request and obtain the authority level of the query request sender
  • a desensitization processing module used to perform corresponding desensitization processing on the electronic certificate according to the authority level to obtain a desensitized electronic certificate
  • a response module used to use the desensitized electronic certificate as the response content of the query request.
  • each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and have corresponding beneficial effects, which will not be repeated here.
  • FIG7 is a block diagram of an electronic device for implementing an embodiment of the present application.
  • the electronic device includes: a memory 710 and a processor 720, wherein the memory 710 stores a computer program that can be run on the processor 720.
  • the processor 720 executes the computer program, the method in the above embodiment is implemented.
  • the number of the memory 710 and the processor 720 can be one or more.
  • the electronic device also includes: a communication interface 730, which is used to communicate with external devices and perform data exchange transmission.
  • the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the memory 710, the processor 720 and the communication interface 730 are integrated on a chip, the memory 710, the processor 720 and the communication interface 730 can communicate with each other through an internal interface.
  • An embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.
  • An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
  • An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory.
  • the processor is used to execute the method provided in the embodiment of the application.
  • processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSP digital signal processors
  • ASIC application-specific integrated circuits
  • FPGA field programmable gate arrays
  • a general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor that supports the Advanced RISC Machines (ARM) architecture.
  • ARM Advanced RISC Machines
  • the above-mentioned memory may include a read-only memory and a random access memory.
  • the memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
  • the non-volatile memory may include a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory.
  • the volatile memory may include a random access memory (Random Access Memory, RAM), which is used as an external cache.
  • RAM dynamic random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link DRAM
  • DR RAM direct memory bus random access memory
  • the computer program product includes one or more computer instructions.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • first and second are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as “first” or “second” may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of “plurality” is two or more, unless otherwise clearly and specifically defined.
  • Any process or method described in the flow chart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
  • each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module.
  • the above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
  • the storage medium can be a read-only memory, a disk or an optical disk, etc.
  • the target object can be used as the basis to record the circulation process of the target object, so that the traceability chain of the target object can be obtained.
  • Each organization on the traceability chain that processes the target object can be used as a node on the traceability chain.
  • transaction vouchers can overcome the defects of paper certificates that are easy to forge and lose, and eliminate safety hazards.
  • transaction vouchers can realize the transparency of the circulation process of the target object, so that the source and destination of the target object can be checked, and finally a traceability chain traceability system is formed.

Landscapes

  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请提供了一种目标对象交易凭证的管理方法、装置、电子设备及存储介质,包括以下步骤:对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及所述目标对象的电子合格证;所述备案信息是所述第一机构响应于备案邀请信息所生成的信息,所述备案邀请信息是基于指定触发信息生成的,所述指定触发信息是根据所述第一机构的登录状态或所述电子合格证的生成端的开证进程确定的;利用处理类型和电子合格证,生成目标对象的交易凭证。由此,以目标对象为依据,记录目标对象的流转过程,得到目标对象的溯源链。在目标对象出现质量问题时,利用交易凭证进行追溯。交易凭证可以克服纸质合格证易伪造易丢失的缺陷,杜绝安全隐患。

Description

目标对象交易凭证的管理方法、电子设备及存储介质 技术领域
本申请涉及数字信息处理技术领域,尤其涉及一种目标对象交易凭证的管理方法和装置、电子设备及存储介质。
背景技术
商品,尤其农副产品在进入流通环节前,生产企业会在开证机构中根据相应规则填写商品对应内容后,获取开证机构开具的纸质合格证。纸质合格证随商品进入后续流通环节。
技术问题
但纸质合格证在流通环节被哪些商户使用,是否存在误用及伪造,监管部门均难得知。另外,商户及消费者对伪造的纸质合格证也存较高溯源成本。在批次商品检测不合格的情况下,流通环节的同一批次问题商品也很难找出处置。同时现存的纸质合格证也存在打印,管理及保管成本。
技术解决方案
本申请实施例提供一种目标对象交易凭证的管理方法和装置、电子设备及存储介质,以实现可以基于合格证生成目标对象的交易凭证,从而可以基于交易凭证表征目标对象是否合格,克服纸质合格证的弊端。
第一方面,本申请实施例提供了一种目标对象交易凭证的管理方法,应用于分布式服务器,可以包括以下步骤:对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及目标对象的电子合格证;备案信息是第一机构响应于备案邀请信息所生成的信息,备案邀请信息是基于指定触发信息生成的,指定触发信息是根据第一机构的登录状态或电子合格证的生成端的开证进程确定的;利用处理类型和电子合格证,生成目标对象的交易凭证。
第二方面,本申请实施例提供了一种目标对象交易凭证的管理方法,可以包括以下步骤:响应于源头机构针对目标对象的电子合格证生成请求,生成电子合格证;将源头机构、目标对象与电子合格证进行关联存储。
第三方面,本申请实施例提供了一种目标对象交易凭证的管理装置,该装置可以包括:信息确定模块,利用接收到的备案信息,确定第一机构处理目标对象的处理类型以及目标对象的电子合格证;交易凭证生成模块,用于对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及目标对象的电子合格证;备案信息是第一机构响应于备案邀请信息所生成的信息,备案邀请信息是基于指定触发信息生成的,指定触发信息是根据第一机构的登录状态或电子合格证的生成端的开证进程确定的。
第四方面,本申请实施例提供了一种目标对象交易凭证的管理装置,该装置可以包括:信息记录模块,用于响应于源头机构针对目标对象的电子合格证生成请求,生成电子合格证;存储模块,用于将源头机构、目标对象与电子合格证进行关联存储。
第五方面,本申请实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上的计算机程序,所述处理器在执行所述计算机程序时实现上述任一项所述的方法。
第六方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的方法。
有益效果
与现有技术相比,本申请具有如下优点:依据本申请实施例可以以目标对象为依据,记录目标对象的流转过程,从而可以得到目标对象的溯源链。溯源链上的每一个对目标对象进行处理的机构均可以作为溯源链上的节点。在目标对象出现质量问题或安全问题等情况时,可以利用交易凭证进行追溯。由此,利用交易凭证可以克服纸质合格证易伪造易丢失的缺陷,杜绝了安全隐患。另外,交易凭证可以实现目标对象流转过程的透明化,从而对于目标对象的来源、去向有据可查,最终形成溯源链追溯体系。
上述说明仅是本申请技术方案的概述 ,为了能够更清楚了解本申请的技术手段,可依照说明书的内容予以实施,并且为了让本申请的上述和其他目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。
附图说明
在附图中,除非另外规定,否则贯穿多个附图相同的附图标记表示相同或相似的部件或元素。这些附图不一定是按照比例绘制的。应该理解,这些附图仅描绘了根据本申请的一些实施方式,而不应将其视为是对本申请范围的限制。
图1为本申请提供的目标对象交易凭证的管理方法的场景示意图;
         图2为本申请一实施例的目标对象交易凭证的管理方法的流程图之一;
         图3是本申请一实施例的备案信息示意图;
         图4为本申请一实施例的目标对象交易凭证的管理方法的流程图之二;
         图5是本申请一实施例的目标对象交易凭证的管理装置的结构框图之一;
         图6是本申请一实施例的目标对象交易凭证的管理装置的结构框图之二;以及
         图7为用来实现本申请实施例的电子设备的框图。
本发明的最佳实施方式
图1为示例性的用于实现本申请实施例的方法的一个应用场景的示意图。在当前场景下,目标对象交易凭证的管理方法的执行主体可以包括开证系统和溯源系统。开证系统负责电子合格证的开具。溯源系统负责在目标对象的流通环节,基于电子合格证对目标对象的流通进行记录。目标对象可以是蔬菜、奶制品、肉食品等农副产品,也可以是服装、电器等其他产品。
开证系统的工作原理简述如下:响应于源头机构的电子合格证生成请求,生成对应的电子合格证。源头机构可以是生产商或者是一级经销商等。例如,源头机构生产了一个批次的目标对象,可以针对当前批次的目标对象发出电子合格证的生成请求。开证系统在进行相应检测并确定检测合格后,可以生成电子合格证。该电子合格证可以发送给源头机构,从而实现电子合格证的传输。另外,在生成目标对象的电子合格证后,可以开放指定查询接口,以供各机构进行查询。
在图1所示场景下,该电子合格证经过溯源系统转发,最终发送至源头机构。源头机构在接收到电子合格证的情况下,可以在溯源系统进行备案。备案成功后,生成标对象的交易凭证。
另外,在目标对象流转的每个环节,都可以记录处理机构与电子合格证的关联关系,从而表征处理机构处理的目标对象为具有电子合格证的目标对象。处理机构可以是图1中所示的商户A、商户B。商户A、商户B可以对应运输机构或者零售商等。
溯源系统的工作原理简述如下:仍以流转过程是交易为示例,在目标对象交易的每个环节,溯源系统均可以接收到对应环节的处理机构的备案信息。处理机构是对已开具电子合格证的目标对象进行处理的机构,处理可以包括销售、进货、运输等。在目标对象的流转过程中,溯源系统利用备案信息进行电子合格证的检验和流转,从而实现基于电子合格证对目标对象的流通进行记录。
本申请实施例提供了一种目标对象交易凭证的管理方法,该方法的执行主体可以是溯源系统,具体可以应用于分布式服务器。如图2所示为本申请一实施例的目标对象交易凭证的管理方法的流程图,可以包括:步骤S201:对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及目标对象的电子合格证;备案信息是第一机构响应于备案邀请信息所生成的信息,备案邀请信息是基于指定触发信息生成的,指定触发信息是根据第一机构的登录状态或电子合格证的生成端的开证进程确定的。
备案信息可以是通过指定接口接收到的由第一机构发送的信息。备案信息中可以包含有第一机构对于目标对象的处理处理类型、第一机构的相关信息以及目标对象的相关信息等。
其中,第一机构可以是对目标对象进行处理的机构。目标对象可以是蔬菜、奶制品、肉食品等农副产品,也可以是服装、电器、饰品等其他商品或产品。第一机构可以是生产商、经销商、运输方等。对应的,第一机构处理目标对象的处理类型可以是生产、批发销售、零售、进货、运输等。
第一机构的相关信息可以包括第一机构的标识信息。例如,标识信息可以是第一机构的识别码、注册码、资质证明等信息。另外,第一机构的相关信息还可以包括第一机构的通信接口信息,从而可以实现溯源系统与第一机构的通信。
目标对象的相关信息可以包括目标对象的名称、产地、生产日期、重量等信息。另外,目标对象的相关信息还可以包括目标对象的电子合格证。
溯源系统在接收到备案信息的情况下,可以对接收到的备案信息进行结构化内容识别,从而解析出由第一机构对目标对象进行处理的处理处理类型以及目标对象的电子合格证。从而通过电子合格证表征出第一机构所处理的目标对象是合格的。
在第一机构为生产商的情况下,可以由第一机构向开证系统发送电子合格证生成请求。开证系统在对第一机构所生产的目标对象进行相应检测合格后,可以生成用于表征目标对象合格的电子合格证。示例性地,电子合格证中可以包含第一机构的相关信息,以及目标对象的相关信息。该电子合格证可以通过应用程序编程接口(A p p l i c a t i o nProgramming Interface,API)发送至溯源系统。基于此,可以以接收到电子合格证作为指定触发信息。电子合格证可以是以验签的方式进行传输。例如,验签的方式可以包括信息摘要算法(Message‑Digest Algorithm,MD5)。通过验签的方式传输,可以防止传输数据的篡改伪造,保证了电子合格证的真实有效性。
溯源系统在接收到电子合格证后,可以通过解析该电子合格证以生成备案邀请信息。备案邀请信息用于告知第一机构可以对目标对象进行备案。第一机构可以基于备案邀请信息获知目标对象已获取到电子合格证,由此可以进行备案。基于此,可以基于第一机构的相关信息、目标对象的相关信息以及第一机构对目标对象进行处理的处理类型等内容,生成图3所示意的备案信息,并将备案信息上传至溯源系统。由此,溯源系统可以接收到第一机构响应于备案邀请信息的备案信息。在图3所示示例中,第一机构为经销商,从上级经销商购入的目标对象为哈密瓜,图3所示为基于哈密瓜进行备案的备案信息。
另外,备案信息也可以是第一机构利用其他方式生成的。例如,在第一机构为经销商或者运输方的情况下,第一机构对应的用户端可以登录溯源系统。在检测到第一机构对应的用户端登录的情况下,可以将登录状态作为指定触发信息,由此可以在登录界面显示备案邀请信息。第一机构对应的用户端可以采用扫码或者输入注册码的方式生成目标对象的相关信息。目标对象的相关信息可以是结构化数据的形式。或者,第一机构对应的用户端也可以利用近距离无线通讯技术、射频识别技术等方式生成目标对象的相关信息。最终,第一机构可以利用自身的相关信息,目标对象的相关信息以及对目标对象的处理处理类型等内容,生成备案信息。另外,目标对象的生产商生产出目标对象后,可以到目标对象对应的管理部门进行报备得到对应的标识,标识中记录目标对象的产地、重量、生产日期等相关信息。例如,标识可以是二维码等。通过扫码或者近距离无线通讯技术、射频识别技术等方式获取到目标对象的产地、重量、生产日期等相关信息。
步骤S202:利用处理类型和电子合格证,生成目标对象的交易凭证。
利用第一机构对目标对象的处理处理类型,可以获知第一机构对于目标对象的处理情况。例如,在处理处理类型为进货的情况下,可以确定处理情况包括第一机构为进货商,从源头机构或其他机构获取到目标对象。又例如,在处理处理类型为批发销售的情况下,可以确定处理情况包括第一机构为生产商或经销商,向其他机构发售目标对象。由于目标对象的电子合格证可以表征目标对象是否合格。由此,在目标对象合格的情况下,可以利用第一机构对目标对象的处理处理类型生成目标对象的交易凭证。交易凭证可以是二维码或者编码等,用于表征目标对象的是否合格,以及用于表征第一机构处理目标对象的是否合格。
通过上述过程,可以以目标对象为依据,记录目标对象的流转过程,从而可以得到目标对象的溯源链。溯源链上的每一个对目标对象进行处理的机构均可以作为溯源链上的节点。在目标对象出现质量问题或安全问题等情况时,可以利用交易凭证进行追溯。由此,利用交易凭证可以克服纸质合格证易伪造易丢失的缺陷,杜绝了安全隐患。另外,交易凭证可以实现目标对象流转过程的透明化,从而对于目标对象的来源、去向有据可查,最终形成追溯体系。
本发明的实施方式
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在不脱离本申请的构思或范围的情况下,可通过各种不同方式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的,而非限制性的。
为便于理解本申请实施例的技术方案,以下对本申请实施例的相关技术进行说明。以下相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。
图1为示例性的用于实现本申请实施例的方法的一个应用场景的示意图。在当前场景下,目标对象交易凭证的管理方法的执行主体可以包括开证系统和溯源系统。开证系统负责电子合格证的开具。溯源系统负责在目标对象的流通环节,基于电子合格证对目标对象的流通进行记录。目标对象可以是蔬菜、奶制品、肉食品等农副产品,也可以是服装、电器等其他产品。
开证系统的工作原理简述如下:响应于源头机构的电子合格证生成请求,生成对应的电子合格证。源头机构可以是生产商或者是一级经销商等。例如,源头机构生产了一个批次的目标对象,可以针对当前批次的目标对象发出电子合格证的生成请求。开证系统在进行相应检测并确定检测合格后,可以生成电子合格证。该电子合格证可以发送给源头机构,从而实现电子合格证的传输。另外,在生成目标对象的电子合格证后,可以开放指定查询接口,以供各机构进行查询。
在图1所示场景下,该电子合格证经过溯源系统转发,最终发送至源头机构。源头机构在接收到电子合格证的情况下,可以在溯源系统进行备案。备案成功后,生成标对象的交易凭证。
另外,在目标对象流转的每个环节,都可以记录处理机构与电子合格证的关联关系,从而表征处理机构处理的目标对象为具有电子合格证的目标对象。处理机构可以是图1中所示的商户A、商户B。商户A、商户B可以对应运输机构或者零售商等。
溯源系统的工作原理简述如下:仍以流转过程是交易为示例,在目标对象交易的每个环节,溯源系统均可以接收到对应环节的处理机构的备案信息。处理机构是对已开具电子合格证的目标对象进行处理的机构,处理可以包括销售、进货、运输等。在目标对象的流转过程中,溯源系统利用备案信息进行电子合格证的检验和流转,从而实现基于电子合格证对目标对象的流通进行记录。
本申请实施例提供了一种目标对象交易凭证的管理方法,该方法的执行主体可以是溯源系统,具体可以应用于分布式服务器。如图2所示为本申请一实施例的目标对象交易凭证的管理方法的流程图,可以包括:步骤S201:对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及目标对象的电子合格证;备案信息是第一机构响应于备案邀请信息所生成的信息,备案邀请信息是基于指定触发信息生成的,指定触发信息是根据第一机构的登录状态或电子合格证的生成端的开证进程确定的。
备案信息可以是通过指定接口接收到的由第一机构发送的信息。备案信息中可以包含有第一机构对于目标对象的处理处理类型、第一机构的相关信息以及目标对象的相关信息等。
其中,第一机构可以是对目标对象进行处理的机构。目标对象可以是蔬菜、奶制品、肉食品等农副产品,也可以是服装、电器、饰品等其他商品或产品。第一机构可以是生产商、经销商、运输方等。对应的,第一机构处理目标对象的处理类型可以是生产、批发销售、零售、进货、运输等。
第一机构的相关信息可以包括第一机构的标识信息。例如,标识信息可以是第一机构的识别码、注册码、资质证明等信息。另外,第一机构的相关信息还可以包括第一机构的通信接口信息,从而可以实现溯源系统与第一机构的通信。
目标对象的相关信息可以包括目标对象的名称、产地、生产日期、重量等信息。另外,目标对象的相关信息还可以包括目标对象的电子合格证。
溯源系统在接收到备案信息的情况下,可以对接收到的备案信息进行结构化内容识别,从而解析出由第一机构对目标对象进行处理的处理处理类型以及目标对象的电子合格证。从而通过电子合格证表征出第一机构所处理的目标对象是合格的。
在第一机构为生产商的情况下,可以由第一机构向开证系统发送电子合格证生成请求。开证系统在对第一机构所生产的目标对象进行相应检测合格后,可以生成用于表征目标对象合格的电子合格证。示例性地,电子合格证中可以包含第一机构的相关信息,以及目标对象的相关信息。该电子合格证可以通过应用程序编程接口(A p p l i c a t i o nProgramming Interface,API)发送至溯源系统。基于此,可以以接收到电子合格证作为指定触发信息。电子合格证可以是以验签的方式进行传输。例如,验签的方式可以包括信息摘要算法(Message‑Digest Algorithm,MD5)。通过验签的方式传输,可以防止传输数据的篡改伪造,保证了电子合格证的真实有效性。
溯源系统在接收到电子合格证后,可以通过解析该电子合格证以生成备案邀请信息。备案邀请信息用于告知第一机构可以对目标对象进行备案。第一机构可以基于备案邀请信息获知目标对象已获取到电子合格证,由此可以进行备案。基于此,可以基于第一机构的相关信息、目标对象的相关信息以及第一机构对目标对象进行处理的处理类型等内容,生成图3所示意的备案信息,并将备案信息上传至溯源系统。由此,溯源系统可以接收到第一机构响应于备案邀请信息的备案信息。在图3所示示例中,第一机构为经销商,从上级经销商购入的目标对象为哈密瓜,图3所示为基于哈密瓜进行备案的备案信息。
另外,备案信息也可以是第一机构利用其他方式生成的。例如,在第一机构为经销商或者运输方的情况下,第一机构对应的用户端可以登录溯源系统。在检测到第一机构对应的用户端登录的情况下,可以将登录状态作为指定触发信息,由此可以在登录界面显示备案邀请信息。第一机构对应的用户端可以采用扫码或者输入注册码的方式生成目标对象的相关信息。目标对象的相关信息可以是结构化数据的形式。或者,第一机构对应的用户端也可以利用近距离无线通讯技术、射频识别技术等方式生成目标对象的相关信息。最终,第一机构可以利用自身的相关信息,目标对象的相关信息以及对目标对象的处理处理类型等内容,生成备案信息。另外,目标对象的生产商生产出目标对象后,可以到目标对象对应的管理部门进行报备得到对应的标识,标识中记录目标对象的产地、重量、生产日期等相关信息。例如,标识可以是二维码等。通过扫码或者近距离无线通讯技术、射频识别技术等方式获取到目标对象的产地、重量、生产日期等相关信息。
步骤S202:利用处理类型和电子合格证,生成目标对象的交易凭证。
利用第一机构对目标对象的处理处理类型,可以获知第一机构对于目标对象的处理情况。例如,在处理处理类型为进货的情况下,可以确定处理情况包括第一机构为进货商,从源头机构或其他机构获取到目标对象。又例如,在处理处理类型为批发销售的情况下,可以确定处理情况包括第一机构为生产商或经销商,向其他机构发售目标对象。由于目标对象的电子合格证可以表征目标对象是否合格。由此,在目标对象合格的情况下,可以利用第一机构对目标对象的处理处理类型生成目标对象的交易凭证。交易凭证可以是二维码或者编码等,用于表征目标对象的是否合格,以及用于表征第一机构处理目标对象的是否合格。
通过上述过程,可以以目标对象为依据,记录目标对象的流转过程,从而可以得到目标对象的溯源链。溯源链上的每一个对目标对象进行处理的机构均可以作为溯源链上的节点。在目标对象出现质量问题或安全问题等情况时,可以利用交易凭证进行追溯。由此,利用交易凭证可以克服纸质合格证易伪造易丢失的缺陷,杜绝了安全隐患。另外,交易凭证可以实现目标对象流转过程的透明化,从而对于目标对象的来源、去向有据可查,最终形成追溯体系。
在一种可能的实现方式中,对接收到的备案信息进行结构化内容识别可以进一步包括:S1011:利用预先训练好的内容确定模型,确定备案信息中的模板内容。
通常情况下,备案信息为结构化内容。例如,备案信息模板中会有固定内容部分和待填写的实体内容部分。固定内容部分的内容是相同的,例如“商品名称”、“商品重量”等,因此可以称为模板内容。实体内容可以是变化的,例如“哈密瓜”、“杨梅”、“3公斤”、“5公斤”等。由于固定内容部分的内容是相同的,因此可以利用预先训练好的内容确定模型确定出模板内容。不难理解,可以利用标注的模板内容样本对内容确定模型进行训练。内容样本可以是经过随机旋转、随机遮挡等数据增强处理后的样本。利用数据增强样本,可以对各类备案信息进行识别,从而可以对模板内容的识别提供较高的识别率。
S1012:基于模板内容,确定与模板内容对应的实体内容。
在确定出模板内容后,跟在模板内容后面的内容,即可确定为实体内容。例如,在确定出模板内容为“商品名称”的情况下,跟在“商品名称”后面的“哈密瓜”或者“杨梅”即可确定为与模板内容对应的实体内容。
S1013:基于实体内容进行结构化内容识别。
在确定出实体内容的情况下,可以利用文字识别技术(O pti ca l Cha ra c te rRecognition,OCR)对实体内容进行结构化内容识别,从而确定出第一机构处理目标对象的处理类型以及所述目标对象的电子合格证在内的多项内容。
在一种可能的实现方式中,步骤S202可以进一步包括:步骤S2021:利用处理类型,确定第一机构的关联机构,关联机构包括第一机构的上游机构和/或下游机构。
根据备案信息,可以确定第一机构对目标对象的处理处理类型。基于该处理处理类型即可确定第一机构的关联机构。例如,在处理处理类型为批发销售、零售或运输的情况下,则关联机构为第一机构的下游机构。在处理处理类型为进货的情况下,关联机构可以为第一机构的上游机构。
在第一机构为源头机构的情况下,那么可以确定出第一机构的下游机构。在第一机构为最末端机构的情况下,那么可以确定出第一机构的上游机构。如果第一机构为源头机构和最末端机构之间的机构,那么可以确定出第一机构的上游机构和下游机构。
步骤S2022:基于目标对象在第一机构和关联机构之间的流转情况和电子合格证,生成目标对象的当前批次的交易凭证;流转情况包括流转方向和发生流转的时间。
流转情况可以包括流转方向和发生流转的时间。流转方向可以是目标对象从第一机构流转至关联机构;或者,流转方向可以是目标对象从关联机构流转至第一机构。
流转方向可以利用13位编码表示。例如,13位编码可以表示为N13N12N11……N1。其中,N13N12可以作为前缀码。对于非自然人,前缀码的取值范围为20至28,对于自然人,前缀码取值为29。N11~N4可以作为第一机构的标识信息。例如,在第一机构为非自然人的情况下,标识信息可以是第一机构的注册号或统一信用代码等。在第一机构为自然人的情况下,N11~N4可以是该自然人的注册码或者自然人与溯源系统双方约定的标识码等。N3N2可以作为目标对象的代码,可以实现100种目标对象的区分。N1可以作为校验码。
发生流转的时间可以利用20位编码表示,例如,可以是14位时间编码和6位随机编码组成。14位时间编码可以表示为YYYYMMDDHHMMSS,即对应年(YYYY)月(MM)日(DD)时(HH)分(MM)秒(SS)。6位随机编码可以用于区分同一时间的不同流转方向。例如,存在n个目标对象,在同一时刻,n个目标对象中的一部分由第一机构流转至第一关联机构,另一部分由第一机构流转至第二关联机构,则可以通过6位随机编码进行区分。
利用流转方向和发生流转的时间,可以生成目标对象当前批次的交易凭证。例如,在第一机构将目标对象销售给关联机构的情况下,可以基于销售时间生成第一批次的交易凭证。在关联机构收取到目标对象的情况下,可以基于收取时间生成第二批次的交易凭证。每个批次的交易凭证都可以附加有目标对象的电子合格证,从而保障目标对象是合格的。基于此,可以利用发生流转的时间确定出目标对象的溯源链中的每一个节点。即,确定出存在于溯源链上的第一机构和关联机构。
步骤S2023:将当前批次的交易凭证作为目标对象的交易凭证。
在确定出当前批次的交易凭证的情况下,可以将当前批次的交易凭证作为目标对象的交易凭证。不难理解,目标对象多次流转的情况下,可以存在多个交易凭证。利用多个交易凭证,在目标对象出现问题的情况下,可以及时溯源问题节点。
在一种可能的实现方式中,还可以包括以下步骤:步骤S301:依据发生流转的时间,确定原始批次的交易凭证。
目标对象的每一次流转,均对应一个处理机构以及发生流转的时间。当目标对象流转超过两次的情况下,可以对发生流转的时间进行比较,以确定出较早的发生流转的时间。对应的,最早的发生流转的时间所对应的批次即为首次流转。首次流转对应的交易凭证即为原始批次的交易凭证。
步骤S302:将原始批次的交易凭证与当前批次的交易凭证进行关联,得到溯源链。
每一个新的批次的交易凭证出现时,均可以与原始批次的交易凭证进行关联。基于此,每个批次的交易凭证都可以作为溯源链中的节点。利用任意批次的交易凭证都可以实溯源。
在一种可能的实现方式中,在备案信息中包含对目标对象的审核信息的情况下,还可以包括以下步骤:步骤S303:基于审核信息对当前批次的交易凭证进行归类,归类对应的类别包括至少一个风险等级。
示例性地,在第一机构为商铺的情况下,还可以存在对第一机构的监管机构。监管机构可以负责对第一机构进行资质检验,以及对第一机构所处理的目标对象进行检验等。示例性地,资质检验可以是第一机构的注册信息是否完备、安全卫生是否合格、是否按规定执行防疫措施等。对目标对象的检验可以是目标对象的产地信息是否齐全、防疫检验是否完成等。根据检验结果,可以生成审核信息。该审核信息可以作为备案信息的组成部分。
例如,在资质检验、目标对象的检验均合格的情况下,可以生成检验合格的审核信息。检验合格的审核信息的表现形式可以是文字、编码,也可以是颜色等。以颜色为示例,绿色可以表示全部检验合格。在资质检验或目标对象的检验中的某一项或某几项存在不合格情况时,可以生成资质检验或目标对象的检验不完全合格的审核信息。对应的,可以以黄色表示检验不完全合格的审核信息。另外,还可以包括资质检验和目标对象的检验均不合格的情况,对此可以生成检验不合格的审核信息。对应的,可以以红色表示检验不合格。
根据审核信息,还可以对当前批次的交易凭证进行归类。归类的类别可以包括高风险、中风险、低风险中的一种。例如,在审核信息为完全合格的情况下,可以对应低风险。在审核信息为检验不完全合格的情况下,可以对应中风险。在审核信息为检验不合格的情况下,可以对应高风险。或者,也可以是在指定的检验项检验不合格的情况下,对应高风险。对应的,可以根据归类的类别,为当前批次的交易凭证分配对应的颜色。
步骤S304:根据类别进行预警。
对于高风险的目标对象,预警方式可以包括禁止流通。例如,可以包括禁止交易、禁止运输等。另外,对于风险等级高的目标对象,预警方式还可以包括向对应的管理机构进行报备,以通知对应的管理机构执行对应管理。对于中风险的目标对象,可以正常流转,并进行相关提醒。例如,在用户扫码目标对象的凭证时,可以进行弹窗提示,告知用户当前批次的目标对象可能存在风险。又如,在下游机构批发购入目标对象的情况下,也可以进行对应提醒。对于低风险的目标对象,可以正常流转。
在一种可能的实现方式中,还可以包括以下步骤:将交易凭证发送给指定终端;指定终端包括第一机构对应的用户端和电子合格证的生成端。
生成的交易凭证可以发送给指定终端。例如,可以发送给第一机构对应的用户端。从而可以使得在第一机构工作的相关工作人员获悉交易凭证生成成功的信息。又如,生成的交易凭证可以发送给电子合格证的生成端,从而可以使电子合格证的生成端对于获取到交易凭证的机构进行备案。
在一种可能的实现方式中,目标对象为商品。第一机构包括商品生产机构、商品经销机构、商品运输机构中的至少一种。
商品可以是蔬菜、奶制品、肉食品等农副产品,也可以是服装、电器等其他产品。第一机构则可以是商品的生产商、经销商等。另外,第一机构也可以是商品的运输商等。同理,第一机构的关联机构也可以是商品生产机构、商品经销机构、商品运输机构等。
本申请实施例提供了一种目标对象交易凭证的管理方法,该方法的执行主体可以是开证系统。如图4所示为本申请一实施例的目标对象交易凭证的管理方法的流程图,可以包括:步骤S401:响应于源头机构针对目标对象的电子合格证生成请求,生成电子合格证。
源头机构可以是生产商或者一级经销商等。源头机构可以是对目标对象进行首次处理的机构。源头机构在对目标对象进行首次处理时,需要申请目标对象的电子合格证,以使目标对象可以正常流转。基于此,开证系统会接收到源头机构发送的电子合格证生成请求。经过对源头机构以及对目标对象的检验,在检验合格的情况下可以生成电子合格证。利用电子合格证可以表征目标对象合格。在生成目标对象的电子合格证后,可以开放指定查询接口,以供各机构进行查询。
步骤S402:将源头机构、目标对象与电子合格证进行关联存储。
在生成电子合格证后,可以将电子合格证与源头机构、目标对象、目标对象的电子合格证三者进行关联后存储。由此可以表示源头机构所处理的目标对象是具有电子合格证的。由于目标对象的电子合格证可以表示目标对象是合格的,因此在开证系统可以对检查合格的目标对象处理机构进行存储记录。
在一种可能的实现方式中,还可以包括以下步骤:步骤S403:利用备案信息,记录第二机构处理的目标对象的处理类型以及目标对象的电子合格证;第二机构为源头机构的下游机构,下游机构是利用目标对象的流转情况确定的,流转情况包括流转方向和发生流转的时间,备案信息是由第二机构生成的。
根据目标对象的流转方向以及流转发生时间,可以确定源头机构的下游机构,即,可以确定出第二机构。第二机构在对目标对象进行处理时,需要生成备案信息。备案信息可以是第二机构直接发送至开证系统,也可以是经过溯源系统转发至开证系统。备案信息中可以包含有第二机构对于目标对象的处理处理类型,第二机构的相关信息以及目标对象的相关信息。
目标对象可以是蔬菜、奶制品、肉食品等农副产品,也可以是服装、电器等其他产品。第二机构可以是经销商、运输方等。对应的,第二机构对目标对象的处理处理类型可以是生产、批发销售、零售、进货、运输等。
第二机构的相关信息可以包括第二机构的标识信息。例如,标识信息可以是第二机构的识别码、注册码、资质证明等信息。目标对象的相关信息可以包括目标对象的名称、产地、生产日期、重量等相关信息。目标对象的电子合格证可以表征目标对象是合格的。
步骤S404:将第二机构处理与电子合格证关联存储。
根据备案信息所包含的内容,可以记录由第二机构处理的目标对象以及与目标对象的电子合格证。从而可以对具有电子合格证的目标对象进行备案,还可以对具有目标对象进行处理的机构进行备案。
在一种可能的实现方式中,还可以包括以下步骤:S405:对接收到的查询请求进行权限确认,得到查询请求发送端的权限等级。
查询请求发送端可以是源头机构、第二机构等对目标对象进行处理的主体。也可以是消费者,或者可以是管理机构等。不同的对象可以具有不同的权限等级。例如,消费者可以是第一权限等级。源头机构、第二机构等对目标对象进行处理的主体可以是第二权限等级。管理机构可以是第三权限等级。权限等级可以是在注册时确定的,根据查询请求发送端发送的查询请求,可以确定出查询请求发送端的权限等级。
S406:根据权限等级,对电子合格证进行对应的脱敏处理,得到脱敏后的电子合格证。
不同等级的查询请求发送端可查询的内容彼此不同。例如,管理机构可以查询电子合格证的全部内容。对于源头机构、第二机构等对目标对象进行处理的主体,可以查询电子合格证中与目标对象相关的内容、与自身相关的内容以及上游机构或下有机构的相关内容。消费者可以查询电子合格证中与目标对象相关的内容。由此,针对不同的查询请求发送端,可以对电子合格证进行对应的脱敏处理。
S407:将脱敏后的电子合格证作为查询请求的响应内容。
将脱敏后的电子合格证作为查询请求的响应内容,可以直接显示脱敏后的电子合格证,也可以将脱敏后的电子合格证发送至查询请求发送端。通过对电子合格证的脱敏处理,可以有效实现数据的保密。
与本申请实施例提供的方法的应用场景以及方法相对应地,本申请实施例还提供一种目标对象交易凭证的管理装置。如图5所示为本申请一实施例的目标对象交易凭证的管理装置的结构框图,该目标对象交易凭证的管理装置可以包括:
信息确定模块501,用于对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及所述目标对象的电子合格证;所述备案信息是所述第一机构响应于备案邀请信息所生成的信息,所述备案邀请信息是基于指定触发信息生成的,所述指定触发信息是根据所述第一机构的登录状态或所述电子合格证的生成端的开证进程确定的;交易凭证生成模块502,用于利用处理类型和电子合格证,生成目标对象的交易凭证。
在一种可能的实现方式中,信息确定模块501可以包括:模板内容确定子模块,用于利用预先训练好的内容确定模型,确定所述备案信息中的模板内容;实体内容确定子模块,用于基于所述模板内容,确定与所述模板内容对应的实体内容;识别子模块,用于基于所述实体内容进行结构化内容识别。
在一种可能的实现方式中,交易凭证生成模块502可以包括:关联机构确定子模块,用于利用处理类型,确定第一机构的关联机构,关联机构包括第一机构的上游机构和/或下游机构;交易凭证生成执行子模块,用于基于目标对象在第一机构和关联机构之间的流转情况和电子合格证,生成目标对象的当前批次的交易凭证;流转情况包括流转方向和发生流转的时间;将当前批次的交易凭证作为目标对象的交易凭证。
在一种可能的实现方式中,还可以包括:原始批次的交易凭证确定模块,用于依据发生流转的时间,确定原始批次的交易凭证;溯源链生成模块,用于将原始批次的交易凭证与当前批次的交易凭证进行关联,得到溯源链。
在一种可能的实现方式中,在备案信息中包含对目标对象的审核信息的情况下,还可以包括:归类模块,用于基于审核信息对当前批次的交易凭证进行归类;归类对应的类别包括至少一个风险等级;预警模块,用于根据类别进行预警。
在一种可能的实现方式中,还可以包括:发送模块,用于将交易凭证发送给指定终端;指定终端包括第一机构对应的用户端和电子合格证的生成端。
在一种可能的实现方式中,目标对象为商品;第一机构包括商品生产机构、商品销售机构、商品运输机构中的至少一种。
与本申请实施例提供的方法的应用场景以及方法相对应地,本申请实施例还提供一种基于目标对象交易凭证的管理装置。如图6所示为本申请一实施例的目标对象交易凭证的管理装置的结构框图,可以包括:电子合格证生成模块601,用于响应于源头机构针对目标对象的电子合格证生成请求,生成电子合格证;第一关联存储模块602,用于将源头机构、目标对象与电子合格证进行关联存储。
在一种可能的实现方式中,还可以包括:记录模块,用于利用备案信息,记录第二机构处理的目标对象的处理类型以及目标对象的电子合格证;第二机构为源头机构的下游机构,下游机构是利用目标对象的流转情况确定的,流转情况包括流转方向和发生流转的时间,备案信息是由第二机构生成的;第二关联存储模块,用于将第二机构处理与目标对象的电子合格证关联存储。
在一种可能的实现方式中,还可以包括:权限确认模块,用于对接收到的查询请求进行权限确认,得到所述查询请求发送端的权限等级;脱敏处理模块,用于根据所述权限等级,对所述电子合格证进行对应的脱敏处理,得到脱敏后的电子合格证;响应模块,用于将所述脱敏后的电子合格证作为所述查询请求的响应内容。
本申请实施例各装置中的各模块的功能可以参见上述方法中的对应描述,并具备相应的有益效果,在此不再赘述。
图7为用来实现本申请实施例的电子设备的框图。如图7所示,该电子设备包括:存储器710和处理器720,存储器710内存储有可在处理器720上运行的计算机程序。处理器720执行该计算机程序时实现上述实施例中的方法。存储器710和处理器720的数量可以为一个或多个。
该电子设备还包括:通信接口730,用于与外界设备进行通信,进行数据交互传输。
如果存储器710、处理器720和通信接口730独立实现,则存储器710、处理器720和通信接口730可以通过总线相互连接并完成相互间的通信。该总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准体系结构(Extended Ind ustry Standa rdArchitecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选的,在具体实现上,如果存储器710、处理器720及通信接口730集成在一块芯片上,则存储器710、处理器720及通信接口730可以通过内部接口完成相互间的通信。
本申请实施例提供了一种计算机可读存储介质,其存储有计算机程序,该程序被处理器执行时实现本申请实施例中提供的方法。
本申请实施例还提供了一种芯片,该芯片包括处理器,用于从存储器中调用并运行存储器中存储的指令,使得安装有芯片的通信设备执行本申请实施例提供的方法。
本申请实施例还提供了一种芯片,包括:输入接口、输出接口、处理器和存储器,输入接口、输出接口、处理器以及存储器之间通过内部连接通路相连,处理器用于执行存储器中的代码,当代码被执行时,处理器用于执行申请实施例提供的方法。
应理解的是,上述处理器可以是中央处理器(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者是任何常规的处理器等。值得说明的是,处理器可以是支持进阶精简指令集机器(Advanced RISC Machines,ARM)架构的处理器。
进一步地,可选的,上述存储器可以包括只读存储器和随机访问存储器。该存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以包括只读存储器(R e a d ‑ O n l y M e m o r y ,R O M)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以包括随机访问存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM均可用。例如,静态随机访问存储器(Static RAM,SRAM)、动态随机访问存储器(D y n a m i c R a n d o m A c c e s s M e m o r y ,D R A M)、同步动态随机访问存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机访问存储器(Double Data RateSDRAM,DDR SDRAM)、增强型同步动态随机访问存储器(Enhanced SDRAM,ESDRAM)、同步链接动态随机访问存储器(Sync link DRAM,SLDRAM)和直接内存总线随机访问存储器(DirectRambus RAM,DR RAM)。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生依照本申请的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包括于本申请的至少一个实施例或示例中。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。
流程图中描述的或在此以其他方式描述的任何过程或方法可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分。并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能。
在流程图中描述的或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。
应理解的是,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。上述实施例方法的全部或部分步骤是可以通过程序来指令相关的硬件完成,该程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。上述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。该存储介质可以是只读存储器,磁盘或光盘等。
以上所述,仅为本申请的示例性实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请记载的技术范围内,可轻易想到其各种变化或替换,这些都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。
工业实用性
依据本申请实施例可以以目标对象为依据,记录目标对象的流转过程,从而 可以得到目标对象的溯源链。溯源链上的每一个对目标对象进行处理的机构 均可以作为溯源链上的节点。在目标对象出现质量问题或安全问题等情况  时,可以利用交易凭证进行追溯。由此,利用交易凭证可以克服纸质合格证 易伪造易丢失的缺陷,杜绝了安全隐患。另外,交易凭证可以实现目标对象 流转过程的透明化,从而对于目标对象的来源、去向有据可查,最终形成溯 源链追溯体系。

Claims (14)

  1. 一种目标对象交易凭证的管理方法,应用于分布式服务器,其特征在于,包括:
    对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及所述目标对象的电子合格证;所述备案信息是所述第一机构响应于备案邀请信息所生成的信息,所述备案邀请信息是基于指定触发信息生成的,所述指定触发信息是根据所述第一机构的登录状态或所述电子合格证的生成端的开证进程确定的;
    利用所述处理类型和所述电子合格证,生成所述目标对象的交易凭证。
  2. 根据权利要求1所述的方法,其特征在于,所述对接收到的备案信息进行结构化内容识别,包括:
    利用预先训练好的内容确定模型,确定所述备案信息中的模板内容;
    基于所述模板内容,确定与所述模板内容对应的实体内容;
    基于所述实体内容进行结构化内容识别。
  3. 根据权利要求1所述的方法,其特征在于,所述利用所述处理类型和所述电子合格证,生成所述目标对象的交易凭证,包括:
    利用所述处理类型,确定所述第一机构的关联机构,所述关联机构包括所述第一机构的上游机构和/或下游机构;
    基于所述目标对象在所述第一机构和所述关联机构之间的流转情况和所述电子合格证,生成所述目标对象的当前批次的交易凭证;所述流转情况包括流转方向和发生流转的时间;
    将所述当前批次的交易凭证作为所述目标对象的交易凭证。
  4. 根据权利要求3所述的方法,其特征在于,还包括:
    依据所述发生流转的时间,确定原始批次的交易凭证;
    将所述原始批次的交易凭证与所述当前批次的交易凭证进行关联,得到溯源链。
  5. 根据权利要求3所述的方法,其特征在于,在所述备案信息中包含对所述目标对象的审核信息的情况下,还包括:
    基于所述审核信息对所述当前批次的交易凭证进行归类;所述归类对应的类别包括至少一个风险等级;
    根据所述类别进行预警。
  6. 根据权利要求1或5所述的方法,其特征在于,将所述交易凭证发送给指定终端;所述指定终端包括所述第一机构对应的用户端和所述电子合格证的生成端。
  7. 根据权利要求1至5任一所述的方法,其特征在于,所述目标对象为商品;所述第一机构包括商品生产机构、商品销售机构、商品运输机构中的至少一种。
  8. 一种目标对象交易凭证的管理方法,其特征在于,包括:
    响应于源头机构针对目标对象的电子合格证生成请求,生成电子合格证;
    将所述源头机构、所述目标对象与所述电子合格证进行关联存储。
  9. 根据权利要求8所述的方法,其特征在于,还包括:
    利用备案信息,记录第二机构处理的所述目标对象的处理类型以及所述目标对象的电子合格证;所述第二机构为所述源头机构的下游机构,所述下游机构是利用所述目标对象的流转情况确定的,所述流转情况包括流转方向和发生流转的时间,所述备案信息是由所述第二机构生成的;
    将所述第二机构处理与所述目标对象的电子合格证关联存储。
  10. 根据权利要求8或9所述的方法,其特征在于,还包括:
    对接收到的查询请求进行权限确认,得到所述查询请求发送端的权限等级;
    根据所述权限等级,对所述电子合格证进行对应的脱敏处理,得到脱敏后的电子合格证;
    将所述脱敏后的电子合格证作为所述查询请求的响应内容。
  11. 一种目标对象交易凭证的管理装置,其特征在于,包括:
    信息确定模块,用于对接收到的备案信息进行结构化内容识别,确定第一机构处理目标对象的处理类型以及所述目标对象的电子合格证;所述备案信息是所述第一机构响应于备案邀请信息所生成的信息,所述备案邀请信息是基于指定触发信息生成的,所述指定触发信息是根据所述第一机构的登录状态或所述电子合格证的生成端的开证进程确定的;
    交易凭证生成模块,用于利用所述处理类型和所述电子合格证,生成所述目标对象的交易凭证。
  12. 一种目标对象交易凭证的管理装置,其特征在于,包括:
    信息记录模块,用于响应于源头机构针对目标对象的电子合格证生成请求,生成电子合格证;
    存储模块,用于将所述源头机构、所述目标对象与所述电子合格证进行关联存储。
  13. 一种电子设备,包括存储器、处理器及存储在存储器上的计算机程序,所述处理器在执行所述计算机程序时实现权利要求1‑10中任一项所述的方法。
  14. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1‑10中任一项所述的方法。
PCT/CN2023/095528 2022-10-24 2023-05-22 目标对象交易凭证的管理方法、电子设备及存储介质 WO2024087597A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211299545.8A CN115375336B (zh) 2022-10-24 2022-10-24 目标对象交易凭证的管理方法、电子设备及存储介质
CN202211299545.8 2022-10-24

Publications (1)

Publication Number Publication Date
WO2024087597A1 true WO2024087597A1 (zh) 2024-05-02

Family

ID=84073651

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/095528 WO2024087597A1 (zh) 2022-10-24 2023-05-22 目标对象交易凭证的管理方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN115375336B (zh)
WO (1) WO2024087597A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115374421B (zh) * 2022-10-24 2023-01-31 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) 用于目标对象的电子凭证的管理方法、装置及电子设备
CN115375336B (zh) * 2022-10-24 2023-02-24 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) 目标对象交易凭证的管理方法、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111144907A (zh) * 2019-12-25 2020-05-12 深圳市大白菜科技有限公司 商品信息追溯方法、装置、设备与计算机可读存储介质
CN111882329A (zh) * 2020-07-24 2020-11-03 链星数权科技(湖北)有限公司 基于区块链的产品溯源方法及装置
US20210192520A1 (en) * 2019-12-17 2021-06-24 Synchrony Bank Distributed credit ecosystem
CN113888190A (zh) * 2021-10-04 2022-01-04 杭州复杂美科技有限公司 一种基于区块链的商品溯源系统、方法、设备及储存介质
CN114444133A (zh) * 2022-01-25 2022-05-06 支付宝(杭州)信息技术有限公司 基于区块链的货品溯源方法和装置
CN115375336A (zh) * 2022-10-24 2022-11-22 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) 目标对象交易凭证的管理方法、电子设备及存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7953671B2 (en) * 1999-08-31 2011-05-31 American Express Travel Related Services Company, Inc. Methods and apparatus for conducting electronic transactions
CA3022499A1 (en) * 2015-04-30 2016-11-03 10353744 Canada Ltd. Electronic transaction certificate management system
US11132704B2 (en) * 2017-07-06 2021-09-28 Mastercard International Incorporated Method and system for electronic vouchers via blockchain
CN110458671A (zh) * 2019-08-16 2019-11-15 弦子科技(北京)有限公司 一种基于商品数字凭证的商品流通方法及装置
CN111967883A (zh) * 2020-08-07 2020-11-20 智锐达仪器科技南通有限公司 一种农产品溯源方法、系统平台及称重方法
CN112036914A (zh) * 2020-08-31 2020-12-04 山东爱城市网信息技术有限公司 基于区块链的食用农产品合格证管理方法及设备、介质
CN113095848A (zh) * 2021-03-19 2021-07-09 杭州农副产品物流网络科技有限公司 一种食用农产品风险溯源系统
CN112990926A (zh) * 2021-04-25 2021-06-18 河南汇宝会计师事务所有限公司 一种数字货币交易凭证电子帐本的生成方法
CN113706175A (zh) * 2021-08-31 2021-11-26 江超 基于区块链的商品溯源防伪方法及相关设备
CN113807339A (zh) * 2021-09-02 2021-12-17 支付宝(杭州)信息技术有限公司 数据处理方法、装置及设备
CN114626102A (zh) * 2022-03-21 2022-06-14 深圳壹账通智能科技有限公司 基于区块链的电子凭证流转方法、装置、设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210192520A1 (en) * 2019-12-17 2021-06-24 Synchrony Bank Distributed credit ecosystem
CN111144907A (zh) * 2019-12-25 2020-05-12 深圳市大白菜科技有限公司 商品信息追溯方法、装置、设备与计算机可读存储介质
CN111882329A (zh) * 2020-07-24 2020-11-03 链星数权科技(湖北)有限公司 基于区块链的产品溯源方法及装置
CN113888190A (zh) * 2021-10-04 2022-01-04 杭州复杂美科技有限公司 一种基于区块链的商品溯源系统、方法、设备及储存介质
CN114444133A (zh) * 2022-01-25 2022-05-06 支付宝(杭州)信息技术有限公司 基于区块链的货品溯源方法和装置
CN115375336A (zh) * 2022-10-24 2022-11-22 浙江省标准化研究院(金砖国家标准化(浙江)研究中心、浙江省物品编码中心) 目标对象交易凭证的管理方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN115375336A (zh) 2022-11-22
CN115375336B (zh) 2023-02-24

Similar Documents

Publication Publication Date Title
WO2024087597A1 (zh) 目标对象交易凭证的管理方法、电子设备及存储介质
US11682095B2 (en) Methods and apparatus for performing agricultural transactions
US20150235235A1 (en) System for Authenticating Items
KR102181941B1 (ko) 상품 안전성 이력관리 시스템 및 방법
BR112019010235A2 (pt) sistema e método para reduzir fraude em seguro e financiamento comerciais
US20120030116A1 (en) System and apparatus for transaction fraud processing
US20130013512A1 (en) Software development kit based fraud mitigation
AU2012386707B2 (en) Transaction management system and transaction management program
WO2024087598A1 (zh) 目标对象风险的确定方法、电子设备及存储介质
WO2024087596A1 (zh) 用于目标对象的电子凭证的管理方法、装置及电子设备
CN108492119A (zh) 基于区块链的信息防伪认证方法、装置、设备及介质
CN112714920A (zh) 用于在数据库中登记信息的高级方法、系统和装置
WO2020248937A1 (zh) 基于区块链的品质管控系统及其控制方法
CN113095747A (zh) 基于区块链技术的电子提单流转方法及装置
US20120054101A1 (en) Application program interface based fraud mitigation
CN115375337B (zh) 基于物证一体化的宝玉石追溯方法及系统
CN116894712A (zh) 基于区块链的大宗商品交易平台
US20220381573A1 (en) Systems and methods for locating objects and related facilities
RU2534430C2 (ru) Способ определения подлинности товаров в режиме реального времени, контроля распространении, продажи товаров и стимулирования покупки товаров
CN112383407B (zh) 一种基于区块链的在线公证全流程日志处理方法及系统
CN113919946A (zh) 一种交易信息核验方法、装置和电子设备
CN114119195A (zh) 跨境电商数据资产管理方法、装置、计算机设备及介质
CN112669035A (zh) 基于区块链的大宗商品现货交易系统及方法
JP2646063B2 (ja) 商品流通管理システム
CN112308683A (zh) 一种基于区块链的钢材质保书生成和管理方法及系统

Legal Events

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

Ref document number: 23881189

Country of ref document: EP

Kind code of ref document: A1