Credential synchronization method and related device
By realizing the certificate synchronization method in the logistics supply chain system, the problem of the order status and related vouchers in the existing technology have not been automatically synchronized in real time. The efficiency and accuracy of the logistics supply chain.
Patent Information
- Application Number
- CN202210398471.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-04-15
AI Technical Summary
In the existing logistics supply chain system, the order status and related vouchers are not automatically synchronized in real time, resulting in untimely and inaccurate information, and a waste of manpower and material resources.
Through the implementation of the voucher synchronization method in the logistics supply chain system, obtain the target voucher and its audit status, and when the target tenant has upstream or downstream tenants, the synchronous voucher review status or target certificate itself is used to achieve real -time voucher synchronization and review status update Essence
The real -time synchronization and accurate transmission of the order -related vouchers between the upstream and downstream tenants of the logistics supply chain and the accurate transmission of the status of the audit status, reducing the use of manpower and material resources, and improving the efficiency and accuracy of the logistics supply chain.
Smart Images

Figure CN114707938B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of logistics and electronic credentials, and in particular to a credential synchronization method, apparatus, device and computer-readable storage medium. Background Art
[0002] In the operation of the logistics supply chain, it is usually necessary to transmit relevant documents such as signed receipts. When the downstream tenants of the logistics supply chain place an order in the supply chain system, the supply chain system will generate an order. When the downstream tenant's order completes the pickup and receipt actions, it is necessary to feedback the receipt results and related documents to the upstream tenant. A smooth supply chain ordering system should promptly and accurately feedback the order status to the tenants of the supply chain system.
[0003] The transmission of related vouchers such as receipts in traditional logistics supply chains relies on offline paper receipts, and is completed by mail delivery or manual online information updates, which wastes manpower and material resources and is prone to human errors. As a result, logistics supply chain systems and related electronic receipt and feedback technologies have emerged; however, the order status and related vouchers between users of the supply chain system are not automatically synchronized in real time. For example, patent CN111639896A discloses an electronic receipt return method and device, including: sending a query request to a server; the query request includes a query request for the receipt return electronic voucher and a corresponding receipt status query request; receiving feedback data sent by the server; the feedback data includes the receipt return electronic voucher and the corresponding receipt status. This patent synchronizes the receipt status information of the receipt return electronic voucher to the database, so that the sender and the logistics carrier can actively query the receipt status of the receipt return electronic voucher, but does not solve the problem of real-time synchronization of vouchers between users in the supply chain system.
[0004] To achieve credential synchronization in a supply chain system, the present application provides a credential synchronization method, apparatus, device, and computer-readable storage medium. Summary of the invention
[0005] The purpose of this application is to provide a credential synchronization method, device, equipment and computer-readable storage medium to solve the credential synchronization problem of the supply chain system. When the downstream tenant completes the order receipt, the credential review status of the downstream tenant is synchronized with the customer credential review status of the target tenant to facilitate the target tenant's operation and verification of the order.
[0006] The purpose of this application is achieved by the following technical solutions:
[0007] In a first aspect, the present application provides a credential synchronization method for synchronizing credentials between tenants of a logistics supply chain system, the method comprising:
[0008] Obtaining target credentials in the logistics supply chain system;
[0009] Obtaining the credential review status of the target credential by the target tenant of the logistics supply chain system;
[0010] When the target tenant has an upstream tenant, synchronizing the credential review status to the customer review status of the upstream tenant;
[0011] When the target tenant has a downstream tenant and the credential review status is passed, synchronizing the target credential to the order of the downstream tenant;
[0012] Based on the credential review status of the downstream tenant, the customer review status of the target tenant is updated.
[0013] Typically, a target tenant in a logistics supply chain system has upstream tenants and downstream tenants, wherein the target tenant is the customer of its upstream tenant, and the downstream tenant of the target tenant is the customer of the target tenant; the target tenant may have only upstream tenants or only downstream tenants.
[0014] The voucher management status of the logistics supply chain system is divided into voucher review status and customer review status, wherein the voucher review status is used to indicate the tenant's review status of the target voucher, and the customer review status is used to indicate the tenant's customer's review status of the voucher.
[0015] The beneficial effects of the technical solution are as follows: first, the credentials required by the target tenant in the logistics supply chain system and the credential review status of the target user for the credential are obtained. When the target tenant has an upstream tenant, the credential review status is synchronized with the customer review status of the upstream tenant, so that the upstream tenant can timely and accurately know that the target tenant has conducted a credential review and understand the target tenant's review results on the target credential; when the target tenant has a downstream tenant and the target tenant's review status for the credential is in a passed state, the target credential is synchronized to the order of the downstream tenant, so that the downstream tenant can timely review or perform other operations on the target credential; when the downstream tenant completes the review operation on the target credential, based on the credential review status of the downstream tenant, the customer review status of the target tenant is updated, so that the target tenant can know that the downstream tenant has conducted a credential review and timely understand the downstream tenant's review results on the target credential; by adopting the method provided by the present application, the transmission of order-related credentials and the real-time synchronization of the credential review status between upstream and downstream tenants of the logistics supply chain can be completed in the online supply chain system, reducing the use of manpower and material resources, ensuring the accuracy of credential transmission, facilitating the logistics supply chain tenants to conduct timely review and other operations on the credentials, and improving the efficiency of logistics supply chain credential transmission and review.
[0016] In some optional embodiments, the method further comprises:
[0017] When the credential review status is in the passed state, receiving a review rejection operation for the credential, and in response to the review rejection operation, updating the credential review status to the rejected state
[0018] When the credential review status is in a rejected state, a review pass operation for the credential is received, and in response to the review pass operation, the credential review status is updated to a passed state.
[0019] The beneficial effect of this technical solution is that: when the voucher review status of the target voucher is determined to be in a passed state through the review operation of the supply chain system tenant, the supply chain tenant can still perform a review operation on the target voucher again, and the logistics supply chain system updates the voucher review status to a rejected state in response to the review rejection information generated by the tenant's review rejection operation; when the voucher review status of the target voucher is determined to be in a rejected state through the review operation of the supply chain system tenant, the supply chain tenant can still perform a review operation on the target voucher again, and the logistics supply chain system updates the voucher review status to a passed state in response to the review pass information generated by the tenant's review pass operation; thereby ensuring that when an erroneous review result is caused by an operational error, the supply chain tenant can re-review the voucher review result in a timely and effective manner, correct the voucher review result, and enhance the fault tolerance capability of the logistics supply chain system.
[0020] In some optional embodiments, the method further comprises:
[0021] When the credential automatic review switch is turned on, the credential is obtained and tested to see whether the credential matches the preset credential review condition;
[0022] When the detection result is a match, the credential review status of the credential is updated to a passed status.
[0023] The beneficial effect of this technical solution is that after the automatic credential review function is turned on, the credential review operation is completed by comparing whether the obtained target credential matches the preset credential review conditions; when the obtained target credential matches the preset credential review conditions, the credential review is passed, and the credential review status of the credential is updated to a passed status; thereby, the steps of manual review can be reduced, human resources can be saved, and the credential review operation can be performed immediately after the target credential is obtained, thereby improving the efficiency of credential review.
[0024] In some optional implementations, when the target tenant has a downstream tenant and the credential review status is a passed status, synchronizing the target credential to the order of the downstream tenant includes:
[0025] When the credential sending switch is turned on, the downstream tenants of the target tenant are obtained;
[0026] When the credential review status is passed, the target credential is synchronized to the orders of the downstream tenants of the target tenant.
[0027] The beneficial effect of this technical solution is that the tenants of the logistics supply chain system can set the on and off of the credential sending switch. Only when the credential sending switch is on can the credential be synchronized to the downstream tenants of the target tenant, so that the tenants of the logistics supply chain system can flexibly manage the credential; when the credential sending switch is on and the target tenant has downstream tenants, the target credential with a credential verification status of passed is synchronized to the orders of the downstream tenants of the target tenant, so that the downstream tenants can perform operations such as reviewing the target credential.
[0028] In some optional embodiments, the method further comprises:
[0029] A setting operation for the audit authority is received, and in response to the setting operation, a switch state of the credential audit authority is set.
[0030] The beneficial effect of this technical solution is that logistics supply chain tenants can set audit permissions to facilitate the management of audit permissions for specific credentials.
[0031] In some optional implementations, the client review status includes unsent status, pending review status, passed status, and rejected status;
[0032] The method further comprises:
[0033] When the credential review status is in a pending review status, a rejected status, or the credential review status is in a passed status and the downstream tenant of the target tenant cannot receive the credential, determining that the customer review status of the target tenant is in a not-sent status;
[0034] When the credential review status is in the passed state, and the downstream tenant of the target tenant can receive the target credential, determining that the customer review status of the target tenant is in the pending review state;
[0035] When the credential review status of the downstream tenant of the target tenant is in the passed state, determining that the customer review status of the target tenant is in the passed state;
[0036] When the credential review status of the downstream tenant of the target tenant is in a rejected state, it is determined that the customer review status of the target tenant is in a rejected state.
[0037] The beneficial effects of this technical solution are: the customer review status of tenants in the logistics supply chain system includes unsent status, pending review status, passed status, and rejected status; the customer review status is associated with the credential review status of the target tenant and the credential review status of the downstream tenant of the target tenant and determined as the above-mentioned corresponding relationship, so as to realize the synchronous update of the credential review results between the upstream and downstream tenants of the logistics supply chain system, and ensure the accuracy of the synchronous update of the credential review results.
[0038] In some optional embodiments, the method further comprises:
[0039] When the target tenant corresponds to multiple associated orders of downstream tenants of the target tenant, confirming the voucher review status of each associated order;
[0040] When the voucher review status of at least one of the associated orders is in a rejected state, determining that the customer review status of the target tenant is in a rejected state;
[0041] When there is no credential review status of the associated order that is in the rejected state, and the credential review status of at least one associated order is in the pending review state, determining that the customer review status of the target tenant is in the pending review state;
[0042] When the voucher review status of all the associated orders is in the passed state, it is determined that the customer review status of the target tenant is in the passed state.
[0043] The beneficial effect of this technical solution is that: in the logistics supply chain system, there are situations where a target tenant corresponds to multiple associated orders of downstream tenants. In this case, the customer review status of the target tenant and the voucher review status of the downstream tenant are determined as the above-mentioned corresponding relationship, and the special voucher review results in the associated orders are used as the voucher review results of all associated orders to be synchronized to the customer review results of the target tenant, thereby ensuring the accuracy of the synchronous update of the voucher review results and preventing order verification errors and management confusion of the target tenant caused by inconsistent voucher review results of associated orders.
[0044] In a second aspect, the present application further provides a credential synchronization device for synchronizing credentials between tenants of a logistics supply chain system, the credential synchronization device comprising:
[0045] A certificate acquisition module, used to acquire the target certificate in the logistics supply chain system;
[0046] A credential status module, used to obtain the credential review status of the target credential by the target tenant of the logistics supply chain system;
[0047] A first customer status module, used for synchronizing the credential review status to the customer review status of the upstream tenant when the target tenant has an upstream tenant;
[0048] A voucher synchronization module, used for synchronizing the target voucher to the order of the downstream tenant when the target tenant has a downstream tenant and the voucher review status is passed;
[0049] The second customer status module is used to update the customer review status of the target tenant based on the credential review status of the downstream tenant.
[0050] In some optional implementations, the credential synchronization device further includes:
[0051] A first status update module, configured to receive a review rejection operation for the credential when the credential review status is a passed status, and update the credential review status to a rejected status in response to the review rejection operation;
[0052] The second status update module is used to receive a review pass operation for the credential when the credential review status is a rejected status, and update the credential review status to a passed status in response to the review pass operation.
[0053] In some optional implementations, the credential synchronization device further includes:
[0054] An automatic review module, used for obtaining the credential and detecting whether the credential matches a preset credential review condition when the credential automatic review switch is turned on;
[0055] The third status updating module is used to update the credential review status of the credential to a passed status when the detection result is a match.
[0056] In some optional implementations, the credential synchronization module includes:
[0057] A downstream tenant acquisition unit, used for acquiring a downstream tenant of the target tenant when the credential sending switch is turned on;
[0058] The voucher synchronization unit is used to synchronize the target voucher to the orders of the downstream tenants of the target tenant when the voucher review status is passed.
[0059] In some optional implementations, the credential synchronization device further includes:
[0060] The audit authority module is used to receive a setting operation for the audit authority, and in response to the setting operation, set the switch state of the credential audit authority.
[0061] In some optional implementations, the client review status includes unsent status, pending review status, passed status, and rejected status;
[0062] The credential synchronization device further comprises:
[0063] A first status determination module, configured to determine that the customer review status of the target tenant is an unsent status when the credential review status is a pending review status, a rejected status, or when the credential review status is a passed status and the downstream tenant of the target tenant cannot receive the credential;
[0064] A second status determination module, configured to determine that the customer review status of the target tenant is a pending review status when the credential review status is a passed status and the downstream tenant of the target tenant can receive the target credential;
[0065] A third status determination module, configured to determine that the customer review status of the target tenant is a passed status when the credential review status of the downstream tenant of the target tenant is a passed status;
[0066] The fourth status determination module is used to determine that the customer review status of the target tenant is a rejected status when the credential review status of the downstream tenant of the target tenant is a rejected status.
[0067] In some optional implementations, the credential synchronization device further includes:
[0068] An associated voucher module, used for confirming the voucher review status of each associated order when the target tenant corresponds to multiple associated orders of a downstream tenant of the target tenant;
[0069] a fifth status determination module, configured to determine that the customer review status of the target tenant is a rejected status when the voucher review status of at least one of the associated orders is a rejected status;
[0070] a sixth status determination module, configured to determine that the customer review status of the target tenant is in a pending review status when no credential review status of the associated order is in a rejected status and the credential review status of at least one associated order is in a pending review status;
[0071] The seventh status determination module is used to determine that the customer review status of the target tenant is a passed status when the voucher review status of all the associated orders is a passed status.
[0072] In a third aspect, the present application provides a credential synchronization device, the credential synchronization device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of any one of the above methods when executing the computer program.
[0073] In a fourth aspect, 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, the steps of any of the above methods are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] The present application is further described below in conjunction with the accompanying drawings and embodiments.
[0075] Figure 1 It is a flowchart of a credential synchronization method provided in an embodiment of the present application;
[0076] Figure 2 It is a partial flow chart of another credential synchronization method provided by an embodiment of the present application;
[0077] Figure 3 It is a partial flow chart of another credential synchronization method provided by an embodiment of the present application;
[0078] Figure 4 It is a schematic diagram of a process of synchronizing a target credential to a downstream tenant provided in an embodiment of the present application;
[0079] Figure 5 It is a partial flow chart of another credential synchronization method provided by an embodiment of the present application;
[0080] Figure 6 It is a partial flow chart of another credential synchronization method provided by an embodiment of the present application;
[0081] Figure 7 It is a partial flow chart of another credential synchronization method provided by an embodiment of the present application;
[0082] Figure 8 It is a structural diagram of a credential synchronization device provided in an embodiment of the present application;
[0083] Fig. 9 is a partial structural diagram of another credential synchronization device provided in an embodiment of the present application;
[0084] Fig.10 It is a partial structural diagram of another credential synchronization device provided in an embodiment of the present application;
[0085] Fig.11 It is a structural diagram of a credential synchronization module provided in an embodiment of the present application;
[0086] Fig.12 It is a partial structural diagram of another credential synchronization device provided in an embodiment of the present application;
[0087] Fig.13 It is a partial structural diagram of another credential synchronization device provided in an embodiment of the present application;
[0088] Fig.14 It is a partial structural diagram of another credential synchronization device provided in an embodiment of the present application;
[0089] Fig.15 This is a partial flow diagram of a credential review provided by an embodiment of the present application;
[0090] Fig.16 This is a schematic diagram of a process for synchronizing credentials between tenants of a logistics supply chain system provided by an embodiment of the present application;
[0091] Fig.17 It is a structural diagram of a credential synchronization device provided in an embodiment of the present application;
[0092] Fig.18 It is a structural diagram of a program product for implementing a credential synchronization method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0093] Below, the present application is further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0094] See also Figure 1 , Figure 1 The embodiment of the present application provides a method for synchronizing credentials between tenants of a logistics supply chain system, and the method includes:
[0095] Step S101: Acquire the target certificate in the logistics supply chain system;
[0096] Step S102: obtaining the credential review status of the target credential by the target tenant of the logistics supply chain system;
[0097] Step S103: When the target tenant has an upstream tenant, synchronizing the credential review status to the customer review status of the upstream tenant;
[0098] Step S104: When the target tenant has a downstream tenant and the credential review status is passed, synchronizing the target credential to the order of the downstream tenant;
[0099] Step S105: Based on the credential review status of the downstream tenant, the customer review status of the target tenant is updated.
[0100] Typically, a target tenant in a logistics supply chain system has upstream tenants and downstream tenants, wherein the target tenant is the customer of its upstream tenant, and the downstream tenant of the target tenant is the customer of the target tenant; the target tenant may have only upstream tenants or only downstream tenants.
[0101] The voucher management status of the logistics supply chain system is divided into voucher review status and customer review status, wherein the voucher review status is used to indicate the tenant's review status of the target voucher, and the customer review status is used to indicate the tenant's customer's review status of the voucher.
[0102] First, the credentials required by the target tenant in the logistics supply chain system and the credential review status of the target user for the credential are obtained. When the target tenant has an upstream tenant, the credential review status is synchronized with the customer review status of the upstream tenant, so that the upstream tenant can timely and accurately know that the target tenant has conducted a credential review and understand the target tenant's review results on the target credential; when the target tenant has a downstream tenant and the target tenant's review status for the credential is in a passed state, the target credential is synchronized to the order of the downstream tenant, so that the downstream tenant can timely review or perform other operations on the target credential; when the downstream tenant completes the review operation on the target credential, based on the credential review status of the downstream tenant, the customer review status of the target tenant is updated, so that the target tenant can know that the downstream tenant has conducted a credential review and timely understand the downstream tenant's review results on the target credential; using the method provided by the present application, the transmission of order-related credentials and the real-time synchronization of the credential review status between upstream and downstream tenants of the logistics supply chain can be completed in the online supply chain system, reducing the use of manpower and material resources, ensuring the accuracy of credential transmission, facilitating the logistics supply chain tenant to conduct timely review and other operations on the credential, and improving the efficiency of logistics supply chain credential transmission and review.
[0103] This application does not limit the target voucher. In some optional implementations, the target voucher can be the tenant's delivery list, invoice, delivery voucher to be signed by the downstream tenant, voucher signed by the downstream tenant, etc.
[0104] In some optional implementations, the target tenant may be a user of the logistics supply chain system, such as a manufacturer enterprise, a packager enterprise, a supplier enterprise, a dealer enterprise, a distributor enterprise, a self-employed individual or a natural person.
[0105] In a specific implementation, the target tenant is Apple, the upstream tenant of the target tenant is Foxconn, which manufactures for Apple, and the downstream tenants of the target tenant are consumers who purchase Apple mobile phones.
[0106] In another embodiment, the target tenant is Gree Company, the upstream tenant of the target tenant is Yunda Company, the upstream tenant of the upstream tenant of the target tenant is a paper products company, the downstream tenant of the target tenant is the East China general agent, and the downstream tenant of the downstream tenant of the target tenant is the Shanghai general agent.
[0107] In some optional implementations, the credential review status can be represented by one or more of Chinese characters, letters, numbers, symbols, and special symbols. For example, "Passed", "Yes", "1", etc. can be used to express that the logistics supply chain system tenant has reviewed and approved the target credential; "Rejected", "No", "0", etc. can be used to express that the logistics supply chain system tenant has rejected the target credential; "Pending review", "Unchecked", etc. can be used to express that the logistics supply chain system tenant has not reviewed the target credential.
[0108] In some optional implementations, the customer review status can be represented by one or more of Chinese characters, letters, numbers, symbols, and special symbols. For example, "Not sent", "Unset", etc. are used to express that the downstream tenant of the logistics supply chain system tenant has not yet received the target certificate; "Pending review", "Unchecked", etc. are used to express that the downstream tenant of the logistics supply chain system tenant has not yet reviewed the target certificate; "Passed", "Yes", "1", etc. are used to express that the downstream tenant of the logistics supply chain system tenant has reviewed and passed the target certificate; "Rejected", "No", "0", etc. are used to express that the downstream tenant of the logistics supply chain system tenant has reviewed and rejected the target certificate.
[0109] See also Figure 2 , Figure 2 1 is a partial flow chart of another credential synchronization method provided by an embodiment of the present application. In some optional implementations, the method further includes:
[0110] Step S106: When the credential review status is in the passed state, receiving a review rejection operation for the credential, and in response to the review rejection operation, updating the credential review status to the rejected state;
[0111] Step S107: When the credential review status is in a rejected state, receiving a review pass operation for the credential, and in response to the review pass operation, updating the credential review status to a passed state.
[0112] Therefore, when the voucher review status of the target voucher is determined to be in a passed state through the review operation of the supply chain system tenant, the supply chain tenant can still perform a review operation on the target voucher again, and the logistics supply chain system updates the voucher review status to a rejected state in response to the review rejection information generated by the tenant's review rejection operation; when the voucher review status of the target voucher is determined to be in a rejected state through the review operation of the supply chain system tenant, the supply chain tenant can still perform a review operation on the target voucher again, and the logistics supply chain system updates the voucher review status to a passed state in response to the review pass information generated by the tenant's review pass operation; thereby ensuring that when an erroneous review result is caused by an operational error, the supply chain tenant can re-review the voucher review result in a timely and effective manner, correct the voucher review result, and enhance the fault tolerance capability of the logistics supply chain system.
[0113] See also Fig.15 , Fig.15 This is a partial flow diagram of a voucher review provided by an embodiment of the present application. In some optional implementations, when the voucher review status is in the pending review status, the voucher review status is updated to the passed status after the logistics supply chain tenant reviews and approves the target voucher; when the voucher review status is in the pending review status, the voucher review status is updated to the rejected status after the logistics supply chain tenant reviews and rejects the target voucher; when the voucher review status is in the rejected status, after reacquiring the target voucher, the voucher review status is updated to the pending review status; when the voucher review status is in the passed status, the voucher review status is updated to the rejected status after the logistics supply chain tenant reviews and rejects the target voucher; when the voucher review status is in the rejected status, the voucher review status is updated to the passed status after the logistics supply chain tenant reviews and approves the target voucher.
[0114] See also Figure 3 , Figure 3 This is a partial flow chart of another credential synchronization method provided by an embodiment of the present application. In some optional implementations, the method further includes:
[0115] Step S108: when the credential automatic review switch is turned on, obtaining the credential and detecting whether the credential matches the preset credential review condition;
[0116] Step S109: When the detection result is a match, the credential review status of the credential is updated to a passed status.
[0117] Therefore, after the automatic voucher review function is turned on, the voucher review operation is completed by comparing whether the obtained target voucher matches the preset voucher review conditions; when the obtained target voucher matches the preset voucher review conditions, the voucher review is passed, and the voucher review status of the voucher is updated to the passed status; thereby reducing the steps of manual review, saving human resources, and being able to perform voucher review operations immediately after obtaining the target voucher, thereby improving the efficiency of voucher review.
[0118] In some optional embodiments, the preset voucher review condition may be that the target voucher obtained after receiving the goods is a delivery list and invoice with the official seal of the logistics supply chain system tenant, or the target voucher obtained after receiving the goods is a picture of a signed receipt with the official seal of a downstream tenant of the logistics supply chain system tenant.
[0119] In some optional implementations, when the automatic credential review switch is turned off, the logistics supply chain system tenant completes the credential review operation through manual review.
[0120] In some optional implementations, the method further includes: when the detection result is a mismatch, maintaining the credential review status as a pending review status and prompting the logistics supply chain tenant to complete the credential review operation by manual review.
[0121] In some optional implementations, the method further includes: when the detection result is mismatch, updating the review status to a rejected status. Figure 4 , Figure 4 1 is a flow chart of synchronizing target credentials to downstream tenants provided in an embodiment of the present application. In some optional implementations, step S104 includes:
[0122] Step S201: when the credential sending switch is turned on, the downstream tenants of the target tenant are obtained;
[0123] Step S202: When the credential review status is passed, synchronizing the target credential to the orders of the downstream tenants of the target tenant.
[0124] Therefore, the tenants of the logistics supply chain system can set the on and off of the credential sending switch. Only when the credential sending switch is on, the credential can be synchronized to the downstream tenants of the target tenant, so that the tenants of the logistics supply chain system can flexibly manage the credential; when the credential sending switch is on and the target tenant has downstream tenants, the target credential with a credential review status of passed will be synchronized to the orders of the downstream tenants of the target tenant, so that the downstream tenants can perform operations such as reviewing the target credential.
[0125] See also Figure 5 , Figure 5This is a partial flow chart of another credential synchronization method provided by an embodiment of the present application. In some optional implementations, the method further includes:
[0126] Step S110: receiving a setting operation for the audit authority, and in response to the setting operation, setting a switch state of the credential audit authority.
[0127] Therefore, logistics supply chain tenants can set audit permissions to facilitate the management of audit permissions for targeted credentials.
[0128] In some optional implementations, tenants of the logistics supply chain system can set the audit authority for different working hours. For example, the switch status of the credential audit authority can be set to on during the time period from 8:00 to 17:00 on weekdays; the switch status of the credential audit authority can be set to off during the time periods from 17:00 to 24:00 and from 0:00 to 8:00 on weekdays; the switch status of the credential audit authority can be set to off throughout the day on weekends.
[0129] In some optional implementations, tenants of the logistics supply chain system can set the review authority for different staff members, for example, enabling the review authority of item inventory vouchers for warehouse managers and closing the review authority of invoice vouchers, closing the review authority of item inventory vouchers for financial personnel and enabling the review authority of invoice vouchers.
[0130] In some optional implementations, tenants of the logistics supply chain system can set audit permissions for different target voucher types, for example, inventory vouchers can only be audited by warehouse managers; invoice vouchers can only be audited by financial personnel.
[0131] In some optional implementations, when the switch status of the credential review authority is on, the target credential can be manually reviewed or automatically reviewed; when the switch status of the credential review authority is off, the review button corresponding to the review authority is gray, and when an audit tenant without authority performs an audit operation, a prompt of no authority is given, for example, when the mouse hovers over the review button without audit authority, a prompt of no authority is given.
[0132] See also Figure 6 , Figure 6 This is a partial flow chart of another credential synchronization method provided by an embodiment of the present application. In some optional implementations, the customer review status includes an unsent status, a pending review status, a passed status, and a rejected status;
[0133] The method further comprises:
[0134] Step S111: when the credential review status is in a pending review status, a rejected status, or the credential review status is in a passed status and the downstream tenant of the target tenant cannot receive the credential, determining that the customer review status of the target tenant is in a not-sent status;
[0135] Step S112: when the credential review status is in the passed state, and the downstream tenant of the target tenant can receive the target credential, determining that the customer review status of the target tenant is in the pending review state;
[0136] Step S113: when the credential review status of the downstream tenant of the target tenant is in the passed state, determining that the customer review status of the target tenant is in the passed state;
[0137] Step S114: when the credential review status of the downstream tenant of the target tenant is in a rejected state, determining that the customer review status of the target tenant is in a rejected state.
[0138] Therefore, the customer review status of the tenants of the logistics supply chain system includes the unsent status, pending review status, passed status, and rejected status; the customer review status is associated with the credential review status of the target tenant and the credential review status of the downstream tenant of the target tenant and determined as the above-mentioned corresponding relationship, so as to realize the synchronous update of the credential review results between the upstream and downstream tenants of the logistics supply chain system, and ensure the accuracy of the synchronous update of the credential review results.
[0139] See also Figure 7 , Figure 7 This is a partial flow chart of another credential synchronization method provided by an embodiment of the present application. In some optional implementations, the method further includes:
[0140] Step S115: when the target tenant corresponds to multiple associated orders of downstream tenants of the target tenant, confirm the voucher review status of each associated order;
[0141] Step S116: when the voucher review status of at least one of the associated orders is in a rejected state, determining that the customer review status of the target tenant is in a rejected state;
[0142] Step S117: when no credential review status of the associated order is in the rejected state, and the credential review status of at least one associated order is in the pending review state, determining that the customer review status of the target tenant is in the pending review state;
[0143] Step S118: When the voucher review status of all the associated orders is in the passed state, it is determined that the customer review status of the target tenant is in the passed state.
[0144] Therefore, there are situations in the logistics supply chain system where the target tenant corresponds to multiple associated orders of the downstream tenant. In this case, the customer review status of the target tenant and the voucher review status of the downstream tenant are determined as the above-mentioned correspondence, and the special voucher review results in the associated orders are used as the voucher review results of all associated orders and synchronized to the customer review results of the target tenant, so as to ensure the accuracy of the synchronous update of the voucher review results and prevent order verification errors and management chaos of the target tenant caused by inconsistent voucher review results of associated orders.
[0145] See also Fig.16 , Fig.16 This is a flow chart of credential synchronization between tenants of a logistics supply chain system provided by an embodiment of the present application. In a specific implementation, A, B, and C are all tenants of the logistics supply chain system, tenant B is the target tenant, tenant A is the upstream tenant of tenant B, and tenant C is the downstream tenant of tenant B, that is, tenant B is the customer of tenant A, and tenant C is the customer of tenant B; tenants A, tenant B, and tenant C can know their own credential review status for the target credential and the customer review status of their own customers for the target credential in the logistics supply chain system.
[0146] Tenant B orders a batch of goods from Tenant A, and the logistics supply chain system generates Order 1. The logistics supply chain system obtains the target voucher of Order 1 (such as the delivery list, invoice, delivery voucher to be signed by Tenant B, etc.). At this time, the voucher review status of Tenant A is pending review; Tenant A has a downstream tenant B. When Tenant A reviews and approves the target voucher, the logistics supply chain system synchronizes the target voucher to Tenant B's order. At this time, Tenant B's voucher review status for the target voucher of Order 1 and Tenant A's customer review status are pending review; Tenant B receives the goods of Order 1 and reviews and approves the target voucher of Order 1 after inspection. At this time, Tenant B's voucher review status for the target voucher of Order 1 is passed; Tenant B has an upstream tenant A, and synchronizes Tenant B's voucher review status for the target voucher of Order 1 to Tenant A's customer review status. At this time, Tenant A's customer review status is updated to passed.
[0147] Tenant B supplies goods to Tenant C, and the logistics supply chain system generates Order 2. When Tenant C receives the goods of Order 2, it reviews and approves the target voucher of Order 2 without inspecting the goods. At this time, Tenant C's voucher review status for the target voucher of Order 2 and Tenant B's customer review status are both in the passed state. After inspecting the goods, Tenant C finds that the goods do not match the list, and re-reviews and rejects the target voucher of Order 2 while the voucher review status is in the passed state. In response to Tenant C's operation, the logistics supply chain system updates Tenant C's review status for the target voucher of Order 2 and Tenant B's customer review status to the rejected state. After communication between Tenant B and Tenant C, Tenant C approves the target voucher of Order 2, and re-reviews and approves the target voucher of Order 2 while the target voucher review status of Order 2 is in the rejected state. At this time, Tenant C's review status for the target voucher of Order 2 and Tenant B's customer review status are both in the passed state.
[0148] Tenant B supplies goods to Tenant C, and the logistics supply chain system generates Order 2. After Tenant C receives the goods of Order 2, it inspects the goods and finds that the goods do not match the list. Tenant C reviews and rejects the target voucher of Order 2. At this time, the voucher review status of Tenant C and the customer review status of Tenant B are rejected. After knowing the review status of Tenant C, Tenant B re-uploads and reviews the target voucher of Order 2 (such as the shipping list). At this time, the customer review status of Tenant B and the voucher review status of Tenant C are pending review.
[0149] In the logistics supply chain of tenants A and B, based on the trust in tenant A, tenant B turns on the automatic voucher review switch, and the preset voucher review conditions are: the goods are received and the target voucher obtained is the delivery list and invoice with the official seal of tenant A; when tenant B receives the ordered goods, the logistics supply chain system detects that the target voucher obtained is the delivery list and invoice with the official seal of tenant A, that is, it is consistent with the preset voucher review conditions, and the target voucher of the order is reviewed and approved. At this time, the voucher review status of tenant B for the target voucher of the order is passed; when tenant B turns off the automatic voucher review switch, tenant B completes the voucher review operation through manual review.
[0150] In the logistics supply chain of tenant A and tenant B, when A turns on the credential sending switch, the logistics supply chain system obtains the downstream tenants of tenant A, and when the credential review status of the order by tenant A is passed, the target credential of the order is synchronized to the order of tenant B; when tenant A turns off the credential sending switch, the logistics supply chain system stops obtaining the downstream tenants of tenant A and synchronizing the target credential of the order, and waits for tenant A to turn on the credential sending switch. At this time, the customer review status of tenant A is not sent.
[0151] Tenant B purchases tables and chairs from Tenant A as a set, which are divided into a table order and a chair order, forming two related orders; after receiving the goods for the table order and the chair order, Tenant B reviews the target vouchers respectively. When Tenant B reviews and approves the target voucher for the table order and rejects the target voucher for the chair order, the customer review status of Tenant A's table order and chair order both show rejected status; when Tenant B reviews and approves the target voucher for the table order and has not yet reviewed the target voucher for the chair order, the customer review status of Tenant A's table order and chair order both show pending review status; when Tenant B reviews and approves the target voucher for the table order and the target voucher for the chair order, the customer review status of Tenant A's table order and chair order both show passed status.
[0152] See also Figure 8 , Figure 8 It is a structural diagram of a credential synchronization device provided in an embodiment of the present application.
[0153] The embodiment of the present application also provides a credential synchronization device, and its specific implementation method is consistent with the implementation method and technical effects recorded in the embodiment of the above-mentioned credential synchronization method, and some contents are not repeated here.
[0154] The credential synchronization device is used for synchronizing credentials between tenants of a logistics supply chain system, and the credential synchronization device includes:
[0155] The certificate acquisition module 101 is used to acquire the target certificate in the logistics supply chain system;
[0156] The voucher status module 102 is used to obtain the voucher review status of the target voucher by the target tenant of the logistics supply chain system;
[0157] A first customer status module 103, for synchronizing the credential review status to the customer review status of the upstream tenant when the target tenant has an upstream tenant;
[0158] The credential synchronization module 104 is used to synchronize the target credential to the order of the downstream tenant when the target tenant has a downstream tenant and the credential review status is passed;
[0159] The second customer status module 105 is used to update the customer review status of the target tenant based on the credential review status of the downstream tenant.
[0160] See also Fig. 9 , Fig. 9 1 is a partial structural diagram of another credential synchronization device provided in an embodiment of the present application. In some optional implementations, the credential synchronization device further includes:
[0161] A first status updating module 106, configured to receive a review rejection operation for the credential when the credential review status is a passed status, and update the credential review status to a rejected status in response to the review rejection operation;
[0162] The second status updating module 107 is configured to receive a review pass operation for the credential when the credential review status is a rejected status, and update the credential review status to a passed status in response to the review pass operation.
[0163] See also Fig.10 , Fig.10 1 is a partial structural diagram of another credential synchronization device provided by an embodiment of the present application. In some optional implementations, the credential synchronization device further includes:
[0164] The automatic review module 108 is used to obtain the credential and detect whether the credential matches the preset credential review condition when the credential automatic review switch is turned on;
[0165] The third status updating module 109 is used to update the credential review status of the credential to a passed status when the detection result is a match.
[0166] See also Fig.11 , Fig.11 1 is a schematic diagram of the structure of a credential synchronization module provided in an embodiment of the present application. In some optional implementations, the credential synchronization module 104 includes:
[0167] A downstream tenant acquisition unit 201, configured to acquire a downstream tenant of the target tenant when the credential sending switch is turned on;
[0168] The voucher synchronization unit 202 is used to synchronize the target voucher to the orders of the downstream tenants of the target tenant when the voucher review status is passed.
[0169] See also Fig.12 , Fig.12 1 is a partial structural diagram of another credential synchronization device provided by an embodiment of the present application. In some optional implementations, the credential synchronization device further includes:
[0170] The audit authority module 110 is used to receive a setting operation for the audit authority, and set the switch state of the credential audit authority in response to the setting operation.
[0171] See also Fig.13 , Fig.13 It is a partial structural diagram of another credential synchronization device provided by an embodiment of the present application. In some optional implementations, the customer review status includes an unsent status, a pending review status, a passed status, and a rejected status;
[0172] The credential synchronization device further comprises:
[0173] A first status determination module 111, configured to determine that the customer review status of the target tenant is in an unsent state when the credential review status is in a pending review state, a rejected state, or when the credential review status is in a passed state and the downstream tenant of the target tenant cannot receive the credential;
[0174] A second status determination module 112 is configured to determine that the customer review status of the target tenant is a pending review status when the credential review status is a passed status and the downstream tenant of the target tenant can receive the target credential;
[0175] A third status determination module 113, configured to determine that the customer review status of the target tenant is in the passed state when the credential review status of the downstream tenant of the target tenant is in the passed state;
[0176] The fourth status determination module 114 is configured to determine that the customer review status of the target tenant is a rejected status when the credential review status of the downstream tenant of the target tenant is a rejected status.
[0177] See also Fig.14 , Fig.14 1 is a partial structural diagram of another credential synchronization device provided by an embodiment of the present application. In some optional implementations, the credential synchronization device further includes:
[0178] The associated voucher module 115 is used to confirm the voucher review status of each associated order when the target tenant corresponds to multiple associated orders of the downstream tenant of the target tenant;
[0179] A fifth status determination module 116, configured to determine that the customer review status of the target tenant is a rejected status when the voucher review status of at least one of the associated orders is a rejected status;
[0180] The sixth status determination module 117 is used to determine that the customer review status of the target tenant is in the pending review status when no credential review status of the associated order is in the rejected status and the credential review status of at least one associated order is in the pending review status;
[0181] The seventh status determination module 118 is used to determine that the customer review status of the target tenant is a passed status when the voucher review status of all the associated orders is a passed status.
[0182] See also Fig.17 , Fig.17 It is a structural diagram of a credential synchronization device provided in an embodiment of the present application.
[0183] The embodiment of the present application further provides a credential synchronization device 200, including at least one memory 210, at least one processor 220, and a bus 230 connecting different platform systems.
[0184] The memory 210 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 211 and / or a cache memory 212 , and may further include a read only memory (ROM) 213 .
[0185] Among them, the memory 210 also stores a computer program, which can be executed by the processor 220, so that the processor 220 executes the steps of the above method in the embodiment of the present application. Its specific implementation method is consistent with the implementation method and the technical effect achieved recorded in the embodiment of the above method, and some contents will not be repeated here.
[0186] The memory 210 may also include a utility 214 having at least one program module 215, such program module 215 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0187] Accordingly, the processor 220 may execute the above-mentioned computer program and may execute the utility 214 .
[0188] The bus 230 may be a bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
[0189] The credential synchronization device 200 may also communicate with one or more external devices 240, such as a keyboard, a pointing device, a Bluetooth device, etc., and may also communicate with one or more devices that can interact with the credential synchronization device 200, and / or communicate with any device that enables the credential synchronization device 200 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication may be performed through the input and output interface 250. In addition, the credential synchronization device 200 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 260. The network adapter 260 may communicate with other modules of the credential synchronization device 200 through the bus 230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the credential synchronization device 200, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.
[0190] The embodiment of the present application also provides a computer-readable storage medium, which is used to store a computer program. When the computer program is executed, the steps of the above-mentioned method in the embodiment of the present application are implemented. The specific implementation method is consistent with the implementation method and the technical effect recorded in the embodiment of the above-mentioned credential synchronization method, and some contents are not repeated here.
[0191] See also Fig.18 , Fig.18 : is a schematic diagram of the structure of a program product for implementing a credential synchronization method provided by an embodiment of the present application. This embodiment provides a program product 300 for implementing the above-mentioned credential synchronization method, which can use a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product 300 of the present invention is not limited to this. In the present application, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device. The program product 300 can use any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more conductors, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0192] Computer-readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium may also be any readable medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or for use in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above. The program code for performing the operation of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also conventional procedural programming languages such as C language or similar programming languages. The program code may be executed entirely on a user computing device, partially on an associated device, as an independent software package, partially on a user computing device, partially on a remote computing device, or entirely on a remote computing device or server. Where a remote computing device is involved, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0193] This application is explained from the perspectives of purpose of use, effectiveness, progress and novelty, and has met the functional enhancement and usage requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred embodiments of this application, and are not intended to limit this application. Therefore, all structures, devices, features, etc. that are similar or identical to this application, that is, all equivalent replacements or modifications made in accordance with the scope of the patent application of this application, should fall within the scope of protection of the patent application of this application.
Claims
1. A credential synchronization method, characterized in that: The method is used for synchronizing credentials between tenants of a logistics supply chain system, and comprises: Obtaining target credentials in the logistics supply chain system; Obtaining the credential review status of the target credential by the target tenant of the logistics supply chain system; When the target tenant has an upstream tenant, synchronizing the credential review status to the customer review status of the upstream tenant; When the target tenant has a downstream tenant and the credential review status is passed, synchronizing the target credential to the order of the downstream tenant; Based on the credential review status of the downstream tenant, update the customer review status of the target tenant; When the credential review status is in a passed state, receiving a review rejection operation for the credential, and in response to the review rejection operation, updating the credential review status to a rejected state; When the credential review status is in a rejected state, receiving a review pass operation for the credential, and in response to the review pass operation, updating the credential review status to a passed state; The client review status includes unsent status, pending review status, passed status or rejected status; When the credential review status is in a pending review status or a rejected status; or when the credential review status is in a passed status and the downstream tenant of the target tenant cannot receive the credential, determining that the customer review status of the target tenant is in a not sent status; When the credential review status is in the passed state, and the downstream tenant of the target tenant can receive the target credential, determining that the customer review status of the target tenant is in the pending review state; When the credential review status of the downstream tenant of the target tenant is in the passed state, determining that the customer review status of the target tenant is in the passed state; When the credential review status of the downstream tenant of the target tenant is in a rejected state, determining that the customer review status of the target tenant is in a rejected state; The target vouchers include the tenant's delivery list, invoice, delivery voucher to be signed by the downstream tenant, and voucher signed by the downstream tenant; the target tenants include manufacturers, packagers, suppliers, dealers, distributors, self-employed individuals or natural persons who are users of the logistics supply chain system.
2. The credential synchronization method according to claim 1, characterized in that: The method further comprises: When the credential automatic review switch is turned on, the credential is obtained and tested to see whether the credential matches the preset credential review condition; When the detection result is a match, the credential review status of the credential is updated to a passed status.
3. The credential synchronization method according to claim 1, characterized in that: When the target tenant has a downstream tenant and the credential review status is a passed status, synchronizing the target credential to the order of the downstream tenant includes: When the credential sending switch is turned on, the downstream tenants of the target tenant are obtained; When the credential review status is passed, the target credential is synchronized to the orders of the downstream tenants of the target tenant.
4. The credential synchronization method according to claim 1, characterized in that: The method further comprises: A setting operation for the audit authority is received, and in response to the setting operation, a switch state of the credential audit authority is set.
5. The credential synchronization method according to claim 1, characterized in that: The method further comprises: When the target tenant corresponds to multiple associated orders of downstream tenants of the target tenant, confirming the voucher review status of each associated order; When the voucher review status of at least one of the associated orders is in a rejected state, determining that the customer review status of the target tenant is in a rejected state; When there is no credential review status of the associated order that is in the rejected state, and the credential review status of at least one associated order is in the pending review state, determining that the customer review status of the target tenant is in the pending review state; When the voucher review status of all the associated orders is in the passed state, it is determined that the customer review status of the target tenant is in the passed state.
6. A credential synchronization device, characterized in that: Used for credential synchronization between tenants of a logistics supply chain system, the credential synchronization device comprises: A certificate acquisition module, used to acquire the target certificate in the logistics supply chain system; A credential status module, used to obtain the credential review status of the target credential by the target tenant of the logistics supply chain system; A first customer status module, used for synchronizing the credential review status to the customer review status of the upstream tenant when the target tenant has an upstream tenant; A voucher synchronization module, used for synchronizing the target voucher to the order of the downstream tenant when the target tenant has a downstream tenant and the voucher review status is passed; A second customer status module, configured to update the customer review status of the target tenant based on the credential review status of the downstream tenant; The credential synchronization device further comprises: A first status update module, configured to receive a review rejection operation for the credential when the credential review status is a passed status, and update the credential review status to a rejected status in response to the review rejection operation; A second status update module is used to receive a review pass operation for the credential when the credential review status is a rejected status, and update the credential review status to a passed status in response to the review pass operation; The client review status includes unsent status, pending review status, passed status or rejected status; The credential synchronization device further comprises: A first status determination module, configured to determine that the customer review status of the target tenant is in an unsent state when the credential review status is in a pending review state or a rejected state; or when the credential review status is in a passed state and the downstream tenant of the target tenant cannot receive the credential; A second status determination module, configured to determine that the customer review status of the target tenant is a pending review status when the credential review status is a passed status and the downstream tenant of the target tenant can receive the target credential; A third status determination module, configured to determine that the customer review status of the target tenant is a passed status when the credential review status of the downstream tenant of the target tenant is a passed status; a fourth status determination module, which determines that the customer review status of the target tenant is a rejected status when the credential review status of the downstream tenant of the target tenant is a rejected status; The target vouchers include the tenant's delivery list, invoice, delivery voucher to be signed by the downstream tenant, and voucher signed by the downstream tenant; the target tenants include manufacturers, packagers, suppliers, dealers, distributors, self-employed individuals or natural persons who are users of the logistics supply chain system.
7. A credential synchronization device, characterized in that: The credential synchronization device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Systems and methods for supply chain management
CA2539820A1
Supply chain financial system based on a block chain and a construction method thereof
CN109493235A