Material purchase and sale business cooperation system and method, readable storage medium and terminal equipment

By designing a material purchase and sales collaborative system, the problem of poor integration between multiple systems in the enterprise material purchase and sales business process is solved, the business collaboration process is automated, data accuracy and processing efficiency are improved, manual operations are reduced, and business is ensured. Coordinated security.

CN119250769APending Publication Date: 2025-01-03NAT ENERGY GRP MATERIALS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411091956.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The poor integration between multiple systems in the enterprise's material purchase and sales business process leads to low data accuracy and low processing efficiency. It is necessary to solve the settlement problems caused by the surge in business through information technology.

Method used

Design a material purchase and sales business collaboration system, including an identity authentication unit, a business collaboration configuration unit, a business collaboration management unit and a query unit, and realize the automation of the business collaboration process through identity authentication, business collaborative configuration, automatic execution of business links and data management.

Benefits of technology

It has achieved comprehensive coverage of internal purchase and sales collaboration solutions for trade and non-trade materials, improved business processing efficiency, reduced manual operation and reconciliation workload, and ensured the accuracy and security of business collaboration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119250769A_ABST
    Figure CN119250769A_ABST
Patent Text Reader

Abstract

The invention provides a material purchase and sale business cooperation system and method, a readable storage medium and terminal equipment, and relates to the technical field of computers, and the system comprises an identity authentication unit which is used for carrying out the safety authentication of the identity information of a user; the business collaborative configuration unit is used for creating a business collaborative starting configuration table of different businesses, and the business collaborative starting configuration table comprises collaborative business types, business collaborative starting time and business starting links of the corresponding businesses; the business cooperation management unit is used for acquiring business data of a current business order, generating a business cooperation contract information table of a target business, calling a target business cooperation starting configuration table matched with the target business, and starting the target business cooperation starting configuration table based on the business cooperation contract information table; executing a corresponding service starting link through the service collaborative starting time in the target service collaborative starting configuration table, and generating a service collaborative result of the target service; and the query unit is used for acquiring a business collaboration result corresponding to the query instruction from a specified position. The service processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and specifically to a material purchase and sale business collaboration system, a material purchase and sale business collaboration method, a computer-readable storage medium, and a terminal device. Background Art

[0002] At present, the business process of material purchase and sale of enterprises usually involves multiple different systems, but the integration between the systems is usually poor, and there is a lack of interface interaction between the systems. For example, for the purchase and warehousing operations involved in the purchase and sale of materials, it is usually necessary to manually enter the warehouse one by one and issue the warehouse one by one. There are many manual operations and a large workload, and there are repeated audits by both parties. Especially for large enterprises, the mall settlement business volume is large, the number of purchasing units and suppliers is large, and the amount of receiving and issuing invoices is large, which often leads to low data accuracy and low data processing efficiency in the purchase and sale of materials. Therefore, it is urgent to solve the settlement problems caused by the surge in business through information technology and digital transformation. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a material purchase and sale business collaboration system, a material purchase and sale business collaboration method, a computer-readable storage medium and a terminal device to solve the above-mentioned problems.

[0004] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a material purchase and sale business collaboration system, which is applied to a server and includes:

[0005] An identity authentication unit, used to respond to a user's access request, obtain the user's identity information, and perform security authentication on the user's identity information;

[0006] A business collaboration configuration unit, configured to create a business collaboration activation configuration table for different businesses in response to a configuration instruction of a user, wherein the business collaboration activation configuration table at least includes a collaborative business type, a business collaboration activation time, and an activation business link of the corresponding business;

[0007] A business collaboration management unit is used to receive a business order, determine a target business of a current business order, obtain business data of the current business order and generate a business collaboration contract information table of the target business, call a target business collaboration activation configuration table that matches the target business, execute a corresponding business activation link based on the business collaboration contract information table and the business collaboration activation time in the target business collaboration activation configuration table, generate a business collaboration result of the target business and store the generated business collaboration result in a designated location;

[0008] The query unit is used to respond to the user's query instruction, obtain the business collaboration result corresponding to the query instruction from the specified location, and return the business collaboration result to the user.

[0009] Optionally, the user's identity information includes a user ID and a first access password; in response to the user's access request, obtaining the user's identity information includes:

[0010] In response to an access request from the user, returning a first authentication path to the user, the first authentication path including at least one first authentication challenge;

[0011] Obtaining a first response from the user to the first authentication challenge, the first response including a user ID and a first access password;

[0012] Perform security authentication on the user's identity information, including:

[0013] If it is determined that the obtained user ID and the first access password are valid, determining a plurality of second authentication challenges associated with the current user ID;

[0014] randomly obtaining a plurality of second authentication challenges from a plurality of second authentication challenges associated with the current user ID, generating a second authentication path based on the plurality of second authentication challenges obtained randomly, and returning the second authentication path to the user;

[0015] receiving second responses from the user to the plurality of second authentication challenges in the second authentication path, and if it is determined that all the second responses returned by the user are valid, determining that the access request of the user is valid; otherwise, returning an error message to the user;

[0016] The second authentication challenge includes the user's biometric key, personal identification code, signature information or identity proof image.

[0017] Optionally, the activated business link includes at least one of procurement warehousing collaboration, sales warehousing collaboration and sales invoicing collaboration; the system further includes:

[0018] A function construction unit is used to establish an execution function corresponding to each enabled business link, so that when the execution function is called, it can execute the corresponding enabled business link according to the preset business process. The execution function includes at least one of the procurement warehousing collaborative execution function, the sales warehousing outbound collaborative execution function and the sales invoicing collaborative execution function.

[0019] Optionally, the business collaboration enabling configuration table further includes:

[0020] A collaborative subject code, a first collaborative activation identifier, a second collaborative activation identifier, and a third collaborative activation identifier, wherein the collaborative subject includes a purchasing enterprise or a selling enterprise;

[0021] Among them, when the first collaboration activation flag is valid, it means that the purchasing enterprise has activated collaboration, when the second collaboration activation flag is valid, it means that the sales enterprise has activated collaboration, and when the third collaboration activation flag is valid, it means that collaboration is activated for sales invoicing.

[0022] Optionally, executing a corresponding service activation link based on the service collaboration activation time in the target service collaboration activation configuration table includes:

[0023] Monitor the current time in real time. When the current time reaches the business collaboration activation time configured in the target business collaboration activation configuration table, determine the enabled business link associated with the current business collaboration activation time, call the execution function corresponding to the currently enabled business link, and run the execution function to execute the business process of the currently enabled business link through the execution function.

[0024] Optionally, the system further comprises:

[0025] The log unit is used to record the error information generated in the execution of the corresponding activation business link;

[0026] The manual execution unit is used to execute corresponding purchase warehousing, sales warehousing or sales invoicing business operations in response to the business operation instructions generated by the user based on the error information after producing the business collaboration result of the target business.

[0027] Optionally, in response to a query instruction of a user, acquiring a business collaboration result corresponding to the query instruction from the specified location, and returning the business collaboration result to the user, includes:

[0028] In response to a user's query instruction, determine a business collaboration result corresponding to the query instruction, and obtain the user's public key;

[0029] Randomly generate an encryption character and multiple encryption operators, and randomly sort the generated multiple encryption operators;

[0030] According to the sorting order of each encryption operator, the encryption character and the obtained business collaboration result are encrypted by each encryption operator in turn to obtain an encrypted business collaboration result;

[0031] Encrypting the once-encrypted business collaboration result, the encrypted characters, and the sorting order of each encryption operator by using the public key to obtain a twice-encrypted business collaboration result, and returning the twice-encrypted business collaboration result to the user;

[0032] Receiving encryption operator sorting information from a user, wherein the encryption operator sorting information is obtained by the user decrypting the secondary encrypted business collaboration result using a private key;

[0033] If the encryption operator sorting information matches the sorting order of each encryption operator, storage index information pointing to the storage location of each encryption operator is returned to the user, so that the user can obtain the corresponding encryption operator according to the storage index information, and decrypt the business collaboration result after the first decryption according to the encryption operator sorting information and the encrypted character to obtain the business collaboration result corresponding to the query instruction, wherein the business collaboration result after the first decryption is obtained by the user after decrypting the business collaboration result after the second encryption through a private key.

[0034] In a second aspect of the present application, a material purchase and sale business collaboration method is provided, using the above-mentioned material purchase and sale business collaboration system, the method comprising:

[0035] Responding to the user's access request through the identity authentication unit, obtaining the user's identity information, and performing security authentication on the user's identity information;

[0036] In response to the user's configuration instruction, the business collaboration configuration unit creates a business collaboration activation configuration table for different businesses, wherein the business collaboration activation configuration table at least includes the collaborative business type, business collaboration activation time, and business activation link of the corresponding business;

[0037] Receive a business order through a business collaboration management unit, determine the target business of the current business order, obtain business data of the current business order and generate a business collaboration contract information table of the target business, call a target business collaboration activation configuration table that matches the target business, and based on the business collaboration contract information table, execute the corresponding business activation link through the business collaboration activation time in the target business collaboration activation configuration table, generate a business collaboration result of the target business and store the generated business collaboration result to a specified location;

[0038] The query unit responds to the query instruction of the user, obtains the business collaboration result corresponding to the query instruction from the specified location, and returns the business collaboration result to the user.

[0039] In a third aspect of the present application, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, causes the processor to execute the material purchase and sale business collaboration method as described above.

[0040] In a fourth aspect of the present application, a terminal device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned material purchase and sale business collaboration method when executing the computer program.

[0041] The embodiments provided in this application have the following beneficial effects:

[0042] This application can achieve comprehensive coverage of internal purchase and sales collaboration solutions for trade and non-trade materials within the enterprise, ensure business collaboration, improve business processing efficiency, and effectively reduce the manual operation and reconciliation workload of internal purchase and sales of materials through business collaboration automation.

[0043] Other features and advantages of the embodiments or implementations of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0045] Figure 1 A schematic block diagram schematically shows a material purchase and sales business collaboration system according to an embodiment of the present application;

[0046] Figure 2 A method flow chart schematically shows a collaborative method for material purchase and sales business according to an embodiment of the present application;

[0047] Figure 3 A schematic diagram of the structure of a terminal device according to an embodiment of the present application is shown schematically.

[0048] Description of Reference Numerals

[0049] 10-terminal device, 100-processor, 101-memory, 102-computer program. DETAILED DESCRIPTION

[0050] The specific implementation of the embodiment of the present application is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present application, and is not used to limit the embodiment of the present application.

[0051] In order to solve the above problems, Figure 1 As shown, the first aspect of the present application provides a material purchase and sale business collaboration system, which is applied to a server and includes:

[0052] An identity authentication unit, used to respond to a user's access request, obtain the user's identity information, and perform security authentication on the user's identity information;

[0053] A business collaboration configuration unit, used to create a business collaboration activation configuration table for different businesses in response to a user's configuration instruction, wherein the business collaboration activation configuration table at least includes a collaborative business type, a business collaboration activation time, and an activation business link of the corresponding business;

[0054] A business collaboration management unit is used to receive a business order, determine the target business of the current business order, obtain the business data of the current business order and generate a business collaboration contract information table for the target business, call a target business collaboration activation configuration table that matches the target business, and based on the business collaboration contract information table, execute the corresponding business activation link through the business collaboration activation time in the target business collaboration activation configuration table, generate a business collaboration result for the target business, and store the generated business collaboration result to a specified location;

[0055] The query unit is used to respond to the user's query instruction, obtain the business collaboration result corresponding to the query instruction from the specified location, and return the business collaboration result to the user.

[0056] In this way, this application can achieve comprehensive coverage of internal purchase and sales collaboration plans for trade and non-trade materials within the enterprise, ensure business collaboration, improve business processing efficiency, and effectively reduce the manual operation and reconciliation workload of internal purchase and sales of materials through business collaboration automation.

[0057] Among them, the system of the present application can be deployed in a server. For example, the system of the present application can be implemented based on the existing ERP system of the enterprise, for example, it can be implemented as a part of the existing ERP system of the enterprise, or the system of the present application can be implemented as an independent system, which is not limited here. It can be understood that the technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit, and the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0058] Taking the application of the system of the present application to the material purchase and sale business of an electronic mall as an example, in the present application, before initiating a business request, the user first needs to pass identity authentication, wherein the user's identity information includes a user ID and a first access password; then, in response to the user's access request, obtaining the user's identity information, including: in response to the user's access request, returning a first authentication path to the user, the first authentication path including at least one first authentication challenge, for example, after the user initiates an access request, first returning an authentication path including at least one authentication challenge to the user, for example, returning an authentication link including a user ID and a password to the user, and the user entering the user ID and access password through the authentication link. The system obtains the user's first response to the first authentication challenge, that is, the user ID and the first access password input by the user, and determines whether the user ID and the first access password are valid; if it is determined that the obtained user ID and the first access password are valid, multiple second authentication challenges associated with the current user ID are determined, wherein the second authentication challenge includes the user's biometric key, personal identification code, signature information or identity proof image, etc., for example, the biometric key submitted in advance by the user when registering, such as fingerprint, iris, palm print and other information, or the user's pre-configured personal identification code, or the user's registered signature information, such as an electronic signature, etc., or an identity proof image, for example, data such as a photo of an identity document, for example, when user A registers, he also configures a personal identification code, signature information, and fingerprint information, and the above information is associated with user A in advance, then the second authentication challenge package associated with user A can be determined as the personal identification code, signature information and fingerprint information through user A's user ID. Then, a number of second authentication challenges are randomly obtained from a plurality of second authentication challenges associated with the current user ID, a second authentication path is generated based on the randomly obtained number of second authentication challenges, and the second authentication path is returned to the user. For example, one or more of the personal identification code, signature information, and fingerprint information are randomly selected to generate the second authentication path, and the second authentication path is returned to user A. After receiving the second authentication path, the user responds to the second authentication challenge. For example, the second authentication path includes a personal identification code and signature information. User A inputs the personal identification code and signature through the second authentication path. The system matches the input of user A with the personal identification code and signature information pre-associated with user A. If the match is successful, it is determined that the second response of user A to the second authentication challenge is valid. If it is determined that all the second responses returned by the user are valid, it is determined that the user's access request is valid. Otherwise, the information of identity authentication error is returned to the user. In this way, after random multi-level authentication, the security of material purchase and sale business can be effectively guaranteed.

[0059] The system of this application can be based on the existing SAP system and automatically execute the collaborative method of the entire business process of trading unit purchase warehousing, sales delivery and sales invoicing according to the purchase unit's warehousing information. Among them, the material purchase and sales business collaboration of this application mainly includes four parts: formulating business collaboration rules, controlling business collaboration data, realizing business collaboration functions and handling collaboration data exceptions.

[0060] Among them, the formulation of business collaboration rules includes:

[0061] First, according to the different business scenarios of the trading units, different collaborative business types are defined. For example, in this application, the collaborative business types can be divided into five types according to the business scenarios of the trading units: material trade purchase and sale (self-operated), material trade purchase and sale (self-operated-diesel), material trade purchase and sale (agent), material non-trading purchase and sale, and material trade purchase and sale (e-commerce). It can be understood that the collaborative business type can be defined according to the actual situation, and this is not limited here.

[0062] The business collaboration configuration unit is used to configure the business collaboration activation configuration table, allowing company-level organizations to set the business collaboration activation business type, activation time, and activation business link as needed. The activation business links include procurement warehousing collaboration, sales outbound collaboration, and sales invoicing collaboration.

[0063] For the collaborative activation configuration table, this application uses a log unit to record the error information generated during the execution of the corresponding activation business link. By adding a log recording function, changes in the activation scope can be recorded in real time.

[0064] In the present application, the system also includes: a function construction unit, which is used to establish an execution function corresponding to each enabled business link, so that when the execution function is called, the corresponding enabled business link can be executed according to the preset business process, and the execution function at least includes at least one of the purchase warehousing collaborative execution function, the sales delivery collaborative execution function and the sales invoicing collaborative execution function. For example, a purchase warehousing program, a sales delivery program and a sales invoicing program are added to the ERP system, so that the corresponding purchase warehousing collaborative execution function, the sales delivery collaborative execution function and the sales invoicing collaborative execution function are called to automatically execute the business process.

[0065] In the present application, the business collaboration activation configuration table also includes: collaboration subject code, first collaboration activation identification, second collaboration activation identification and third collaboration activation identification, and the collaboration subject includes a purchasing enterprise or a sales enterprise; wherein, when the first collaboration activation identification is valid, it indicates that the purchasing enterprise has activated collaboration, when the second collaboration activation identification is valid, it indicates that the sales enterprise has activated collaboration, and when the third collaboration activation identification is valid, it indicates that sales invoicing has activated collaboration. In the present application, the business collaboration activation configuration table may include fields such as company code, collaboration business type, collaboration activation date, procurement collaboration activation identification, sales collaboration activation identification, procurement inbound collaboration identification, sales outbound collaboration identification, and sales invoicing collaboration identification.

[0066] The meaning of each field is as follows:

[0067] Company code, i.e. collaboration subject code, primary key. This code is the organizational unit information within the collaboration scope, which is divided into purchasing unit company code or sales unit company code. If it is a purchasing unit, it corresponds to the purchasing contract company code information; if it is a sales unit, it corresponds to the sales contract company code information;

[0068] Collaborative business type, primary key. The purchasing unit and the sales unit use the collaborative business type and the company code to uniquely determine the collaborative business scope of the unit.

[0069] Collaborative activation date: the collaborative activation time can be flexibly defined according to actual business needs;

[0070] Procurement Collaboration Enabled Flag, i.e., the first Collaboration Enabled Flag. After checking this field, it means that the procurement unit has enabled collaboration;

[0071] Sales Enable Collaboration Flag, that is, the second Enable Collaboration Flag. After selecting this field, you need to cooperate with the Collaboration Flag field to uniquely determine the collaboration status of this business link. For example, if the Sales Enable Collaboration Flag plus the Purchase Receipt Collaboration Flag is 1, it means that the trading unit receipt is automatically triggered by the purchase unit receipt. If the Purchase Receipt Collaboration Flag is 2, it means that the trading unit receipt is triggered manually.

[0072] The sales invoicing collaboration identifier, that is, the third enabled collaboration identifier, after checking this field, represents the start of sales invoicing collaboration. It can be understood that the business collaboration enabling configuration table can also include a record creation date field, a creation object person name field, etc.

[0073] Among them, the management and control of business collaboration data includes:

[0074] When the system automatically executes business processes, for business collaboration data, the purchase and warehousing of the trading unit must be executed in accordance with the business collaboration process and functions, and manual operations are not allowed; the sales and warehousing of the trading unit must be controlled in accordance with the business collaboration process and functions, and manual operations are not allowed; the sales invoicing of the trading unit must be controlled in accordance with the business collaboration process and functions, and manual operations are not allowed. For reverse execution of offset data, one party must file an application and the other party must confirm it, and then it must be executed through the collaborative offset procedure. Manual unilateral offset is not allowed. By strictly controlling the automatic execution of business processes by the system, the consistency of data execution can be guaranteed and the risk of data distortion caused by manual intervention can be avoided.

[0075] Realize business collaboration functions, including:

[0076] When the SRM contract is transmitted to the ERP system through the interface to generate an ERP order, the business collaboration management unit can determine the business collaboration activation configuration table matching the order according to the collaborative business type of the business order, and store the order business data, i.e., the collaboration data, in the business collaboration contract information table as the business collaboration basic table according to the data of the purchase contract, sales contract, purchase order and sales order;

[0077] According to the business process nodes, the trade unit purchase warehousing, sales warehousing and sales invoicing are defined as three execution functions respectively;

[0078] In the purchase unit warehousing function, the contract data in the business collaboration basic table is read according to the scope and business process node in the activation table through enhancement, and the purchase warehousing, sales warehousing or sales invoicing functions of the trading unit are called synchronously to execute the corresponding business steps;

[0079] Update the trading unit's purchase receipt, sales delivery or sales invoicing execution results and error information into the business collaboration voucher information table and error log table through the log unit;

[0080] For business collaboration results and error information data, the buyer and seller can conduct real-time queries on the collaboration query table through the query unit to understand the collaboration results of the buyer and seller.

[0081] When the trading unit performs WTEW purchase TC entry, sales TC exit or sales TC invoicing, it checks whether the purchase TC or sales TC is in the business collaboration contract information table. If it is data in the contract information table, it must be executed through the automatic collaboration function, and manual operation is not allowed. At the same time, when the trading unit performs WTEW purchase TC entry offset, sales TC exit offset or sales TC invoicing offset, if the business data is data in the contract information table, it must also be executed through the collaborative offset program, and manual operation is not allowed.

[0082] In this application, the business collaboration contract information table includes fields such as sales contract, sales contract line item, purchase contract, purchase contract line item, purchase TC, purchase TC line item, sales TC, sales TC line item, purchase PO (user), purchase PO (user) line item, purchase unit company code, purchase unit factory, sales unit factory, etc. The meaning of each field is as follows:

[0083] Sales contract, primary key, SRM transfers ERP sales contract number;

[0084] Sales contract line item, primary key, SRM transfers ERP sales contract line item number;

[0085] Purchase contract, primary key, when SRM transfers ERP sales contract, the SRM purchase contract number is synchronously transferred to ERP;

[0086] Purchase contract line item, primary key. When SRM transfers ERP sales contracts, the SRM purchase contract number line item is synchronously transferred to ERP.

[0087] Procurement TC, the trading unit procurement contract is associated with the procurement TC number of the ERP system;

[0088] Procurement TC line items, the trading unit procurement contract is linked to the ERP system procurement TC line items;

[0089] Sales TC, sales contract of trading unit is associated with sales TC number of ERP system;

[0090] Sales TC line items, sales contracts of trading units are associated with sales TC line items in the ERP system;

[0091] Purchase PO (user), the purchase PO number of the user associated with the sales contract;

[0092] Purchase PO (user) line item, sales contract associated user PO line item;

[0093] The company code of the purchasing unit and the company code information of the purchase order (using unit);

[0094] Purchasing unit factory, factory information of purchase order (user);

[0095] Sales unit factory, factory information of the TC sold.

[0096] When reading business data, the business collaboration management unit reads the contract data in the business collaboration basic table according to the range and business process node in the activation table, and synchronously calls the execution functions of the trade unit's purchase warehousing, sales warehousing or sales invoicing to execute the corresponding business steps. There are two business scenarios for the procurement of e-commerce materials by the purchasing unit. For materials that need to be managed in inventory, the purchase unit's warehousing information is used through the ERP system to coordinate the purchase warehousing, sales warehousing and sales invoicing of the trading unit; for materials that do not need to be managed in inventory, after the acceptance of the e-commerce mall system is completed, the acceptance information is transmitted to the ERP system through the interface, and the purchase warehousing, sales warehousing and sales invoicing programs of the trading unit are synchronously run. If the collaboration identifier is manual, it needs to be executed through a self-developed manual execution program. Among them, the manual execution unit of this application, in addition to manually executing the business process based on user instructions when the collaboration identifier is manual, is also used to respond to the business operation instructions generated by the user based on the error information after the business collaboration result of the target business is produced, and execute the corresponding purchase warehousing, sales warehousing or sales invoicing business operations.

[0097] In this application, the business collaboration management unit is also used to create a business collaboration voucher information table and a business collaboration execution error log table. Among them, the business collaboration voucher information table includes: purchase PO warehouse voucher, purchase PO warehouse voucher line item, purchase PO warehouse year, purchase PO (user), purchase PO (user) line item, material number, quantity, TC warehouse voucher, TC warehouse voucher line item and other fields. The meaning of each field is as follows:

[0098] Purchase PO entry voucher, primary key, purchase unit entry voucher number;

[0099] Purchase PO receipt voucher line item, primary key, purchase unit receipt voucher line item number;

[0100] Purchase PO entry year, primary key, the year of the purchase unit entry voucher;

[0101] Purchase PO receipt date, purchase unit receipt date;

[0102] Purchase PO (user), the purchase order preceding the purchase unit's warehousing voucher;

[0103] Purchase PO (user) line item, purchase order line item preceding the purchase unit's receipt voucher;

[0104] Purchase PO receipt document status, receipt document status, divided into normal or offset;

[0105] Purchasing unit factory, the purchasing unit factory code in the ERP system;

[0106] Material code, the purchased material code in the ERP system;

[0107] Quantity: the quantity of the purchasing unit's warehousing voucher;

[0108] Basic unit of measurement, the unit of measurement in the material document;

[0109] Delivery note, the number of the inbound delivery note of the purchasing unit or the outbound delivery note number of the trading unit;

[0110] Delivery order line item, the item number of the purchasing unit's inbound delivery order or the trading unit's outbound delivery order;

[0111] TC entry voucher, the TC entry voucher number of the trading unit;

[0112] TC receipt voucher line item, the trading unit purchases TC receipt voucher line item number;

[0113] TC entry year: the year in which the trading unit purchased the TC entry voucher;

[0114] TC entry document date, the date of the TC entry voucher purchased by the trading unit;

[0115] TC entry document status, the status of the TC entry voucher purchased by the trading unit, which is divided into normal or offset status;

[0116] TC delivery voucher, the trading unit sales TC delivery voucher number;

[0117] TC outbound document line item, trading unit sales TC outbound document line item;

[0118] TC delivery year: the year in which the trading unit sells the TC delivery voucher;

[0119] TC outbound document date, the trading unit sales TC outbound document date;

[0120] TC outbound document status, the trading unit searches for TC outbound document status, which is divided into two states: normal or offset;

[0121] Invoicing application voucher, trading unit sales TC invoicing application voucher number;

[0122] Billing application line item, trading unit sales TC billing application line item;

[0123] The status of the billing application line document and the status of the TC billing application document of the trading unit sales are divided into two states: normal or offset;

[0124] Invoice application date, the date of the TC invoice application voucher for sales of the trading unit;

[0125] Invoice application year: the year in which the trading unit sells the TC invoice application voucher;

[0126] Incomplete flag: According to the collaborative activation rules, based on the status of the execution result of the purchase unit's receipt voucher trading unit, if it is not fully executed, the incomplete flag will be automatically checked;

[0127] Record creation date, the date on which this voucher was newly created;

[0128] Collaborative business type: the collaborative business type corresponding to this voucher.

[0129] The business collaboration execution error log table includes the following fields: Purchase PO (user), Purchase PO (user) line item, Purchase PO receipt voucher, Purchase PO receipt voucher line item, Purchase PO receipt year, collaboration link, error document, error information, etc. The meanings of each field are as follows:

[0130] Purchase PO (user unit), primary key, purchase order number of the purchasing unit;

[0131] Purchase PO (user unit) line item, primary key, purchase unit purchase order line item number;

[0132] Purchase PO warehouse receipt voucher, primary key, purchase unit purchase order warehouse receipt voucher number;

[0133] Purchase PO receipt voucher line item, primary key, purchase unit purchase order receipt voucher line item number;

[0134] Date, primary key, the date this record was added;

[0135] Time, primary key, the time when this record was added;

[0136] Collaboration link, primary key, trading units divide the collaboration links according to purchase warehousing, sales warehousing and sales invoicing;

[0137] Wrong document, purchase TC or sales TC data of the trading unit associated with the purchase order of the purchasing unit;

[0138] Error document line item, purchase TC or sales TC data line item data of the trading unit associated with the purchase unit purchase order;

[0139] Error information, system error information during the execution of the trading unit.

[0140] Both the purchasing unit and the sales unit can query the business collaboration report through the query unit to query the execution status and results of the collaboration data, and can query the forward execution process log and the reversal log.

[0141] In the present application, the corresponding business activation link is executed based on the business collaboration activation time in the target business collaboration activation configuration table, including: real-time monitoring of the current time, when the current time reaches the business collaboration activation time configured in the target business collaboration activation configuration table, determining the business activation link associated with the current business collaboration activation time, calling the execution function corresponding to the current business activation link, running the execution function, so as to execute the business process of the current business activation link through the execution function. For example, after receiving a business order, first call the business collaboration activation configuration table that matches the collaborative business type of the business order, if the business collaboration activation time is configured in the business collaboration activation configuration table, monitor the current time, and when the current time reaches the business collaboration activation time configured in the target business collaboration activation configuration table, trigger the business collaboration process, and call the corresponding execution function according to the business activation link configured in the business collaboration activation configuration table to automatically execute the business process.

[0142] In this application, for the abnormal data phenomenon that may occur during the business collaboration process, the abnormal data can be corrected by the manual execution unit. In this application, the abnormal data processing includes:

[0143] For business steps that need to be executed manually, the system provides a self-developed manual execution program, namely a manual execution unit, in combination with the business collaboration voucher information table to execute business operations such as purchase warehousing, sales delivery, or sales invoicing. For error data in the automatic execution process, the system provides a self-developed supplementary execution program, namely a manual execution unit, in combination with the error log table to execute business operations such as purchase warehousing, sales delivery, or sales invoicing.

[0144] Among them, according to the manual execution links defined in the collaboration activation table, the purchaser combines the business collaboration voucher information table and executes business operations such as purchase warehousing, sales warehousing or sales invoicing through the manual execution unit provided by the system. The execution results and error information can be recorded in the collaboration table and log table. Among them, the manual execution unit also provides the function of financial separate invoice re-issuance.

[0145] According to the automatic execution link defined in the collaborative activation table, for the error data in the automatic execution process, the user can combine the error log table and use the manual execution unit provided by the system to perform business operations such as purchase warehousing, sales delivery or sales invoicing. The execution results and error information can be recorded in the collaborative table and log table. At the same time, the system provides background job functions to support the scheduled execution of purchase warehousing, sales delivery or sales invoicing functions.

[0146] Since the business collaboration data involved in the purchase and sale of materials belongs to the user's commercial privacy, in this application, in order to ensure the security of the business collaboration data, when the user queries the business collaboration data, the business collaboration data is further encrypted for transmission to ensure the security of the business collaboration data. Therefore, in this application, in response to the user's query instruction, the business collaboration result corresponding to the query instruction is obtained from the specified location, and the business collaboration result is returned to the user, including:

[0147] S100: In response to a query instruction of a user, determine a business collaboration result corresponding to the query instruction, and obtain a public key of the user. When the user initiates a query instruction, the user simultaneously sends the public key of the user to the system.

[0148] S200, randomly generate an encryption character and multiple encryption operators, and randomly sort the generated multiple encryption operators. After receiving the user's query instruction, the query unit randomly generates an encryption character and multiple encryption operators, wherein the encryption operator can be an arithmetic operator, a relational operator, a logical operator or a bit operator, etc. For example, a random encryption character X is generated, and encryption operator A, encryption operator B and encryption operator C are randomly generated, and each encryption operator can be any encryption operator, for example, the encryption operator can be a bit operator such as &, ^ or |. Among them, the generation of the encryption operator can also be achieved by pre-building an encryption operator pool, and after receiving the user's query instruction, randomly selecting multiple encryption operators from the encryption operator pool. After the encryption operator is generated, the encryption operator is randomly sorted, for example, sorted into encryption operator C, encryption operator B and encryption operator A.

[0149] S300. According to the sorting order of each encryption operator, the encryption characters and the obtained business collaboration results are encrypted by each encryption operator in turn to obtain the business collaboration results after one encryption. For example, according to the order of encryption operator C, encryption operator B and encryption operator A, the business collaboration results are first encrypted by encryption operator C with encryption character X. For example, the encryption character X is used to perform the operation of encryption operator C on each character of the business collaboration result in turn, and then the encryption operator B is used to encrypt the business collaboration results encrypted by encryption operator C with encryption character X. Finally, the encryption operator A is used to encrypt the business collaboration results encrypted by encryption operator B with encryption character X to obtain the business collaboration results after one encryption. In this way, during the encryption process, the encryption operators and the encryption order of the encryption operators are random, which effectively improves the security of the business collaboration result data.

[0150] S400, encrypt the business collaboration result after the first encryption, the encryption characters and the sorting order of each encryption operator by using the public key, obtain the business collaboration result after the second encryption, and return the business collaboration result after the second encryption to the user. After the business collaboration result data is encrypted by the encryption characters and the encryption operators, the business collaboration result after the first encryption and the sorting order of each encryption operator are encrypted again by using the public key of the user, and the business collaboration result data after the second encryption is sent to the user.

[0151] S500, receiving encryption operator sorting information from the user, wherein the encryption operator sorting information is obtained by the user decrypting the twice-encrypted business collaboration result data using a private key. The user decrypts the twice-encrypted business collaboration result data using his own private key, obtains the sorting order information of each encryption operator, and sends it to the server.

[0152] S600, the query unit deployed on the server matches the received encryption operator sorting information with the sorting order of each encryption operator. If the encryption operator sorting information is consistent with the randomly generated sorting order of each encryption operator, the storage index information pointing to the storage location of each encryption operator is returned to the user, so that the user can obtain the corresponding encryption operator according to the storage index information, and decrypt the business collaboration result after one decryption according to the encryption operator sorting information and the encrypted character to obtain the business collaboration result corresponding to the query instruction, wherein the business collaboration result after one decryption is obtained by the user after decrypting the business collaboration result after two encryptions with a private key. For example, after the user obtains the corresponding encryption operator, according to the encryption operator order, the business collaboration result after one decryption is inversely operated by the encrypted character, thereby decrypting the business collaboration result. Compared with the prior art, the present application can effectively improve the security of the business collaboration result data of the material purchase and sale business.

[0153] like Figure 2 As shown, in a second aspect of the present application, a material purchase and sale business collaboration method is provided, which applies the above-mentioned material purchase and sale business collaboration system, and the method includes:

[0154] Responding to the user's access request through the identity authentication unit, obtaining the user's identity information, and performing security authentication on the user's identity information;

[0155] In response to the user's configuration instruction, the business collaboration configuration unit creates a business collaboration activation configuration table for different businesses, where the business collaboration activation configuration table at least includes the collaborative business type, business collaboration activation time and business activation link of the corresponding business;

[0156] Receive a business order through the business collaboration management unit, determine the target business of the current business order, obtain the business data of the current business order and generate a business collaboration contract information table for the target business, call the target business collaboration activation configuration table that matches the target business, and based on the business collaboration contract information table, execute the corresponding business activation link through the business collaboration activation time in the target business collaboration activation configuration table, generate the business collaboration result of the target business and store the generated business collaboration result to a specified location;

[0157] The query unit responds to the user's query instruction, obtains the business collaboration result corresponding to the query instruction from the specified location, and returns the business collaboration result to the user.

[0158] In a third aspect of the present application, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, causes the processor to execute the material purchase and sale business collaboration method as described above.

[0159] In a fourth aspect of the present application, a terminal device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned material purchase and sale business collaboration method when executing the computer program.

[0160] like Figure 3 FIG. 1 is a schematic diagram of a terminal device provided in an embodiment of the present application. Figure 3 As shown, the terminal device 10 of this embodiment includes: a processor 100, a memory 101, and a computer program 102 stored in the memory 101 and executable on the processor 100. When the processor 100 executes the computer program 102, the steps in the above method embodiment are implemented. Alternatively, when the processor 100 executes the computer program 102, the functions of each module / unit in the above device embodiments are implemented.

[0161] Exemplarily, the computer program 102 may be divided into one or more modules / units, one or more modules / units are stored in the memory 101, and are executed by the processor 100 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 102 in the terminal device 10.

[0162] The terminal device 10 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device 10 may include, but is not limited to, a processor 100 and a memory 101. Those skilled in the art will appreciate that Figure 3It is only an example of the terminal device 10 and does not constitute a limitation of the terminal device 10. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0163] The processor 100 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. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0164] The memory 101 may be an internal storage unit of the terminal device 10, such as a hard disk or memory of the terminal device 10. The memory 101 may also be an external storage device of the terminal device 10, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 10. Further, the memory 101 may also include both an internal storage unit of the terminal device 10 and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the terminal device 10. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0165] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0166] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0167] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A material purchase and sale business collaboration system, applied to a server, characterized in that: include: An identity authentication unit, used to respond to a user's access request, obtain the user's identity information, and perform security authentication on the user's identity information; A business collaboration configuration unit, configured to create a business collaboration activation configuration table for different businesses in response to a configuration instruction of a user, wherein the business collaboration activation configuration table at least includes a collaborative business type, a business collaboration activation time, and an activation business link of the corresponding business; A business collaboration management unit is used to receive a business order, determine a target business of a current business order, obtain business data of the current business order and generate a business collaboration contract information table of the target business, call a target business collaboration activation configuration table that matches the target business, execute a corresponding business activation link based on the business collaboration contract information table and the business collaboration activation time in the target business collaboration activation configuration table, generate a business collaboration result of the target business and store the generated business collaboration result in a designated location; The query unit is used to respond to the user's query instruction, obtain the business collaboration result corresponding to the query instruction from the specified location, and return the business collaboration result to the user.

2. The material purchase and sale business collaboration system according to claim 1 is characterized in that: The user's identity information includes the user ID and the first access password; In response to a user's access request, obtain the user's identity information, including: In response to an access request from the user, returning a first authentication path to the user, the first authentication path including at least one first authentication challenge; Obtaining a first response from the user to the first authentication challenge, the first response including a user ID and a first access password; Perform security authentication on the user's identity information, including: If it is determined that the obtained user ID and the first access password are valid, determining a plurality of second authentication challenges associated with the current user ID; randomly obtaining a plurality of second authentication challenges from a plurality of second authentication challenges associated with the current user ID, generating a second authentication path based on the plurality of second authentication challenges obtained randomly, and returning the second authentication path to the user; receiving second responses from the user to the plurality of second authentication challenges in the second authentication path, and if it is determined that all the second responses returned by the user are valid, determining that the access request of the user is valid; otherwise, returning an error message to the user; The second authentication challenge includes the user's biometric key, personal identification code, signature information or identity proof image.

3. The material purchase and sale business collaboration system according to claim 1 is characterized in that: The activated business link includes at least one of procurement warehousing collaboration, sales warehousing collaboration and sales invoicing collaboration; the system also includes: A function construction unit is used to establish an execution function corresponding to each enabled business link, so that when the execution function is called, it can execute the corresponding enabled business link according to the preset business process. The execution function includes at least one of the procurement warehousing collaborative execution function, the sales warehousing outbound collaborative execution function and the sales invoicing collaborative execution function.

4. The material purchase and sale business collaboration system according to claim 3 is characterized in that: The business collaboration activation configuration table also includes: A collaborative subject code, a first collaborative activation identifier, a second collaborative activation identifier, and a third collaborative activation identifier, wherein the collaborative subject includes a purchasing enterprise or a selling enterprise; Among them, when the first collaboration activation flag is valid, it means that the purchasing enterprise has activated collaboration, when the second collaboration activation flag is valid, it means that the sales enterprise has activated collaboration, and when the third collaboration activation flag is valid, it means that collaboration is activated for sales invoicing.

5. The material purchase and sale business collaboration system according to claim 3 is characterized in that: Executing corresponding service activation steps based on the service collaboration activation time in the target service collaboration activation configuration table includes: Monitor the current time in real time. When the current time reaches the business collaboration activation time configured in the target business collaboration activation configuration table, determine the enabled business link associated with the current business collaboration activation time, call the execution function corresponding to the currently enabled business link, and run the execution function to execute the business process of the currently enabled business link through the execution function.

6. The material purchase and sale business collaboration system according to claim 1 is characterized in that: The system further comprises: The log unit is used to record the error information generated in the execution of the corresponding activation business link; The manual execution unit is used to execute corresponding purchase warehousing, sales warehousing or sales invoicing business operations in response to the business operation instructions generated by the user based on the error information after producing the business collaboration result of the target business.

7. The material purchase and sale business collaboration system according to claim 3 is characterized in that: In response to a query instruction of a user, obtaining a business collaboration result corresponding to the query instruction from the specified location, and returning the business collaboration result to the user, including: In response to a user's query instruction, determine a business collaboration result corresponding to the query instruction, and obtain the user's public key; Randomly generate an encryption character and multiple encryption operators, and randomly sort the generated multiple encryption operators; According to the sorting order of each encryption operator, the encryption character and the obtained business collaboration result are encrypted by each encryption operator in turn to obtain an encrypted business collaboration result; Encrypting the once-encrypted business collaboration result, the encrypted characters, and the sorting order of each encryption operator by using the public key to obtain a twice-encrypted business collaboration result, and returning the twice-encrypted business collaboration result to the user; Receiving encryption operator sorting information from a user, wherein the encryption operator sorting information is obtained by the user decrypting the secondary encrypted business collaboration result using a private key; If the encryption operator sorting information matches the sorting order of each encryption operator, storage index information pointing to the storage location of each encryption operator is returned to the user, so that the user can obtain the corresponding encryption operator according to the storage index information, and decrypt the business collaboration result after the first decryption according to the encryption operator sorting information and the encrypted character to obtain the business collaboration result corresponding to the query instruction, wherein the business collaboration result after the first decryption is obtained by the user after decrypting the business collaboration result after the second encryption through a private key.

8. A material purchase and sale business collaboration method, using the material purchase and sale business collaboration system described in any one of claims 1 to 7, characterized in that: The method comprises: Responding to the user's access request through the identity authentication unit, obtaining the user's identity information, and performing security authentication on the user's identity information; In response to the user's configuration instruction, the business collaboration configuration unit creates a business collaboration activation configuration table for different businesses, wherein the business collaboration activation configuration table at least includes the collaborative business type, business collaboration activation time, and business activation link of the corresponding business; Receive a business order through a business collaboration management unit, determine the target business of the current business order, obtain business data of the current business order and generate a business collaboration contract information table of the target business, call a target business collaboration activation configuration table that matches the target business, and based on the business collaboration contract information table, execute the corresponding business activation link through the business collaboration activation time in the target business collaboration activation configuration table, generate a business collaboration result of the target business and store the generated business collaboration result to a specified location; The query unit responds to the query instruction of the user, obtains the business collaboration result corresponding to the query instruction from the specified location, and returns the business collaboration result to the user.

9. A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to execute the collaborative method for materials purchase and sale business as described in claim 8.

10. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the material purchase and sales business collaboration method described in claim 8 is implemented.