Contract management method and device based on multi-tenant cooperation, equipment and storage medium

By deploying shared resource library and contract integration modules in the SaaS system, multi-tenant collaborative management is realized, and the problem of low contract management efficiency caused by data and communication isolation between tenants is solved, and the efficiency and accuracy of contract management are improved.

CN119417658AActive Publication Date: 2025-02-11LINJIU WISDOM (GUANGDONG) TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510019837.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-02-11
Estimated Expiration
2045-01-07

AI Technical Summary

Technical Problem

In the prior art, multiple tenants have low contract management efficiency due to data and communication isolation in contract management, especially when multiple tenants jointly draft and review contracts.

Method used

A contract management method based on multi-tenant collaboration is proposed, and collaborative management among tenants is realized by deploying shared resource libraries and contract integration modules in SaaS system. The specific steps include obtaining the tenant's contract management request, building optional editing items, determining collaborative tenants, obtaining and merging contract editing information, automatically locate and fill text to the target editing items, and building a target contract.

Benefits of technology

Through this method, information isolation and collaborative management between multiple tenants are realized, the efficiency of contract management is improved, and the accuracy and consistency of contracts are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119417658A_ABST
    Figure CN119417658A_ABST
Patent Text Reader

Abstract

The invention provides a contract management method and device based on multi-tenant cooperation, equipment and a storage medium. The method comprises the steps of obtaining a contract management request sent by a first tenant, determining a second tenant according to a carried first identification table, establishing a plurality of selectable editing items according to the second identification table, and sending the second identification table to the second tenant; when contract editing information sent by the collaborative tenant is obtained, determining a corresponding target editing item based on the unit content identifier, and filling a unit filling text; and constructing a target contract based on all the target filling texts. According to the technical scheme provided by the embodiment of the invention, the collaborative tenants and the selectable editing items can be self-defined, the contract integration module is deployed in the shared resource library shared by the tenants, and the collaborative tenants can automatically position the editing items corresponding to the filling text by utilizing the content identifiers carried by the contract editing information, so that information isolation among the tenants is ensured, and the editing efficiency is improved. And the collaborative management of contracts can be realized, and the contract management efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of SaaS technology, and in particular to a contract management method, device, equipment, and storage medium based on multi-tenant collaboration. Background Art

[0002] At present, each property management company usually manages multiple residential communities or office buildings and other property entities. The information between each property entity is usually isolated from each other. In order to improve management efficiency and realize resource sharing, property management companies usually build SaaS systems based on Software as a Service (SaaS) systems. Each property entity is a tenant of the SaaS system, thereby realizing multi-tenant isolation management.

[0003] Contract management is an important part of property management. In related technologies, SaaS systems can be used to implement management processes such as contract drafting and review online, effectively improving the efficiency of contract management. However, if a contract requires multiple tenants to draft and review it together, since the data and communication between each tenant are isolated from each other, only one tenant can independently complete part of the contract processing and then transfer it to another tenant through the SaaS system for related processing, resulting in low contract management efficiency. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a contract management method, device, equipment, and storage medium based on multi-tenant collaboration, which can realize contract management based on multi-tenant collaboration and improve contract management efficiency.

[0005] In a first aspect, an embodiment of the present invention provides a contract management method based on multi-tenant collaboration, which is applied to a SaaS system, wherein the SaaS system includes a shared resource library and multiple preset tenants, wherein the shared resource library is shared by each of the preset tenants, wherein the shared resource library includes a contract integration module, and each of the preset tenants is preset with a tenant identifier, wherein the method includes: Acquire a contract management request sent by any first tenant, wherein the contract management request carries a first identification table and a second identification table, the first identification table records a plurality of tenant identifications, and the second identification table records a plurality of optional content identifications; Constructing corresponding optional editing items based on each of the optional content identifiers, determining a plurality of second tenants based on the first identifier table, sending the second identifier table to the second tenants, and determining the second tenants and the first tenant as collaborative tenants; Acquire the contract editing information sent by each of the collaborative tenants, wherein the contract editing information includes at least one contract information unit, and the contract information unit includes a unit content identifier and a unit fill text; Based on any of the contract information units, determine the corresponding target editing item based on the unit content identifier, and write the unit filling text into the target editing item; Build a target contract based on the target fill text recorded in all target editing items.

[0006] According to some embodiments of the present invention, the shared resource library further includes a plurality of shared information modules, each of which records different information. After acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: When the contract editing information records a resource calling instruction, determining the shared information module indicated by the resource calling instruction as a target information module; Target shared information is acquired from the target information module based on the resource calling instruction, and the target shared information is determined as the unit filling text.

[0007] According to some embodiments of the present invention, after acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: When the contract editing information sent by the plurality of collaborative tenants is acquired, a first unit set is constructed based on all the contract information units; Splitting the first unit set into multiple second unit sets, wherein the unit content identifiers carried by the contract information units of the second unit sets are the same, and each of the second unit sets corresponds to one unit content identifier; All the contract information units in the same second unit set are merged, wherein the unit filling text of the merged contract information unit is the union of the unit filling texts before the merger.

[0008] According to some embodiments of the present invention, determining a corresponding target editing item based on the unit content identifier, and writing the unit fill text into the target editing item includes: When the content of the target edit item is empty, writing the unit filling text into the target edit item and determining it as a candidate filling text, and recording the collaborative tenant corresponding to the candidate filling text; When the target editing item records the candidate filling text, a semantic comparison is performed based on the candidate filling text and the unit filling text to obtain a semantic comparison result; When the semantic comparison result indicates that the candidate filling text and the unit filling text are different from each other, writing the unit filling text into the target editing item; Alternatively, when the semantic comparison result indicates that there is overlapping text between the candidate filling text and the unit filling text, the target editing item is written after removing the overlapping text from the unit filling text.

[0009] According to some embodiments of the present invention, after acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: Determine the unit content identifier that is not recorded in the second identifier table as a new content identifier; Add the newly added content identifier to the second identifier table, add a newly added editing item based on the newly added content identifier, and write the unit filling text corresponding to the newly added content identifier into the newly added editing item; The updated second identification table is sent to each of the collaborative tenants.

[0010] According to some embodiments of the present invention, after acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: Constructing an editing prompt interface, in which the unit content identifier associated with each of the collaborative tenants is displayed; The editing prompt interface is sent to each of the collaborative tenants.

[0011] According to some embodiments of the present invention, constructing a target contract based on the target filling text recorded in all target editing items includes: Sort the selectable editing items based on the order of the selectable content identifiers recorded in the second identifier table; When the sorting editing information sent by any of the collaborative tenants is obtained, adjusting the sorting of at least one of the optional editing items based on the sorting editing information, wherein the sorting editing information includes a sorting content identifier and a target sorting position; When the editing completion instruction sent by each of the collaborative tenants is obtained, a target information unit is constructed based on each of the target editing items and the corresponding target filling text, and all of the target information units are sent to the first tenant; In response to the building completion instruction sent by the first tenant, the target contract is built based on the current order of each of the target editing items and based on all of the target filling texts.

[0012] In a second aspect, an embodiment of the present invention provides a contract management device based on multi-tenant collaboration, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the contract management method based on multi-tenant collaboration as described in the first aspect above.

[0013] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a contract management device based on multi-tenant collaboration as described in the second aspect above.

[0014] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the contract management method based on multi-tenant collaboration as described in the first aspect above.

[0015] According to the contract management method based on multi-tenant collaboration of an embodiment of the present invention, there are at least the following beneficial effects: obtaining a contract management request sent by any first tenant, wherein the contract management request carries a first identification table and a second identification table, the first identification table records multiple tenant identifications, and the second identification table records multiple optional content identifications; constructing corresponding optional editing items based on each of the optional content identifications, determining multiple second tenants based on the first identification table, sending the second identification table to the second tenant, and determining the second tenant and the first tenant as collaborative tenants; obtaining contract editing information sent by each of the collaborative tenants, wherein the contract editing information includes at least one contract information unit, and the contract information unit includes a unit content identification and a unit fill text; based on any of the contract information units, determining the corresponding target editing item based on the unit content identification, and writing the unit fill text into the target editing item; constructing a target contract based on the target fill text recorded in all the target editing items. According to the technical solution of the embodiment of the present invention, it is possible to specify the collaborative tenants for collaborative editing of the contract through any tenant, and deploy the contract integration module using the shared resource library, so that each collaborative tenant can interact with the contract integration module, and automatically locate the editing items corresponding to the filled text through the content identifier carried by the contract editing information, thereby ensuring the information isolation between the tenants and realizing the collaborative management of the contract, thereby improving the efficiency of contract management. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a schematic diagram of a SaaS system provided by an embodiment of the present invention; Figure 2 is a flowchart of a contract management method based on multi-tenant collaboration provided by another embodiment of the present invention; Figure 3 is a complete flow chart of a contract management method based on multi-tenant collaboration provided by another embodiment of the present invention; Figure 4 It is a structural diagram of a contract management device based on multi-tenant collaboration provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0017] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0018] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0019] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0020] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0021] An embodiment of the present invention provides a contract management method, apparatus, device, and storage medium based on multi-tenant collaboration, wherein the contract management method based on multi-tenant collaboration includes: obtaining a contract management request sent by any first tenant, wherein the contract management request carries a first identification table and a second identification table, wherein the first identification table records multiple tenant identifications, and the second identification table records multiple optional content identifications; constructing corresponding optional editing items based on each of the optional content identifications, determining multiple second tenants based on the first identification table, sending the second identification table to the second tenant, and determining the second tenant and the first tenant as collaborative tenants; obtaining contract editing information sent by each of the collaborative tenants, wherein the contract editing information includes at least one contract information unit, and the contract information unit includes a unit content identification and a unit fill text; based on any of the contract information units, determining the corresponding target editing item based on the unit content identification, and writing the unit fill text into the target editing item; constructing a target contract based on the target fill text recorded in all the target editing items. According to the technical solution of the embodiment of the present invention, it is possible to specify the collaborative tenants for collaborative editing of the contract through any tenant, and deploy the contract integration module using the shared resource library, so that each collaborative tenant can interact with the contract integration module, and automatically locate the editing items corresponding to the filled text through the content identifier carried by the contract editing information, thereby ensuring the information isolation between the tenants and realizing the collaborative management of the contract, thereby improving the efficiency of contract management.

[0022] First, refer to Figure 1 , Figure 1 A schematic diagram of a SaaS system provided in an embodiment of the present invention, wherein the SaaS system in this embodiment includes a shared resource library 11 and multiple preset tenants, the shared resource library 11 is shared by each preset tenant, the shared resource library 11 includes a contract integration module 12, each preset tenant is preset with a tenant identifier, the shared resource library 11 also includes multiple shared information modules 13, and the information recorded in each shared information module 13 is different from each other.

[0023] It should be noted that each preset tenant can be a property management system of a community or a property management system of an office building, and no restrictions are imposed on the property entity corresponding to the preset tenant.

[0024] It should be noted that the SaaS system 10 can share resources among various preset tenants. In this embodiment, a shared resource library 11 is deployed in the SaaS system 10. It is known to those skilled in the art that the shared resource library 11 may include multiple shared information modules 13, such as Figure 1 The personnel structure module, customer information module, electronic signature module, etc. shown in the figure, the information of the shared information module 13 can be accessed and obtained by each preset tenant. For example, any preset tenant can obtain relevant personnel structure information from the personnel structure module.

[0025] It should be noted that in this embodiment, a contract integration module 12 is maintained in the shared resource library 11. The contract integration module 12 does not preset any content and is used to integrate the contract editing information sent by each collaborative tenant. The contract integration module 12 can be used to simultaneously build multiple target contracts. After each contract management request is obtained, an independent storage space is allocated in the contract integration module 12, and the contract editing information of the corresponding collaborative user can be obtained in the storage space.

[0026] The following is based on the Figure 1 The SaaS system shown further illustrates the technical solution of the embodiment of the present invention.

[0027] Reference Figure 2 , Figure 2 A flowchart of a multi-tenant collaboration-based contract management method provided by an embodiment of the present invention includes but is not limited to the following steps: S11, obtaining a contract management request sent by any first tenant, wherein the contract management request carries a first identification table and a second identification table, the first identification table records multiple tenant identifications, and the second identification table records multiple optional content identifications; S12, constructing corresponding optional editing items based on each optional content identifier, determining multiple second tenants based on the first identifier table, sending the second identifier table to the second tenants, and determining the second tenants and the first tenant as collaborative tenants; S13, acquiring contract editing information sent by each collaborative tenant, wherein the contract editing information includes at least one contract information unit, and the contract information unit includes a unit content identifier and a unit fill text; S14, based on any contract information unit, determine the corresponding target editing item based on the unit content identifier, and write the unit filling text into the target editing item; S15, constructing a target contract based on the target filling text recorded in all target editing items.

[0028] It should be noted that the first tenant is the preset tenant who initiates the contract management request. Any preset tenant can be the first tenant. After constructing the contract management request locally, it can be sent to the SaaS system. Each contract management request corresponds to a first tenant, and a target contract is constructed in the contract integration module. The SaaS system of this embodiment can realize the joint management of multiple target contracts. Every time the SaaS system obtains a contract management request, it allocates a storage block in the contract integration module and opens the access rights of the storage block to the corresponding collaborative tenant. Each preset tenant can be determined as a collaborative tenant of multiple target contracts, thereby realizing the collaborative management of multiple tenants and multiple contracts.

[0029] It should be noted that the first identification table records all tenant identifiers of the collaborative management target contract, and the tenant identifier of each preset tenant is different. Since the first tenant is the initiator of the contract management request, the first identification table may not record the tenant identifier of the first tenant. The SaaS system determines the first tenant as the collaborative tenant by default, and determines multiple second tenants from the remaining preset tenants through the first identification table, and then determines the first tenant and the second tenant as collaborative tenants to achieve customization of collaborative tenants.

[0030] For example Figure 1 As shown, after tenant A initiates a contract management request 1 to the SaaS system 10, it is determined as the first tenant 21 of the target contract 1, tenant C and tenant D are determined as the second tenant 22 of the target contract 1, and tenant A, tenant C and tenant D are determined as the collaborative tenants of the target contract 1. If tenant B initiates a contract management request 2 to the SaaS system 10 and records tenant A and tenant C through the first identification table, tenant B is the first tenant of the target contract 2, and tenant A, tenant B and tenant C are determined as the collaborative tenants of the target contract 2. Tenants A and tenant C can edit both the target contract A and the target contract B by adaptively adding the contract identification in the contract editing information, thereby improving the flexibility of the collaborative management of the prior contract.

[0031] It should be noted that the present embodiment does not realize communication and interaction between multiple collaborative tenants, which is contrary to the information isolation of the SaaS system and cannot be realized. In order to realize the joint editing of the same content by multiple tenants, the present embodiment utilizes the shared resource library of the SaaS system to interact with all preset tenants, and configures a contract integration module in the shared resource library so that each collaborative tenant has the basis for interacting with the contract integration module. Each collaborative tenant independently sends contract editing information to the contract integration module. Under the premise of maintaining the information isolation of multiple tenants, the contract editing information sent by multiple collaborative tenants is integrated through the contract integration module to realize contract collaboration management. Therefore, in order to ensure that the content sent to the contract integration module by each collaborative tenant complies with the relevant format, the first tenant of this embodiment carries a second identification table when initiating a contract management request. The second identification table records the optional content identification, so that the contract integration module can assign an optional editing item according to each optional content identification, and send the second identification table to each second tenant. When the second tenant needs to edit the content of a target editing item, the corresponding optional content identification is determined by querying the second identification table, and the contract information unit is constructed after editing the unit fill text. The contract integration module locates the target editing item according to the unit content identification, and fills the unit fill text into the target editing item. In the case of information isolation, it ensures that multiple tenants can locate the editing items according to a unified standard, ensures that the same type of contract text is accurately filled with the correct editing items, and ensures the accuracy of contract collaboration management.

[0032] It should be noted that each collaborative tenant can edit through a related visual interface, for example, a table is displayed in the system interface of the collaborative tenant, one column in the table is used to input the unit content identifier, and the other column is used to input the unit fill text, and the contract information units are edited one by one. Multiple contract information units can also be obtained in batches by importing a table, such as importing an Excel table into the system of the collaborative tenant, recording the unit content identifier in one column of cells, and recording the unit fill text in another column of cells. This embodiment does not limit the specific input method.

[0033] Exemplarily, this embodiment uses different contract terms as optional content identifiers. For example, the optional content identifiers include "contract personnel", "contract amount" and "contract details", etc. The contract integration module creates corresponding optional editing items for each optional content identifier. After obtaining the second identification table, when tenant D needs to edit the "contract details", a contract editing information is constructed. The corresponding unit content identifiers are "contract details" and "Details A". The contract integration module locates the corresponding editing item A based on the "contract details" and writes Details A into editing item A to ensure that the contract content is written into the correct editing item. Of course, collaborative tenants can record multiple contract information units in the form of a form in one contract editing information, and the contract integration module can respond to each contract information unit one by one.

[0034] It should be noted that, according to the technical solution of the above embodiment, each optional editing item can be a component of the target contract. After each optional editing item is determined as a target editing item and the corresponding target fill-in text is written, multiple collaborative tenants complete the collaborative management of the target contract based on the interaction with the contract integration module. The contract integration module can automatically construct the target contract according to the target fill-in text of each target editing item. For example, each optional editing item is a clause in the contract template. After filling the target fill-in text into the contract template, the target contract is generated. When the text content of the target contract is available, technicians in this field are familiar with how to automatically construct an electronic contract in a standard format, and no further details are given here.

[0035] It is worth noting that the present embodiment implements multi-tenant collaborative management based on the contract integration module. Since the information between the collaborative tenants is isolated from each other, the present embodiment uses text filling as a principle description. Of course, the existing filled-in text in the optional editing item can also be edited. For example, the unit content identifier, prior text and replacement text are recorded in the contract information unit to ensure that the contract information unit has a unit content identifier to locate the optional editing item. The specific editing method can be adaptively adjusted in the contract information unit according to actual needs.

[0036] In addition, in one embodiment, referring to Figure 3After executing step S13, the following steps are also included but not limited to: S21, when the contract editing information records a resource calling instruction, determining the shared information module indicated by the resource calling instruction as a target information module; S22, acquiring target shared information from the target information module based on the resource calling instruction, and determining the target shared information as a unit filling text.

[0037] It should be noted that the SaaS system can be configured with multiple shared information modules, and the shared information modules are system resources shared by various preset tenants, such as Figure 1 As shown, the shared information module may include a customer information module, an electronic signature module, a contract template module, a personnel structure module, etc. The customer information module is used to record the customer information of the property management company, the electronic signature module is used to record the electronic signature of the property management company, the contract template module records different types of contract templates, and the personnel structure module records the personnel structure information of different preset tenants. This embodiment does not limit the specific type of the shared information module, as long as it can be shared by each preset tenant and the relevant information can be called.

[0038] It should be noted that the shared information module is used to record shared information. This embodiment uses contract editing information to record resource call instructions. For example, the identifier of the target information module and the description information of the target shared information are recorded in the contract editing information. After the SaaS system determines the target information module, it extracts the target shared information from it as a unit fill text, thereby improving the flexibility of contract editing.

[0039] For example, Figure 1 As shown, the contract editing information initiated by tenant C records content A and call instruction A. The optional editing item corresponding to the unit content identifier of content A is the contract responsibility object. The corresponding SaaS system determines that the target information module is the personnel structure according to the call instruction A, and the target shared information is the name of the manager at level A. The names of all managers at level A are called as target fill-in texts and written into the corresponding target editing items to realize automatic content filling.

[0040] In addition, in one embodiment, referring to Figure 3 After executing step S13, the following steps are also included but not limited to: S31, when contract editing information sent by multiple collaborative tenants is obtained, a first unit set is constructed based on all contract information units; S32, splitting the first unit set into multiple second unit sets, wherein the unit content identifiers carried by the contract information units of the second unit sets are the same, and each second unit set corresponds to a unit content identifier; S33, merging all the contract information units in the same second unit set, wherein the unit filling text of the merged contract information unit is the union of the unit filling texts before the merger.

[0041] It should be noted that this embodiment uses the shared attributes of the contract integration module to achieve multi-tenant collaborative editing. Since the information between multiple tenants is still isolated, it is very likely that multiple collaborative tenants will simultaneously input the same or different content for the same optional editing item. After obtaining the contract editing information sent by multiple collaborative tenants, the contract integration module of this embodiment puts all the contract editing information into the first unit set before writing the unit fill text. Since each optional content identifier corresponds to a contract clause or a type of content, the same collaborative tenant usually does not generate multiple contract information units based on the same unit content identifier. If it is recognized that the same unit content identifier corresponds to multiple contract information units, it can be determined that multiple collaborative tenants have initiated editing based on the same content. In order to avoid content overlap, this embodiment constructs a second unit set based on the contract information unit corresponding to the same unit content identifier. In order to facilitate automatic operation, even if the unit content identifier has only one contract information unit, an independent second unit set is generated. Since there are at least two collaborative tenants, the first unit set will be split into at least two second unit sets.

[0042] It should be noted that after being split into multiple second unit sets, if the second unit set includes a contract information unit, the subsequent writing steps can be directly executed, and no further details will be given here. If the second unit set includes multiple contract information units, since the corresponding unit content identifiers are the same, this embodiment takes the union of multiple unit fill-in texts to construct a merged fill-in text, and constructs a new contract information unit with the merged fill-in text and the unit content identifier. The contract information unit records the fill-in text of all collaborative tenants based on the unit content identifier, and the subsequent target editing items can be filled.

[0043] It is worth noting that when merging multiple unit filling texts, simple semantic recognition can be used to determine whether the multiple unit filling texts are repeated. If there is no semantic repetition, it can be determined that multiple collaborative tenants have entered different parts of the content based on the same target editing item, such as multiple sub-clauses under a contract clause. Simply splice the multiple unit filling texts. If there is semantic repetition, the semantically repeated text can be intercepted from any unit filling text, and then the remaining text can be spliced. Of course, the repeated part can also be sent to the first tenant for manual judgment, with the first tenant who initiated the contract editing as the reviewer of the repeated content, and the filling text fed back by the first tenant can be used as the unit filling text of the new contract information unit.

[0044] In addition, in one embodiment, referring to Figure 3 Step S14 specifically includes but is not limited to the following steps: S141, when the content of the target edit item is empty, write the unit filling text into the target edit item and determine it as a candidate filling text, and record the collaborative tenant corresponding to the candidate filling text; S142, when the target edit item records the candidate filling text, a semantic comparison is performed based on the candidate filling text and the unit filling text to obtain a semantic comparison result; S143, when the semantic comparison result indicates that the candidate filling text and the unit filling text are different from each other, writing the unit filling text into the target editing item; S144, when the semantic comparison result indicates that there is overlapping text between the candidate filling text and the unit filling text, the target editing item is written after removing the overlapping text from the unit filling text.

[0045] It should be noted that when multiple collaborative tenants input content for a target editing item at the same time, the contract information units can be merged in the manner described in the above embodiment. This embodiment only describes the filling method of a merged contract information unit.

[0046] It should be noted that when the content of the target edit item is empty, the unit fill-in text is directly written into the target edit item. Since the target edit item can be input with content multiple times, or the filled-in content can be modified and deleted, the written unit fill-in text is first determined as the candidate fill-in text. When the editing is finally completed and the target contract is constructed, the candidate fill-in text saved in the target edit item is determined as the target fill-in text.

[0047] It should be noted that when the unit fill-in text is obtained, the target editing item already has candidate fill-in text, that is, the target editing item has already entered relevant text, and this editing is a secondary editing. In order to ensure the correctness of the contract content, this embodiment performs simple semantic recognition on the candidate fill-in text and the unit fill-in text. Through semantic recognition, it can be determined whether the contents involved in the candidate fill-in text and the unit fill-in text are the same, for example, whether both involve the contract period, or the contract subject, etc. If the semantic recognition result indicates that the two are different, then the unit fill-in text this time is further supplementary content of the target editing item. The unit fill-in text is written into the target editing item and can be used as the content of the target editing item together with the previous candidate fill-in text.

[0048] It should be noted that if there is overlapping text between the unit fill-in text and the candidate fill-in text, the overlapping text here does not need to be exactly the same in words, but can also be semantically the same. For example, "The contract is valid for 3 years" and "The contract is from year A to year A+2" are different in text, but are semantically the same and are determined to be overlapping text. In this embodiment, the overlapping text is removed from the unit fill-in text and the remaining part is written into the target editing item.

[0049] It is worth noting that in step S144, if the text is different but semantically similar, it is not determined to be overlapping text. After the unit filling text is written into the target editing item, since this embodiment also records the collaborative tenant corresponding to the text written each time, the candidate filling text obtained after writing can be sent to the previous collaborative tenant and the collaborative tenant of this editing. If the two collaborative tenants are the same preset tenant, the unit filling content submitted again by the collaborative tenant is overwritten. If the two collaborative tenants are different preset tenants, the unit filling content submitted again by the two collaborative tenants is compared. If they are the same, they are written. If they are still different, a prompt message can be generated to prompt the two collaborative tenants to initiate editing again after offline negotiation.

[0050] In addition, in one embodiment, referring to Figure 3 After executing step S13, the following steps are also included but not limited to: S41, determining a unit content identifier that is not recorded in the second identifier table as a new content identifier; S42, adding a new content identifier to the second identifier table, adding a new editing item based on the new content identifier, and writing a cell fill text corresponding to the new content identifier into the new editing item; S43: Send the updated second identification table to each collaborative tenant.

[0051] It should be noted that after determining the second tenant, this embodiment sends a second identification table to the second tenant, so that the second tenant can determine the optional editing items configured by the first tenant based on the second identification table. During the contract editing process, any collaborative tenant can also add optional editing items, thereby improving the flexibility of contract collaborative editing.

[0052] It should be noted that in order to add optional editing items, the collaborative tenant, if equipped with a second identification table, can record the unit content identifier not recorded in the second identification table in the contract information unit. The contract integration module only associates a piece of fill-in text with different unit content identifiers during the editing stage. Therefore, the unrecorded unit content identifier can be determined as a new content identifier, and a new editing item is added as a new optional editing item based on the new content identifier. After completing the filling of the unit fill-in text, the new content identifier is updated to the second identification table, and the second identification table is synchronized to each collaborative tenant to ensure that the second identification table of each collaborative tenant records the unit content identifiers corresponding to all optional editing items in the contract integration module.

[0053] In addition, in one embodiment, referring to Figure 3 After executing step S13, the following steps are also included but not limited to: S51, constructing an editing prompt interface, and displaying the unit content identifier associated with each collaborative tenant in the editing prompt interface; S52: Send the editing prompt interface to each collaborative tenant.

[0054] It should be noted that this embodiment involves multiple collaborative tenants. After the editing is triggered, the contract integration module constructs an editing prompt interface, and displays the unit content identifier associated with each collaborative tenant on the editing prompt interface. The editing prompt interface can record the unit content identifier that each collaborative tenant is currently editing and has edited previously. At the same time, the editing prompt interface is pushed to each collaborative tenant in real time, so that each collaborative tenant can know the content that other collaborative tenants are involved in editing on the basis of information isolation, which can avoid repeated editing of the same content, and can also determine in real time the collaborative tenant corresponding to the disputed content, and communicate offline in time to ensure the accuracy of the contract and improve the flexibility of contract collaborative editing.

[0055] For example, Figure 1 As shown, the editing prompt interface shows that tenant A is editing the target editing items corresponding to content A and content B, tenant C is editing the target editing items corresponding to content A and content C, and tenant D is editing the target editing items corresponding to content B and content D. The specific display method can be set according to actual needs.

[0056] In addition, in one embodiment, referring to Figure 3 Step S15 specifically includes but is not limited to the following steps: S151, sorting the optional editing items based on the order of the optional content identifiers recorded in the second identifier table; S152, when the sorting editing information sent by any collaborative tenant is obtained, adjusting the sorting of at least one optional editing item based on the sorting editing information, wherein the sorting editing information includes a sorting content identifier and a target sorting position; S153, when the editing completion instruction sent by each collaborative tenant is obtained, a target information unit is constructed based on each target editing item and the corresponding target filling text, and all the target information units are sent to the first tenant; S154, in response to the building completion instruction sent by the first tenant, building a target contract based on the current order of each target editing item and based on all the target filling texts.

[0057] It should be noted that the second identification table can correspond to part of the content of the target contract, and the second identification table is edited by the first tenant. The contract integration module sorts the optional editing items in the order of the optional content identifiers recorded in the second identification table, so that the optional editing items can be preliminarily arranged into a contract framework.

[0058] It should be noted that sorting the optional editing items based on the second identification table is a preliminary sorting. According to the description of the above embodiment, the order and content of the contract terms may be managed during the contract collaboration management process. Therefore, any collaborative tenant can send sorting editing information to optimize and adjust the position of the optional editing items according to the sorting editing information. The sorting editing information uses the unit content identifier of the optional editing item that needs to be adjusted as the sorting content identifier, and records the target sorting position.

[0059] Exemplarily, the unit content identifiers corresponding to the current optional editing items include content A, content B, content C and content D. The sorting editing information initiated by tenant C records content B and position 3. The order of the optional editing items can be adjusted to content A, content C, content B and content D.

[0060] It should be noted that the information between the collaborative tenants of this embodiment is isolated from each other, so the collaborative tenants cannot communicate and interact online. After each collaborative tenant completes the content that needs to be edited, it can send an editing completion instruction to the contract integration module. When the contract integration module obtains the editing completion instructions of all collaborative tenants, it determines the candidate fill-in text currently saved in the target editing item as the target fill-in text, and obtains the preliminary text content of the target contract. Since the first tenant is the editing initiator of the target contract, this embodiment sends all target information units to the first tenant, and the first tenant conducts a preliminary review of the target information unit to determine whether the content of each target editing item meets the specifications, such as whether there is duplicate content, etc. After confirming that there is no error, the first tenant sends a construction completion instruction to the contract integration module. The contract integration module sorts the target editing items according to the current sorted order as the content of the target contract, and constructs the target contract with the target fill-in text as the final text content of the target contract, ensuring that the target contract is generated when each collaborative tenant completes the editing, and ensuring that the content of the target contract is complete.

[0061] like Figure 4 As shown, Figure 4 : is a structural diagram of a contract management device based on multi-tenant collaboration provided by an embodiment of the present invention. The present invention also provides a contract management device based on multi-tenant collaboration, including: The processor 401 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application; The memory 402 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 402 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 402, and the processor 401 calls and executes the contract management method based on multi-tenant collaboration in the embodiment of this application; Input / output interface 403, used to implement information input and output; Communication interface 404, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.); A bus 405 that transmits information between various components of the device (e.g., processor 401, memory 402, input / output interface 403, and communication interface 404); The processor 401 , the memory 402 , the input / output interface 403 and the communication interface 404 are connected to each other in communication within the device via the bus 405 .

[0062] An embodiment of the present application also provides an electronic device, including the contract management device based on multi-tenant collaboration as described above.

[0063] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned contract management method based on multi-tenant collaboration is implemented.

[0064] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0065] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0066] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A contract management method based on multi-tenant collaboration, characterized in that: Applied to a SaaS system, the SaaS system includes a shared resource library and a plurality of preset tenants, the shared resource library is shared by each of the preset tenants, the shared resource library includes a contract integration module, and each of the preset tenants is preset with a tenant identifier, the method includes: Acquire a contract management request sent by any first tenant, wherein the contract management request carries a first identification table and a second identification table, the first identification table records a plurality of tenant identifications, and the second identification table records a plurality of optional content identifications; Constructing corresponding optional editing items based on each of the optional content identifiers, determining a plurality of second tenants based on the first identifier table, sending the second identifier table to the second tenants, and determining the second tenants and the first tenant as collaborative tenants; Acquire the contract editing information sent by each of the collaborative tenants, wherein the contract editing information includes at least one contract information unit, and the contract information unit includes a unit content identifier and a unit fill text; Based on any of the contract information units, determine the corresponding target editing item based on the unit content identifier, and write the unit filling text into the target editing item; Build a target contract based on the target fill text recorded in all target editing items.

2. The multi-tenant collaboration-based contract management method according to claim 1, characterized in that: The shared resource library further includes a plurality of shared information modules, each of which records different information. After acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: When the contract editing information records a resource calling instruction, determining the shared information module indicated by the resource calling instruction as a target information module; Target shared information is acquired from the target information module based on the resource calling instruction, and the target shared information is determined as the unit filling text.

3. The contract management method based on multi-tenant collaboration according to claim 2 is characterized in that: After acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: When the contract editing information sent by the plurality of collaborative tenants is acquired, a first unit set is constructed based on all the contract information units; Splitting the first unit set into multiple second unit sets, wherein the unit content identifiers carried by the contract information units of the second unit sets are the same, and each of the second unit sets corresponds to one unit content identifier; All the contract information units in the same second unit set are merged, wherein the unit filling text of the merged contract information unit is the union of the unit filling texts before the merger.

4. The multi-tenant collaboration-based contract management method according to claim 3, characterized in that: Determining a corresponding target editing item based on the unit content identifier, and writing the unit filling text into the target editing item, comprises: When the content of the target edit item is empty, writing the unit filling text into the target edit item and determining it as a candidate filling text, and recording the collaborative tenant corresponding to the candidate filling text; When the target editing item records the candidate filling text, a semantic comparison is performed based on the candidate filling text and the unit filling text to obtain a semantic comparison result; When the semantic comparison result indicates that the candidate filling text and the unit filling text are different from each other, writing the unit filling text into the target editing item; Alternatively, when the semantic comparison result indicates that there is overlapping text between the candidate filling text and the unit filling text, the target editing item is written after removing the overlapping text from the unit filling text.

5. The multi-tenant collaboration-based contract management method according to claim 1, characterized in that: After acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: Determine the unit content identifier that is not recorded in the second identifier table as a new content identifier; Add the newly added content identifier to the second identifier table, add a newly added editing item based on the newly added content identifier, and write the unit filling text corresponding to the newly added content identifier into the newly added editing item; The updated second identification table is sent to each of the collaborative tenants.

6. The multi-tenant collaboration-based contract management method according to claim 1, characterized in that: After acquiring the contract editing information sent by each of the collaborative tenants, the method further includes: Constructing an editing prompt interface, in which the unit content identifier associated with each of the collaborative tenants is displayed; The editing prompt interface is sent to each of the collaborative tenants.

7. The multi-tenant collaboration-based contract management method according to claim 6, characterized in that: Build a target contract based on the target fill text recorded in all target editing items, including: Sort the selectable editing items based on the order of the selectable content identifiers recorded in the second identifier table; When the sorting editing information sent by any of the collaborative tenants is obtained, adjusting the sorting of at least one of the optional editing items based on the sorting editing information, wherein the sorting editing information includes a sorting content identifier and a target sorting position; When the editing completion instruction sent by each of the collaborative tenants is obtained, a target information unit is constructed based on each of the target editing items and the corresponding target filling text, and all of the target information units are sent to the first tenant; In response to the building completion instruction sent by the first tenant, the target contract is built based on the current order of each of the target editing items and based on all of the target filling texts.

8. A contract management device based on multi-tenant collaboration, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the contract management method based on multi-tenant collaboration as described in any one of claims 1 to 7.

9. An electronic device, characterized in that: Including the contract management device based on multi-tenant collaboration as described in claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the contract management method based on multi-tenant collaboration as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Enterprise application deployment and management system for multiple tenants

    CN105323282A

  • Structured data interconnection method and server based on cloud computing service platform

    CN113992736A

  • Automatic contract generation method and device, server, medium and product

    CN114091415A

  • Digital processing systems and methods for dual mode editing in collaborative documents enabling private changes in collaborative work systems

    US20220221966A1