A document sharing method and system

The document splitting module divides the document into multiple shared sub-documents, prioritizing the transmission of key parts based on network status and browsing history. This solves the latency problem of document sharing under unstable network conditions and improves the user experience.

CN115576907BActive Publication Date: 2026-02-17SHANGHAI TIANQING TIANTUO SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211272123.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-18
Publication Date
2026-02-17
Estimated Expiration
2042-10-18

AI Technical Summary

Technical Problem

Existing mobile office technologies are not reliable enough in environments with poor network connectivity, resulting in time-consuming document sharing processes and impacting work progress.

Method used

The document splitting module divides the document to be shared into multiple shared sub-documents and generates a transmission sequence based on network communication status and browsing location records, prioritizing the transmission of the parts needed by the user to achieve rapid feedback and synchronization.

Benefits of technology

In environments with unstable networks, it reduces the waiting time for document users, improves the user experience, and enables fast browsing and editing of document content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115576907B_ABST
    Figure CN115576907B_ABST
Patent Text Reader

Abstract

The application relates to the field of data sharing, and discloses a document sharing method and system, which comprise a request acquisition module, a document splitting module, a data queue module and a data uploading module. When remote document access sharing is performed, the document sharing method and system can quickly realize the effect of feeding back document content to a document acquirer, can effectively reduce the waiting time of the document acquirer in the process of acquiring shared documents, can make the document acquirer read and edit the document content more quickly, and can improve the use experience of users.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of data sharing, and particularly to a document sharing method and system. BACKGROUND

[0002] With the development of mobile device and software ecology technology, today's office mode has become diverse, and users of smart mobile devices can work anytime and anywhere to deal with unexpected or necessary work content. Multi-mobile devices can also realize online work through real-time data synchronization.

[0003] However, the mobile office mode of the prior art often requires good network support. Therefore, when the user is in a poor network environment or is out in an environment with network connection for part of the time, the multi-terminal cloud office mode in the prior art is no longer reliable, and the user often needs to spend a lot of time to obtain shared documents through a poor network, which affects the progress of office work. SUMMARY

[0004] The present application aims to provide a document sharing method and system to solve the problems raised in the background art.

[0005] To achieve the above-mentioned purpose, the present application provides the following technical solutions:

[0006] A document sharing system comprises:

[0007] A request acquisition module is configured to receive a document sharing request, perform permission authentication on the document sharing request through a preset request verification program, and respond based on the permission authentication result to retrieve a storage library to obtain a corresponding to-be-shared document;

[0008] A document splitting module is configured to split the to-be-shared document according to a preset document splitting rule to obtain a plurality of shared sub-documents, each of which corresponds to a unique splitting positioning number, and the document splitting rule comprises a splitting number and a splitting position of the document content;

[0009] A data queue module is configured to number a transmission sequence of a plurality of shared sub-documents according to a browsing positioning record and a preset queue rule, the plurality of shared sub-documents comprising a unique shared main document corresponding to the browsing positioning record, and the queue rule being configured to number the shared sub-documents adjacent to the shared main document in sequence;

[0010] A data uploading module is configured to forward the shared sub-documents in sequence based on the number of the transmission sequence, and to obtain feedback signals in sequence and perform forwarding verification. If the verification result indicates that the forwarding fails, the corresponding shared sub-document is reforwarded.

[0011] As a further scheme of the present application: the document splitting module specifically comprises:

[0012] A minimum splitting unit, configured to acquire a browsing positioning record, split the to-be-shared document based on the browsing positioning record and a preset minimum data amount of document splitting, and generate a shared main document, the browsing positioning record being used to represent position information of the last time the document content is browsed or edited;

[0013] A network judging unit, configured to acquire a network communication state, the network communication state being used to represent a network communication rate between the request object;

[0014] A rule matching unit, configured to traverse a preset splitting rule library according to the network communication state to acquire a corresponding document splitting rule, the document splitting rule corresponding to the network communication state, the document splitting rule being set based on an average data amount capable of being transmitted within a set time period;

[0015] A splitting executing unit, configured to generate a percentage splitting rule of a document content percentage according to the document splitting rule and a total data amount of the to-be-shared document, split the document content according to the percentage splitting rule, and acquire a plurality of shared sub-documents.

[0016] As a further scheme of the present application: the document splitting rule comprises a preset minimum data amount of document splitting, and when the document content is split according to the percentage splitting rule, a minimum percentage of document splitting corresponding to the minimum data amount of document splitting is used for positioning of the percentage splitting rule in the document content.

[0017] As a further scheme of the present application: the document sharing request comprises requestor identity information and request document information;

[0018] The requestor identity information comprises identity authentication information and object permission information, the object permission information being used to represent whether the requestor has access permission to the to-be-shared document, and the browsing positioning record corresponding to the identity authentication information in one-to-one manner;

[0019] The request document information is used to represent retrieval feature information of the to-be-shared document in the storage library.

[0020] As a further scheme of the present application: further comprising a double-end synchronization module, the double-end synchronization module comprising:

[0021] An editing record unit, configured to generate and store an editing log when the requestor performs an editing action on the document content, the editing log being used to record an action range of the editing action on the document content and requestor information;

[0022] a paragraph synchronization unit, configured to split the document content according to the action range in the edit log to generate a synchronization sub-file, and send the edit log and the synchronization sub-file.

[0023] Embodiments of the present application aim to provide a document sharing method, comprising the steps of:

[0024] receiving a document sharing request, performing permission authentication on the document sharing request through a preset request verification program, and responding based on the permission authentication result to retrieve a storage repository to obtain a corresponding to-be-shared document;

[0025] splitting the to-be-shared document according to a preset document splitting rule to obtain a plurality of shared sub-documents, each of the shared sub-documents corresponding to a unique splitting positioning number, the document splitting rule comprising a splitting number and a splitting position of the document content;

[0026] numbering a transmission sequence of a plurality of the shared sub-documents according to a browsing positioning record and a preset queue rule, the plurality of shared sub-documents comprising a unique shared main document corresponding to the browsing positioning record, the queue rule being used to sequentially number the shared sub-documents adjacent to the shared main document;

[0027] sequentially forwarding the shared sub-documents based on the numbering of the transmission sequence, sequentially obtaining feedback signals and performing forwarding verification, and if the verification result indicates that the forwarding fails, re-forwarding the corresponding shared sub-document.

[0028] As a further scheme of the present application, the step of splitting the to-be-shared document according to a preset document splitting rule to obtain a plurality of shared sub-documents specifically comprises:

[0029] obtaining a browsing positioning record, splitting the to-be-shared document based on the browsing positioning record and a preset minimum data amount of document splitting to generate a shared main document, the browsing positioning record being used to represent position information of the last time the document content is browsed or edited;

[0030] obtaining a network communication state, the network communication state being used to represent a network communication rate between a request object;

[0031] traversing a preset splitting rule library according to the network communication state to obtain a corresponding document splitting rule, the document splitting rule corresponding to the network communication state, the document splitting rule being set based on an average data amount capable of being transmitted within a set time period;

[0032] According to the document splitting rule and the total data amount of the to-be-shared document, a percentage splitting rule of document content percentage is generated, and the document content is split according to the percentage splitting rule, to obtain a plurality of shared sub-documents.

[0033] As a further scheme of the present application, the document splitting rule comprises a preset document splitting minimum data amount, and when the document content is split according to the percentage splitting rule, a document splitting minimum percentage corresponding to the document splitting minimum data amount is used for positioning of the percentage splitting rule in the document content.

[0034] As a further scheme of the present application, the document sharing request comprises requester identity information and request document information.

[0035] The requester identity information comprises identity authentication information and object permission information, the object permission information is used to represent whether the requester has access permission to the to-be-shared document, and the browsing positioning record corresponds to the identity authentication information in one-to-one manner.

[0036] The request document information is used to represent retrieval feature information of the to-be-shared document in the storage library.

[0037] As a further scheme of the present application, the method further comprises the steps of:

[0038] When the requester performs an editing action on the document content, an editing log is generated and stored, the editing log is used to record an action range of the editing action on the document content and requester information.

[0039] According to the action range in the editing log, the document content is split to generate a synchronization sub-document, and the editing log and the synchronization sub-document are sent.

[0040] Compared with the prior art, the present application has the beneficial effect that through the arrangement of the related structure, when remote document access sharing is performed, the effect of quickly feeding back the document content to the document acquirer can be achieved, and compared with the sharing mode of the document data in the prior art, the waiting time of the document acquirer in the process of acquiring the shared document can be effectively reduced, the document content can be browsed and edited more quickly, and the use experience of the user is improved. BRIEF DESCRIPTION OF DRAWINGS

[0041] Figure 1 It is a component block diagram of a document sharing system.

[0042] Figure 2 It is a component block diagram of a document splitting module of a document sharing system.

[0043] Figure 3A constituent block diagram of a double-end synchronization module in a document sharing system.

[0044] Figure 4 A flow block diagram of a document sharing method. DETAILED DESCRIPTION

[0045] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.

[0046] The specific implementation of the present application will be described in detail below with reference to specific embodiments.

[0047] As Figure 1 The document sharing system provided by one embodiment of the present application comprises the following steps:

[0048] The request acquisition module 100 is configured to receive a document sharing request, perform permission authentication on the document sharing request through a preset request verification program, and respond based on the permission authentication result to retrieve a storage library to obtain a corresponding to-be-shared document.

[0049] The document splitting module 300 is configured to split the document content of the to-be-shared document according to a preset document splitting rule to obtain a plurality of shared sub-documents, each of which corresponds to a unique splitting positioning number, and the document splitting rule comprises a splitting number and a splitting position of the document content.

[0050] The data queue module 500 is configured to number a transmission sequence of a plurality of shared sub-documents according to a browsing positioning record and a preset queue rule, the plurality of shared sub-documents comprising a unique shared main document corresponding to the browsing positioning record, and the queue rule being used to number the shared sub-documents adjacent to the shared main document in sequence.

[0051] The data uploading module 700 is configured to forward the shared sub-documents in sequence based on the number of the transmission sequence, and sequentially acquire feedback signals and perform forwarding verification, and if the verification result indicates that the forwarding fails, the corresponding shared sub-document is reforwarded.

[0052] In this embodiment, a document sharing system is given, which realizes the effect of quickly realizing document feedback when remotely accessing and obtaining the document through the setting of related modules. Compared with the sharing mode of document data in the prior art, the waiting time of the shared document acquisition person in the process of acquiring the shared document can be effectively reduced, and the user experience is improved. Specifically, after the user who needs to acquire the shared file issues a request, the system authenticates the user, retrieves the corresponding document (i.e. the document to be shared), and splits it into several smaller files (the splitting here needs to be noted that it is the splitting of the file content, not the direct splitting of the data, because direct splitting of the data will result in incomplete data in the transmission process, so the document content cannot be effectively read), the data amount of the multiple shared sub-documents after splitting is smaller, so it can be quickly and completely sent under effective network. In this way, the user can get the positive feedback of the document content in the first time after issuing the request to acquire the shared file, and can browse the document content during the transmission process of other shared sub-files. In a certain sense, the user's waiting time for document transmission can be zeroed, and the user experience is improved. Among them, the shared main document is generated according to the last position record of the corresponding user during the last browsing, that is, when transmitting the small files after splitting, the part of the document content needed by the user can be transmitted preferentially, rather than following the order of the document.

[0053] As shown in Figure 2 , as another preferred embodiment of the present application, the document splitting module 300 specifically includes:

[0054] The minimum splitting unit 301 is used to obtain a browsing positioning record, split the document to be shared based on the browsing positioning record and a preset minimum data amount of document splitting, and generate a shared main document. The browsing positioning record is used to represent the position information of the last time the document content is browsed or edited.

[0055] The network judgment unit 302 is used to obtain a network communication state, which is used to represent the network communication rate between the request object.

[0056] The rule matching unit 303 is used to traverse a preset splitting rule library according to the network communication state to obtain a corresponding document splitting rule. The document splitting rule corresponds to the network communication state, and is set based on the average data amount that can be transmitted within a set time period.

[0057] The splitting execution unit 304 is configured to generate a percentage splitting rule of the document content percentage according to the document splitting rule and the total data amount of the document to be shared, and split the document content according to the percentage splitting rule, to obtain a plurality of shared sub-documents.

[0058] Further, the document splitting rule comprises a preset document splitting minimum data amount, and when the document content is split according to the percentage splitting rule, a document splitting minimum percentage corresponding to the document splitting minimum data amount is used for positioning of the percentage splitting rule in the document content.

[0059] In the embodiment, the minimum splitting unit 301 is directly executed after the user request is obtained, and the corresponding part of the document content is split in the minimum splitting size according to the browsing positioning record of the user, and is sent, to ensure the waiting experience of the user in the first time. When the user browses the part of the document content, the system can further process the subsequent content, and the network state between the two ends is used as the basis for splitting, to determine the data amount to be split in the plurality of splitting processes, and to further split (here, the splitting is to determine a data amount, for example, the minimum splitting data amount is 10 mb (different types of files such as video, audio, image and text should have different standards), and the total size of the file to be shared is 100 mb, which means that the content is split by one tenth (estimated value, and the split document content does not need to be completely accurate to the data amount size)). Meanwhile, the splitting does not need to split the entire document into a plurality of sub-documents of the same size, but only needs to split a plurality of sub-documents around the front and back of the shared main document as the buffer of the data transmission time, and the size of the split sub-document can be gradually increased, and the number can be a limited number.

[0060] As another preferred embodiment of the present application, the document sharing request comprises requestor identity information and request document information.

[0061] The requestor identity information comprises identity authentication information and object permission information, the object permission information is used to represent whether the requestor has access permission to the file to be shared, and the browsing positioning record corresponds to the identity authentication information one by one.

[0062] The request document information is used to represent the retrieval feature information of the document to be shared in the storage library.

[0063] In this embodiment, the document sharing request is illustrated, which is mainly used for the identity authentication of the requester, judges whether it has access to the corresponding document, and points out the corresponding document that needs to be shared. At the same time, its identity information can also be used by the system to obtain the last access browsing positioning record.

[0064] As shown in Figure 3 Another preferred embodiment of the present application also includes a double-end synchronization module 900, which includes:

[0065] An editing record unit 901 is used to generate and store an editing log when the requester performs an editing action on the document content, and the editing log is used to record the action range of the editing action on the document content and the requester information.

[0066] A paragraph synchronization unit 902 is used to split the document content according to the action range in the editing log to generate a synchronization sub-file, and send the editing log and the synchronization sub-file.

[0067] In this embodiment, the double-end synchronization module 900 is added, which records the editing content of the requester on the document, and splits the area where the editing modification occurs for the content in the synchronization system repository.

[0068] As shown in Figure 4 The present application also provides a document sharing method, which includes the following steps:

[0069] S200, receiving a document sharing request, performing permission authentication on the document sharing request through a preset request verification program, and responding based on the permission authentication result to retrieve the repository to obtain the corresponding to-be-shared document.

[0070] S400, splitting the document content of the to-be-shared document through a preset document splitting rule to obtain a plurality of shared sub-documents, each of which corresponds to a unique splitting positioning number, and the document splitting rule includes the splitting number and the splitting position of the document content.

[0071] S600, numbering the transmission sequence of a plurality of the shared sub-documents according to the browsing positioning record and a preset queue rule, the plurality of shared sub-documents including a unique shared main document corresponding to the browsing positioning record, and the queue rule is used to sequentially number the shared sub-documents adjacent to the shared main document.

[0072] S800, sequentially forwarding the shared sub-documents based on the numbering of the transmission sequence, and sequentially obtaining feedback signals and performing forwarding verification, if the verification result indicates that the forwarding fails, the corresponding shared sub-document is re-forwarded.

[0073] As another preferred embodiment of the present application, the step of splitting the document content of the to-be-shared document according to the preset document splitting rule comprises:

[0074] Obtaining a browsing positioning record, splitting the to-be-shared document based on the browsing positioning record and a preset minimum data amount of document splitting, and generating a shared main document, wherein the browsing positioning record is used to represent position information of the last time the document content is browsed or edited.

[0075] Obtaining a network communication state, wherein the network communication state is used to represent a network communication rate between the requestor and the object.

[0076] According to the network communication state, a preset splitting rule library is traversed to obtain a corresponding document splitting rule, wherein the document splitting rule corresponds to the network communication state, and the document splitting rule is set based on an average data amount that can be transmitted within a set time period.

[0077] According to the document splitting rule and a total data amount of the to-be-shared document, a percentage splitting rule of a document content percentage is generated, and the document content is split according to the percentage splitting rule to obtain a plurality of shared sub-documents.

[0078] As another preferred embodiment of the present application, the document splitting rule comprises a preset minimum data amount of document splitting, and when the document content is split according to the percentage splitting rule, a minimum percentage corresponding to the minimum data amount of document splitting is used for positioning of the percentage splitting rule in the document content.

[0079] As another preferred embodiment of the present application, the document sharing request comprises requestor identity information and request document information.

[0080] The requestor identity information comprises identity authentication information and object permission information, wherein the object permission information is used to represent whether the requestor has access permission to the to-be-shared document, and the browsing positioning record corresponds to the identity authentication information in one-to-one manner.

[0081] The request document information is used to represent retrieval feature information of the to-be-shared document in the storage library.

[0082] As another preferred embodiment of the present application, the method further comprises the following steps:

[0083] When the requestor performs an editing action on the document content, an editing log is generated and stored, wherein the editing log is used to record an action range of the editing action on the document content and requestor information.

[0084] According to the action range in the edit log, the document content is split to generate a synchronization sub-file, and the edit log and the synchronization sub-file are sent.

[0085] Those of ordinary skill in the art understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by a computer program instructing relevant hardware, and the program can be stored in a non-volatile computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments of each method. In the embodiments provided in the present application, any reference to memory, storage, database or other medium can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0086] Other embodiments of the present disclosure will be apparent to those skilled in the art with the disclosure herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure following the general principles of the present disclosure and including common knowledge or conventional technical means in the art not disclosed by the present disclosure. The specification and embodiments are only considered as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0087] It should be understood that the present disclosure is not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A document sharing system, characterized in that, include: The request acquisition module is used to receive document sharing requests, perform permission authentication on the document sharing requests through a preset request verification procedure, and respond based on the permission authentication result to retrieve the corresponding document to be shared from the repository; The document splitting module is used to split the document content of the document to be shared according to a preset document splitting rule to obtain several shared sub-documents. Each shared sub-document corresponds to a unique splitting location number. The document splitting rule includes the number of splits of the document content and the splitting location. The data queue module is used to number the transmission sequence of multiple shared sub-documents according to the browsing location record and the preset queue rules. The multiple shared sub-documents include a unique shared main document, which corresponds to the browsing location record. The queue rules are used to number the shared sub-documents adjacent to the shared main document in sequence. The data upload module is used to forward the shared sub-documents sequentially based on the transmission sequence number, and to obtain feedback signals sequentially and perform forwarding verification. If the verification result indicates that forwarding has failed, the corresponding shared sub-document is re-forwarded. The document splitting module specifically includes: The minimum splitting unit is used to obtain browsing location records, split the document to be shared based on the browsing location records and the preset minimum data size for document splitting, and generate a shared master document. The browsing location records are used to represent the location information of the last time the document content was viewed or edited. A network judgment unit is used to obtain the network communication status, which is used to characterize the network communication rate with the requesting object. The rule matching unit is used to traverse a preset splitting rule library according to the network communication status to obtain the corresponding document splitting rule. The document splitting rule corresponds to the network communication status and is set based on the average amount of data that can be transmitted within a set time period. The splitting execution unit is used to generate a percentage splitting rule for the document content based on the document splitting rule and the total data volume of the document to be shared, and to split the document content according to the percentage splitting rule to obtain multiple shared sub-documents; The document splitting rule includes a preset minimum data size for document splitting. When the document content is split according to the percentage splitting rule, the minimum percentage of document splitting corresponding to the minimum data size for document splitting is used to locate the percentage splitting rule in the document content. The document sharing request includes the requester's identity information and the requested document information; The requester identity information includes identity authentication information and object permission information. The object permission information is used to characterize whether the requester has access to the shared file. The browsing location record corresponds one-to-one with the identity authentication information. The requested document information is used to characterize the retrieval features of the document to be shared in the repository; It also includes a dual-end synchronization module, which includes: An editing log unit is used to generate and store an editing log when a requester performs an editing action on the document content. The editing log is used to record the scope of the editing action on the document content and the requester information. The paragraph synchronization unit is used to split the document content according to the scope in the editing log to generate a synchronized sub-file, and send the editing log and the synchronized sub-file.

2. A document sharing method, characterized in that, Including the following steps: The system receives a document sharing request, performs permission authentication on the document sharing request through a preset request verification procedure, and responds based on the permission authentication result to retrieve the corresponding document to be shared from the repository. The document to be shared is split into several shared sub-documents by using a preset document splitting rule. Each shared sub-document corresponds to a unique splitting location number. The document splitting rule includes the number of splits and the splitting location of the document content. The shared sub-documents are numbered according to the browsing location record and the preset queue rules. The shared sub-documents include a unique shared main document, which corresponds to the browsing location record. The queue rules are used to number the shared sub-documents adjacent to the shared main document in sequence. The shared sub-documents are forwarded sequentially based on the number of the transmission sequence, and feedback signals are obtained and forwarding verification is performed sequentially. If the verification result indicates that forwarding has failed, the corresponding shared sub-documents are forwarded again. The step of splitting the document to be shared into several shared sub-documents using preset document splitting rules specifically includes: Obtain browsing location records, and split the document to be shared based on the browsing location records and the preset minimum data size for document splitting to generate a shared master document. The browsing location records are used to represent the location information of the last time the document content was viewed or edited. Obtain the network communication status, which is used to characterize the network communication rate with the requesting object; According to the network communication status, the preset splitting rule library is traversed to obtain the corresponding document splitting rule. The document splitting rule corresponds to the network communication status and is set based on the average amount of data that can be transmitted within a set time period. Based on the document splitting rules and the total data volume of the document to be shared, a percentage splitting rule is generated to determine the percentage of document content. The document content is then split according to the percentage splitting rule to obtain multiple shared sub-documents. The document splitting rule includes a preset minimum data size for document splitting. When the document content is split according to the percentage splitting rule, the minimum percentage of document splitting corresponding to the minimum data size for document splitting is used to locate the percentage splitting rule in the document content. The document sharing request includes the requester's identity information and the requested document information; The requester identity information includes identity authentication information and object permission information. The object permission information is used to characterize whether the requester has access to the shared file. The browsing location record corresponds one-to-one with the identity authentication information. The requested document information is used to characterize the retrieval features of the document to be shared in the repository; The method further includes: When a requester performs an editing action on the document content, an editing log is generated and stored. The editing log is used to record the scope of the editing action on the document content and the requester information. The document content is split according to the scope in the edit log to generate a synchronization sub-file, and the edit log and the synchronization sub-file are sent.

Citation Information

Patent Citations

  • Document editing method and device, server, terminal and storage medium

    CN112329419A

  • Data security sharing platform based on Internet online document

    CN114611145A